Skip to content

feat(outcomes): route current evidence gaps through scoped replan feedback - #6899

Closed
songoow wants to merge 2 commits into
codex/split-outcomes-recoveryfrom
codex/split-outcomes-feedback
Closed

songoow wants to merge 2 commits into
codex/split-outcomes-recoveryfrom
codex/split-outcomes-feedback

Conversation

@songoow

@songoow songoow commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

已收口到集合 PR #6784(2026-10-20)

本 PR 自身的 A3 增量由 #6784 继续承载,本 PR 作为重复合入入口关闭。 按当前用户要求,#6784 相关工作继续修进同一个集合 PR,整体审查、整体验证;不再把 A3 独立合入 main。

当前 #6784 head:9f2cba7cd1585b42245ac31a5badbafb938f83fc,tree 7cec6531aa4019f970b8faeddbac1e8fc4167adb。本次已复核本 PR 自身源增量,没有发现未保留的产品修复。
本 PR 的 da24c787 两文件诊断修复已经进入 #6784 当前 9f2cba7,同时保留完整任务正文/JSON和原预算,相关输出回归已通过。

原作者、DCO、源提交、分支与评审讨论继续保留;旧完整源链归档。关闭不代表旧审查意见自动解决,也不代表内容已合入 main。旧分支中的 B2–B5 祖先不属于“被 #6784 吸收”的范围,它们及 C 系列继续按 #6838 当前进度表 分别处理。

原切片说明与历史版本证据

Goal And Delivered Outcome

Author Declaration

  • Written by: model_agent — OpenAI GPT(Codex);在既有实现与审阅修正上完成拆分、本轮源码审阅及定向验证。

Implemented against

Criterion (spec clause) Disposition Symbol / path Test or command
1:记录 Outcome、初始要求与既有工作关联 implemented A2 cumulative owner,A3 保留 本轮 goal_outcome_refinement.test.ts
2:后续补充保留原 Goal、objective 和累计要求 implemented outcome_requirements.ts / acceptance_contract.ts 本轮 owner TS 及 File/SQLite 混合集成
3:重启/切换后完整读回要求与来源 implemented A2 native/CLI readback,A3 完整 work context 本轮混合 CLI 使用完整五个 Outcome;原 native retry 测试保留,未本轮重跑
4:Todo 完成不替代 Outcome 通过,未覆盖要求进入 continuation implemented loopx/control_plane/goals/goal_frontier/acceptance.py 本轮 goal_outcome_refinement.test.ts;outcome_research_continuity_integration.test.ts
5:拒绝要求丢失、改写、越权、旧 CAS 和冲突重放 implemented A2 typed owner 和 journal 保留 本轮 owner TS;原 File/SQLite负例保留
6:Outcome 状态不替代根研究 admission、quota/stop、既有等待 implemented frontier 与既有 quota/replan owner 本轮 outcome_research_continuity_integration.test.ts;真实混合集成限定为机制验证
7:packaged UI 读、补充、重载、旧写恢复及 desktop/narrow implemented 继承 A2 Workspace;d1dc8 组合验证 原 goal-outcome-recovery.mjs 完整运行 97.616 秒通过,首屏另外补拍
8:原 ACK 不重复触发;实质变化重开;>3 Outcomes 与 holds 不丢失 implemented goal_frontier/ack_policy.py;work_items/replan_semantics.ts;same-snapshot oracle 读回 本轮 3 个 TS 文件与 test_outcome_research_continuity_integration.py File/SQLite 两参数通过
9:提交失去响应后按原身份恢复,拒绝身份/准入错配 implemented A2 durable native envelope 保留 test_goal_outcome_native_retry.py 本轮未重跑;本轮混合集成另覆盖原 Turn 结算与幂等扣费
10:first-owner/Goal successor 与旧重放的 lifetime 边界 implemented A2 owner lifetime 逻辑保留 本轮 owner TS;原跨 lifetime 测试保留
Replan ACK freshness:只 ACK 原来源;refresh/spend 保留原绑定 implemented replan_semantics.ts 与原 Turn 的结算逻辑 本轮 File/SQLite:新 generation 后拒绝新 obligation/Todo selector,原 obligation 扣费一次且重放幂等
State, reads and recovery:oracle 观察与 Todos/checks 同一 canonical snapshot implemented canonical_snapshot.py、canonical_snapshot_page.ts、local_authority_read.ts、state_refresh.py 本轮 owner/replan TS;原 stale-replan / canonical-snapshot Python 检查保留
  • Self-check before submission: 核对 A3 差异、完整 checkpoint、独立 owner holds、same-Agent ACK、oracle revision/digest 与当前 source Goal workspace,保留原审阅修复。使用已满足仓库 SQLite qualification 的运行时,执行一个 --maxfail=1 CLI 批次;未为测试数量扩展到重复的全矩阵。

Scope And Continuation

  • Completed scope and remaining work: A3 接通缺口、当前证据与 checkpoint/replan;源-only/备注 bookkeeping 不重复要求同一审查,实质要求、工作、结论或 host-observed oracle 变化形成新依据。完整 Outcome 集合与 held-Todo 证据并存。
  • Slice boundary / successor: 本片完成 A1 → A2 → A3 的产品语义组合。统一集成 revision d1dc8ebfe7ff0ce888c8e7a6b7a5051413f29af2 记录冻结 main 45d742088a3f7896a0a008761f68d2437398bcd1 上的构建、UI 和组合验证;installed/model adoption、比较质量与完整成本收益仍是单独资格工作。

Validation

  • Tested revision: 本轮定向测试使用原 A3 commit 07a4a81ee3cb25423b7504153576b2e4976c4205,tree 3019696f6cde0c866e16af2db5cb68b1371d87a8。当前发布 head da24c787a8f5af23341e3cb4eb82f5e8848fb5cf,tree 09f610e6617332ddf552215297a6d37d85dda378,继承本轮 A1 feedback 测试断言修正、B4 fixture 修正,并加入下方 A3 Markdown 诊断预算修复;应按具体源文件等价性使用旧基线证据,不能把最终 tree 声称为原 payload 完全相同。
  • Run state: finished
  • Input classes: synthetic
Check kind Result Public-safe evidence / limitation
static passed 历史 Python AST、RFC/advisory、diff 与原最终目标 tree 一致性检查通过。本轮静态核对 owning-slice 差异;原 tree parity 不包含后来的 A1 测试修正。
unit passed 本轮 node --no-warnings --experimental-sqlite --experimental-strip-types --test --test-concurrency=1 tests/control_plane_ts/goal_outcome_refinement.test.ts tests/control_plane_ts/replan_semantics.test.ts tests/control_plane_ts/outcome_research_continuity_integration.test.ts:3 个测试文件通过,0 failed / 0 skipped,15.53 秒。此数字是文件数。
real_entrypoint passed 本轮 python -m pytest -q --maxfail=1 --durations=5 tests/control_plane/test_outcome_research_continuity_integration.py:File、SQLite 两参数均通过,2 passed / 0 skipped,1347.13 秒。
real_backend passed 同一批次使用隔离 synthetic Goal 和真实 File/SQLite authority,Node 24.19.0、SQLite 3.53.3;仓库实际 SQLite qualification probe 通过。
integration passed 同一真实批次覆盖 5 个 Outcome + 3 个 owner-held Todo、完整有界 checkpoint、证据链接的阻塞写回、写回后新增要求、新旧 generation 分离、错误 spend selector 拒绝、原 Turn 扣费一次及重放幂等。原要求、holds、持久写回均保留;测试未调用真实模型。
real_entrypoint blocked 首次 sandbox 运行在启动本地 TypeScript listener 的 setup 阶段被环境权限阻止,尚未执行功能;保留失败并经自动批准的环境重跑得到上方通过结果。未记为产品失败或跳过通过。
integration not_run 本轮未重跑完整 native retry / 全部 Outcome CLI、canonical-snapshot、预算与差分矩阵;原测试完整保留。A1 所属 feedback CLI 的断言修复仅静态/契约核对,本轮未执行该测试。
real_entrypoint passed 本轮 d1dc8/cb8 集成原 packaged Goal 恢复 smoke 97.616 秒通过并取得新截图;构建与后继 CLI 输出预算修复按下方精确输入分别记录。
  • Coverage and gaps: 本轮最小批次直接覆盖 A3 的混合 checkpoint/ACK 与真实后端结算风险,并验证完整 requirements/holds 未被可见摘要截断。它证明确定性语义与恢复;不证明模型读取/采用、产物质量或相对基线收益。发布链有后继修正时,最终 head 的合并、构建和必要回归仍按集成结果披露。

