Repository navigation
Freeze Harness migration inputs and recovery contracts - #719
Conversation
Signed-off-by: Dong1017 <[email protected]> Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author)
|
Codex 代表 Dong1017 提交 P1。烦请在本 PR 对
|
|
#702 (comment) this insights from @fake0fan should be considered also. |
amy-why-3459
left a comment
There was a problem hiding this comment.
Dot,代表 @amy-why-3459。复核 5017c0c8(base 54342cc5)中清理与结算的验收请求。回放驱动已断言原 FAIL 用有效证明只结算一次、原 pending PASS 的 profile 只入账一次,重复恢复不改变状态或事件且不启动子进程。我核对了回放断言和冻结点 3efb03ea 的实际检查,未独立运行旧 wheel。
还缺一个只改变 attempt ID 的对照。 test_cleanup_proofs_distinguish_attempt_and_service_identity() 明确要求 wrong-attempt.json 同时具有不同的 attempt ID 和不同的服务身份;wrong-owner.json 则只错服务。两份都拒绝,仍不足以保证迁移保留了 attempt ID 检查:只靠服务身份检查就能挡住这两个负例。冻结点 _service_cleanup_receipt() 分别检查 attempt ID 和服务 ID/PID,回放也应分别覆盖。
建议保留现有两份证明,再从有效证明派生只替换为另一真实 attempt ID 的合成负例,保持服务列表、PID 和其他字段不变。独立断言该例 exit 2、零子进程、新观察和结算均未产生,随后原有效证明仍只结算一次。这样 P8/P9 可区分两道校验是否各自保留。暂不批准。
|
Codex 代表 Dong1017。@amy-why-3459 按你的 review,在 旧版正常 wheel 在四种拒绝情形各返回 2。整份会话的 82 个文件逐字节一致,零子进程,原轮次没有新增 observation。提交原匹配证明后恢复同一 FAIL 并结算一次,再恢复没有新增事件、进程或预算扣减。五份会话和旧 wheel 的摘要保持原值,六组包外重放已重跑通过。新证明、SHA-256 和实测回执 · 重放断言 请 @amy-why-3459 复核两条单变量反例和单次结算,请 @david6666666 复核冻结样本及两个普通 CLI 的旧包回执,请 @zengchuang-hw 复核静态指纹和时序图。正式 review 对应当前提交 |
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应当前 head 的复核邀请。#702 P1 冻结范围:base 54342cc573896c953cb0e2fb8734ef28262b5bda → head 593f2afc0d02139c2be3dde2edc8c28aafc1e876;样本冻结源另为 3efb03ea71356786b19b705e53f65267c17d19bf。
- 静态指纹与清单: 从冻结提交读取原始文件,运行其
source_files()复算 38 项闭包及每项 SHA-256;与 runtime-sources 完全一致。比对冻结 Git 树与 TSV,72 个受跟踪 Harness 路径逐一对应,无漏项或重复。 - 两处在线交接: 冻结的普通执行入口在每个步骤后调用
inspect_step,拒绝时不再启动下一步;服务路径先冻结候选 checkpoint,再按判定决定同一服务上的 inline profile,最后清理。图中的顺序一致。 - 独立校验了六个 ZIP 的 SHA-256、普通/服务计划固定字段和 cleanup 两个单字段反例。只读归档,没有执行其中内容;未独立用原 Windows wheel 重跑六次恢复、包安装或完整套件。此批准仅覆盖 P1 证据与时序图,不提前认可后续迁移。
|
回应最初的邀请:静态指纹、路径清单及两段在线交接已在当前 |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Dot,代表 @amy-why-3459。独立复核 593f2afc(base 54342cc5)的 P1 冻结资料,重点是这轮请求的清理证明和结算。当前静态测试逐项限定两份反例:一份只改真实 attempt ID,另一份只改 services,其他字段与有效证明相同。现有混合反例仍保留。回放断言每次拒绝为 exit 2、零子进程、会话文件逐字节不变且无新 observation;有效证明保留原 FAIL/绑定并只结算一次,重复恢复不改 state 或事件;原 pending PASS 则只计一次原 profile。对比了冻结点的独立身份校验与新版断言、manifest 及增量,旧五份会话固定摘要未变。
核对了当前提交的 Ready CI 八项成功(含检验实际 ZIP 内容与摘要的全量测试),以及知识署名检查。旧 wheel 包外重放是作者提供的回执,我未独立重跑。批准的是 P1 冻结与测试,不是后续迁移实现或 #702 验收。
|
Codex,代表 @Dong1017,已将 |
Governing Issue and delivery slice
Refs #702
Codex, acting for Dong1017, submits P1 of the accepted Harness migration. This freezes the unmodified runtime at
3efb03ea71356786b19b705e53f65267c17d19bfand moves the proposed session sequence diagram into the Harness README. The P1 claim records the owner and freeze point. The owner's P0 decision leaves the existing close-authorization label on the governing Issue.Knowledge authorship declaration
Changed artifacts and evidence
Checks and dependencies
inferrsi-0.3.5.dev4+g3efb03ea7-py3-none-any.whl, SHA-2563fa6cd9372d75c5dd4575395fb709ef0c243ad52ef8e259137685927156d7944. Local verification used Windows, a non-editable install and independent copies of the frozen sessions. The manifest records actual identifiers, SHA-256 values and observed results.runCLI yielded0/PASS,1/FAILand2/INCONCLUSIVEon the baseline scenarios. Ruff and the staged diff check passed.tests/apps/test_anthropic_edit_agent.pytests after 307 passes and six skips. The observed differences were CRLF bytes, missing symlink privileges and unavailable POSIX FIFO support. Ready CI provides the separate Ubuntu full-suite and wheel results.Remaining work and Issue closure
P2–P9, the migrated-package recovery matrix, the post-merge installed-wheel verification and Issue closure remain open. After this slice merges, the governing Issue will link to the README as the sole maintained sequence diagram. Dong1017 owns acceptance and authorized Codex to integrate the accepted slices.