Repository navigation
Accept a YAML task file in inferrsi plan and run with --task - #577
Conversation
plan and run now take --task <task.yaml>, which reads the shared schema v1 task contract. Their value options record each flag the caller supplied, so only supplied mapped flags override the file. Parser defaults such as --backend cpu keep flag-only invocations unchanged but never replace a YAML value. Acceptance flags must equal the file, using the existing merge conflict rule. Field errors and blockers print by field to stderr and exit 2 before any environment probe, task command or file write. A complete task is copied onto the existing arguments, and RunSpec is built through the existing make_spec path. make_spec now accepts normalized argv lists. plan and run --dry-run add a task block equal to task preview --json for the same file and flags. run first requires that a local acceptance.reference exists, before the probe. After inspection it requires that the baseline checkout HEAD matches acceptance.baseline_revision (a 7+ character hex prefix is accepted). It then writes task.json next to args.json. Without --task, --baseline-command and --candidate-command stay required with the same argparse error. Adds tests/test_task_plan_run.py on the shared complete and partial fixtures, and documents the plan/run use in docs/task-input.md and docs/operations.md. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Initial review: base b781edc2908969cc45b628adcaf62f57f2a28ad7, head 2be157a259042bb26f6079fb449ccb8104fdeffc. Scope: #365 part 2; no prior review.
Blocking: explicit flag checks do not verify the frozen acceptance criteria. #365's part-2 record requires the effective task to agree with the frozen gates. In src/inferrsi/apps/cli/__init__.py:387–407,846–891, the reference is only checked for local file existence (or accepted as an HTTP(S) URL), then the checkout HEAD is compared. The run uses the YAML's metric, direction, threshold and trial checks directly from arguments.py:779–818; the legacy runner evaluates that resulting spec. A task that keeps the correct reference and HEAD but changes only the agreed threshold can therefore run under a different gate, without any conflicting CLI flag. Resolve or accept trusted frozen-gate evidence and reject mismatches before running; if the referenced gate cannot be verified, say so rather than treating the reference as agreement. Please add a regression for a matching reference and HEAD with a mismatched gate.
Read the seven-file diff, pinned CLI/legacy path, repository review guidance and part-2 scope. No Git-backed run, tests or CI results. This review is not about the deferred wheel check or Issue closure.
|
补充同一 head
@Dong1017 请按已有阻断意见补齐可信冻结门槛的一致性校验(无法核实时明确拒绝执行),增加“引用和 HEAD 均匹配、但门槛不同”的回归;请保留 plan/preview 的只读边界及旧 flags-only 行为。修复后我继续补查真实 Git 路径。未改动此 PR 源码,也不另起重叠实现。 |
|
补充上述真实 Git 验证之外的原计划测试:在 head |
run --task checked only that a local acceptance.reference existed (or accepted any HTTP(S) URL) and that the baseline HEAD matched. The YAML's metric, direction, threshold and trial checks then went straight into the RunSpec, so a task that kept the reference and HEAD but changed the agreed threshold ran under a different gate. task_input.frozen_gate now resolves the local acceptance.reference as a frozen gate record: a schema v1 document with an acceptance section, read with the same safe loader and validator. It must state baseline_revision, metric_key, direction, metric_unit and min_improvement_pct. Every acceptance field except reference must equal the task's effective value after the same defaults. The result is agrees, mismatch or unverified, with field-level problems and the record's SHA-256. An HTTP(S) reference is never fetched, so its gate is unverified. The same applies to a missing file, the task file itself, a non-v1 document such as a Markdown plan, or a record that omits a required gate field. run --task requires agrees before the environment probe. A mismatch or an unverified gate exits 2, listing each problem by field, with no command started and nothing written. The run directory records frozen_gate.json next to task.json. plan and run --dry-run add a frozen_gate block and report a mismatch or unverified gate without failing. task validate and task preview are unchanged and read only the task file. Tests cover the reported case (same reference and HEAD, threshold changed only) and a change to each other acceptance field. They also cover a baseline revision that matches HEAD but not the record, the unverifiable reference forms, the plan and dry-run report, and frozen_gate.json on an agreeing run. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-opus-5-5). Thanks for the review. There was one blocking item, and it is fixed in this revision. DetailsExplicit flag checks did not verify the frozen acceptance criteriaAgreed, and fixed. What changed
Behavior change to note: an HTTP(S) Limit of the check: it proves that the task matches the record it names. It cannot prove that the record is the accepted one. That still depends on the acceptance issue citing the record, and its Regressions added in
As a sanity check, I temporarily disabled the new Tests run
Not verified
|
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Increment 2be157a259042bb26f6079fb449ccb8104fdeffc..41e4ccb4e5fdc8b25fac032ba2724aa44fba0f19 (base b781edc2908969cc45b628adcaf62f57f2a28ad7). Previous review.
Resolved: the run now rejects a threshold or other field that disagrees with the referenced local record before inspection; unreadable records and URL-only references do not authorize execution. The new mismatch regression exercises the original failure.
Blocking: compare against the accepted record, not just a matching file. task_input.py:641–675 accepts a separate caller-selected file if its normalized fields match the task. It hashes the bytes for later reporting but never checks that hash against an independently fixed acceptance record. As #365 part 2 requires agreement with the frozen gate, require an expected digest or immutable accepted-artifact identity supplied independently of the task, and treat substituted/unverified records as non-runnable before probes. Add a regression where the task and local record agree with each other but the record differs from the accepted one. If provenance is intentionally a caller-side precondition, record that scope decision explicitly rather than implying this check enforces it.
Read the exact six-file increment, gate/load/dispatch path, new regressions and the governing scope. No full Git-backed run or CI results.
zengchuang-hw
left a comment
There was a problem hiding this comment.
LGTM
PR review verdict — PASS
Reviewed target main, base b781edc and head 41e4ccb. This completes the existing review from this account; it is one account's vote. Dong1017/PR Pool authored and owns the part-2 implementation; I did not implement or supervise that delegated slice.
The prior frozen-gate blocker is resolved. The local schema-v1 acceptance record is parsed with the shared safe bounded loader, all gate fields are compared before probes/execution, unverified URL/Markdown/missing/self references refuse, and the record digest is retained. CLI overrides still distinguish explicitly supplied flags from defaults. Flag-only behavior is preserved.
Verified by actual execution:
- 216 passed / 2 subtests passed: task plan/run, shared task contract, trial checks, frozen legacy outputs and CLI catalog; whole-tree src/tests Ruff and native diff whitespace passed.
- A fresh sdist-built core wheel with no extras passed the complete installed-package probe outside the checkout.
- From that bare installed wheel, the unchanged complete YAML fixture (copied to prepared temporary paths) produces the same normalized task through task preview and plan, preserves the non-default CUDA backend, reports execution not started and writes no workspace files.
- Real Git + CPU subprocesses, without inspection/runner stubs: an agreeing synthetic 21% gate produces the expected FAIL for 100→80; changing only the task gate to 0 now refuses with exit 2 and no run directory. A gate/task baseline that agrees with each other but differs from actual Git HEAD also refuses with exit 2 and no run directory. The earlier head incorrectly ran the drifted gate and returned PASS; that failure record remains in this PR.
Limits: record equality does not authenticate the acceptance authority; the accepted record/digest must still be cited in the acceptance issue, as documented. No real device/model or service-performance acceptance is claimed. Ready CI and the second eligible independent approval remain merge conditions, and #365 still requires part 3 plus whole-task acceptance.
zengchuang-hw
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Reviewed base b781edc and head 41e4ccb. This review supersedes my approval 6012926601; do not count that approval toward merging.
The original field-mismatch defect is fixed and my 216 tests, bare-wheel check, installed CLI parity and real Git drift rejection remain valid. However, the parallel review 6012896722 on this same account identified an additional unresolved acceptance-source binding requirement. I did not refresh that review before submitting the approval. The local record digest is currently computed only for later reporting; a caller can substitute both the task and its referenced record and the CLI has no independently frozen digest to compare. Documenting that limitation does not itself record the governing owner's acceptance of a caller-side precondition.
Before re-review, either (1) verify an independently supplied expected digest/immutable accepted-artifact identity before probes, including a regression where task and replacement record agree but differ from the accepted record; or (2) obtain an explicit governing-owner scope decision that acceptance provenance is a caller-side precondition, and accurately retain that limit in the run/preview contract. No real device/service claim follows from the software checks. I will re-review the chosen, recorded boundary.
|
@Dong1017 补正:我已用 Request changes 明确覆盖刚才的 Approve,不应计入有效审批。新增并行检视要求的是“所读记录确为已接受的冻结记录”,不仅是 YAML 与任一同值本地文件相等;这一点尚需实现或明确 owner 范围决定。 可采用的最小实现是由 CLI/宿主在 task YAML 之外显式传入接受记录的期望 SHA-256(来自 acceptance issue/冻结 plan),先比较精确记录字节再允许 run,缺失或不匹配时在 probe 前拒绝。无需新增通用下载器或改写旧 flags-only 入口。请补“同时替换 task 与 gate 文件、但独立接受摘要不变”的负例;若选择由调用方保证来源,请在 #365 明确记录该 scope 决定再复审。此前真实 Git / 216 项兼容 / bare-wheel 检查结果保留,不把这些结果当成来源认证。 |
|
已读取并接受 #365 的明确 owner 范围决定 7081077189:本切片只校验 task 与调用方提供的本地记录一致;记录来源认证由 caller/host 在运行前保证,不增加期望摘要参数,也不将“双文件同时替换”作为本切片阻断。 当前代码的字段漂移拒绝和 SHA-256 留存已有实际验证。 |
The frozen gate tests stub or forbid environment inspection, so none of them covers the reported reproduction: a real Git checkout and real CPU benchmark commands, where the reference and baseline HEAD match and only the task's threshold differs from the frozen record. The new test builds a one-commit Git checkout and a frozen gate record stating 21%. Baseline and candidate commands report 100 ms and 80 ms, a 20% gain, and an explicit quality command succeeds. It checks three runs: - The task lowers only its threshold to 0. run --task exits 2 with the min_improvement_pct mismatch before any benchmark command starts or any run directory is written. - The task and the record both state a revision that is not HEAD. The real inspection runs and the baseline check exits 2. No command starts and nothing is written. - The task agrees with the record. The run executes and returns FAIL (exit 1) under the frozen 21% gate. frozen_gate.json records agrees. With the run --task gate check disabled, the test fails at the first case because the run starts, as in the report. No source change. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-opus-5-5). Thanks @zengchuang-hw for the real Git + CPU reproduction and the test run. Both comments were written against Details1. The frozen gate must match before
|
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Increment 41e4ccb4e5fdc8b25fac032ba2724aa44fba0f19..96e54535f88aaeee6f68a16e4da198c7df9fa614 (base b781edc2908969cc45b628adcaf62f57f2a28ad7). Previous review.
The new Git/CPU regression covers the original drift on the real execution path. The recorded scope and same-account clarification place record authentication with the caller/host. No digest flag or two-file substitution test is required for this slice.
The remaining requirement is documentation: this push changes only the test. In docs/operations.md, state that the caller/host must authenticate the accepted record before running, and that agrees means content equality only. In docs/task-input.md, align the current “agrees with its accepted inputs” summary with its later caveat. Keep the stored digest as evidence, not proof of approval.
Read the exact test-only increment and both pinned documentation sections; did not run the regression or read CI.
|
补充已直接核实的当前头 CI: @Dong1017 目前剩余是将 7081077189 的 caller/host 来源前置边界对齐到 task/operations 文档和 PR 说明。请原 part-2 实现方推送该文档修订后通知复审;不需要添加期望摘要参数,也不重复运行来源认证之外的新增功能。待最终头到达,我会检查实际增量和最新并行检视,再给正式结论。 |
The frozen gate check compares the task with the local record that acceptance.reference names. It does not authenticate that the record is the accepted one. The owner scope decision makes that provenance a caller/host precondition, so the plan/run contract now says so. - operations.md: the plan output defines `agrees` as content agreement only. The run inputs state that the caller/host must first establish that acceptance.reference names the accepted frozen gate record, and that InferRSI takes no expected digest. The run output states that the SHA-256 in frozen_gate.json is for citation. - task-input.md: replace "agrees with its accepted inputs" with content-consistency wording. Say that a task and record replaced together still give `agrees`, and that provenance is a caller/host precondition before run --task. The Agent workflow now has the Agent confirm, before run, that the reference names the accepted record. - task_input.frozen_gate docstring: the same limit, for Agents calling the Python helper. No behavior, interface or test changes. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
已在实际 Git 可用的环境复验新头 原字段漂移与基线不符两种真实路径均有回归覆盖。来源认证范围按 7081077189,不再要求新摘要参数;等待这项决定在 task/operations 文档及 PR 说明中对齐后做最终复审。 |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-opus-5-5). Thanks. This revision follows the owner scope decision accepted in #365 (comment 7081077189). This slice checks only that the task's content matches the local record it names. Authenticating where that record came from is a caller/host precondition. I added no expected-digest parameter and no new interface, and I did not change any test logic. DetailsItem by item1. Review 14:56 (COMMENTED), blocking: compare against the accepted record, not just a matching file 2. Review 15:05 (CHANGES_REQUESTED): expected digest, or an owner scope decision retained in the run/preview contract 3. Comment 15:16: align
Tests run
Not verified
|
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-opus-5-5). The PR pool has revised this PR 3 times, its limit, so it does not take the new feedback. Please continue with the people on this PR: push the fix yourselves, or claim a follow-up task on the issue. |
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for @zengchuang-hw. Increment 96e54535f88aaeee6f68a16e4da198c7df9fa614..8116a65c7d57cbff871d623c2aec546b9013f453 (base b781edc2908969cc45b628adcaf62f57f2a28ad7). Previous review.
The task and operations docs now distinguish content equality from provenance, require the caller/host to authenticate the record before running, and describe the stored digest as evidence rather than a provenance check. The helper docstring matches, and the reviewed runtime and regression logic are unchanged. This resolves the documentation blocker under #365's scope decision.
Compared all three changed files at the exact revisions. No runtime tests or CI results consulted for this documentation-only increment. Approval covers part 2 only, not overall Issue acceptance or merge.
|
作者自检(不计独立批准):最终修订 @jiangkuaixue123 两项实证问题均已处理:现有 RunSpec 的 revision 绑定声明基线,snapshot_id 绑定实际探测到的源码指纹;H 对初始与 trial 前的基线快照复核,连 HEAD 不变的工作区变更也会拒绝,从而不启动该错配 trial。task 的本地 RunSpec 校验前移到环境探测之前。新增 11 项回归先证失败、后通过;完整相关/legacy 组 253 passed / 2 subtests,fresh bare-wheel probe 通过,Ruff/whitespace 通过。 扩大组有一项原有 Windows 子模块恢复断言在干净 main 同样失败,已如实写明,未删测试或改 advisory 规则。当前会话已成为 material contributor,旧批准不计票。请你复审原两项问题,并请 @amy-why-3459 @david6666666 @hsliuustc0106 中另一位独立评审实际检视;两份有效外部审批和最终 CI 到齐后再合入。 |
jiangkuaixue123
left a comment
There was a problem hiding this comment.
PR review verdict — PASS(批准)
复审目标分支 main,当前 head ba07f95b55bceb12099bb1d9ac2e56f463e5b5ba(相对此前 Request changes 的 8116a65c)。范围仍是 #365 第 2 部分:让 plan / run 能读 YAML 任务文件(--task),并按共享的 v1 约定合并显式参数、核对冻结门槛(frozen gate:事先谈妥、写死在文件里的验收门槛)、再执行。
改了什么
- CLI 增加
--task:用任务文件填实验说明(RunSpec),显式命令行参数覆盖文件值;验收相关字段必须与文件一致,否则在探测环境之前就退出。 - 运行前核对本地冻结门槛记录是否与任务里的 acceptance 内容一致(只比内容,不证明文件来源可信——这点按 owner 决定仍由调用方/宿主负责)。
- 把
acceptance.baseline_revision写入 RunSpec.revision,把环境检查时看到的源码指纹写入snapshot_id;harness(试验编排器)在初始快照以及每次基线试验命令前复核,检出切换或同 HEAD 的工作区改动都会拒绝,且不启动错配的 trial,并留下失败诊断 / INCONCLUSIVE。 - 任务模式下
make_spec(含本地路径存在性)前移到inspect_environment之前,避免无效候选目录仍先跑 Python 探测。 - 文档与
tests/test_task_plan_run.py补齐回归(含「探测前拒绝对路径」与「检查后/试验前源码被换」等场景)。旧的纯 flag 路径保持兼容。
对先前两项阻断意见
- [原 P1] 冻结 revision 与真实执行快照脱节 — 已解决。CLI 绑定 inspection 得到的
snapshot_id;harness/runner.py的check_baseline_revision在初始before快照与基线侧execute_checked前同时核 revision 与 snapshot_id。对应回归test_task_revision_is_bound_to_real_execution_snapshots(checkout / working-tree × after_inspection / before_trial)要求无 trial 落盘且错误点名RunSpec.revision/RunSpec.snapshot_id。 - [原 P2] 任务 RunSpec 校验晚于环境探测 — 已解决。task 路径下
make_spec在inspect_environment之前;test_missing_candidate_directory_refuses_before_any_probe用禁探测夹具断言「candidate_repo must be an existing directory」且目录树不变。
风险与非阻塞提醒
- 未发现影响正确性、安全或声明行为的新实质缺陷。
- 本批准仅覆盖 #365 part 2 的当前 head,不代表整题验收或可立即合入;合入仍需仓库要求的独立票与最终 CI。扩大组里 Windows 子模块恢复用例在干净 main 亦失败一点,作者已如实记录,不构成本 diff 的阻断。
- 当前部分 Ready CI(如 full-check)在检视时仍在跑;若最终 CI 红,请按失败面再看,不必因本批准自动合入。
结论
批准(APPROVE)。 先前两条实证阻断在本 head 上有对应实现与回归;声明边界(调用方负责门槛来源可信)与 part-2 范围清楚。未合并 PR,未代其他评审人投票。
(由自动化协助 @jiangkuaixue123 提交对本 head 的独立复审。)
|
@jiangkuaixue123 当前 @amy-why-3459 @david6666666 @hsliuustc0106 也请独立审查该最终头。Dong1017 是原作者/父代理,我已接手实质修复,双方均不计入独立两票。当前 Ready CI 的安装、两个 advisory host 和 Dashboard 已成功,两个 full-check 仍在运行;以最终 CI 为准。 |
|
最终 @jiangkuaixue123 请仅修正现有本头批准的 |
|
@jiangkuaixue123 再请处理当前 源码和实际验证未变,Ready CI 45044744633 全绿、253 项 / 2 子用例和 fresh bare-wheel 通过。扩展检查中的既有换行夹具失败仍保留,另由 #581/#582 修复;不把历史失败改写为通过。作者及材料贡献者 zengchuang-hw、父责任人 Dong1017 均不计独立批准,仍需另外一名有效独立评审后才合入。 |
Merge main after the real LF/CRLF fixture correction so the previously affected expanded runtime checks can be rerun without excluding the failure. Agent-assisted-by: Codex (integrator) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
已同步实际 main 的 #582,当前新头 新头 269 passed / 17 subtests passed,包括完整 runtime、task plan/run/input、protocol child 和 CLI catalog,原失败项与两种换行均未 deselect;Ruff / whitespace 通过。旧 240 passed / 1 failed 和之后显式排除的历史记录完整保留。新头 Ready CI 正在跑,两项 fresh installed-package 已过,尚不声称全绿。 @jiangkuaixue123 @linyueqian @amy-why-3459 @david6666666 请实际复审新头及受影响消费者,收到问题我先处理。旧头和第一行不合规则的 Approve 不继承;若实际结论通过,请在同一当前头正式 Approve 第一非空行单独写 |
|
@jiangkuaixue123 请实际复审当前 现存 6013317990 的正文仍写旧 |
jiangkuaixue123
left a comment
There was a problem hiding this comment.
LGTM
改了什么
独立复审当前 head b05d9b3fa25a77ca92fb66cd8d675e44d001481e(相对 main 0e6b4ea9…,#582 同步之后)。范围仍是 #365 第 2 部分:让 plan / run 能用 --task 读 YAML 任务文件。
- 显式命令行参数覆盖 YAML;没写的参数不会用解析器默认值盖掉文件里的值。
run --task会核对任务与本地「冻结门槛记录」(frozen gate:事先谈好的通过标准)字段是否内容一致;一致才继续。- 把约定的基线提交写进已有的
RunSpec.revision,把环境检查时看到的源码指纹写进RunSpec.snapshot_id;真正开跑前和每次基线试验前再核一次,避免检查后偷偷换提交或改工作区还能接着跑。 - 任务不合法、门槛对不上、本地目录不存在时,在环境探测(probe:探机器/Python 等)之前就拒绝(exit 2)。
- 不用
--task的老用法保持兼容。相对 main 仍是九个文件的任务输入切片。
明显问题或风险
未发现影响正确性、安全或声明行为的实质缺陷。
此前对本账户在 head 8116a65c 上提出的两条阻断,在本 head 上已有对应实现与回归:
- 冻结 revision / snapshot_id 绑定到真实执行快照 — 已解决(
harness/runner.py+test_task_revision_is_bound_to_real_execution_snapshots)。 - 任务 RunSpec 校验晚于环境探测 — 已解决(task 路径下
make_spec在inspect_environment之前 +test_missing_candidate_directory_refuses_before_any_probe)。
门槛文件「是不是验收议题认可的那一份」仍由调用方/宿主负责;agrees 只表示内容一致。文档已写明,符合既定边界。
结论和理由
批准(APPROVE)。 这是对当前 head 在 #582 同步之后的独立复审;先前两条实证阻断在本 head 上已修复且有回归覆盖。未发现实质正确性/安全/声明行为缺陷。本票不代表整题验收或可立即合入;CI 与合入仍需其他独立账户的正式批准。未合并 PR,未代其他评审人投票。
|
已核实新 review 6014774974:Jiang 明确独立复审当前 @linyueqian @hsliuustc0106 @david6666666 请完成第二份独立检视。269 tests / 17 subtests 与 当前头 Ready CI 全绿,收到意见先处理。Root/Dong 材料贡献和父责任票仍排除;本 PR 的两票合入条件与 #365 整体 Amy 验收/关闭责任分列。 |
|
Codex / material follow-up contributor: @david6666666 @linyueqian please independently review current head b05d9b3 for the bounded #365 task-YAML normalization slice. 269 tests / 17 subtests, LF/CRLF runtime checks, Ruff and current-head Ready CI are green. Jiang's 6014774974 is one actual-head eligible formal LGTM Approve; a second distinct independent write+ review is still needed. Root and Dong are contributors/actual parent here and cannot supply that vote. Please raise findings or give the normal formal verdict; final #365 acceptance remains with its recorded owner after both deliveries and main-installed checks. |
|
Codex / integrator,按用户本次“向所有 committer 寻求检视”的要求更新请求。 @amy-why-3459 @Bounty-hunter @david6666666 @Dong1017 @jiangkuaixue123 @linyueqian @hsliuustc0106 请检视当前头 当前头 CI / 269 tests / 17 subtests 已通过,Jiang 有一份有效本头独立批准,仍需第二份。Dong 是 PR 作者、Root 是实质修改者,二者不能给本切片独立批准;#365 最终验收由原指定人另行记录。 请先提出并处理具体意见;若独立审查结论为 PASS,请按仓库规则提交第一非空行为独立 账号按链接核对:dengyunyang 对应 @Bounty-hunter,WeiQing Chen 对应 @david6666666。本次只扩大检视请求范围,不更改既有验收/席位条件。 |
|
作者自检:本账号不提交本切片的独立 Approve。席位条件保持不变。 当前头 已核对的当前头正式审查:
自检依据是 PR 正文、线程与正式审查。本轮没有重跑测试;种子里没有 diff,因此没有逐行重读九文件补丁。
squash 前仍缺的条件:
Dong-bot(authorized delegate)。 |
david6666666
left a comment
There was a problem hiding this comment.
LGTM
PASS for b05d9b3fa25a77ca92fb66cd8d675e44d001481e against tested base 0e6b4ea9. Reviewed the CLI and RunSpec paths: explicit flags no longer silently override the YAML contract, and the runner checks the frozen baseline revision and snapshot both before trials and when the baseline is used. The prior blockers have regression coverage.
Exact-head Ready (45062271135) and knowledge-model-policy passed. The five subsequent main commits overlap only in docs/operations.md; I did not execute the combined tree or accept #365 as a whole.
Reviewer: Dot, acting under direct delegation from @david6666666 for independent InferRSI PR review and eligible Approve votes.
Refs #365
Adds
--task <task.yaml>toplanandrunusing the shared v1 contract from #573. Explicit mapped flags override YAML without omitted parser defaults replacing file values; acceptance flags must match. Invalid/incomplete task fields and local RunSpec paths refuse before probes or writes. Flag-only defaults, serialized RunSpec keys and the legacy two-argument/port signatures remain compatible.The current final head is
b05d9b3fa25a77ca92fb66cd8d675e44d001481e, synchronized with actual main0e6b4ea9f42e477787df2c33367396d8b12438daafter #582 merged. The sync adds only main's real LF/CRLF regression correction; production changes relative to main remain the same nine-file task-input slice. This includes the original Pool implementation and the subsequent author follow-up for review 6013128924.Frozen record and execution-source binding
agreesdoes not authenticate the record; replacing both matching files remains outside that guarantee. Task/operations docs state this boundary.acceptance.baseline_revisionnow binds the existingRunSpec.revision. The source fingerprint observed during inspection binds existingRunSpec.snapshot_id. Harness compares these with the actual initial execution snapshot and fresh pre-trial snapshots of the baseline source. Checkout changes and same-HEAD working-tree changes after inspection cannot start a trial from a mismatching captured snapshot. The refusal retains a failed diagnostic run / INCONCLUSIVE, with source and error facts preserved.make_specvalidation occurs before environment probes, so a nonexistent candidate checkout does not start the selected Python probe. No new CLI flag, RunSpec key or Harness/legacy-run port parameter is introduced.task.json,frozen_gate.jsonand the source-pinnedrun.lock.json.Verification and preserved failures
Current synchronization: 269 passed / 17 subtests passed across the complete runtime module, task-plan/run, shared task input, protocol child and CLI catalog on
b05d9b3f, without deselecting the original failing case. Both explicit LF/CRLF regression cases are included. Whole-tree Ruff and whitespace checks have passed. Fresh current-head Ready CI 45062271135 is complete and green, including both full-check and fresh installed-package jobs; declaration checks are green. Two valid independent current-head reviews are still required; old-head or malformed reviews are not carried over. Production source and installed-probe inputs are unchanged fromba07f95b; its local wheel result below remains a revision-scoped historical check, with a fresh current-head wheel check delegated to Ready CI.ba07f95b; whole-tree Ruff and native diff whitespace passed.test_submodule_local_edit_changes_snapshot_hashrestore assertion reproduces unchanged on actual main5ffe750d; it is not claimed green or removed. Rerunning the other cases after the fingerprint change gave 240 passed / 1 explicitly deselected / 401 subtests. This pre-existing host issue was corrected separately by #582, now merged to actual main0e6b4ea9; #581's closure card records both post-merge regression cases passing. The original failure and explicit deselection counts remain historical; CI policy is unchanged.96e54535/41e4ccb4remain in the review record. The first2be157a2head's actual drifted-gate false PASS, the original author's missing-Git failures, and its disclosed dulwich stand-in run remain in the author record. No historical failure is relabeled PASS.All numeric trial values are synthetic software controls. No device/model-quality, service gain or whole-issue acceptance is claimed. Prior-head
ba07f95bReady CI 45044744633 completed successfully: both Python full checks, both installed-package checks, PR references, Dashboard browser, and both advisory hosts passed. The separate knowledge declaration policy also passed.Authorship, review and remaining Issue work
Original implementation and three Pool revisions: Dong1017 / PR Pool, whose commits retain
Claude Code / claude-opus-5-5 [effort=xhigh] (author). Current source-binding/preflight fixes: zengchuang-hw / Codex (author). The exact Codex runtime model ID/effort is not exposed; none is invented. No protected knowledge path is changed, so protected-knowledge admission is inapplicable; actual provenance and both contributors' DCO/agent attribution remain preserved.Both Dong1017 and zengchuang-hw are now implementation contributors/parents. Neither counts as an independent approval. Earlier zengchuang-hw approvals are historical. Author-run validation remains self-check. Jiang's new review 6014774974 independently re-reviewed
b05d9b3fafter #582 and formally approved with the requiredLGTMfirst line; it is one eligible current-head vote. The earlier malformed/old-body review is historical and is not counted. Two other eligible independent accounts must give final-head formal APPROVED reviews beginningLGTM, findings must be resolved, and required CI must pass before squash to main.Part 3's core-wheel Ready step remains in #576, DSH adoption in #152, and overall #365 acceptance/closure remains separate.