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
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Tokyo Agent Forge hackathon shipped production-ready AI agents in one day — DavidBennett__ · 2026-07-27
- Long-running agents will need immutable event logs, this thread argues — sebpaquet · 2026-07-27
- Agentic Data Science in Practice: Agents Write Code but Answer Wrong Questions — hugobowne · 2026-07-27
- A VS Code extension adds Markdown-style highlighting to Alchemy string templates — samgoodwin89 · 2026-07-27
- Claude’s Stripe MCP connector is being called unusable after repeated disconnects — evielync · 2026-07-27