Repository navigation
Closed as not planned
Closed as not planned
Copy link
Description
Problem
Maka has landed the core safe-boundary continuation protocol, but the
architecture still records production gates that are not represented by one
focused tracker. The current path can prove immutable history and provider
replay identity; it does not yet bind the complete execution semantics or all
cross-process ownership evidence needed for broader or default auto-resume.
#3731 tracks one required subset: sandbox-boundary negotiation across
continuations. It does not cover the resolved model, system prompt, tool
schemas and recovery contracts, provider materializer, consolidated boundary
verification, or durable Host fencing.
Design sources:
Related implementation: #1223, #1521, #1573, and #1996. Related subset:
#3731.
Current baseline and remaining work
- Recover canonical RuntimeEvent history and create fresh continuation identities (feat(runtime): add durable safe-boundary resume phases 0-2 #1223)
- Persist and rebuild recovery facts through one SQLite authority (feat(runtime): establish Phase 3A recovery persistence authority #1521)
- Derive immutable lineage boundaries and claim them atomically (feat(runtime): add durable continuation authority #1573)
- Expose Host-owned resume query/start and revalidate under the backend activation barrier (feat(runtime-host): add safe-boundary continuation authority #1996)
- Define
ContinuationExecutionProfileV1for backend/model, prompt, tool schemas and recovery contracts, protocol, provider materializer, and permission/sandbox policy - Bind that profile through plan, claim, continuation-start, and execution, failing closed on drift
- Incorporate enhancement(runtime): preserve sandbox boundary negotiation across safe continuations #3731's durable negotiation state without treating it as execution authority
- Consolidate boundary, lineage, target, start, terminal, and replay validation in one
ContinuationBoundaryVerifier - Add durable workspace-scoped owner epoch/fencing and append-if-absent/CAS where repair could duplicate facts
- Prove repair ordering, shutdown/restart, competing Hosts, and live-start-indeterminate behavior with crash/race tests
- Define rollout gates for manual resume and startup auto-resume, and keep the architecture status current
Non-goals
- Production Write/Edit reconciliation (feat(runtime): complete production Write/Edit recovery #4319)
- Reimplementing the sandbox-negotiation work in enhancement(runtime): preserve sandbox boundary negotiation across safe continuations #3731
- Phase 4 Git workspace restore or rebaseline
- Generic provider retry, Bash replay, or ShellRun reattachment
- TUI/session-list discovery and bulk-resume UX (feat(cli): TUI resume has no discovery surface — no interrupted-session hint, and /resume errors when no session is attached #3508, feat: 多会话操作:执行状态记录与一键恢复(桌面侧栏/启动恢复中心/CLI) #3712)
Metadata
Metadata
Assignees
Labels
No labels
Activity
M4n5ter commentedon Sep 7, 2026
English
Closing this broad roadmap tracker as not planned in its remaining form, not as a claim that all listed production gates have shipped.
#4958 implements the concrete cooperative-handoff requirements: persist and validate the actual Run composition before successor dispatch, fail closed on unsupported preparation or semantic drift, and retain explicit sandbox denial through authenticated lineage. It builds on the existing SQLite continuation claim and State Root single-writer authority. Missing/drifting composition regression coverage is in
packages/runtime/src/__tests__/runtime-handoff.test.ts.That does not establish universal startup auto-resume, apply the new handoff-specific composition preparation to every generic manual continuation, or prove arbitrary repair exactly-once. These are deferred capabilities, not promises added by #4958. We do not need a parallel execution-profile envelope, a specifically named consolidated verifier, or another fencing layer solely to complete an old architectural checklist; each would need a concrete uncovered invariant and supported consumer.
Concrete unresolved work still has focused trackers: #4319 for production Write/Edit reconciliation, #4423 for undispatched-tool classification, and #4424 for actionable parked-run recovery. If broader auto-resume is proposed, or a reproducible ownership/repair race is found, open a bounded issue with that scenario and its required evidence. This closure does not enable broader resume behavior or remove existing safety gates.
AI assistance: Codex assisted with the current-code and scope assessment.
简体中文
将这个宽泛路线 tracker 的剩余方案按暂不计划关闭,不代表清单中的全部生产门禁已经交付。
#4958 实现了具体协作式交接要求:在后继执行派发前持久化并验证实际 Run composition;准备能力缺失或执行语义漂移时拒绝派发;沿认证续跑链保留明确的沙箱拒绝。它复用现有 SQLite continuation claim 和 State Root 单 writer 权威。composition 缺失/漂移的回归测试位于
packages/runtime/src/__tests__/runtime-handoff.test.ts。这不代表实现了通用启动自动恢复、将新的交接专用 composition 准备步骤应用到所有普通手动续跑,或证明了任意修复的 exactly-once。这些是暂缓的能力,不是 #4958 新增的承诺。没有必要仅为完成旧架构清单而增加平行的执行 profile、特定名称的统一 verifier 或另一层 fencing;每项机制都应有具体尚未覆盖的约束及受支持的使用方。
具体未完成工作仍有专项 tracker:#4319 跟踪生产 Write/Edit reconciliation,#4423 跟踪未派发工具分类,#4424 跟踪 parked 后可执行的恢复体验。如果要扩大自动恢复范围,或发现可复现的 ownership/repair 竞态,再按具体场景和证据要求开有边界的 issue。本次关闭不会启用更广的恢复行为,也不会删除现有安全门禁。
AI 辅助:Codex 协助了当前代码与范围评估。