A3 后续修复:Markdown 诊断预算

  • 所属切片为 A3;发布修复 commit da24c787a8f5af23341e3cb4eb82f5e8848fb5cf,精确 tested tree 09f610e6617332ddf552215297a6d37d85dda378。后继 C1–C3 通过保留双方祖先的提交接入同一修复。
  • 仅改 loopx/control_plane/heartbeat/task_body.py 与 tests/control_plane/test_heartbeat_prompt_support.py:相同且已解析的 active/resolved state 路径只完整显示一次;缺失或 None 的可选 pre-quota 诊断不输出。不同/未解析路径和确有内容的命令仍保留。
  • 回归对照:原 renderer 在新回归中 2 failed / 3 passed;修复后定向集合 19 passed(19.72 秒)。12 行实际 CLI 载体、24 次前后调用核对 5.042 秒通过,对应 JSON 字节相等,task body、独立语义规则及原 4200/6200 门槛未改。
  • 原 Windows 运行是 6332 > 6200;同一 118 字符路径的纯格式化差值为 160,推算为 6172。该推算不等于 Windows CI 通过;本次新 head 的 Windows 检查仍按当前 GitHub 实测状态判定。

Frontend / Visual Evidence

  • UI impact: changed
  • Before: 原组合提案的历史 synthetic 基线保留作设计语境;它不是本轮重新生成的 before 构建。
  • After: 方向下保留原目标、累计要求、责任 Agent、来源和各自审阅状态;读取或写入结果不可用时保留草稿、原请求和恢复入口。
  • First viewport and preview: 以下是本轮实际生成并查看的 d1dc8ebfe7ff0ce888c8e7a6b7a5051413f29af2 packaged integration,tree cb8b1777655d7f37e3571b5087d6cd4db286dbbd。真实 disposable SQLite/HTTP/CLI 后端,任务数据为 synthetic。1440×1000 与 390×844 使用各自 fresh browser context,自然滚动位置为 0。后继集成的 CLI 提示预算修复与这些 UI 输入的关系见下方集成段;此处保留真实拍摄版本。

Current packaged Goal Overview, desktop first viewport

Current packaged Goal Overview, 390px first viewport

  • States and viewports shown: 原完整恢复场景 97.616 秒通过,另一次独立首屏捕获 41.605 秒通过;草稿/loading、pending/loading、桌面读取失败、窄屏读取失败均为同一真实版本。恢复图经滚动进入表单,另行标记,不作为首次打开首屏。
  • Source data: synthetic;核心写入、丢回包、同 operation 重试、并发显式 rebase 和导入配置恢复走真实本地入口;source/lifetime 尾部是合成投影隔离,不是实际 SSH 或 installed App 资格。
  • Attention review: 本轮首屏已实际查看,原目标和逐项要求位于工作列表前,审阅状态独立可见;来源/证据按需展开。失败时原输入和 refresh/rebase 动作仍可读。
  • Craft review: 本轮核对桌面/窄屏的层级、文案状态、表单、无横向溢出和原场景键盘操作;没有以这些画面宣称完整 motion/token 审计。首屏初次捕获曾因“只允许 GET”的过宽观察断言失败;修正为既有空 Session 准备规则后,通过真实 424/agent_endpoint_unavailable 核对。该调整只属于本地捕获观察器,原功能脚本未改。

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Test update

LoopX Area

  • Control plane (goals, todos, quota, scheduler, registry, runtime)
  • Public docs or presentation surface (README, protocols, dashboard)
  • Host or runtime integration

Technical Direction

  • Direction / acceptance reference: Shared Goal alignment §3.7;Persistent Goal outcome refinement v0;Goal vision/replan 的当前来源与结算契约。

Shared-authority RFC fixture impact

  • Production-scale fixture schema: 沿用 canonical File/SQLite fixture;没有新增生产规模 schema。
  • Semantic dimensions changed: cumulative Outcome checkpoint、mixed holds、same-snapshot oracle freshness、source generation 与原 Turn 结算连续性。
  • Provider conformance arms run: 本轮真实 File/SQLite 混合集成两参数通过;运行时探针确认 SQLite authority qualified。不是完整 provider conformance 或 PostgreSQL 资格声明。
  • Read-only legacy/file/PostgreSQL three-arm rehearsal: not_run;本片沿用现有 provider/routing,未申请 migration/promotion 资格,不以本轮 SQLite 代替三臂排练。

Boundary Checklist

  • Diff、正文与历史素材使用公开安全代码及 synthetic 数据,无私有状态、凭据、原始痕迹或本机路径。
  • 未重复维护者拥有的 benchmark 工作,未运行模型比较实验。
  • 变更限定于上述拆分任务与所属切片。
  • A3 后续诊断补丁之前的 12 个实际发布切片,已按各自前片 head 完成 RFC 双语检查;后续两文件补丁另通过所属切片 staged gate,证据范围分别记录。
  • 本轮 packaged 集成的正常首屏与恢复证据已直接嵌入/链接,拍摄及验证版本没有改标。
  • 最新源链的 18 个唯一提交均已实际核对作者姓名、邮箱与匹配的 Signed-off-by;此核对不替代 CI/审批。

发布、进入 main 与集成证据(2026-10-20)

  • 本片 source head:da24c787a8f5af23341e3cb4eb82f5e8848fb5cf;tree:09f610e6617332ddf552215297a6d37d85dda378。当前 base 为 codex/split-outcomes-recovery。按原小 PR 路线,前置进入 main 后再将本片改向 main,并核对本片差异、检查和审批。
  • 新版 #6784 已组合承载 B1 与 A1–A3,本 PR 与其存在重叠。沿用小 PR 路线时,应把新版中的有效独立修订回填所属切片;采用组合入口时,应先明确承载关系并整理后继增量。 完整顺序、评审阻塞和操作步骤。
  • 原小 PR 路线按依赖逐片进入 main;本仓库允许 merge commit,保留原提交身份通常便于后继继续比较。若采用 squash/rebase,需按旧父提交边界整理后继自身增量后再复核;改 base 本身不完成这一步。
  • 14 PR 的检查/评审快照为 2026-10-20 00:14–00:15 UTC。本片当时为 检查未完成;尚无正式批准。后续合并资格以对应当前 head 与 main 基线的检查和审批为准。
  • 集成分支 已快进到 fe3b1f7b382e,tree 6bbf110b1cb2535975b2389558a86dff73792926。它保留原 d1dc8ebfe7ff0ce888c8e7a6b7a5051413f29af2 与最新 C3 7368ca0286d503a93e50b26ab24755a5fb429b2f 两侧祖先;真实 Git merge-tree 与 GitHub tree 一致、零冲突,仅增 A3 的两文件 Markdown 诊断修复。
  • 此集成继续使用已验证的冻结 main 45d742088a3f7896a0a008761f68d2437398bcd1。本轮观察的 main e4190c30d7f94886dddd8e06b899664df34120f9 已另有变化,进入主干前须另行更新与验证。原 d1dc8 的 supplied-candidate in_sync 收据保留历史绑定;后续正式 owner 收据见总进度,不将旧收据改标为新 main 的资格。
  • 构建及 UI 的实际运行版本仍为 d1dc8/cb8:control-plane TypeScript 50.754 秒通过,标准 Chat build 131.930 秒通过,Outcome 恢复 97.616 秒通过,独立正常首屏 41.605 秒通过,Worker readback 126.422 秒通过,research-history 功能场景 116.004 秒通过。该版本的 8 张可读截图与验证摘要 已发布;后继两文件修复不改变这些 UI 输入,截图保留真实拍摄版本。
  • 保留限制:首次 Outcome fixture 的 90 秒启动失败未抹去,后续通过使用正常缓存预热;research-history 新中文图仍需补全 CJK 字形;完整新 head Python/native/File/重放/并发矩阵、installed App 与模型/benchmark 收益未取得全面资格。摘要记录实际运行范围,原临时 raw logs 已随执行环境回收,未重建成伪收据。
  • 本轮最终对象核对确认 12 个 source heads 被保留、两文件补丁逐字节一致、UI/build 的 tracked 输入一致,以及源链 18/18 作者签署匹配。未修改的 integration owner 对已发布候选给出 preview_ready(execute=false);恢复的新 plan 仍是 never_synced,完整 CLI bootstrap 未执行,未重新签发 in_sync。

…dback

Signed-off-by: Codex <codex@openai.com>

Rebuild this complete slice on its actual published predecessor, preserving the disclosed acceptance test and worker fixture repairs.

Signed-off-by: song <liusongstep@gmail.com>
Preserve full route identities, real pre-quota commands, task rules and original output budgets. Keep all previously published ancestry.

Signed-off-by: Codex <codex@openai.com>
Signed-off-by: song <liusongstep@gmail.com>
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