Skip to content

tracking(runtime): harden safe-boundary continuation for production #4324

Closed as not planned

Description

@Phoenix500526

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

Non-goals

Activity

  1. M4n5ter commented on Sep 7, 2026

    @M4n5ter
    Member
    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 协助了当前代码与范围评估。

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions