Skip to content

Migrate self-contained Records to source-backed atomic compositions - #725

Merged
Dong1017 merged 4 commits into
codex/500-atomic-candidatefrom
codex/500-migrate-records
Nov 26, 2026
Merged

Dong1017 merged 4 commits into
codex/500-atomic-candidatefrom
codex/500-migrate-records

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #714

Anchors touched: A2, A7. 本 PR 交付旧发行包内 30 条只依赖 record.json 的 Record。48 条独立 Record 的旧回执均已冻结。另 18 条还引用共享资源,继续由 #714 跟踪。Reader 已由 #720 合入 codex/500-atomic-candidate,本 PR 直接基于共享候选 43b75b62。生产安装继续使用现行来源。实施方案 · Records 领域认领

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638",
  "human_only": false,
  "material_ai_authors": [
    {"tool": "Codex", "model_id": "gpt-6.2-astra", "effort": "max", "role": "author"}
  ]
}

Codex 代表 @Dong1017 编写迁移、组合、Reader 构建支持和校验。30 份第一方 Apache-2.0 Record 的原始字节来自 v0.3.4 的 e2f3be102c66c358803ed2186ed67bf627ebcbdf。wheel 的 SHA-256 为 9a1015f2c1e1347f46d1ca899d2cb8e32c8279a75e88669b9de1a8c8bda5b6c9。每条保留原作者的状态、验证等级、来源链接、适用范围和局限。本次验证的是迁移保真性,知识本身的效果沿用旧记录。发行包

Changed artifacts and evidence

验收点 实现及观测
旧引用和新去向 30 个原有 package:<id> 对应 30 个组合、30 个原文原子和 436 个带位置与摘要的子原子。其中 107 条 claim 可单独按 revision 定位。公开的 record.json 保持旧 Reader 返回的规范化字节,L3 则交付发行包原文件字节。
L0–L3 和必选内容 L0 交付导航和验证状态,有旧译文的条目支持中文上下文。L1 整组交付原有判断字段、建议、验证计划、证据与限制。L2 交付行动前提、建议和验证要求。L3 读出完整原文。逐条从候选实际返回的字节重建判断卡,仅替换版本标识后,长度和 SHA-256 均与旧安装的原生回执吻合。固定对照
预算、权限和来源 30/30 在恰好够用时交付完整 L1,少 1 B 时返回 over_budget 和所需字节,正文为空。另测了缺必选验证权限、错误来源与版本、不适用的 finding、错误摘要、越界和用自包含入口误发带附件 Record 的拒绝路径。回归测试
JSON Pointer 与原始字节 构建时在固定来源字节中解析每个 JSON Pointer,逐个比较它指向的字节区间。仅篡改字段名、把同值声明换到另一数组位置、打乱或遗漏相邻字段、重复键及纳入旁边的分隔符,都会拒绝发布。已在联合安装重放全部 436 个片段并核对 30 份完整原文。评审反例 · 解析器
领域边界 另外 18 条各有 716 项必需输入,含 1 份 Record 和共用的 715 项资源。已冻结各自的文档指向、旧 L1 和原有署名;这 18 条仍待带资源迁移或负责人逐项签字退役。旧版基线 · 附件、署名及 L1 对照

Checks and dependencies

Remaining work and Issue closure

#714 保持开启。@Dong1017 依公开授权,在其余领域和全库对账交付后验收。当前请求四位 reviewer 独立评审本领域提交。负责人实施授权

@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Nov 26, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立评审当前提交 4050e0518a26560668ee31f565b863d7a03299d0。这是 #714 的 30 条自包含 Records,临时基线为 #720 的 495124a2637559a00d1e68a03cc6f7efe8eb0f99。

请核对旧 record.json、L1 判断卡与来源区间之间的关系,尤其是建议、验证计划、限制和原作者的验证等级;也请核对必选内容少 1 B 或缺权限时是否整组拒绝,以及带 715 项共享资源的 18 条是否确实被留在本批次之外。候选构建路径和复验用例可从测试和旧版原生回执说明复核。请在本 PR 记录结论及所审提交。

Codex 代表 @Dong1017 发起评审。

@Dong1017 Dong1017 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.

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).

This is a self-review (PR author is Dong1017), so this is a COMMENT and not an independent approval. Reviewed base 495124a2637559a00d1e68a03cc6f7efe8eb0f99 and head 4050e0518a26560668ee31f565b863d7a03299d0.

Blockers

  1. Diff is incomplete. pr/meta.json has diffComplete: false and pr/diff.patch is 157.4 KB. The diff could not be read inline in this run, so this verdict does not rest on a line-by-line read of the whole patch. Please confirm a complete diff is seeded, or list which files are outside it. No PASS is possible while part of the change is unseen.
  2. Windows full-suite failure is unclassified. The PR body says the Windows full run has failed and the cause is still to be sorted out ("待运行结束区分原因"). Ubuntu and Windows release-level results for 4050e05 are not stated. Please post the run results for this head and the classification of the failure (product defect, environment, or pre-existing).
  3. Authorship gate is open for this head. The knowledge-model-policy block declares human_only: false with Codex (gpt-6.2-astra, effort max) as material author. The policy block's head_sha matches 4050e05. No knowledge-authorship decision for #725 is recorded in decisions.md. Dong-bot does not grant that exception, consistent with the recorded #518 and #718 decisions. The owner's by-hand knowledge-policy approval for this exact head, or the admission the policy requires, is needed before any PASS.
  4. No independent approval yet. pr/prior-reviews.md lists no formal reviews on 4050e05. The four requested reviewers (@david6666666, @amy-why-3459, @Bounty-hunter, @zengchuang-hw) have not reviewed. Merge needs two independent approvals on the current head.

What I checked (repo at 4050e05, tests/knowledge/test_atomic_records.py lines 1–258)

  • The 30 / 18 split is asserted against the baseline: SELF_CONTAINED is old_required_count == 1 (lines 21–23, 42–45). The 18 records with 716 required inputs are excluded from this batch (lines 226–258), which matches the ask.
  • The L1 card bytes and SHA-256 are replayed against the v0.3.4 baseline (lines 60–69, 156–165). This covers the judgment, recommendation, validation-plan and limitation fields as part of the card, provided the pinned baseline is correct.
  • The exact-fit budget succeeds; one byte short returns over_budget with empty bodies (lines 166–170).
  • L3 returns the original bytes (line 175). Identity and permission denials are atomic (lines 179–191).
  • Five invalid-candidate cases never publish (lines 194–223).

Not verified here

  • I did not run any tests. I did not recompute the release zip or wheel hashes, the fixture hashes, or the CI status.
  • I did not check whether #720's baseline 495124a or the planned retarget to codex/500-atomic-candidate changes the head.

I will re-read after the author pushes a new head or posts the complete diff, the Windows classification, and the knowledge-policy approval.


Self-review: the PR author and the posting account are the same, so this review is not an independent approval.

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NO PASS
dot, acting for zengchuang-hw.

回应Records 检视邀请。#714 的 Records 片,堆叠 base 495124a2637559a00d1e68a03cc6f7efe8eb0f99 → 当前 head 0dd369dffd2890f4148d1b6ed10d83c7d28f60e8;邀请中的 4050e051 到当前 head 只补了迁移清单的测试路径。

批准前必修:构建器未验证 JSON Pointer 与已核验字节区间指向同一字段。 atomic_build.py:150–168 分别核对区间边界和指针字符串外形,随后直接将指针封进原子。独立运行当前拆片函数的最小对照:保留正确的 status 字节区间和摘要,只把指针换成同一原文中另一个确实存在的字段 /summary,构建路径仍生成标成 /summary 的原子。原文字节校验不会发现这处错配;按字段或单条 claim 取用时,字节真实但来源定位错误。请在封存前验证指针、字段或数组元素和区间对应;回归应覆盖「只换成另一个合法指针、不动区间和摘要」时拒绝发布。

独立复算了 30 条记录的原文及规范化 JSON 摘要和 436 个片段的摘要及实际指针映射,所提交样本均一致;另外 18 条带共享资源的未纳入本片。已阅读 L1 重建、少 1 B 和缺权限的用例,但未独立重装旧 wheel 或运行完整 Reader 套件。#715 的调用方累计字节与留存审计回执需要同入口实测,不作为本片阻塞。

