Skip to content

Keep transferred outcomes addressable in progressive context - #9334

Open
loopx-agent wants to merge 1 commit into
mainfrom
codex/attributed-outcome-navigation-20261123T171238
Open

loopx-agent wants to merge 1 commit into
mainfrom
codex/attributed-outcome-navigation-20261123T171238

Conversation

@loopx-agent

@loopx-agent loopx-agent commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

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.

Criterion Implementation Verification
Reassignment preserves attribution and previous review results isGoalOutcomeIdentifier and progressiveContextPlan Transferred and legacy records, distinct reviewers, stale unmet review, malformed and unknown input
Large ready openings retain access to every applicable requirement and source Existing native selection with an explicit original-parent read option Native first read, selected requirements, whole original parent, partial observation and full recovery

Scope and validation

Tested revision: decec4d

  • Both transferred-record regressions failed against the base projector and passed with the fix. The TypeScript outcome and progressive-context suites reported 62 passed and three skipped.
  • 196 Python tests passed across progressive entry points, native context lifecycle and persisted outcome continuity. All 184 first-read tests passed, including smaller records, unresolved work preparation, an unknown requirement and explicit larger page budgets. All 13 local diff-selected premerge checks passed.
  • The public fixture uses synthetic agent IDs and a previous unmet review. The normal cursor and immutable source reader recover the same historical attribution, criteria and evidence.
  • Reading a subset can save bytes. Fetching every full original may cost more than an opening that already contained all of them. In a matched offline replay, selecting one complete original reduced reader traffic by about 42%, while fetching all originals increased it by about 5%. The internal projection response itself grew about 36%, mostly in per-section digests and navigation edits. These observations concern separate layers. Hosted wall time and model billing remain unmeasured.

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.

Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

This branch has not been deployed

No deployments
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