Skip to content

Runtime: bind host safety services behind RuntimeHost - #184

Draft
oratis wants to merge 1 commit into
codex/lifecycle-eventsfrom
codex/runtime-host
Draft

Runtime: bind host safety services behind RuntimeHost#184
oratis wants to merge 1 commit into
codex/lifecycle-eventsfrom
codex/runtime-host

Conversation

@oratis

@oratis oratis commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a core RuntimeHost boundary that owns provider, tools, permissions, hooks, sandbox, auto-mode, and plugin directories
  • keep per-turn inputs separate and expose only an explicit mode override
  • migrate CLI REPL, headless, LSP, and both VS Code entry points
  • retain the desktop renderer loop as an explicit packaging-ADR migration seam
  • fix headless SIGINT/SIGTERM cancellation by finally passing its existing AbortSignal to the runtime

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 (31 passed)

Stack

Depends on #183, #182, #181, and #180. This completes the first shared-host assembly slice; desktop moves only after the packaging ADR proves its runtime boundary.

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