@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复核当前提交 0dd369dffd2890f4148d1b6ed10d83c7d28f60e8,临时基线仍是 #720 的 495124a2637559a00d1e68a03cc6f7efe8eb0f99。本次修正在 docs/apps-module-migrations.json 登记了直接调用 Knowledge 工作流的 Records 回归测试。Windows 共 181 项针对性测试通过,包含该模块全部调用方登记检查、Reader 与 Records 保真回放。变更 Python 文件均通过 Ruff,差异空白检查通过。GitHub 的快速检查和声明工作流也已完成。本次增量 · 当前提交整套 CI

回应上一提交的自查。用 Git 的 base...head 和 GitHub 分页文件接口分别列出全部改动,两份清单都是 98 项且逐项相同。可按文件取当前提交的原文,或用两个固定 SHA 本地重建完整差异,包含 zip fixture。完整差异与文件 · 逐项回归

旧提交的 Windows 全量运行发现一处本次新引入的漏登记,已在当前提交修复。在第一段合入的基线上另行复现了一项路径脱敏测试失败。其他已经取到的错误含缺少 Chromium 可执行文件及 Windows 创建符号链接时缺少权限;剩余失败继续逐项核对。整套运行结果以对应提交和实际平台为准。30 条自包含 Records、466 个原子的内容及其联合安装对照沿用上一提交。

PR 正文已将实际作者声明绑定到当前完整 SHA。主线的知识准入允许 gpt-6.2-astra 以 max 参与,当前声明的工具、模型、强度均在其范围内。本 PR 以候选开发分支为基线;主线切换 PR 仍须按届时的受保护路径、作者和提交重新验证。独立批准按正式评审记录计数。受信任的准入配置 · 准入和例外的适用条件

Codex 代表 @Dong1017 实施。

@Dong1017 Dong1017 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.

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 495124a2637559a00d1e68a03cc6f7efe8eb0f99 and head 0dd369dffd2890f4148d1b6ed10d83c7d28f60e8 (full base...head, as seeded). This is a self-review: the PR author is Dong1017, so this COMMENT is not an independent approval.

Blockers

  1. Source JSON pointers are not checked against the byte range at build. src/inferrsi/knowledge/atomic_build.py lines 150–168 bounds-check byte_range (151–152) and only check that each pointer is a string starting with / (153–156). The pointers are then stored as source_pointers (167) and used in titles (160). Nothing ties a pointer to body[start:end]. atom_material in src/inferrsi/knowledge/atomic_reader.py lines 76–108 checks span length and digest only. Trigger: keep a correct byte_range and sha256 but change one pointers entry to another existing field (for example /summary). The build still publishes the atom, and the receipt attributes the bytes to the wrong field. The committed-fixture check in tests/knowledge/test_atomic_records.py lines 118–119 would catch this only for the 30 shipped records and only when the test runs. The build-refusal tests (lines 194–199) do not cover pointer mismatch. Expected correction: at build, parse the original, confirm each pointer (or each /claims/N element) serializes to exactly body[start:end], reject otherwise, and add a regression that changes only the pointer and expects a refusal. This is from reading the code at head; I did not run it.

  2. Diff completeness is still not established. pr/meta.json has diffComplete: false. pr/diff.patch (157.5 KB) was not readable in this run, so I did not review the patch line by line. I read the head sources and the test file instead. Per the seeded policy, no PASS is possible while part of the change is unseen. Please seed the full patch or list the files outside it.

  3. Windows full-suite failures are not classified for this head. The body reports 181 targeted tests passing on Windows, but says the remaining failures are still being checked ("其余失败待逐项核对"). The path-redaction failure is reproduced on the mainline baseline. The other errors are a missing Chromium executable and WinError 1314. The body cites CI run 45869138051 for the current commit, but the thread cites that same run for 4050e05, so the body does not establish a green or classified result for 0dd369df. Please post the per-job result for this head and the cause of each failure (product defect, environment, or pre-existing).

Open items before any PASS (not counted as separate blockers)

  • Authorship gate: the knowledge-authorship block declares human_only: false with Codex (gpt-6.2-astra, max) as material author. .github/knowledge-model-policy.json at this head lists gpt-6.2-astra with max as not suspended. I did not read the conditions in docs/knowledge-model-policy.md. decisions.md records no owner decision for #725 on this head. Dong-bot does not grant authorship exceptions (decisions recorded on #718 and #518). The owner's by-hand knowledge-policy approval for 0dd369df, or confirmation that the policy conditions are met, should be on record.
  • Independent reviewers (@david6666666, @amy-why-3459, @Bounty-hunter) are still needed. This self-review does not count toward merge.

Verified in this pass (no defect found)

  • Batch split: tests/knowledge/test_atomic_records.py lines 42–45 assert 30 records with one required input and 18 with 716. Lines 21–23 limit the 30-record set to old_required_count == 1, so the 18 shared-resource records stay out of this batch, as the body and the thread state.
  • Build-time source check: _verify_source (atomic_build.py lines 109–127) checks the pinned source digest and that the byte range equals the body.
  • Atomic refusal: _materialize (atomic_reader.py lines 143–172) refuses before any body is released, covering permission denial and over-budget. The over-budget case at size - 1 is tested at lines 168–170.
  • Record replay: lines 127–176 compare L0–L3 bytes with the original and the L1 card length and SHA-256 with the fixture. I did not execute these tests.

Not verified here

  • The full patch (blocker 2), the per-job CI result for 0dd369df (blocker 3), and the test suite itself were not run.
  • I did not recompute the release zip or wheel SHA-256 values in the body.
  • I did not confirm zengchuang-hw's standalone reproduction in item 1. My reading agrees with it at head.

Next step

I will re-read after the author pushes. The fix for item 1 needs a build-time pointer check with a pointer-only regression, plus the full patch and a per-job result for the new head. This verdict does not alter the scope set by #714 and does not replace the 4050e05 review on the record.


Self-review: the PR author and the posting account are the same, so this review is not an independent approval.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <[email protected]>
@Dong1017
Dong1017 force-pushed the codex/500-migrate-records branch from 0dd369d to d2a9f0d Compare November 26, 2026 17:58
@Dong1017
Dong1017 changed the base branch from codex/500-atomic-reader to codex/500-atomic-candidate November 26, 2026 18:00
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复验当前提交 d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638。已向四位重新发出正式请求。#720 已合入,当前目标为共享候选 codex/500-atomic-candidate,基线 43b75b62。

Zeng 给出的只改 Pointer、保留原字节和摘要的反例已加入拒绝用例。构建器现在按固定 JSON 原文件解析每个位置,核对实际字节范围和相邻成员的先后顺序。请同时验证数组两项取值相同但位置不同、成员遗漏或调序,以及含转义字符和非 ASCII 字符的键。原评审 · 本次修复 · 回归测试

当前提交的四个原子知识测试文件、Apps 调用方登记和仓库字节测试共 191 项通过。仓库 CI 使用的 Ruff 范围及差异空白检查通过。GitHub 分页列出的 99 个改动路径与本地完整差异逐项一致。与 #723 的 d53d4d62 联合重建得到 sha256:61068afcb6174c73e84b5f1bc934a3c56a451b2a22d684e29176e7906674b2ad,550 项目录、8 个宿主入口与 30 份 Record 原文均已复核。18 条含共享资源的记录继续由 #714 跟踪。本提交整套 CI · 旧包对照

Codex 代表 @Dong1017 提交修订与验证记录。

@Dong1017 Dong1017 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.

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).

Self-review: the PR author is Dong1017, so this is a COMMENT and not an independent approval.

Reviewed base 43b75b62c13ebd8efa19277b5b921473e3d6d8fc and head d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638 (pr/base.sha, pr/head.sha). The prior Dong-bot DO NOT PASS was on 0dd369df, so this is a re-review of the new head. No formal APPROVED review exists on this head (pr/prior-reviews.md).

Blockers

  1. Part of the change is not seen. pr/meta.json has diffComplete: false. pr/diff.patch (157.5 KB, one line) could not be read in this run, so I did not read the seeded patch line by line. The body says 99 changed paths match between the GitHub list and the local diff; I could not confirm that list against the patch. No PASS is possible while part of the change is unseen. Required: a complete seeded diff for 43b75b62...d2a9f0d1, or an explicit list of the files outside it.

  2. Windows full-suite failures on this head are not classified. The trigger comment and PR body still say the remaining failures are being checked ("剩余失败继续逐项核对"). The 181-test Windows run is for 0dd369df. The current-head numbers are 191 targeted tests across the four knowledge test files, the Apps caller registration and the byte tests, plus Ruff. The full CI for d2a9f0d1 (actions run 45872524239) is linked but its result is not stated. Required: the per-platform result of the full suite on d2a9f0d1, and a classification of each remaining failure as product defect, environment, or pre-existing. For the path-redaction failure that reproduced on the baseline, cite the baseline run.

Resolved since 0dd369df

  • Pointer / byte-range mismatch (zengchuang-hw review 6078485763; Dong-bot review 6078524277): fixed in code at this head.
    • src/inferrsi/knowledge/atomic_build.py:155-160 calls matches_span before a part is published.
    • src/inferrsi/knowledge/atomic_json.py:57-65 accepts a part only when every pointer exists, the pointers are consecutive siblings in order, and the first member's start and the last member's end equal byte_range.
    • src/inferrsi/knowledge/atomic_json.py:19-54 tokenises the original UTF-8 bytes and rejects duplicate decoded member names.
    • Regressions: tests/knowledge/test_atomic_records.py:229 and :247-251 ("wrong existing pointer" changes only /status to /summary and expects refusal), and :195-215 (exact member selection in the original UTF-8). Not run by me.
  • Authorship declaration: head_sha matches d2a9f0d1. gpt-6.2-astra at max is admitted in .github/knowledge-model-policy.json (lines 35-40) and docs/knowledge-model-policy.md (lines 97-103). The body requests no exception. I did not treat this as a blocker. The knowledge-model-policy status on d2a9f0d1 is not visible to me and must be green before merge.

Non-blocking, for the owner's tracker

  • The 18 Records that carry the 715 shared resources are outside this batch, as the trigger states. #714 keeps them open until each is migrated or retired with sign-off. Not a blocker for these 30 Records.
  • The byte-cost figures in the body (L1 read totals and the 511,396 B combined figure) belong to #715's end-to-end acceptance. They do not block this slice.

Verified against head source (read at d2a9f0d1)

  • Read the governing issue #714 (accepted scope, independent review and full CI before closure).
  • Read the changed build and reader paths listed above, the policy configuration and the policy document.

Not verified here

  • Tests were not run. The 191 / 181 / 134 counts are the author's; I did not reproduce them.
  • CI status for d2a9f0d1, including the full suite on Windows and the knowledge-model-policy status, was not visible.
  • The 30 Record byte-identity claims, the 436 fragment replays and the joint #723 build were not re-run.

Next

This is a COMMENT review and does not request changes. I will re-read after the author pushes, or on a new @Dong1017 mention, and expect the complete-diff evidence and the Windows classification for the head.


Self-review: the PR author and the posting account are the same, so this review is not an independent approval.

@Dong1017

Copy link
Copy Markdown
Collaborator Author

补上本轮审阅要求的逐文件补丁,以及 Windows 在同一机器、同一解释器上分别检出基线和本提交的对照。基线 43b75b62c13ebd8efa19277b5b921473e3d6d8fc,Records 分支 d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638。本轮审阅 · 固定两端的比较

完整变更。GitHub 一页返回全部 99 个文件,逐项核对了路径和目标 blob。98 个文本补丁中,97 个与 Git 差异的各段一致;atomic_build.py 的段标题有差异,实际将 GitHub 补丁应用到基线后得到了相同目标 blob。唯一的二进制文件是 103,546 字节的 Records 来源 ZIP,GitHub 的原始 blob 与本地逐字节一致。完整 Git 补丁为 963,000 字节,SHA-256 为 7dfb3b77d17678822bfc6b55984bfec4138687fd2d87f432dcc1456d4b927498。99 个逐文件补丁 · 完整 ZIP blob

git diff --no-color --no-ext-diff --binary --full-index 43b75b62c13ebd8efa19277b5b921473e3d6d8fc d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638 --

Windows 对照。以下四项分别在两个固定提交上重跑,每次使用独立的临时测试目录。

测试 基线 43b75b62 本提交 d2a9f0d1 判定
test_passage_text_normalizes_corpus_root_and_redacts_secret_values 取第一段时 IndexError 同一异常,带盘符的路径未产出段落 基线已有
test_scoped_file_list_filter_keeps_only_a_few_normalized_path_samples Windows 路径样例断言失败 同一断言失败 基线已有
test_root_symlink_rejected 创建符号链接时报 WinError 1314 同一权限错误 本机缺少创建符号链接权限
test_offline_axes_keyboard_exact_run_and_shared_selection 补齐 Playwright 锁定的 Chromium 1255 后通过 同样配置后通过 原失败来自缺失的浏览器

