Skip to content

fix(knowledge): deliver installed Records with their original attachments - #856

Merged
Dong1017 merged 2 commits into
codex/500-atomic-candidatefrom
codex/500-attached-record-composition
Nov 30, 2026
Merged

Dong1017 merged 2 commits into
codex/500-atomic-candidatefrom
codex/500-attached-record-composition

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #714 and #715.

Change

Migrate 12 attachment-bearing MLX, SGLang, Strata, and vLLM Records under their original package identities. Bind each Record to the original bytes in the same installed generation. Preserve resource order, revision selection, and source attribution. Check permission and the byte budget for the whole L3 selection before delivering it.

The review follow-up uses the public Knowledge loader for installed Record discovery in src/inferrsi/apps/cli/atomic_records.py. A regression test follows the exact read command returned by find for an installed Record. The 36 Record declarations, composition definitions, and original descriptors are byte-identical to the previous review revision.

Architecture anchors A1 and A7 cover the public loader boundary and preservation of the released Record evidence. A1, A7.

Verification

  • Head 6eb74e46fe90f0ca142591d379ab6b7ea06ab6d5, tree 770b8d39ea04cb16233fbd90149b6bfd40cb3bb5, and merge base e042c2292ea6b2612ad7bf70449d5b50812cfd3a after fix(knowledge): preserve installed Engine guide navigation #854. The head is a direct child of 9b325f852833496ebfbbeb3db75b5e17ac0bdfe9.

  • Rehearsed a clean merge with candidate 02d641d0fb15f07cd09ddc1fe9601fb39819251e. Git produced tree 3231d1d1f2793942c5da8f3817d6aafcca400ed4. The checks below ran on the PR head.

  • Passed 175 atomic Record, generation, reader, and research guide tests, 74 discovery and module-boundary tests, and 334 target-module import and knowledge-model-policy tests. Repository Ruff and git diff --check passed.

  • Built and installed the ordinary wheel from the exact source distribution. For the atomic install check, generated and sealed the assets explicitly from that same source distribution and the v0.3.4 source pin. The staged wheel contains 4,116 files listed in the generation seal, plus the seal itself.

  • Installed the staged wheel with pip --no-compile in an isolated environment. All 4,117 installed atomic files matched the wheel. The 12 attached Records and seven guides matched the pinned v0.3.4 source and released wheel. Checked L1 and L3 at the exact byte limit and one byte below it, rejected stale revisions and denied source access, and followed two public find to read commands.

  • Default pip wrote 84 bytecode cache files under the staged sealed directory, and the generation reader rejected that installation. This case matters for the cutover acceptance tracked in Integrate the atomic knowledge library for a single production cutover #745.

Dependencies and follow-up

#854 supplies the composing builder on the base. The six Omni Records depend on the Engine originals in #824 and are outside this 12-Record delivery. Full candidate acceptance is tracked in #745. The full nightly and independent re-review are pending for this revision.

Codex (GPT-6.2 Sol, max) assisted implementation and validation. The prior revision also credits Codex for conflict resolution and regression validation. Local verification matched each commit's DCO sign-off to its author and validated the exact-head declaration against trusted main 5475cc95f32fe3b672cdcf2b9756c1e8b2b934fe.

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

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

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立评审以下提交。

  • Base codex/500-atomic-candidate @ 182dfc1f0651dbd656c31221b0be2c106b2a6888
  • Head e035bae1c76e275fea7ab075fdbd336b3829fd5c

请复核 12 条带附件 Records 的旧路径、原始顺序、调用身份和整组预算。182 项针对性测试与 Ruff 通过。隔离安装核对了 22 份旧原件与 4,115 份封存文件,MLX 的公开 Find → L1 → 原附件已回放,预算少一字节、权限不足或修订过期时拒绝整组。其余六条 Omni 依赖 #824,本 PR 的范围为 MLX、SGLang、Strata、vLLM。整库切换由 #745 验收。

Agent: Codex (acting for @dongxinwen)

@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 182dfc1 and head e035bae.

Verified:

  • The 12 MLX, SGLang, Strata, and vLLM compositions bind same-generation record.json and the declared skill document, keep L3 required order aligned with record_resources, and pin source commit e2f3be102c66c358803ed2186ed67bf627ebcbdf. _attached_record_content checks identity, original paths, and whole-group delivery order before install.
  • The CLI authorizes the complete resource group before projecting the inventory. The new tests cover exact budgets, one-byte-short refusals, stale revisions, and permission denials.
  • The six Omni Records stay out of scope pending #824. This slice does not replace #715 / #745 joint install acceptance. Accuracy and performance comparison experiments are not applicable: this is knowledge packaging and delivery, not a model-numeric change.

I did not rerun the claimed 182 tests or the isolated 18-Record overlay myself.

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

回应本轮请求。目标 codex/500-atomic-candidate,base 182dfc1f0651dbd656c31221b0be2c106b2a6888,精确 head e035bae1c76e275fea7ab075fdbd336b3829fd5c。

从 v0.3.4 实际源码逐项读取 12 条 Record,对照当前组合保留原 package ID、声明的附件路径及 L3 有序节点;10 份不同附件(含三条 MLX 共用一份)在候选与发行提交的 Git blob 一致。追踪了 Builder 的原始来源校验和 Reader 的整组授权/预算拒绝,公开 CLI 不在组被拒绝时吐出正文;新增 MLX 回归覆盖精确预算、少一字节、源节点拒绝以及固定修订。批准只涵盖这 12 条和当前代码;我未重建完整安装代、重跑四族已安装回放,也不把作者的 18 条叠加包当成本 PR 单独验收。

Bind twelve Records to their exact sealed originals. Preserve decision cards, caller authorization, and exact byte budgets in the installed Reader and CLI.

Retain the installed Engine guide loader alongside the Record attachment loader.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation and validation)
Agent-assisted-by: Codex (conflict resolution and regression validation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复核当前提交。

  • 共享候选基线 e042c2292ea6b2612ad7bf70449d5b50812cfd3a,评审提交 9b325f852833496ebfbbeb3db75b5e17ac0bdfe9,Git 树 94af8285c659cd8b448a146416e11eaae0f1a799。
  • 本轮接入 fix(knowledge): preserve installed Engine guide navigation #854 的旧包共享原件和作用域,atomic_build.py 同时保留两路来源的归属和字节校验。独立检出的 39 个变更文件与新 wheel 对账通过。
  • 公开 CLI 按各自调用身份复读 12 条带附件 Records 与 7 份不同原指南,原字节、预算和授权拒绝通过。同树重建封存代逐字节一致。152 项针对性测试、Ruff 与差异检查通过。
  • 变更沿用前轮来源范围及 AI 辅助声明,提交含 DCO 和 Codex 协作署名。请在新提交提交正式评审,完整 CI 将按此提交核对。

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

PR review verdict — DO NOT PASS
Reviewed base e042c2292ea6b2612ad7bf70449d5b50812cfd3a and head 9b325f852833496ebfbbeb3db75b5e17ac0bdfe9. Incremental re-review from previously approved e035bae1c76e275fea7ab075fdbd336b3829fd5c, triggered by the @ request in #856 (comment).

The unique attachment-delivery path is unchanged from the earlier approval: src/inferrsi/apps/cli/atomic_records.py and tests/knowledge/test_atomic_records.py match the previously reviewed patches, and _attached_record_content still binds the 12 MLX/SGLang/Strata/vLLM Records. The rebase onto e042c229 correctly keeps _legacy_package_resources (#854 shared originals) and record_resources as exclusive composition sources in src/inferrsi/knowledge/atomic_build.py (legacy_package_resources is rejected when resource_aliases is already set).

I cannot Approve this head yet: the PR body's Verification section and knowledge-model-policy still pin base 182dfc1f0651dbd656c31221b0be2c106b2a6888 and head e035bae1c76e275fea7ab075fdbd336b3829fd5c. Please update both to the current base e042c2292ea6b2612ad7bf70449d5b50812cfd3a and head 9b325f852833496ebfbbeb3db75b5e17ac0bdfe9 so the AI-authorship declaration binds the revision under review.

Accuracy and performance comparison experiments are not applicable (knowledge packaging, no model-numeric change). Not merged.

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

回应本轮检视邀请。目标 codex/500-atomic-candidate,base e042c2292ea6b2612ad7bf70449d5b50812cfd3a,精确 head 9b325f852833496ebfbbeb3db75b5e17ac0bdfe9。

上轮 PASS 到本轮已比较完整 Git 树,差异只有五个路径,其中公开入口、Reader、共享包组合和导航用例与已审的 #854 基线完全相同,唯一同时改动的是 Builder。当前 Builder 将 Record 附件绑定和旧共享包别名作为不同声明处理,分别核验 release 路径、来源、顺序和授权;12 份 Record 组合与上轮逐文件字节一致。当前 base→head 共 39 个路径,来源与本轮提供的树对应。批准限于该合并增量,未独立重建 wheel 或重新跑全库切换。

Rank the already verified Record through the loader interface shared by the installed and checkout catalog paths. Cover Find and its returned exact-budget Read using a released Record.

Agent-assisted-by: Codex / GPT-6.2 Sol [effort=max] (implementation and validation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请正式评审当前提交 6eb74e4,基线 e042c22。与实际共享候选 02d641d 联合复验 583 项测试;封存 wheel 核验 12 条 Record、7 份指南、22 个路径及两条已安装默认旅程。旧版 11 次原生调用和 #843 的 6 次原生调用均有固定证据。普通 pip 安装生成的字节码会触发封存校验拒绝,PR 正文保留该独立待解项。

@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 e042c22 and head 6eb74e4. Incremental re-review from 9b325f8, triggered by the @ request in #856 (comment).

The previous blocker is resolved: Verification and knowledge-model-policy now pin the current base e042c2292ea6b2612ad7bf70449d5b50812cfd3a and head 6eb74e46fe90f0ca142591d379ab6b7ea06ab6d5.

The new commit switches InstalledRecords.document() from the private _record_documents helper to the public load_documents(kinds=("record",), records=(record,)) wrapper, which still projects through _record_documents and does not load checkout case/skill documents. The new regression covers public find → the returned read command on an installed Record, including generation, revision, and L1 card byte length. I did not rerun the claimed 583 tests or rebuild the sealed wheel. The ordinary-pip bytecode rejection remains a documented #745 follow-up, outside this 12-Record delivery slice.

Accuracy and performance comparison experiments are not applicable (knowledge packaging, no model-numeric change).

@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 e042c2292ea6b2612ad7bf70449d5b50812cfd3a;head 6eb74e46fe90f0ca142591d379ab6b7ea06ab6d5,直接继承上轮检视的 9b325f852833496ebfbbeb3db75b5e17ac0bdfe9。增量只有 CLI adapter 和回归测试两文件;36 个声明、组合和原件描述 blob 没变。已核对 public loader 在只请求 Record 且显式提供该条 material 时不加载旧目录;隔离执行精确方法验证缺失不进 loader、存在时只传该条 Record。新增测试用实际 Find 返回参数回读同一生效版本的 L1,检查精确字节门槛。

未独立重建或试装 wheel,也未跑组合主机测试。普通 pip 产生 cache 后被 seal 拒绝是尚需解决的发布路径问题;本轮只认可 #714/#715 的迁移切片,不能代替 #745 的普通安装与整库切换验收。

@Dong1017
Dong1017 merged commit 58a12ff into codex/500-atomic-candidate Nov 30, 2026
6 checks passed
@Dong1017
Dong1017 deleted the codex/500-attached-record-composition branch December 1, 2026 06:17
Dong1017 added a commit that referenced this pull request Dec 2, 2026
#745)

* Build pinned atomic Knowledge generations for Apps and managed reads

Build reproducible Knowledge and host Skill resources and resolve authorized selections at a pinned revision. Carry verified source spans and actual delivered bytes through the ordinary and managed read paths.

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)

* Migrate self-contained Records into source-backed atomic compositions

Migrate 30 released self-contained Records and bind each decision field to the corresponding bytes and JSON Pointer in its original source.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate released Cases as verified atomic finding selections

Migrate four released Cases and their 22 finding selections. Validate original source spans, required decision fields and complete finding routes before publishing the candidate.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate both released Casebook directories to the atomic candidate

Preserve both released Casebook guides, their ordered decision and procedure sections, and the eight referenced Case files in the shared candidate.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Pin released Playbook references and freeze their discovery receipts

Pin the three released Playbook resources at their original paths and freeze the original checkout, package, finding and cross-directory link receipts.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate three released workflow guides and host entries

Preserve three original workflow guides, required groups and host exports in the atomic candidate.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate task routes and the inference task router

Build the seven task entries and router from pinned release sources with ordered groups and the original host exports.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve released workflow research as shared atomic sources

Preserve seven versioned research sources, original paths and permissions for the shared package bindings.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released NPU workflow directory and host entry

Preserve the NPU Skill Factory guide, 17 original files and five internal navigation links across the released layers.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve four released Workflow readers and their resource contracts

Preserve four released Workflow readers, including original source rights, procedure ordering and the declared cross-directory dependency, on the atomic candidate.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve the released training resource budget and support long installation paths

Preserve the ten released training budget resources, original attribution, required layers and authorization checks. Support deep physical paths on Windows during staging and installed reads.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate six planning Playbooks and their original host resources

Preserve six released planning entries, their original decision cards, thirteen source files and the host attachment links.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate two vLLM engine checkouts to the atomic Reader

Preserve the original files, caller-scoped navigation, source attribution and partial decision cards for KV lifetimes and admission pressure.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate three released Playbook Case checkouts

Preserve the original Case sources and thirteen findings, including the vLLM mandatory document.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Retain the six Engine originals referenced by Workflows

Represent the six released Engine files once with their original byte identities and caller authority.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released dense performance evidence Playbook

Validate shared, explicitly declared dependencies by original path, order, authorization and complete delivery.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate three local Playbook checkouts

Retain the original guides, attachments, source declarations and old Reader behavior for the three Playbooks.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released performance ceiling Playbook

Retain 26 original sources and the computed, insufficient-evidence and invalid-input calculator paths.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released Model SOL Playbook

Preserve ten published Model SOL files, original authorship and license scope, and the original partial decision card.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the CUDA attention and llama.cpp runtime checkouts

Preserve twelve original files, the released judgments and navigation to these two checkout owners.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Integrate the typed Manager and Indexer into the atomic candidate

Adapt the candidate Reader to the upstream Manager and Indexer interfaces while retaining fixed source and rejection records.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate two optimization Playbook checkouts

Preserve the released video diffusion and weight loading guides, evidence and navigation.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released PyTorch checkpoint and host-memory checkouts

Preserve all 12 v0.3.4 files, the L1 decision cards and downstream links. Keep the migration on the shared candidate for #714 and validate the frozen originals on both CI platforms.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve the released package library guide and index

Retain the two original library resources as shared historical L3 material.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve two Engine guides required by inference benchmark design

Preserve two v0.3.4 Engine originals with pinned path, order, provenance and caller authorization.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate kernel writing guide to atoms

The installed entry replays 17 frozen v0.3.4 files (207,707 bytes), the guide's own SGLang/vLLM Case JSON access, attribution, and the partial L1 with its original missing validation.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate optimization search policy to atomic knowledge

Keep the original policy, ordered required resources, permissions, and provenance in the shared cutover candidate.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released H3 runtime checkout

Preserve the ten H3 runtime originals and their ordered read, navigation, authorization, budget and provenance contracts.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released PyTorch checkout

Preserve the 45 original resources, ordered references, 71 links, and partial decision card of the released PyTorch directory.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate inference benchmark design and its required evidence

Preserve 21 released original bindings including four pinned dependencies, source credits and partial L1.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate four remaining host-platform checkout routes

Preserve six released originals and verify exact read, permission, and budget contracts.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate two released CUDA platform checkouts

Preserve both CUDA routes, all thirteen original bindings, ordered evidence, and the released partial decision cards.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate Ascend ACLGraph and quantization knowledge

Preserve the two released entry points, five pinned files, partial L1 decisions and original source credits.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate ten Ascend platform Knowledge entries

Preserve twenty-one released originals and twenty-four old bindings with original bytes, decisions and source permissions.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate Diffusers and MLX Knowledge entries

Preserve eight pinned originals, both partial L1 decision cards, and the original source boundaries.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate Ascend graph-mode Knowledge

Preserve the pinned graph-mode originals, the required ACLGraph resource, and the old partial L1 card.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released Platform inventory originals

Preserve the released Platform README and source inventory with exact byte identity and scoped attribution.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released TorchNPU framework originals

Preserve 52 released source bindings, the original attribution and partial decision card, and the existing host-export restriction.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released H3-Metal FastH3 checkout

Preserve ten released sources, the partial decision card and scoped upstream attribution.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve the released Husky package sources

Migrate seven released originals and preserve access through the old package identities.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve DwarfStar runtime knowledge

Migrate 15 released originals with their old checkout identity, order, provenance and access scope.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the released MLC-LLM Engine originals

Preserve 27 source files, documented callers, original author and open or unavailable fields.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the SGLang Engine checkout

Preserves 15 original files, including one shared original, and the partial L1.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve Splash runtime knowledge

Preserve the released Splash guide, resources, source declarations and old Reader behavior.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* knowledge: migrate vLLM Metal knowledge atoms (#805)

Integrate the reviewed vLLM Metal knowledge atoms into the shared candidate for #500 and #714.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* knowledge: migrate vLLM Ascend knowledge atoms (#816)

Integrate the reviewed vLLM Ascend knowledge atoms into the shared candidate for #500 and #714.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* knowledge: migrate Strata knowledge atoms (#821)

Integrate the reviewed Strata knowledge atoms into the shared candidate for #500 and #714.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* knowledge: migrate MLX knowledge atoms (#813)

Integrate the reviewed MLX knowledge atoms into the shared candidate for #500 and #714.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* knowledge: migrate stable-diffusion.cpp knowledge atoms (#814)

Integrate the reviewed stable-diffusion.cpp knowledge atoms into the shared candidate for #500 and #714.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the Lily NPU engine guide into the atomic candidate (#811)

Preserve the Lily NPU guide and its original source files in the atomic candidate.
The reviewed installation proofs are recorded in PR #811.

Refs #714

Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)

* Migrate vLLM base knowledge originals (#826)

Preserve the vLLM base materials as path-bound L3 originals, with the existing guide reused. Refs #714.

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max]

* Migrate Local Dream to atomic knowledge

Preserve the eight released originals, relative links, legacy blocked and partial states, and source permissions.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Bind legacy package resources to sealed knowledge atoms

Preserve ordered shared resource bindings and enforce exact bytes, budget and authorization.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate ComfyUI Engine originals

Preserve six original Engine sources, frozen bytes, and permissions.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Retain v0.3.4 task originals for package reads

Preserve frozen task originals so package readers can verify their required resources.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate Mistral.rs original knowledge and checkout (#804)

Preserve the released Mistral.rs source material, caller paths and atomic Reader replay.

Refs #714

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Migrate the vLLM-RLT finalization skill to atomic knowledge

Preserves the v0.3.4 checkout's L0–L3 contract, ordered original resources and rejection behavior. Legacy package replay remains tracked separately in #714.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Preserve the vLLM provenance guide for legacy package reads

Preserve the original Apache-2.0 bytes, relative navigation and package-scoped delivery.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Route installed atomic knowledge through the public CLI and Reader (#801)

Route public knowledge discovery and reads through the verified installed atomic generation. Refs #715.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* knowledge: migrate Project Maya originals (#807)

Preserve the 21 Project Maya originals and the checked public L1 budget, revision, and incomplete-result behavior. Track the final release-path replay in #715.

Refs #714

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>\n

* fix(knowledge): preserve installed Engine guide navigation

Preserve navigation through original Engine guide paths in the installed knowledge generation.

Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)

* Package the sealed atomic generation in release artifacts (#789)

Bundle the same sealed atomic generation into the sdist, wheel, and both host plugin archives from pinned inputs.

Refs #715

recovery: owner=@Dong1017; containment=Halt rollout of the affected wheel and plugin ZIPs. Flag their versions and checksums in the GitHub release and #715, notify the Codex and WorkSwarm maintainers there, and direct affected installations to reinstall the matching v0.3.4 wheel and host ZIP verified against SHA256SUMS. Restore the previous Knowledge source and rerun a saved v0.3.4 read receipt before resuming rollout.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* fix(knowledge): deliver installed Records with their original attachments (#856)

Refs #714 and #715.

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex

* fix(knowledge): use the installed generation for default host discovery (#857)

Route default host discovery and reads to the sealed generation while preserving legacy revision handling.

Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* test(release): count installed query aliases (#892)

The candidate wheel ships one additional ranking resource. Update the installed inventory assertion after verifying the checkout and wheel package the same 776 files.

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation and verification)

* Migrate MLX-LM generation cache lifecycle to atomic knowledge

Preserve five v0.3.4 originals with provenance and add the generation-cache-lifecycle checkout Reader composition and receipt tests.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* Migrate shared vLLM and SGLang Omni Engine originals

Preserve 21 released Engine originals with provenance and add checkout Reader coverage.

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)

* Migrate the released Lithos Metal knowledge directory

Preserve 19 released Engine originals with provenance and add checkout Reader coverage.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* knowledge: migrate Flare lifecycle knowledge atoms

Preserve 6 released Engine originals with provenance and add checkout Reader coverage.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* Migrate the bundled DeepInfer checkout entries to atomic knowledge

Preserve 5 released Engine originals with provenance and add checkout Reader coverage.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* Migrate the archived AFD P2P audit into the atomic candidate

Preserve 3 released Engine originals with provenance and add checkout Reader coverage.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* knowledge: migrate LMCache KV tier management checkout

Preserve 1 released Engine originals with provenance and add checkout Reader coverage.

Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)

* fix(knowledge): collect from a pinned installed wheel

Use the explicitly pinned installed Reader for Collect and keep its locators readable on the selected checkout or Store.

Agent-assisted-by: Codex (implementation and verification)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation and verification)

* Preserve projected Record status in public Find

Take the public Record Find decision status from its pinned L1 projection. Cover complete and partial projections and their pinned Read follow-ups.

Agent-assisted-by: Codex (implementation and verification)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* Reconcile legacy package receipts against atomic originals (#843)

Verify scoped legacy caller receipts against the atomic originals and retain the task route's exact legacy resource aliases and budget checks.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* fix(knowledge): preserve Task Intake on an installed atomic generation (#898)

Integrate the released typed Task Intake contract. Resolve Day 0 and Performance schemas through the selected installed atomic generation, retain legacy campaign citation, and hash the stored UTF-8 receipt bytes.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Agent-assisted-by: Claude Code / claude-fable-5-2 [effort=xhigh] (inherited implementation)
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (inherited implementation)
Agent-assisted-by: Codex / gpt-6.2-sol [effort=xhigh] (inherited implementation)
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (integration and verification)
Signed-off-by: jiangkuaixue123 <jiangxiaozhou111@163.com>
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* Bind attached Omni Records to the verified Engine originals

Bind the three SGLang Omni and three vLLM Omni callers to their exact released attachments with a required record.json.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation and validation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>

* Stage authorized knowledge generations for release packaging

Keep default legacy packaging and stage an explicitly authorized knowledge generation for release artifacts. Verify installed package Intake selection and the sealed source, wheel and host payloads.

Agent-assisted-by: Codex / unknown [effort=unknown] (implementation and verification)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max]
Agent-assisted-by: Codex (implementation and verification)

* Expose frozen Husky originals through the public package reader

Pin the short navigation guide to its immutable main source and keep the seven original files on the stable L3 route. Cover the installed route and byte budgets.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=xhigh] (implementation and validation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / GPT-6 (author)
Agent-assisted-by: Codex / GPT-6 (review fix and validation)
Agent-assisted-by: Codex (review fix and validation)

* Preserve legacy packaging validation diagnostics

Keep legacy stock and unsealed authoring inputs distinct while rejecting both from atomic distributions.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Shorten installed paths for sealed Knowledge compositions on Windows

Place composition manifests and resources under numbered directories in
the existing sealed knowledge tree. The catalog retains exact logical
names and revisions, and the reader already resolves the physical location
from its manifest entry. Rebind the existing publication grant to this
layout so default Windows pip installs fit the previous wheel path budget.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (design)
Agent-assisted-by: Codex subagent / gpt-6.2-astra [effort=max] (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
(cherry picked from commit e32017484577245b9e3e5dbba73f07bf21f39fcb)

* Reserve Knowledge Store identities in source and installed releases

Preserve registry and sealed release ownership while allowing new candidates in current-only installations.

Agent-assisted-by: Codex subagent / gpt-6.2-astra [effort=max] (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Keep retained service reads within the package scope

Use the same package boundary for retained Find and Read results and verify that the default reader still delivers the retained content.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
(cherry picked from commit 543a7ae)

* Verify py_compile caches from sealed sources on Python 3.10

Keep full payload and source checks when installer serialization or debug ranges differ from an inline compile.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Verify the release wheel's Task routes on Windows

Replay the seven installed Task entries and router cards from the Release bot's own distribution artifact before publishing the same wheel.

Agent-assisted-by: Codex subagent (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

* Hold atomic releases until the first main rehearsal

Bind the first authorized publication to the rehearsed source commit and sealed Knowledge generation while leaving dry runs available.

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

---------

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Signed-off-by: dongxinwen <d00949542@china.huawei.com>\n
Signed-off-by: jiangkuaixue123 <jiangxiaozhou111@163.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
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