Qwen Code hot-reloads workspace trust changes in a running daemon
doudouOUC · ghdev · 2026-07-20
Qwen Code adds hot-reload for workspace trust changes without restarting the daemon
This PR to QwenLM/qwen-code makes workspace trust changes take effect in a running daemon instead of requiring a restart.
What changes
- Introduces semantic trust-policy snapshots and monitoring.
- Reconciles each affected workspace into a new runtime generation.
- Closes the previous generation before draining sessions and services.
- Makes workspace-scoped surfaces resolve the selected generation and fail closed while trust is changing or unavailable.
Behavior
- Trust grants rebuild settings, environment, filesystem, tools, services, and caches from fresh state.
- Trust revocations stop work on the old trusted generation before async cleanup begins.
- A new v2 trust API reports configured trust, effective trust, policy revision, and reconciliation state.
- The TypeScript SDK and Web Shell surface that status and show applying/failed states when reconciliation is unstable.
The older v1 request-only API remains compatible.
More from coding & agent
- Team demos AI agent Blender skills with impressive 3D results — noahsolomon · 2026-10-26
- A 13KB Markdown file can hijack Claude Code and Codex via your Downloads folder — pbaylies · 2026-10-26
- A Fallback for an Auto-Posting Bot: Silence Is the Default, Posting Is the Exception — petrusenko_max · 2026-10-26
- Claude Code can now edit videos: a 10-prompt workflow from raw footage to final cut — TawohAwa · 2026-10-26
- Developer Moves All Prompts to Skills: AI Coding Workflow v3 Explained — rseroter · 2026-10-26
- charlie Marsh: rewrites beat external deps in the AI era — mohamedmansour · 2026-10-26