Skip to content

Read pinned installed knowledge from the public CLI - #801

Merged
Dong1017 merged 21 commits into
codex/500-atomic-candidatefrom
codex/500-public-cli-reader
Nov 29, 2026
Merged

Dong1017 merged 21 commits into
codex/500-atomic-candidatefrom
codex/500-public-cli-reader

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

Verification

  • 679 tests passed, one skipped, and Ruff passed.
  • The isolated normal publisher combined this head with the release work from Ship sealed Knowledge in release bundles #789 and shared candidate b66a07c2. Tree ec920649349de7c2320b78d5272adb0a83f1cb4a. Installed generation sha256:b82cf622ffdd8bd02493d928bbf3f7843e922d88e45bd09bb53fcb5db81a960f contains 3,643 sealed files.
  • Across the 21 frozen journeys and 64 public CLI calls, 12 journeys completed and nine produced the expected refusal. Cumulative raw stdout was 590,500 bytes versus 628,986 in v0.3.4, 6.12% lower with the same workload.
  • A separate install of the actual v0.3.4 wheel reproduced the exact stdout, stderr and exit codes of 29 frozen rollback commands.

Claim and fixed acceptance context: #715 (comment)

Refs #715

Related: #500, #745

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
@Dong1017 Dong1017 added area:knowledge Knowledge line: packs, skill library, knowledge admission area:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters labels Nov 28, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立评审公开 CLI 对安装代 Reader 的接线。

  • 当前目标 codex/500-atomic-candidate 基线 b593f99e17aebaf3c4ed0d026defa5a2f501af68,评审提交 4a9e10b4431d6441079eb5e33446afdbb80edf67,本地组合树 f78f5d5afeedd3bfcd32d5e436404bc5edfd2b4d。
  • 请重点核对明确选定安装代时公开发现和读取是否同代,错误版本和预算不足是否拒绝,以及匿名调用者是否只能读取安装代准许的内容。此 PR 保留旧库作为默认来源,整库切换由 Integrate the atomic knowledge library for a single production cutover #745 验收。
  • Ruff 和 121 项针对性测试通过。在隔离构建并安装的 wheel 中移除旧知识来源后,执行了 9 次正常 CLI 调用。普通 Skill 命中第 1,L1 2,598 字节及 L3 3,534 字节与 v0.3.4 相同。少一字节、过期修订和错误安装代均拒绝。尚待精确资源与 finding、Manager/Indexer 及 task: 验证整库候选、一次切换并完成 Day-3 退役 #715 的完整回放。

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

这是对 #801 的首次独立 review,审阅区间 2db3d83a29bf34ce14e883889d89a8373f3b6ad4 → 4a9e10b4431d6441079eb5e33446afdbb80edf67。当前目标分支 codex/500-atomic-candidate 的 tip 为 b593f99e17aebaf3c4ed0d026defa5a2f501af68(相对本 PR 父提交超前 1 个 Husky 原件提交,与本 diff 无冲突),本次按 PR 自身这一份提交审阅。提交前已重新拉取评论和 review:当前 head 上尚无其他 review;已看到 评审邀请。

已核对:未设置 INFERRSI_KNOWLEDGE_GENERATION 时仍走旧目录;显式钉住安装代后,find 只从 InstalledGeneration.compositions 建库、read 拒绝独立原子引用;传入 --max-bytes 且不足时,Reader 按整组返回 over_budget 且不交付正文。这些与「旧库为默认来源、发现不暴露独立原子、错误修订和预算不足应拒绝」一致。准确性/性能对比实验不适用于本次 CLI 路由变更。未在本环境复验隔离 wheel 回放,也未跑测试或完整 CI。

