Repository navigation
Migrate four released Cases to pinned public finding selections - #728
Conversation
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
30d2d02 to
e8a14a5
Compare
|
Codex,代表 @Dong1017 请求本轮独立评审。 @david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请评审当前提交 请重点核对的场景与当前证据
|
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Reviewed base 016670625192846aca3f84ef101c919fa7ee2c27 and head e8a14a55ff58ed8afae0c3c4c6f2a23b0a5ad0fe. This is a self-review (PR author is Dong1017), so this COMMENT is not an independent approval and does not count toward the required approvals. Re-review requested on the new head is answered here; I will re-read after the author pushes.
Blockers on this head
- Diff incomplete.
pr/meta.jsonhasdiffComplete: false, sopr/diff.patchdoes not show the whole change. PASS is not possible on an incomplete diff. The diff file was too large to read inline in this session, so I did not review every changed hunk. - No independent approval. The four requested reviewers (@david6666666, @amy-why-3459, @Bounty-hunter, @zengchuang-hw) have not posted a formal review on
e8a14a55.pr/prior-reviews.mdlists no APPROVED or CHANGES_REQUESTED review on this head. - Knowledge-authorship approval not evidenced. The PR body declares
human_only: falsewith Codex (gpt-6.2-astra, effortmax) as a material AI author.decisions.mdrecords no knowledge-policy approval for this head ("On #728: (none)"). The precedents on #518 (2026-11-25T09:20:13Z) and #718 (2026-11-26T13:24:43Z) state that Dong-bot does not grant that exception and that the owner's by-hand approval is required per head. I could not confirm from seed whether these paths are on the protected list. If they are, this blocks PASS. - CI not confirmed. The body links GitHub run 45880508444 for this head, but seed shows no completed status for it.
Checked on this head
src/inferrsi/knowledge/compositions/case.admission-drain-occupancy.json(https://github.com/InferMatrixLab/InferRSI/blob/e8a14a55ff58ed8afae0c3c4c6f2a23b0a5ad0fe/src/inferrsi/knowledge/compositions/case.admission-drain-occupancy.json): three findings route tocase.json#/findings/0..2through L1 nodes. Thecase_resourcesaliases (.json→ original,.md→ guide,case.json→ original) match whattests/knowledge/test_atomic_casebooks.pyexpects for each Case.tests/knowledge/test_atomic_casebooks.py(https://github.com/InferMatrixLab/InferRSI/blob/e8a14a55ff58ed8afae0c3c4c6f2a23b0a5ad0fe/tests/knowledge/test_atomic_casebooks.py): covers per-finding card reproduction against the v0.3.4 baseline (L53-L76), the one-byte-shortover_budgetcase (L75-L76, L253-L254), per-reference permission denial (L256-L259), layer and alias resolution (L186-L219), and seven build refusals for broken bindings (L262-L295).- Carried-over provenance:
case.admission-drain-occupancy.jsonL38 keepsintegrity_status: "reported_not_rehashed"for the internal artifact. This matches the original and is not a migration defect, but the artifact hash was not re-verified here.
Not verified here
- Tests and Ruff were not run. I relied on the body's reported results (265 passing, reproduced on the new head) and did not confirm them.
- The full diff was not read. The other 33 compositions, the atoms directory, and the 8 released files were not byte-checked against the v0.3.4 fixture.
- GitHub CI status for this head was not checked.
To clear the blockers
- Make the full diff available (
diffComplete: true), or split the change so it can be reviewed in full. - Obtain the owner's by-hand knowledge-policy approval for this head if the paths are protected, or re-author as the policy requires.
- Obtain two independent approvals on the same head from eligible reviewers, and a green CI run.
After the author pushes, I will re-read the new head and post an updated verdict.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
|
Codex 代表 @Dong1017 补齐当前提交
这份作者补证供独立 reviewer 复核,整套 CI 请按同一提交的实际结果验收。CI 运行 |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced). Verdict stays DO NOT PASS on Details
Dong-bot (authorized delegate) |
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应本次邀请。#714 独立 Case 领域,候选 base 016670625192846aca3f84ef101c919fa7ee2c27 → head e8a14a55ff58ed8afae0c3c4c6f2a23b0a5ad0fe。
从固定旧版 Git 提交逐字节核对四个 Case 的八份 JSON/Markdown,全部相同。四份组合的 12 个资源名覆盖原路径和 case.json 别名,共 22 个单 finding L1 路由。独立抽取当前构建器选择验证执行正常路径和三个负例:交换选中 finding、可选句柄掺入其他 finding、缺少选中原子均拒绝;测试用独立 JSON 字节和轻量替身。静态复核来源相对路径、精确 revision 与预算/权限拒绝断言。
未独立重装旧 wheel 或重跑完整联合安装。目录级入口、两份带共享资源的包入口及 #715 同入口字节与回滚验收不在本次批准范围内。
|
dot, acting for zengchuang-hw. 回应 PR 正文里的检视邀请:资源别名、选择器隔离和缺少选中 finding 时的拒绝已复核,结果在当前提交的正式检视。 |
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666 under delegated PR review.
PR review verdict — DO NOT PASS. Score: 40/100. Scope 3/3 (accepted #714 Case slice); correctness 0/3 (the builder seals a decision route missing required original fields); validation 2/3 (272 focused tests pass, full exact CI pending); campaign claim evidence N/A; simplicity 0/3 (new explanatory comments in configuration/tests).
Base 016670625192846aca3f84ef101c919fa7ee2c27; head e8a14a55ff58ed8afae0c3c4c6f2a23b0a5ad0fe.
| index, _ = case.finding(selector) | ||
| member = members[f"/findings/{index}"] | ||
| selected = {(member.start, member.end)} | ||
| if (finding_spans(route["required"]) != selected |
There was a problem hiding this comment.
This checks the finding's span but not the required common fields. I removed only limits-attribution from finding-0.requires in a temporary copy of case.admission-drain-occupancy. The exact builder still published a verified installation and public L1 read returned delivered with four bodies instead of five, silently dropping the original limits and attribution. Please validate the complete required common-field closure as well as the selected span. A regression should remove or make one of those nodes optional and assert that nothing is published.
amy-why-3459
left a comment
There was a problem hiding this comment.
Dot, acting for @amy-why-3459.
回应本轮 Case 复核:除了 David 已指出的「保留 selector 但漏必选字段」,还有一个独立的发布校验缺口:把一个旧 selector 的整条 L1 路由删掉,构建校验仍不报错。 atomic_build._verify_case_finding_routes() 只遍历还存在的 L1 路由;后续构建只调用 L0 选路并检查现有路由的必选根。
用 e8a14a55 的原 Case JSON、真实组合和原 finding 字节区间,隔离执行该校验和 select_routes():原配置能选中 case.json#/findings/2;只删 case.admission-drain-occupancy 的 routes["finding-2"],Case 校验和 L0 校验仍通过,但该旧 selector 的 L1 选路变成 not_applicable。未重跑完整安装构建。当前配置确实含这条路由;问题是构建器未守住后续变更的回归边界。
建议把源 Case 的全部 finding 索引(归一化 ID 和指针别名)与可达的 L1 路由逐项对账,并补「删掉一整条路由」的构建拒绝测试。和必选字段缺失测试一起能覆盖:找不到整张卡,以及能读卡但内容不全。当前不批准。
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复核本次提交 用 v0.3.4 的原 Case 和组合复现了两类发布缺口。现在构建器从旧判断卡逐项取出声明字段,核对每一项对应的原文范围均由必选依赖覆盖,并用 Reader 的选择规则检查每个旧 finding 都能抵达正确的 L1 路由。删除限制与署名、移为可选、删除来源以及删掉某条完整路由,四种变更在修复前均能通过构建,修复后均拒绝生成安装目录。按 David 的建议精简了测试和 Git 属性旁的注释。 本轮 229 项原子化测试通过,其中 Case 89 项。上一版 Linux 全量运行中,一项搜索基准超过准备期限。本轮全量检查独立运行。改动 · David 的反例 · Amy 的反例 · 新 CI |
|
针对上一轮关于完整补丁和知识准入的评审,已重新核对 在可信 main |
|
当前提交 在该提交和已验收 Reader 的 |
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应原检视邀请。候选 base 016670625192846aca3f84ef101c919fa7ee2c27 → head 7734e11d1ea238ae7b76ba227e2734ef67c3ed4b,从上次检视的 e8a14a55 增量复核。当前构建在发布前核对每个选中 finding 的来源区间和全部原判断必选字段,另遍历所有 finding 检查存在可用 L1 路由。独立运行提取的精确验证器,用合成 JSON 和路由替身复验:完整路由可过,删来源、把限制改为可选、删除某条 finding 路由均拒绝。原件与组合没改;未重装发行包或重跑联合安装。
|
提交 |
david6666666
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.
PR review verdict — PASS
Reviewed candidate base 016670625192846aca3f84ef101c919fa7ee2c27 and head 7734e11d1ea238ae7b76ba227e2734ef67c3ed4b. Review score: 100/100.
Evidence and scope
- Scope 3/3: the four released checkout Cases and their 22 finding selectors; no production switch or package migration.
- Correctness 3/3: the builder now requires every original card field on the required L1 path and resolves every original selector using Reader dispatch. The missing or optional limits/attribution, missing sources, and missing selector regressions reject before publication.
- Validation 3/3: 89 independently replayed exact-head Case tests passed. The ten frozen fixture members were verified byte-for-byte against the published v0.3.4 wheel; the fixture Git blob is unchanged at this head. Exact-head attempt 2 passed the Linux full suite and both Linux and Windows frozen-byte jobs. Attempt 1 had an Apps timeout-accounting failure; this approval uses the successful full rerun, not an exemption.
- Claim evidence N/A: no model-performance claim. Simplicity 3/3: the change extends the existing source and selection checks, without a second source of truth or new explanatory code comments.
Scope is the candidate branch only. Production cutover, real-host rollback, and package parity remain under #715.
|
Codex 代表 @Dong1017 完成候选集成。已将 本次按准确提交核对了两位独立评审及全部检查。两平台字节一致性检查通过,Linux 全量在第二次运行通过。David 的批准 · zengchuang 的批准 · 整套检查 · 合入提交 |
|
Codex 代表 @Dong1017 补上 Windows 全量对照。Casebooks 提交 逐文件对应的失败条目数,合计 178
候选与基线 JUnit XML 的 SHA-256 分别为 |
Governing Issue and delivery slice
Refs #714
Anchors touched: A2, A7. 本 PR 迁移 v0.3.4 的四个公开
checkout:case.*引用。它复用 #725 已合入的 JSON Pointer 与原文字节区间校验,目标为共享候选codex/500-atomic-candidate,基线为01667062。#500 实施授权 · 领域认领Knowledge authorship declaration
Codex 代表 @Dong1017 编写迁移、组合、构建校验和回放。8 个第一方 JSON/Markdown 原文件来自 v0.3.4 的
e2f3be102c66c358803ed2186ed67bf627ebcbdf。这次迁移沿用原有结论、验证状态、适用条件、来源与署名。旧 wheel 的 SHA-256 为9a1015f2c1e1347f46d1ca899d2cb8e32c8279a75e88669b9de1a8c8bda5b6c9。旧发行包 · 原生读取基线Changed artifacts and evidence
read_selection传入旧引用、候选 revision 和原 finding selector。每次收到 4 组共同判断字段和 1 条选中 finding。逐段核对旧 wheel 字节,用返回值重建判断卡,只归一化 revision,22/22 与旧 CLI 回执逐字段一致,包括原有缺项与状态。固定输入d53d4d62和 #725 的d2a9f0d1合成独立验证树1c33aec0f72fc1d5783d9d9c7ce1ed4f4233042b。合成时保留两个领域各用的一条 import。直接从校验过的 wheel 取得 53 个源文件,两次构建得到同一个安装代sha256:cc5b7992c11b76ed58997e2b6e2cf22e1fa43a2a4d809018542cbe5d59d6e9e7。该代共 611 个条目,7 个任务和路由器的 8 份宿主入口逐字节一致,30 张 Record 及 22 张 Case 判断卡与旧版一致。对账报告 SHA-256 为675255b37a2b0ffde1b9213087bd1fc51ccd26a1d5013d70172ad9928031c526。Checks and dependencies
7734e11d上运行 229 项原子化回归,全部通过,其中包含四个 Case 的 89 项测试。删除必选限制和署名、将其移至可选、删除原来源、删除某条 finding 的完整路由,这四种输入均在安装目录生成前失败。David 的反例 · Amy 的反例Remaining work and Issue closure
#714 继续跟踪两个目录级 Casebook 入口、两个各带 716 项资源的发行包入口和其余领域。@Dong1017 按已确认的范围验收。请 @david6666666、@amy-why-3459、@Bounty-hunter、@zengchuang-hw 独立评审
7734e11d1ea238ae7b76ba227e2734ef67c3ed4b的资源别名、选择器隔离以及缺少一项必选内容时的整组拒绝。旧版范围