Skip to content

Runtime safety: mandatory policy and real cancellation - #181

Draft
oratis wants to merge 2 commits into
codex/codex-alignment-planfrom
codex/runtime-safety
Draft

Runtime safety: mandatory policy and real cancellation#181
oratis wants to merge 2 commits into
codex/codex-alignment-planfrom
codex/runtime-safety

Conversation

@oratis

@oratis oratis commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • make the central tool dispatcher impossible to omit and fail safe for legacy callers
  • give LSP, VS Code, and desktop explicit safe policies
  • propagate aborts through providers, pending approvals, Node process groups, and Tauri/Rust process groups
  • preserve worktree branches and reject removal when user changes are present

Validation

  • pnpm docs:check
  • pnpm lint (3 pre-existing warnings, 0 errors)
  • pnpm format:check
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • cargo check --manifest-path apps/desktop/src-tauri/Cargo.toml
  • cargo 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant