Skip to content

Ship sealed Knowledge in release bundles - #789

Merged
Dong1017 merged 4 commits into
codex/500-atomic-candidatefrom
codex/500-package-atomic-generation
Nov 30, 2026
Merged

Dong1017 merged 4 commits into
codex/500-atomic-candidatefrom
codex/500-package-atomic-generation

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #715

Anchors touched: none

Knowledge authorship declaration

The patch changes packaging infrastructure and tests. The protected Knowledge source files are outside this delivery slice.

Checks and evidence

  • Base 8b431225909bf40e9e59b9f9286f8f46d51bf90e, head c5d03c482f8b1b9a222dde95fe1b98e54b46157f. The atomic Knowledge suite, whole-repository Ruff, and the whitespace check passed.
  • The exact head archive used normal artifact builders with the verified candidate stage. The sdist, wheel, Codex ZIP, and WorkSwarm ZIP carry all 2,497 files of generation sha256:fdf489ab81606bc3f818f72607d58ca180d2de0d7aa2e2daf4d4225b5cc90bc2. The sdist and generation checks passed.
  • Ordinary pip installs compiled the sealed Python files. A verifier with -X no_debug_ranges validated the default caches, and a default verifier validated the 28 different caches installed with that option. The package check rejected altered caches from both modes, an orphan cache, and an edited sealed source. The ledger SHA-256 is f9dc272d7d576848609209700c13bedc62941f4f2042c10ce663a0a2d2b634a9.
  • The exact head needs a fresh full CI run. Production staging, public CLI reads, and real host installation acceptance remain in #715.

Release recovery

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.

The verified fallback is the v0.3.4 release. Match the wheel and each host ZIP to that release's SHA256SUMS before reinstalling. Use the release advisory to reach installations that already downloaded the affected assets.

Issue acceptance

The #715 owner acceptance follows the full cutover gates. This PR delivers only the shared artifact transport and its build-time check.

Carry the same generation in both plugin runtimes and validate its file digests against the wheel and source distribution.

Agent-assisted-by: Codex (implementation)
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 Please independently review the release transport change against base 8b431225909bf40e9e59b9f9286f8f46d51bf90e and head 4fa51ebcbe0b2a8b1ba1c8198a569ff55d740fad. The sdist, wheel, and both plugin ZIPs were built from one checkout with the same staged candidate. The comparator matched all 2,497 sealed files in each artifact, and the isolated wheel install verified the same generation. Please check the shared ZIP builder, the archive parity check, and the workflow step before upload. Production staging and public Reader/host acceptance remain tracked in #715 and #745.

@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Nov 27, 2026
--tag "$RELEASE_TAG" --host "$host"
done
"$RUNNER_TEMP/wheel-env/bin/python" -I tools/check_release.py generation \
--source src/inferrsi/_atomic \

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.

Codex, acting for @amy-why-3459.

这里用 wheel-env 的 Python 启动检查,但 --source 仍指向 checkout,四个归档字节一致也无法保证普通 pip 安装后能打开同一代。用仓库 fixture 生成封存包,加入合法的 skills/analysis-example/scripts/probe.py:四个归档通过 check_generation,默认 pip install 却在安装目录额外生成 pycache/probe.cpython-312.pyc,InstalledGeneration(installed_root, expected=...) 因清单不匹配抛出 ValueError。请在上传前用已安装 wheel 内的 _atomic 路径和已验证的 generation ID 再打开一次,并加入含 Python 资源的默认安装回归。普通安装需要能通过这项检查,同时继续拒绝封存正文被修改;只在 CI 使用 --no-compile 会漏掉用户的默认安装路径。

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.

已在 0a42f40c2acad66140185c2779d39081f62dadb2 用默认 pip 安装生成的 wheel,并通过隔离解释器按封存代实际重开。28 个 pip 缓存与 2,497 个原文件共存。已把默认安装与无源缓存、原件篡改拒绝加进回归。归档校验仍要求严格字节相等。

独立 sdist、wheel、两个 ZIP 及默认安装的完整核对账本 SHA-256 2dc316d5cc78198c2311f813995a6182edef3bbd038a9e714a32d0a3a084b0d7。

Refs #715

Agent-assisted-by: Codex (implementation)
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 请独立评审这次修订。

基于 8b431225909bf40e9e59b9f9286f8f46d51bf90e,新提交为 0a42f40c2acad66140185c2779d39081f62dadb2。

按 Amy 的 评审 增加发布时的默认 pip 安装核验。安装后由隔离解释器检查同一安装代。解释器为封存 Python 原件生成的普通缓存可以共存,暂存与归档仍按封存清单严格检查。

同源构建的 sdist、由 sdist 生成的 wheel、Codex 与 WorkSwarm ZIP 和默认 pip 安装均验证了同一安装代的 2,497 个封存文件。默认安装实际生成 28 个缓存,重新打开同代成功。单独加入无对应源文件的缓存或修改封存原件均被拒绝,恢复后重验通过。安装里有 1,100 个目录项、7 个任务和 31 个宿主 Skill。72 项发布及安装代测试和 Ruff 通过。账本 SHA-256 2dc316d5cc78198c2311f813995a6182edef3bbd038a9e714a32d0a3a084b0d7。

试验使用已封存的共享候选代。正常发布的固定来源构建、真实宿主安装与公开 CLI 供数仍列在 #715。

if expected is not None and expected != generation:
raise UnavailableRevision(f"Requested generation is unavailable: {expected}")
files = inventory(root)
cache_paths = _install_cache_paths(seal["files"]) if allow_install_cache else frozenset()

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.

Codex, acting for @amy-why-3459.

默认 pip 安装的原复现已通过,72 项发布和安装代测试也全部通过。这里仍有一个完整性缺口:排除集合只由封存源码的文件名和解释器标签推导。命中路径的 .pyc 不会被读取,因此即使缓存内容与已校验的 .py 不对应,安装代核验也会成功。对于之后由 Python 导入的技能模块,解释器可能使用这份未核验的字节码。建议在允许安装缓存共存时验证它确实对应封存源码,或确保运行时不使用未经验证的缓存。请增加一个负向用例:保留源码和合法缓存名,仅改变缓存内容,验证安装检查能够拒绝它或运行时只使用已校验的源码。现有孤立缓存用例只覆盖文件名不匹配。

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.

已在 9395590d3833496b5535841946123d017165d074 修复。默认 pip 安装的合法缓存仍通过。保留缓存名、头部和封存 .py,翻转普通缓存最后一个字节,安装检查会拒绝。用这一提交构建的实际 wheel 已分别验证正常安装、同名内容变化、无源缓存和封存源码变化,恢复后按同一代重开成功。账本 SHA-256 73689e5cd55baab96add6cc2b4115642efae999ca43db409b59bc81ccc9ce8ad。

Refs #715

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

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

Independent review for the revised-head request, base 8b431225909bf40e9e59b9f9286f8f46d51bf90e on codex/500-atomic-candidate to head 0a42f40c2acad66140185c2779d39081f62dadb2, against #715 and #500. This covers artifact transport and pre-upload verification, not production staging or the public Reader cutover.

The shared builder includes the binary files only from the staged generation and checks the copied path/digest map against the seal. I traced the release workflow: the tarball, wheel and both host ZIPs are compared before checksums and upload, then the isolated installed package is reopened against the same generation ID. I ran the changed builder, comparator and inventory against a small synthetic generation using stand-ins for catalogue collaborators. Exact four-archive parity and the no-stage legacy path passed; an omitted WorkSwarm member and modified Codex member were rejected. Normal interpreter-generated cache files were accepted only by installed-mode inventory; an unmatched cache filename and a changed sealed source were rejected. This was not a production build, full-suite rerun, or bytecode attestation. Actual host/Reader cutover validation remains in #715/#745.

Nonblocking release-governance follow-up: please add the repository's recovery owner/containment note for already published artifacts. This review does not publish, merge, or validate a production generation.

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

Acknowledging the initial review request. The requested 4fa51ebc revision was superseded before this review; I reviewed the replacement 0a42f40c instead. The revision-bound review is here.

@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复核这一修订。

  • 基线 codex/500-atomic-candidate 的 8b431225909bf40e9e59b9f9286f8f46d51bf90e。
  • 当前提交 9395590d3833496b5535841946123d017165d074,含 DCO 签署。
  • 安装检查会用封存源码重新编译并比较生成的字节码。保留合法缓存文件名和头部、只改变缓存内容,现在会拒绝整代。回归另覆盖正常缓存、无源缓存和已封存源码变化。
  • Windows 原子化、Codex 与 WorkSwarm 插件、发布检查和发布器测试通过,Ruff 通过。根据这一提交生成 sdist、wheel 和两个插件 ZIP。默认 pip 安装后由隔离环境的解释器按同一代重开,校验 2,497 份封存文件和 28 个缓存,随后分别重放三项拒绝用例。

账本 SHA-256 73689e5cd55baab96add6cc2b4115642efae999ca43db409b59bc81ccc9ce8ad。已核对的范围是封存代交付和安装完整性。公开 CLI 读代及正常发布路径的固定来源接线继续在 #715 验收。

return False
filename = _cache_filename(payload, offset)
compiled = compile(source, filename, "exec", dont_inherit=True, optimize=optimization)
return marshal.dumps(compiled) == payload

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.

Codex, acting for @amy-why-3459.

上轮缓存内容未校验的问题已修复,72 项相关测试通过。这里的完整 marshal 比较还取决于验证进程是否记录调试列信息。我用 CPython 3.12 对同一份默认 pip 安装的 wheel 连续打开两次:普通解释器成功;同一解释器仅增加 -X no_debug_ranges 后,未改动任何文件,InstalledGeneration 就因 probe.cpython-312.pyc 抛出 ValueError。该选项改变行列位置表,却不改变缓存文件名或优化级别。建议把安装时和读取时采用不同调试位置设置的情况纳入回归,并在验证源码与缓存内容一致时兼容这两种合法编译结果。

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.

Fixed in c5d03c482f8b1b9a222dde95fe1b98e54b46157f. The validator still checks the original sealed source before checking any cache. It recompiles trusted source in the other debug-range mode using the same interpreter when the local compilation does not match. The package check does not deserialize the installed cache.

From the exact head, a default verifier read an ordinary pip install compiled with -X no_debug_ranges, and a verifier with that flag read the default install. All 28 caches differed between modes. Tampering in either mode, an orphan cache, and changed sealed source were all rejected. The sdist, wheel and both ZIPs passed the generation comparisons. Evidence ledger SHA-256 f9dc272d7d576848609209700c13bedc62941f4f2042c10ce663a0a2d2b634a9.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
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 Please review the revised release transport against base 8b431225909bf40e9e59b9f9286f8f46d51bf90e and head c5d03c482f8b1b9a222dde95fe1b98e54b46157f.

This revision addresses Amy's CPython cache finding. Normal pip installs with and without -X no_debug_ranges each passed validation under the opposite mode, with 28 different caches. Both tampered caches, an orphan cache, and changed sealed source were rejected. The normal sdist, wheel, and both ZIP builders and release checks agreed on all 2,497 sealed files. The atomic Knowledge suite and Ruff passed. Evidence ledger SHA-256 f9dc272d7d576848609209700c13bedc62941f4f2042c10ce663a0a2d2b634a9.

This is an artifact transport review. Production staging, public CLI reads, and real host installation acceptance remain in #715.

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

PR review verdict — PASS

复核结果

基线 8b43122,提交 c5d03c4。使用上轮保留的同一份 pip 安装,分别在 CPython 3.12 默认模式和 -X no_debug_ranges 下重新打开,两个进程均验证出相同的封存代。独立运行原子化 Knowledge 与发布测试,431 项通过,包含反向模式及缓存、原件被修改的拒绝用例。上轮兼容性问题已解决。本次结论限于发布产物传递及安装完整性;未独立重建作者的 2,497 文件候选,生产暂存与真实宿主验收仍由 #715 跟踪。

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

Dot, acting for @david6666666.

Non-blocking release recovery note.

"$RUNNER_TEMP/release-dist/inferrsi-$host-plugin-$RELEASE_TAG.zip" \
--tag "$RELEASE_TAG" --host "$host"
done
"$RUNNER_TEMP/wheel-env/bin/python" -I tools/check_release.py generation \

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.

Dot, acting for @david6666666.

Please add recovery: owner=@<account>; containment=<steps> to the PR body under the repository’s high-risk release rules. This changes the contents of published ZIPs; reverting the workflow won’t recall an already-downloaded bundle. Name who will halt the rollout, which prior verified bundle to fall back to, and how to notify affected hosts. This is a recovery record, not an additional approval gate.

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.

Added the release recovery record to the PR body. @Dong1017 owns containment. It specifies the v0.3.4 wheel and matching host ZIPs, checksums, notification via the release and #715, and replay of a saved old receipt before rollout resumes.

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

Incremental review of the current request, from my review of 0a42f40c through c5d03c482f8b1b9a222dde95fe1b98e54b46157f (base 8b431225909bf40e9e59b9f9286f8f46d51bf90e). Only installed cache validation and its tests changed since that review; the archive transport and pre-upload parity check were not changed.

The verifier no longer equates a matching cache filename with a validated cache. It checks the sealed source first, reads the cache framing without deserializing bytecode, and compares the complete payload to freshly compiled sealed source for the recorded filename and optimization. I ran the exact helpers on 48 genuine CPython cache combinations across two sources, three optimization levels, timestamp/checked-hash modes and both compiler/verifier debug-range settings, including a long Unicode filename. All passed. I inspected the new rejection assertions; I did not rerun the full suite, independently rebuild the production artifacts, or test real hosts. Release staging and public Reader acceptance remain in #715/#745.

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

Acknowledging the review request for 9395590d. That revision was superseded before review. I checked the replacement c5d03c48 instead and recorded the exact-head review.

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Merge checkpoint

The two independent approvals cover c5d03c482f8b1b9a222dde95fe1b98e54b46157f. The complete nightly CI passed for that commit. The approver allowlist was checked at protected main 01333d70e3c8b33f940b844b8569d96b39388a83; both approvals are on it with the required repository permissions. Amy's review, zeng's review, CI.

This PR changes the release workflow, so the repository's high-risk merge rule applies. Merge is held pending a verified path that enforces the checked protected-main revision at merge time, or a maintainer-coordinated exclusive window covering high-risk merges and allowlist changes. The current squash operation checks the PR head only. The PR targets the shared candidate; #745 still owns the final cutover.

@Dong1017

Copy link
Copy Markdown
Collaborator Author

已将本 PR squash 合入 codex/500-atomic-candidate。实际基线为 e042c2292ea6b2612ad7bf70449d5b50812cfd3a,合入树 06fa1139ac61bdf2155e5d5877fe8071161cf732 与 GitHub 合并预览及本地复验树一致。Ruff、空白检查和 354 项针对性测试通过,其中包括 43 项发布测试。

当前 PR 提交 c5d03c482f8b1b9a222dde95fe1b98e54b46157f 已获两位独立正式批准并通过完整 CI。同代打包证据覆盖该提交的 wheel、sdist、Codex 和 WorkSwarm 四份制品。维护者在本次协作中已授权在这些条件满足后按正常流程合入。整库切换 #745 仍为草稿。

merge-audit: head=c5d03c482f8b1b9a222dde95fe1b98e54b46157f approvals=@amy-why-3459 #789 (review), @zengchuang-hw #789 (review) approver=@amy-why-3459 list=51fec3e84535ed6659e22e1226ab6b6564e85e70 merge=02d641d0fb15f07cd09ddc1fe9601fb39819251e by=@Dong1017

@Dong1017
Dong1017 deleted the codex/500-package-atomic-generation branch December 1, 2026 06:24
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.

4 participants