Skip to content

Migrate video diffusion and weight loading Playbooks to the atomic Reader - #744

Merged
Dong1017 merged 3 commits into
codex/500-atomic-candidatefrom
codex/500-migrate-optimization-playbooks
Nov 27, 2026
Merged

Dong1017 merged 3 commits into
codex/500-atomic-candidatefrom
codex/500-migrate-optimization-playbooks

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and scope

Refs #714

Add checkout:video-diffusion-optimization and checkout:weight-loading-optimization to the atomic Reader. Both were public v0.3.4 Playbooks. The video entry includes its executable evaluator and campaign template. The weight-loading entry includes five source readsets with their original authors, upstream revisions and license scope. Implementation authorization · Released CLI receipts for all Playbook files

Anchors touched: none

Knowledge authorship declaration

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

Reader and source contracts

  • The nine files total 111,024 bytes. Each matches its pinned v0.3.4 wheel member, release commit and complete native CLI readback. L2 reproduces each guide in the original order. L3 adds the directory’s original files. The installed evaluator reproduced the release evaluator’s stdout and exit code for the template and for malformed input.
  • Both released L1 cards are partial. Video lacks recommendation and validation. Weight loading lacks validation. Projecting each installed L1 payload reproduced the entire released card, 2,568 and 22,126 bytes respectively. Both retain the original not_run empirical status. The weight-loading readsets retain the distinct scopes and attribution for llama.cpp, fastsafetensors, Flare, DeepSeek and the original study notes.
  • For both routes, all four layers deliver at the exact byte budget. At one byte less, with a denied required member, or with a stale revision the Reader delivers zero bodies. All five cross-directory links resolve under the target’s own identity in v0.3.4. Denying every navigation target still allows reading the source. The target readbacks in the assembled candidate are recorded in #715. The two host exports are deferred until their links work from an installed plugin. Frozen source/target navigation receipts

Verification and integration

On the preceding review base, all 258 atomic tests passed, including the six regressions for these routes. ruff check src tests tools passed. The two combined builds, including pending domain PRs, produced identical bytes for 1,756 files and contained 828 catalog entries, seven task routes and 23 host entries. The prior 811 catalog entries retained their content and revisions. Generation 76ddbb271b68a4628517b904c5ed9ab78cfa2be710bfbeb032c59fb174054e6e. Reader receipts SHA-256 e75adc78298822469e41f65908a35e3d45ca9bc136dd616b0274c076077337eb. Comparison SHA-256 834db140343c7573ada07e3324640319e19d262e8103a079396652b738a8ce5a.

This PR now targets codex/500-atomic-candidate directly at ae40f0af63f4f00ac1a91958b5d47b532ad7c29f. Head 6b41d05740ba43e948ef6b7cbeeeb7056f6af738. The Windows long-path fix from #742 is present in this base. All 302 atomic tests and repository Ruff passed on the new head. Two builds produced 1,538 byte-identical installed files, 728 catalog entries, seven tasks and 14 host entries (generation 93994dca535d). The installed Reader reproduced both partial decision cards and all nine released originals. All four layers delivered at their exact budgets and refused the tested under-budget or unauthorized selections. The release-level CLI comparison, plugin installation, publication interruption and rollback are tracked in #715.

dongxinwen and others added 2 commits November 27, 2026 08:21
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
…ader

Preserve the two released decisions, evaluator and source-specific attribution. Keep cross-directory navigation under each target identity.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Nov 27, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Independent review requested at 321b2ef2

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw Please independently review the two public Reader entries at head 321b2ef2bd2d261109cd1c828edde4a53debd982, against codex/500-migrate-training-budget at f07575ff6d34349c560a2c502cd8bedfe18263b0. The review base contains #742’s Windows path fix. After #742 joins the shared candidate we will retarget here, repeat the checks and request reviews at the resulting commit.

  • Compare each original file with its v0.3.4 native receipt and inspect projection of both partial L1 cards. In particular, the video evaluator must preserve its behavior and weight-loading readsets must retain their per-source license scope. Release readback ledger
  • Check exact-budget delivery, one-byte-short refusal, member revocation and stale revisions on L0–L3. All five cross-directory links are navigation under the target’s own identity. Real host export remains pending under task: 验证整库候选、一次切换并完成 Day-3 退役 #715. Frozen navigation receipts
  • All 258 atomic tests and repository Ruff checks passed. Two builds of the combined installation reproduced 1,756 files, seven task routes and 23 host entries. The 21-file GitHub patch (231,638 bytes, SHA-256 6b91896c65a6a4ffa2b895fcc52b3c78af6036c9eed045e067f52cd2234a81e2) and the individual API file patches each reconstruct Git tree 24eeb4f6b6129143a04bbc6785837e5de086bfe1. Exact comparison

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

回应本轮邀请。固定范围 f07575f → 321b2ef。

两份公开 Reader 入口的 9 个 release blob 全部匹配 v0.3.4(111,024 B)。用原代码从 L1 字节重建两张卡,哈希和长度分别对齐 2,568 B、22,126 B;视频仍缺 recommendation/validation,权重加载仍缺 validation。两份 L2 各按原顺序重组;用实际路由和组交付代码接入内存替身,8 条读取路由的精确预算均成功,少 1 B 或逐一拒绝必选项均无正文。静态核对了旧 revision 的拒绝断言。五份权重加载附件的固定上游和署名保留,DeepSeek 的 JSON 与 Markdown 共用该来源而不扩大许可;五条跨目录导航没有被纳入必选正文。

把 L3 交付的 evaluator 原件放入隔离目录,用交付模板实际运行,得到退出码 0/PASS;畸形 JSON 得 2/INVALID。没有运行真实 benchmark 或安装 wheel。本结论限于当前 #742 堆叠基线,不涵盖改向后的集成或 #715 真宿主。

Preserve the reviewed domain changes after the Windows long-path prerequisite entered the candidate.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
@Dong1017
Dong1017 changed the base branch from codex/500-migrate-training-budget to codex/500-atomic-candidate November 27, 2026 05:06
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Independent review on the shared candidate at 6b41d05

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw Please independently review base ae40f0af63f4f00ac1a91958b5d47b532ad7c29f → head 6b41d05740ba43e948ef6b7cbeeeb7056f6af738.

The Windows path fix has landed in #742. Please check the two partial decision cards, all nine released files (111,024 bytes), the evaluator, the five upstream readsets and target-specific permissions for the five outgoing links. The 21-file change against its previous parent is byte-identical. All 302 atomic tests and Ruff passed. Two installations reproduced 1,538 files. Target-identity ledger

Both the combined GitHub diff and the individual file patches reconstruct the full reviewed tree. 21 files 231638 bytes 6b91896c65a6a4ffa2b895fcc52b3c78af6036c9eed045e067f52cd2234a81e2 tree 8464d458c075d937023b8bb4f593e54a0559f523 additions 3491 deletions 0. Exact comparison

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

Responding to the re-review request. Reviewed ae40f0af63f4f00ac1a91958b5d47b532ad7c29f…6b41d05740ba43e948ef6b7cbeeeb7056f6af738 for #714/#500, following my review of 321b2ef2.

The new base is the merge base of this head, and its exact PR delta contains 21 files. I fetched and byte-compared the head and previously reviewed blobs for all 21; every one matches. This includes all nine release originals, the evaluator and template, all descriptors and compositions, and the route tests. The broader history between review heads is inherited from the shared candidate, not an expansion of the PR slice. My prior independent evaluator and release-byte results therefore cover the unchanged shipped files. I did not rerun the installed candidate Reader, the evaluator on the combined installation, Windows, or CI. No new blocker in this slice; full-library and host cutover remain separate.

@amy-why-3459 amy-why-3459 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
inferRSI, acting for @amy-why-3459.

PR review verdict — PASS
Reviewed base ae40f0a and head 6b41d05.
Verified all nine released originals (111,024 bytes) match v0.3.4 commit e2f3be1 byte for byte, and the descriptor pins agree. I ran the delivered evaluator in isolation: the campaign template exits 0 with verdict PASS, and malformed JSON exits 2 with verdict INVALID. Tests also cover exact-budget delivery, member denial, and per-source credit for the five weight-loading readsets. Both L1 cards remain partial with not_run empirical status. Cross-directory links stay navigation-only; host export remains #715.

@Dong1017
Dong1017 merged commit 6ab9480 into codex/500-atomic-candidate Nov 27, 2026
7 checks passed
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

Squash-merged into the shared candidate at 6ab9480. Reviewed head 6b41d05 had independent approvals from @amy-why-3459 and @zengchuang-hw and passed the full CI run.

Verified the resulting tree fecc905612ee1903c5cd8e6b86faeb616c38e724 against the merge of that head with the prior candidate 3be5e09.

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