docs(x): stage 7 resolved — document the code-mode runs carve-out

Decision: defer code-mode unification; no deletions. The legacy runs
runtime (runs/, AgentRuntime/streamAgent, runs:* IPC, App.tsx legacy
tab state) remains solely for code-mode sessions. AGENTS.md gets the
authoritative carve-out section: what stays and why, the no-new-callers
rule (headless work uses agents/headless.ts), the temporary fallbacks
that die with unification, and the scoped future project (rowboat-mode
code prompts as composition turns; direct-mode ACP streams as a
delegated turn kind). Turn-runtime design doc status updated to
implemented-and-live.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Ramnique Singh 2026-07-02 14:19:24 +05:30
parent fa6943e905
commit 627451cd94
2 changed files with 30 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# Turn Runtime Technical Specification
Status: design complete for the turn layer, amended after review for session
integration: context references, revised crash-recovery semantics, and a
distinguishable model-call-limit outcome. No implementation exists yet. The
Status: implemented and live. All chat, background, and knowledge callers
run on this runtime; the legacy runs runtime remains only for code-mode
sessions (see the carve-out section in the repo-root `AGENTS.md`). The
companion session layer is specified in `session-design.md`.
This document specifies a new turn-oriented agent loop for `@x/core`. It is