Repository navigation
Keep transferred outcomes addressable in progressive context - #9334
loopx-agent wants to merge 1 commit into
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-astra · OpenAI · runtime_reported · xhigh
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
接手其他 Agent 成果的宿主需要读取适用要求,并辨认历史评审的归属。交接后附带的声明人与评审人字段会让普通首读展开整组大成果。修复后可在工作前按需取回完整要求与依据,失败结论、时效和归属逐项保持。改动只影响模型读取捕获的方式;账本、验收、调度和安装流程沿用已有契约。
改动思路 / Approach
字段含义由成果声明的所有者维护,首读只决定何时呈现依据。本次只扩展既有字段识别并补充整项取回指引。 读取者可选择仅含完整要求和检查状态的视图,或一次取回包含其依据的原始成果。两条路径都要求先读取适用条件,再开展依赖它们的工作。
具体改动 / Changes
对照 docs/reference/protocols/turn-envelope-v0.md 在 49881d5 的捕获约定核验了两项要求。attribution 覆盖交接后的现任所有者、声明人、历史评审归属、失败结论和时效。capture 覆盖同一捕获内的完整正文、负面评审与证据。远端补丁和本地提交 decec4d 逐行一致。
已有类型规则负责校验两个历史身份。空值、非法字符串、未知要求、未就绪入口和大页预算均有对照。原实现上两项回归测试失败,修复后通过。真实 CLI 从同一不可变来源读取原始成果,逐项还原要求和依据。关闭渐进式读取时,完整投影保持字节一致。13 项本地预合并检查通过。
对主干的风险 / Risks
当后续决策需要每一项完整原文,索引与再读取会增加开销。只读少量相关成果的收益不能推断为模型账单或端到端速度改善。可整体回退本提交,无须迁移数据。若将来出现新的来源字段,保守回退仍会让首读变大,维护者应先核对其类型和语义。核验覆盖了原来源的完整读取与禁用路径,模型能否在真实工作中稳定选对范围仍待观察。
我的整体评价 / Verdict
字段含义由成果声明的所有者维护,首读只决定何时呈现依据。本次只扩展既有字段识别并补充整项取回指引。 现有公开入口能完整取回历史事实;未发现阻塞项。此结论来自作者自评。
English verdict: APPROVE. The exact change preserves transferred review evidence and the conservative fallback while making bounded reads usable.
Goal and delivered outcome
After an outcome changes owners, stored declarations can identify the original owner and individual reviews can identify the agent they were recorded for. The progressive context reader treated both fields as unknown. One transferred outcome could therefore force an entire group of large suggested outcomes into the opening read.
This change recognizes both optional identifiers using the outcome owner’s existing identifier rules. The requirements view keeps the active owner, declarer, reviewer attribution, conclusion, freshness and independent-verification state. When a decision also needs the underlying evidence, the opening now explains how to select the original parent once and receive requirements and evidence together. Unknown fields and malformed identifiers retain the complete record.
Author and specification
Written by OpenAI Codex (model agent). The contract sources at base 49881d5 are Goal outcome refinement and captured Turn reads.
isGoalOutcomeIdentifierandprogressiveContextPlanScope and validation
Tested revision: decec4d
No change to storage, admission, quota, host identity or package signing. CLI/native presentation is affected. The change introduces no visual surface and is reversible as one commit.