需要先澄清或补齐的问题:

  1. 钉住安装代时,find 默认仍会查询外部通道。src/inferrsi/apps/cli/__init__.py 第 693 行 在 atomic 路径上仍使用 registry=None if args.no_external else _channels(...)。设置环境变量后会拒绝 --skill-root / SearchSpace,并写明 “Pinned generation find only supports the installed catalog”,但未传 --no-external 时,find() 仍会把未本地校验的外部结果写入 external 列。新增测试也固定加了 --no-external,没有覆盖默认路径。若钉住代的公开发现应仅来自已安装组合目录,请在 atomic 路径默认关闭或拒绝外部通道,并补测试;若外部列仍要保留,请在描述里写清该例外。

  2. 公开 CLI 以匿名方式调用 Reader 时,始终传入空的 context={},项目级 permits 则对所有 pin 放行 read。corpus() / find_view() / read() 都是如此。AtomicReader.read_selection 会用 applies(when, context) 以及组合/原子上的 permissions 做限制;同文件既有测试对 task-debug 的 L2 读取传的是 context={"query": "acceptance criteria"}。邀请中要求核对「匿名调用者是否只能读取安装代准许的内容」,但本 PR 没有覆盖带 when 或 permission_denied 的组合。对有 when 约束的路由,corpus() 会在 L0 非 delivered 时静默跳过,read 则可能得到 not_applicable。请明确匿名 CLI 应传入哪些 context 维度,并补上「受限路由被拒绝、获准内容可匿名读取」的测试;如果空 context 加上声明式权限就是预期的匿名模型,也请写清并补相应拒绝用例。

本轮不 Approve,也不 Request changes。上述两点澄清或补上测试后,请再 @amy-why-3459 复核。

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

PR review verdict — DO NOT PASS

Codex, acting for @amy-why-3459.

本地 49 项安装代与 Reader 测试通过。默认文本入口存在下述阻断问题。PR 描述中的命令也请改为实际入口:当前解析器接受顶层 inferrsi find 和 inferrsi read;inferrsi knowledge find 会在参数解析时以退出码 2 结束。

view = document.view(
score=score, query_tokens=query_tokens, read_args=_read_args(ref, revision, "L0"),
)
view["knowledge_generation"] = self.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.

固定安装代后,用公开入口运行 inferrsi find analysis-example --no-external --limit 1,命中结果刚打印完打开命令就抛出 KeyError: 'next_read_content_bytes'。默认文本渲染器对含 ref 的结果必读该字段;启用 --decision-cards 时还会读取 decision_card.card_bytes,这里生成的可用卡片也缺少它。请用 L0 交付回执和 L1 预算回执中的字节数补齐这两个字段,或让文本渲染处理缺失值。建议增加不带 --json 的普通命中及决策卡命中回归测试。

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 at e4bb2b2. Find derives next_read_content_bytes from the same projected decision card as Read. The installed CLI replay covers exact-budget acceptance and one-byte-short rejection, including the Record without a card_bytes field.

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

NO PASS
dot, acting for zengchuang-hw.

回应本轮检视请求。初审:实际合并基点 2db3d83a29bf34ce14e883889d89a8373f3b6ad4 → 4a9e10b4431d6441079eb5e33446afdbb80edf67。#715 实施范围。

批准前必修: 选定安装代后,公开 find 虽然改用封存代的 corpus,但 rank → expand → _aliases 仍从旧 knowledge/data/skill_library/config/query_aliases.json 加载排序配置。在无旧目录的隔离安装代中,实际候选 Find 路径因找不到这个文件而停止,无法进入 L1/L3;只补回原版别名表后,相同 Find、L1/L3、少一字节、错修订、错代和直接原子拒绝均通过。请把所需排序配置移到独立、随包或随代提供的明确位置,并让无旧库的公开 CLI 回归真正移除整个旧库目录。若原实装只移除了内容而保留了 config,请在证据中明确这个保留项。

另外,#715 认领的普通 Record 无旧库公开回放尚未看到;补该回放,或在 #715 明确这次只交付普通 Skill。没有把整库切换、旧别名或真实宿主算作此缺陷。执行的是候选 Find 和 Reader 接线的隔离对照,不是重新打 wheel、完整 CLI 套件或 CI。未合并。

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

Copy link
Copy Markdown
Collaborator Author

Review 8a9ddb7

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw could you review the revised head 8a9ddb7b9375e905b7a0e0b0c9c1f155f774ccaa?

Published the reviewed alias and ranking revision. GitHub diff base 2db3d83a29bf34ce14e883889d89a8373f3b6ad4. The wheel was built from this head, whose parent is 92f680aa88d23d86276a29ee0dae32a8cf8d775c.

  • 108 targeted tests and Ruff passed. Five Chinese, English and negative alias comparisons preserved the old result after normalization moved to ranking.
  • An isolated wheel install delivered 2,923 files in generation sha256:7dda6e1eabe052f0cdf7851f9167d0302bfeaf465cb260f1504307152b16a2e4. With the legacy directory and ZIP absent, 11 public CLI probes checked ordinary discovery, L1 JSON and text, L3 bytes, stale revisions, generation mismatch and external refusal.

Wheel SHA-256 08c88b99ff923695e9dfbe3b1cc2ba056e731c3e895dc6ab6d10bb5830c5e382. Raw CLI ledger SHA-256 d08b838fe478b9c48884d8904f354d86a2a3cd13bc6b5c53ad223b1c94bffad5. The full Record and cutover replays are tracked in #715. Full CI for this revision.

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

这是对 #801 的继续 review(新 head 增量),由 复核请求 触发。审阅区间 4a9e10b4431d6441079eb5e33446afdbb80edf67 → 8a9ddb7b9375e905b7a0e0b0c9c1f155f774ccaa(92f680aa88d23d86276a29ee0dae32a8cf8d775c、8a9ddb7b9375e905b7a0e0b0c9c1f155f774ccaa)。提交前已重新拉取评论和 review:当前 head 上尚无新的 review;已看到上述复核请求。作者声明的 GitHub diff 基点仍是 2db3d83a29bf34ce14e883889d89a8373f3b6ad4。准确性/性能对比实验不适用于本次 CLI 路由变更。未在本环境复验隔离 wheel 回放,也未跑测试或完整 CI。

上次阻塞点的核对结果:

  1. 钉住安装代后默认仍走外部通道:已修复。 现在 atomic 路径把 registry 设为 None,显式 --external-source 会被拒绝(src/inferrsi/apps/cli/__init__.py 第 660–697 行)。回归测试不再默认加 --no-external,并在 _channels 被调用时失败,同时覆盖了 --external-source 拒绝。

  2. 匿名 Reader 的 when / 权限拒绝覆盖:仍未解决。 atomic_knowledge.py 新增注释,说明公开 CLI 不提供调用方授权、并用空 context={} 做适用性检查;permits 仍对所有 pin 放行 read。新增的 L2 用例得到 not_applicable,但测的是 analysis-example 上读取没有对应路由的层,并不是带 when 约束或 permission_denied 的受限路由。请补上「受限路由被拒绝、获准内容可匿名读取」的测试;如果空 context 加上声明式权限就是预期的匿名模型,也请在 PR 描述里写清,并补相应拒绝用例。

另外,zengchuang-hw 在旧 head 上指出的别名配置依赖旧库 已在本增量中处理:排序配置改到随包的 src/inferrsi/knowledge/data/ranking/query_aliases.json,并由已有的 "inferrsi.knowledge" = ["data/**/*.json", ...] 打包规则覆盖;测试也覆盖了无 skill_library 时的加载。

PR 描述仍写 inferrsi knowledge find / inferrsi knowledge read。当前解析器的实际入口是顶层 inferrsi find 和 inferrsi read;inferrsi knowledge 只有 show / research / search,inferrsi knowledge find 会在参数解析时以退出码 2 结束。请把描述改成实际命令。

本轮不 Approve,也不 Request changes。第 2 点补测试或写清匿名模型、并修正描述后,请再 @amy-why-3459 复核。

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

Codex, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

已在当前提交复测默认文本 Find 和带 --decision-cards 的文本输出,上轮的 KeyError 已修复。本地 119 项相关测试通过。另将公开 L1 读取与 v0.3.4 wheel 的同一 Skill 做了相同预算的对照,发现返回内容和预算判定仍不同。

args = _read_args(ref, revision, "L1")
view["decision_card"] = {
"ref": ref, "revision": revision, "status": "available",
"card_bytes": decision.receipt["body_bytes"],

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.

card_bytes 现在报告的是源文档摘录长度。实测 checkout:cite-check-downstream-pr 的 Find 报 2,598 字节;跟随 decision_card.read_args 给 2,598 字节预算,返回的是以 ---\nname: 开头的原始前置元数据。v0.3.4 的公开 CLI 在相同预算返回 over_budget,给 4,313 字节才交付含 status: partial 的结构化判断卡。使用此字段估算预算或消费判断卡的调用者会得到不同结果。请在公开决策卡路径从获准读取的 L1 内容构造规范判断卡,以该卡的字节数判定预算,并测试 Find 公布的大小、实际返回内容和少一字节的拒绝。

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 at e4bb2b2. The installed CLI returns the canonical partial L1 for checkout:cite-check-downstream-pr, retaining its missing validation field. Find advertises 4,313 bytes, Read accepts that budget, and Read rejects 4,312. The original 2,598-byte Reader payload is preserved in the receipt.

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NO PASS
dot, acting for zengchuang-hw.

本轮复核 · 上轮意见 · #715 范围。4a9e10b4431d6441079eb5e33446afdbb80edf67 → 8a9ddb7b9375e905b7a0e0b0c9c1f155f774ccaa;合并基点 2db3d83a29bf34ce14e883889d89a8373f3b6ad4。

上轮已修: 别名表已搬离旧库。用无旧目录的隔离安装代运行了实际候选 Find/Reader 接线,普通 Skill 搜索、中文别名,以及直接读原子/预算/旧修订拒绝按候选契约工作。

批准前必修:普通 Skill L1 的公开接口换了交付物。 Find 的 decision_card 与 Read 的返回 把 2,598 字节源码节选标成卡片,Read 返回 receipt/bodies,而不是旧版结构化 partial 卡。用同一份冻结的 cite-check-downstream-pr 原文独立对照:v0.3.4 的卡片投影在 4,312 字节拒绝、4,313 字节才交付 partial;当前接线在两种预算下都交付相同的 2,598 字节节选。不能将更少字节计为等价交付。请保留已有 L1 决策卡的结构及预算语义,或提供明确区别的公开入口并迁移既有调用方;加上结构、状态、缺项、字节和少一字节的对照回归。

这次运行的是实际候选 Find/Reader 与固定 v0.3.4 投影的隔离对照,未重打 wheel、运行整库/Record、真实宿主、CI 或合并。

dongxinwen added 3 commits November 28, 2026 15:10
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Emit compact UTF-8 JSON for installed-generation discovery. Preserve
all public fields, navigable revision bindings, decisions, and receipts.

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

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请复核 #801 的当前修订。

  • PR 基线 b593f99e17aebaf3c4ed0d026defa5a2f501af68,当前提交 e4bb2b2506dd8bc29e828e37182b951aed86d421。144 项定向测试及 Ruff 通过。
  • Skill L1 恢复原规范判断卡及缺失字段。真实隔离安装的公开 CLI 返回 4,313 B,发现声明相同字节数,4,312 B 预算时整组拒绝。
  • 隔离 wheel 中移走旧库后,自包含 Record 的四条冻结路径均通过。11 次命令合计 91,541 B,旧包同路径 96,113 B。此证据覆盖这些路径的 CLI 响应,完整发布和整库验收仍按 task: 验证整库候选、一次切换并完成 Day-3 退役 #715 办理。
  • 已逐条回复预算字段和 Skill L1 的行评审。Finding 和组合的公开调用仍在继续验证。

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

Codex, acting for @amy-why-3459.

已复核普通 Skill 的完整 L1 判断卡和预算修复,四个相关测试模块在本地通过。紧凑判断卡还有一处公开 CLI 兼容问题。

raise ValueError("Read requires a public composition reference from find")
if args.layer in (None, "L1") and self.records.supports(args.id):
return self.records.read(args)
if args.resource is not None or args.compact or args.material or args.omit_resources:

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.

固定安装代后,普通目录 Skill 的 read … --layer L1 --compact 在此直接报参数错误。用 v0.3.4 wheel 对 checkout:cite-check-downstream-pr 的准确修订执行同一调用,得到 2,826 字节的 compact 判断卡(partial)以及打开完整卡的 full_read_args。依赖紧凑卡预算的调用者切换安装代后无法继续。请允许该 Skill L1 路径传入 compact,将其交给 DecisionSource.project,并返回指向同一修订的完整卡参数。建议用紧凑卡的精确预算及少一字节两种情况做公开 CLI 回归。

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NO PASS
dot, acting for zengchuang-hw.

回应本次复审请求。增量 8a9ddb7b9375e905b7a0e0b0c9c1f155f774ccaa → e4bb2b2506dd8bc29e828e37182b951aed86d421,目标候选 base b593f99e17aebaf3c4ed0d026defa5a2f501af68。对照上轮结果。

上轮的判断卡问题在代码路径上已修正。 普通目录 Skill L1 现在从 Reader 授权的原文提取字段,通过 DecisionSource.project(max_bytes=...) 按规范判断卡计费;find 的预算也取同一投影。不是再用原文节选字节数代替。未独立重建这次 wheel,因此不把作者的 4,313 B 安装记录报成我的复跑结果。

批准前需修复公开 Skill L1 的回执和紧凑读取。 atomic_knowledge.py:137–152 对目录 Skill 的已授权 L1 只返回卡投影与 generation,丢弃 Reader 的来源、修订及范围回执;其他 Reader 分支返回 receipt。这与本 PR 的“返回完整回执”承诺不符,也让 #715 无法在同一路径区分卡预算及实际回执。这里的通用拒绝还使既有 read --layer L1 --compact 在切到封存代时直接报错(旧路径接受并投影)。运行了新头的实际读分支,分别注入一组授权 Reader 结果和 compact 参数,确认卡结果无 receipt,紧凑请求报参数错误;这是隔离分支探针,不是安装后 CLI 回放。

建议同时保留卡的预算语义和可核验的 Reader 授权回执,明确卡拒绝时的回执不等同于向调用方交付原文。增加一个真实目录 Skill 的安装后回归,核对 find 声明、全/紧凑卡及差 1 B 回执。Record 代码本轮已读,但整库 finding/组合、宿主与生产切换不作为这条结论的依据。

dongxinwen added 3 commits November 28, 2026 18:25
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.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.

目标 codex/500-atomic-candidate,base b593f99e17aebaf3c4ed0d026defa5a2f501af68,精确 head 52bcbb16a23231256a9fbff3d4fbf2e7a38767d8。

回应本轮请求;上轮检视,增量 e4bb2b2506dd8bc29e828e37182b951aed86d421 → 52bcbb16a23231256a9fbff3d4fbf2e7a38767d8。现在的 GitHub 目标 tip 与作者实测基线不同;我核对了两边的共同合并基点 2db3d83a29bf34ce14e883889d89a8373f3b6ad4,12 个 PR 路径相同,基线之间变化不触碰这些路径。不把作者的联合树等同当前安装代。

上轮阻塞解除:公开 Skill L1 支持 compact,投影报告组合修订、来源原子与原字节范围,并分开记录卡片实际交付量和投影来源。用旧发行版固定的 2,598 B 原文片段(独立核对 SHA-256),运行当前头实际 CLI 读分支、元数据解析和卡片投影,以 Reader 端口替身提供已授权回执及拒绝对照。完整 / 紧凑卡精确为 4,313 / 2,826 B;各少 1 B 均无卡无正文。紧凑返回同修订重读参数;过期和越权不会生成卡。未独立重装 wheel 或复跑 21 条旅程;批准限本次普通 Skill 交付,不作 #715 整库对账、性能或发布验收。

dongxinwen added 2 commits November 29, 2026 05:20
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
@Dong1017

Copy link
Copy Markdown
Collaborator Author

请 @david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 独立评审。当前提交 689eeca,共享候选验证基线 e11dbff。

请复核本轮类型化来源/安装代/定位器及单原件组合回执的去重。试装整合提交 fab863d3 含未合入的 #789。在去除旧库的隔离安装中,21 条冻结路径、64 次公开 CLI 调用全部对照,累计 stdout 从 628986 降到 572989 字节(−8.90%),组合从 163325 到 163029 字节。453 项针对性测试和 Ruff 通过。本轮提交作者分支起点 52bcbb1,试装和评审目标为上述共享候选。

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NO PASS
dot, acting for zengchuang-hw.

目标 codex/500-atomic-candidate,base b593f99e17aebaf3c4ed0d026defa5a2f501af68,精确 head 689eecad156173046f5b9c6de2c1b8868b54ec52。

本轮请求 · 上轮普通 Skill 批准;增量 52bcbb16a23231256a9fbff3d4fbf2e7a38767d8 → 689eecad156173046f5b9c6de2c1b8868b54ec52。上轮批准只覆盖旧头普通 Skill。

批准前需保留 Case 的回执。 新增 InstalledFindings.read 和 _read_material 在成功读取 finding 卡或原件时都丢弃 Reader 已有的类型化来源、选中定位和安装代;原件预算不足时还把结构化拒绝转成 ValueError("over_budget")。这与本轮要求的来源/安装代/定位器可追溯和 PR 正文承诺的完整回执冲突。用当前头的实际公开读包装器和带来源的 Reader 端口替身验证了这三条分支。请让 Case 成功与拒绝路径保留可复核的回执,并添加公开 CLI 对照,核对来源、安装代、精确预算与少 1 B 时零正文。此次未重跑试装联合树、64 次对照或考核其节省数字。

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

这是对 #801 的继续 review,由 复核请求 触发。审阅区间 e4bb2b2506dd8bc29e828e37182b951aed86d421 → 689eecad156173046f5b9c6de2c1b8868b54ec52。提交前已重新拉取评论和 review:当前 head 上有 zengchuang-hw 的 NO PASS;此前对 52bcbb16 的批准 不覆盖本头。准确性/性能对比实验不适用于本次 CLI 路由变更。未在本环境复验隔离 wheel 或作者声明的联合树 fab863d3(含未合入的 #789),因此不引用那些累计字节数字。

上次阻塞点:普通 Skill 紧凑 L1 与 v0.3.4 预算/内容对照 — 已修复。内联意见 对应路径现在接受 --compact,经 DecisionSource.project 计费,并带上投影回执和同修订 full_read_args。本地 test_public_skill_cli_compact_l1_preserves_budget_and_receipt 通过:Find 公布夹具中的 4,313 字节,完整卡 SHA 与 v0.3.4 夹具一致,compact 为 2,826 字节,各少 1 字节拒绝且无正文。相关五个测试模块共 276 项在本头本地通过。

本轮新的阻断问题,与 zeng 在本头上的意见一致:Case 公开读取未保留可复核回执。InstalledFindings.read / _read_material 在成功返回 finding 卡或精确原件时丢弃 Reader 的来源、选中定位和安装代;原件预算不足时把结构化拒绝变成 ValueError("over_budget"),由 CLI 以退出码 2 报参数错误,而不是无正文的 JSON 回执。这与本轮要求复核的类型化来源/安装代/定位器,以及组合路径已做的单原件回执去重不一致。请在 Case 的成功与拒绝路径保留可复核回执,并补上精确预算和少 1 字节、无正文的公开 CLI 对照。

另外,PR 描述仍写 inferrsi knowledge find / inferrsi knowledge read。本头上这两条命令仍以退出码 2 结束(knowledge 仅有 search / show / research)。请改为实际入口 inferrsi find 和 inferrsi read。

本轮不 Approve,也不 Request changes。Case 回执按上款补齐、描述改成实际命令后,请再 @amy-why-3459 复核。

Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
dongxinwen added 2 commits November 29, 2026 11:40
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
Agent-assisted-by: Codex / gpt-6.2-sol [effort=max] (implementation)
Signed-off-by: dongxinwen <d00949542@china.huawei.com>
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw please independently review base b593f99e17aebaf3c4ed0d026defa5a2f501af68 and head 7eb5dfe35fd71c9267939aa2e7a3a5864449ea86.

This revision pins the Case finding source locator and generation, issues a Reader receipt for the original as well as L1, and makes the typed group refusal observable at the public CLI. L1 accepts 3,166 B and rejects 3,165 B. L3 accepts 3,602 B and rejects 3,601 B. Both refusals retain the pinned locator and return no document body. The L3 body is the unchanged 602-byte source. 93 focused tests and Ruff passed.

The isolated installed-wheel trial used integration tree 950707b9 with #789 packaging and the legacy directory and ZIP absent. All 21 journeys retained their expected outcomes across 64 invocations. Stdout was 590,507 B compared with 628,986 B on v0.3.4. The final whole-library replay stays tracked in #715 against #745. The detailed reconciliation follows in #715.

Earlier issue context and review evidence #715 (comment)

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

这是对 #801 的继续 review,由 复核请求 触发。审阅区间 689eecad156173046f5b9c6de2c1b8868b54ec52 → 7eb5dfe35fd71c9267939aa2e7a3a5864449ea86。提交前已重新拉取评论和 review:当前 head 上还没有其他人的阻塞性 review。准确性/性能对比实验不适用于本次 CLI 路由与回执变更。未在本环境复验隔离 wheel 或作者声明的联合树 950707b9(含未合入的 #789),因此不引用那些累计字节数字。

上次阻塞点:

  • Case 公开读取未保留可复核回执 — 已修复。InstalledFindings.read / _read_material 现在在 L1 判断卡和原件成功/拒绝路径上保留 selection、安装代和 Reader 回执;预算不足返回 over_budget 与 required_bytes,且无正文。本地 test_public_finding_uses_sealed_card_and_original 与 test_public_saved_material_flags_read_only_the_selected_resource 通过;tests/knowledge/test_atomic_casebooks.py 与 tests/knowledge/test_atomic_performance_ceiling.py 在本头全部通过,变更文件 Ruff 通过。
  • PR 描述中的命令 — 尚未完全解决。描述已改为以 inferrsi find / inferrsi read 为主入口,但仍把 inferrsi knowledge read 写成其别名。本头上该命令仍以退出码 2 结束(knowledge 仅有 search / show / research)。请删掉这条不存在的别名,只保留实际入口。

本轮不 Approve,也不 Request changes。描述改成实际命令后,请再 @amy-why-3459 复核。

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NO PASS
dot, acting for zengchuang-hw.

目标 codex/500-atomic-candidate,base b593f99e17aebaf3c4ed0d026defa5a2f501af68,精确 head 7eb5dfe35fd71c9267939aa2e7a3a5864449ea86。

本轮请求 · 上轮意见。增量 689eecad156173046f5b9c6de2c1b8868b54ec52 → 7eb5dfe35fd71c9267939aa2e7a3a5864449ea86。

上轮问题已修到代码路径。 Case L1 返回来源与安装代;L3 返回 Reader 原件回执;短预算不会再抛掉结构化回执。执行当前头真实读包装器,以 Reader 和卡投影端口替身确认 L1 精确投影、少一字节与 L3 typed 无正文拒绝,未复跑隔离 wheel 的 64 次对照。

批准前仍需分开卡片完整性和实际交付状态。 Case L1 的新回执 直接把投影状态写入 receipt.status。实际交付 partial 卡时,回执同时有非零正文和交付项,却把交付状态标成 partial;同一头的 Skill L1 对同一种状态正确区分卡片 status=partial 与传输 receipt.status=delivered。实际包装器的夹具确认了这个差异(完整交付的 partial 卡会被按 Reader delivered 计数的消费者漏掉)。请保留外层卡片状态,回执成功统一为 delivered,新增测试分别断言 partial 卡、交付回执和 over_budget 零交付。

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

Copy link
Copy Markdown
Collaborator Author

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw please review the receipt fix at head b20102a724404728f200b8603970e57086c187ff. The target is codex/500-atomic-candidate at b66a07c288dd55deef724d486fe1cad798398ae1 with merge base 2db3d83a29bf34ce14e883889d89a8373f3b6ad4.

Successful L1 reads now report status=delivered for both complete and partial cards. Budget and authorization refusals retain a refusal receipt and zero delivered bytes. The focused regression tests, Ruff, and diff checks passed. The isolated installed-wheel replay and full CI for this revision are separate verification steps. Review finding

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

这是对 #801 的继续 review,由复核请求 触发。审阅区间 7eb5dfe35fd71c9267939aa2e7a3a5864449ea86 → b20102a724404728f200b8603970e57086c187ff。提交前已重新拉取评论和 review:当前 head 上还没有其他人的阻塞性 review。准确性/性能对比实验不适用于本次回执状态修正。

本轮增量只改了 Case L1 回执:InstalledFindings.read 在投影状态为 complete/partial 时把 receipt.status 设为 delivered,外层 status 仍是卡片投影状态。这与 _projected_card_receipt 以及 上次关于 receipt.status 的意见 一致。test_public_finding_uses_sealed_card_and_original 已断言完整卡交付回执和 over_budget 零交付。本环境未复跑这些测试。

上次仍未解决的阻塞点:

  • PR 描述仍把 inferrsi knowledge read 写成 inferrsi find / inferrsi read 的别名。本增量未改 CLI 入口,描述也未删除该别名。请只保留实际入口后再 @amy-why-3459 复核。

本轮不 Approve,也不 Request changes。

@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,GitHub PR 记录 base b593f99e17aebaf3c4ed0d026defa5a2f501af68,head b20102a724404728f200b8603970e57086c187ff。

本轮请求 · 上轮意见。增量 7eb5dfe35fd71c9267939aa2e7a3a5864449ea86 → b20102a724404728f200b8603970e57086c187ff。

已解除上轮阻塞。实际成功分支将 receipt.status 置为 delivered,卡片外层仍区分 complete 和 partial。独立运行当前头的实际 Case 读取包装器,用 Reader 与投影端口替身覆盖完整卡、partial 卡、少一字节和权限拒绝:两种成功均保留安装代、来源和交付字节;拒绝无卡、无交付项。新增回归在实际 Reader 用例中断言同样的两个状态层级。用完整 Git 树比对了提审评论的共享候选 tip b66a07c2 与 GitHub PR 返回的 base:484 个不同路径不触及 19 个本 PR 文件,相关 Reader/Builder 源文件也不变。未重跑集成 wheel 或 64 条回放;本次批准代码修复,不批准 #715/#745 切换或性能数字。

@Dong1017

Copy link
Copy Markdown
Collaborator Author

@amy-why-3459 I corrected the PR description to name the two actual public commands, inferrsi find and inferrsi read, with activation via INFERRSI_KNOWLEDGE_GENERATION. The code stays at b20102a724404728f200b8603970e57086c187ff. The Case L1 is complete at the exact budget and the same group is refused at one byte below. I renewed your formal review request so you can confirm the documentation blocker is resolved.

@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 b593f99 and head b20102a.

这是对 #801 的继续 review(同 head 复核),由复核请求 触发。代码仍停在此前已审阅的 head,未改动。

上次阻塞点已解除:PR 描述现在只列出实际公开入口 inferrsi find 和 inferrsi read,并通过 INFERRSI_KNOWLEDGE_GENERATION 启用安装代;已不再将 inferrsi knowledge read 写成别名。

提交前已重新拉取评论和 review:当前 head 上 zengchuang-hw 的 review 为 APPROVED,没有未解决的阻塞性意见。准确性/性能对比实验不适用于本次仅描述修订的复核。

@Dong1017
Dong1017 merged commit f512c59 into codex/500-atomic-candidate Nov 29, 2026
6 checks passed
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

#801 已按 squash 合入 codex/500-atomic-candidate,合入提交 f512c599de3001c5a0c7077a77a050b5c5d3dd74,时间 2026-11-29 09:59:31 UTC。

  • 评审 head b20102a724404728f200b8603970e57086c187ff,实际合入基线 34be783f79077f701ab909be442ba47d9956b478。两位独立正式批准来自 Amy 和 zeng。该 head 的完整 CI 通过。
  • 实际合入树 bd9b1979693f04d79b3d001c6d1d7de6ec37f304 与本地验证树一致。19 个改动路径,全仓 Ruff 通过。Windows 默认临时目录的一项长路径错误在基线复现,短临时目录复跑 559 项通过。合入提交已核对 DCO。
  • 已修正文档中的公开命令 inferrsi find 和 inferrsi read。复核说明

同代真实宿主、发布及实际切换由 #715 与 #745 验收。

Refs #715

@Dong1017
Dong1017 deleted the codex/500-public-cli-reader 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:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters area:knowledge Knowledge line: packs, skill library, knowledge admission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants