Repository navigation
Ship sealed Knowledge in release bundles - #789
Conversation
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>
|
@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw Please independently review the release transport change against base |
| --tag "$RELEASE_TAG" --host "$host" | ||
| done | ||
| "$RUNNER_TEMP/wheel-env/bin/python" -I tools/check_release.py generation \ | ||
| --source src/inferrsi/_atomic \ |
There was a problem hiding this comment.
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 会漏掉用户的默认安装路径。
There was a problem hiding this comment.
已在 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>
|
@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立评审这次修订。 基于 按 Amy 的 评审 增加发布时的默认 pip 安装核验。安装后由隔离解释器检查同一安装代。解释器为封存 Python 原件生成的普通缓存可以共存,暂存与归档仍按封存清单严格检查。 同源构建的 sdist、由 sdist 生成的 wheel、Codex 与 WorkSwarm ZIP 和默认 pip 安装均验证了同一安装代的 2,497 个封存文件。默认安装实际生成 28 个缓存,重新打开同代成功。单独加入无对应源文件的缓存或修改封存原件均被拒绝,恢复后重验通过。安装里有 1,100 个目录项、7 个任务和 31 个宿主 Skill。72 项发布及安装代测试和 Ruff 通过。账本 SHA-256 试验使用已封存的共享候选代。正常发布的固定来源构建、真实宿主安装与公开 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() |
There was a problem hiding this comment.
Codex, acting for @amy-why-3459.
默认 pip 安装的原复现已通过,72 项发布和安装代测试也全部通过。这里仍有一个完整性缺口:排除集合只由封存源码的文件名和解释器标签推导。命中路径的 .pyc 不会被读取,因此即使缓存内容与已校验的 .py 不对应,安装代核验也会成功。对于之后由 Python 导入的技能模块,解释器可能使用这份未核验的字节码。建议在允许安装缓存共存时验证它确实对应封存源码,或确保运行时不使用未经验证的缓存。请增加一个负向用例:保留源码和合法缓存名,仅改变缓存内容,验证安装检查能够拒绝它或运行时只使用已校验的源码。现有孤立缓存用例只覆盖文件名不匹配。
There was a problem hiding this comment.
已在 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
left a comment
There was a problem hiding this comment.
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.
|
dot, acting for zengchuang-hw. Acknowledging the initial review request. The requested |
|
@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复核这一修订。
账本 SHA-256 |
| return False | ||
| filename = _cache_filename(payload, offset) | ||
| compiled = compile(source, filename, "exec", dont_inherit=True, optimize=optimization) | ||
| return marshal.dumps(compiled) == payload |
There was a problem hiding this comment.
Codex, acting for @amy-why-3459.
上轮缓存内容未校验的问题已修复,72 项相关测试通过。这里的完整 marshal 比较还取决于验证进程是否记录调试列信息。我用 CPython 3.12 对同一份默认 pip 安装的 wheel 连续打开两次:普通解释器成功;同一解释器仅增加 -X no_debug_ranges 后,未改动任何文件,InstalledGeneration 就因 probe.cpython-312.pyc 抛出 ValueError。该选项改变行列位置表,却不改变缓存文件名或优化级别。建议把安装时和读取时采用不同调试位置设置的情况纳入回归,并在验证源码与缓存内容一致时兼容这两种合法编译结果。
There was a problem hiding this comment.
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>
|
@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw Please review the revised release transport against base This revision addresses Amy's CPython cache finding. Normal pip installs with and without This is an artifact transport review. Production staging, public CLI reads, and real host installation acceptance remain in #715. |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Codex, acting for @amy-why-3459.
PR review verdict — PASS
david6666666
left a comment
There was a problem hiding this comment.
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 \ |
There was a problem hiding this comment.
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.
zengchuang-hw
left a comment
There was a problem hiding this comment.
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.
|
dot, acting for zengchuang-hw. Acknowledging the review request for |
Merge checkpointThe two independent approvals cover 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. |
|
已将本 PR squash 合入 当前 PR 提交 merge-audit: head=c5d03c482f8b1b9a222dde95fe1b98e54b46157f approvals=@amy-why-3459 #789 (review), @zengchuang-hw #789 (review) approver=@amy-why-3459 list=51fec3e84535ed6659e22e1226ab6b6564e85e70 merge=02d641d0fb15f07cd09ddc1fe9601fb39819251e by=@Dong1017 |
#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>
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
8b431225909bf40e9e59b9f9286f8f46d51bf90e, headc5d03c482f8b1b9a222dde95fe1b98e54b46157f. The atomic Knowledge suite, whole-repository Ruff, and the whitespace check passed.sha256:fdf489ab81606bc3f818f72607d58ca180d2de0d7aa2e2daf4d4225b5cc90bc2. The sdist and generation checks passed.-X no_debug_rangesvalidated 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 isf9dc272d7d576848609209700c13bedc62941f4f2042c10ce663a0a2d2b634a9.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.