可在两个提交上用以下命令复核。两项路径用例定位在基线的 Apps 层。基线路径用例

python -m pytest tests/apps/test_codex_search_delivery.py -k "passage_text_normalizes_corpus_root_and_redacts_secret_values or scoped_file_list_filter_keeps_only_a_few_normalized_path_samples"
python -m pytest tests/apps/test_anthropic_edit_agent.py::test_root_symlink_rejected
python -m pytest tests/apps/dashboard/test_dashboard_experiments_browser.py::test_offline_axes_keyboard_exact_run_and_shared_selection

本提交 191 项定向测试、lint-and-smoke、声明检查,以及 GitHub 的 Windows 和 Ubuntu 字节一致性检查已通过。GitHub 的 Ubuntu 全量测试仍在运行。另外启动了本机 Windows 全量测试,使用本提交的独立检出和已补齐的浏览器,将按实际结果逐项核对。当前提交仍待独立评审。本提交的整套 CI · 30 份原文和 436 个片段的共同安装对照

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PASS
dot, acting for zengchuang-hw.

回应本轮复验,共享候选 base 43b75b62c13ebd8efa19277b5b921473e3d6d8fc → head d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638。上轮 的错指针阻塞已修复:构建在生成子原子前要求命名字段与精确字节范围一致。

独立运行当前解析器:带 UTF-8 文本及 JSON Pointer 转义的路径能按实际字节定位;两个等值数组元素不能互换地址,合法相邻字段通过,调换字段顺序、纳入分隔符和重复键均拒绝。静态确认构建使用该判定后才发出子原子;前次独立核对的 30 条 Records 和 436 个源片段是本领域范围,18 条共享资源记录不在此次批准内。未重跑完整 Reader 或旧 wheel;#715 累计调用字节仍另行验证。

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

回应这条提醒:已核对 0dd369df 登记了 Records 回归测试调用者;对该版的正式检视另发现 JSON Pointer 与字节区间未绑定。此问题已在后续提交复验通过。

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.

PR review verdict — PASS. Score: 86/100. Reviewed codex/500-atomic-candidate, base 43b75b62c13ebd8efa19277b5b921473e3d6d8fc, head d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638.

Source fidelity and validation

I checked all 99 changed paths, including the binary fixture, and compared its 49 members byte for byte against the checksum-verified published v0.3.4 wheel. The builder now rejects the previously accepted wrong source pointer even with an unchanged byte range, digest and updated composition pin. The regression also covers equal values at distinct array positions, escaped keys, duplicate keys and nonconsecutive members. The L1 comparison and the one-byte-short cases preserve the 30 self-contained Records without admitting the 18 shared-resource Records.

Independent targeted suite: 187 passed. The exact-head full safety net, Linux and Windows frozen bytes, declarations and lint passed. Scope 3/3; correctness 3/3; validation 3/3; campaign claim evidence N/A; simplicity 0/3 because the diff adds explanatory code comments. Approval is for the Records slice only. I did not validate production installation, cumulative delivered bytes or the shared-resource Records; those stay in #714 and #715.

@Dong1017
Dong1017 merged commit 0166706 into codex/500-atomic-candidate Nov 26, 2026
7 checks passed
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex,代表 @Dong1017 完成本次候选分支集成。

30 条自包含 Records 已合入共享候选 codex/500-atomic-candidate,合入提交 01667062。本次验收范围为这 30 条记录。#714 继续跟踪其余 18 条记录及共享资源。

独立评审、原文件核对与运行结果
  • 审阅提交 d2a9f0d1e552c59c8d90ba6c58227f7ed1e1f638。两位独立 reviewer 分别复核了 JSON Pointer 与原文字节定位。David 还从旧 wheel 重新核对了 fixture 的 49 个成员。zengchuang-hw 的正式批准 · david6666666 的正式批准
  • 当前提交的声明、快速检查、Ubuntu 全量测试,以及 Windows 和 Ubuntu 的冻结字节校验均通过。整套运行
  • 99 项文件与补丁均已核对。本机 Windows 补充全量运行仍在进行。已在分离检出中复现两项基线已有的路径断言和一项符号链接权限错误,补齐浏览器后原浏览器用例在两端通过。待完整日志落盘,再按实际失败逐项归类。逐文件核对及 Windows 对照

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:knowledge Knowledge line: packs, skill library, knowledge admission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants