Runtime safety: mandatory policy and real cancellation - #181
Conversation
Review: approved ✅ — this is the most important PR in the stackThe bug being fixed is real and was severe. On Verified in the diff
Two behavior changes worth recording (neither blocking):
Validation: CI green both runners. Locally at the stack tip: typecheck, lint |
…ajors (#215) Covers the 31-PR Codex alignment stack (#180-#210) plus the dependency work (#211-#214, #155, #177-#179). Leads with the security section because that is what this release is: the central tool gate could be skipped entirely when `mode` was omitted (#181), and the desktop renderer held provider credentials (#192). Upgrade notes call out the two things a user could otherwise be surprised by — the ~6.7 MB → ~115 MB desktop size increase from the Node sidecar, and that the plugin capability RPC is not an OS boundary. Co-authored-by: t <t@t> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Summary
Validation
pnpm docs:checkpnpm lint(3 pre-existing warnings, 0 errors)pnpm format:checkpnpm typecheckpnpm testpnpm buildcargo check --manifest-path apps/desktop/src-tauri/Cargo.tomlcargo test --manifest-path apps/desktop/src-tauri/Cargo.toml(29 passed)Stack
Depends on #180. This is the safety/cancellation slice of PR 1 in
docs/CODEX_ALIGNMENT_PLAN.md; RuntimeHost assembly and background ownership can follow without weakening these invariants.