Skip to content

Integrate the atomic knowledge library for a single production cutover - #745

Draft
Dong1017 wants to merge 10 commits into
mainfrom
codex/500-atomic-candidate
Draft

Dong1017 wants to merge 10 commits into
mainfrom
codex/500-atomic-candidate

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #715

整库集成与切换

这是 #500 进入 main 的整库 PR,由 Codex 代表 Dong1017 维护。每个领域先独立评审并合入 codex/500-atomic-candidate,GitHub 会将已合入的提交自动计入本 PR 的差异。全部领域到齐后,在同一候选上完成整库验收,再通过本 PR 一次切换生产来源。当前为草稿。负责人决定 · 实施授权

Anchors touched: A1, A2, A7.

当前候选包含什么

开单时 main 为 ba4637e2,共享候选为 a8589f5b。已独立合入 main 的目标仓资源迁移见 #716。

  • 固定版本的原子、组合、Reader 与同代构建。#720
  • 30 条自包含 Records、四个 Case 的 22 张判断卡、两个 Casebook 目录。#725 · #728 · #729
  • 三份 Playbook 跨目录来源、三个单文件 Workflow,以及七个任务入口和路由器。#733 · #730 · #723
  • 七份共享 Workflow 研究原文,供 107 个旧包按原路径引用。已合入候选 dd30e371。#736 合入与复验
  • NPU Skill Factory 已合入共享候选 99f5847a。已核对 17 个原文件和 5 条宿主相对链接,合入树的 281 项原子化测试全部通过。#732 合入记录。其余四个 Workflow 已在两位独立批准及完整 CI 通过后合入共享候选 bb7f65ab,八个 Workflow 的 Reader 入口现已齐备。九条跨目录宿主导航由 task: 验证整库候选、一次切换并完成 Day-3 退役 #715 验收。#734 合入及原件核对

含 Model SOL #753、其他待审 PR 和两个已推送分支的联合试装已核对 715 份共享必选资源中的 151 份,107 个旧包中有 33 个已对齐原文档,满足全部映射条件的为 0 个。领域评审和 CI 的结果可从各 PR 回查。迁移账本及范围

主线已调整 Manager 和 Indexer。候选 Reader 的衔接改动已单独提交评审,涵盖普通读取、原子选择和拒绝回执。其提交 82fefac8 已通过 Ruff 和 394 项针对性测试,6 项跳过。合入候选后复验本 PR 与届时主线的实际合并结果。接口适配 PR #748 · 四位评审的请求及测试范围

转为正式评审及合入前的验收

  • 完成 task: 按领域迁移整库原子、组合与原文约束 #714 的全量映射。对照实际旧 wheel,逐一核对入口、条目、原文、版本和权限。107 个旧包逐个验证各自的 record.json、文档及共用的 715 份必选资源。单列 checkout:husky,任何退役项附负责人签字。旧包边界
  • 从同代候选安装包运行与旧版相同的公开 CLI,按 Skill、Record、Case finding、组合分别重放固定负载,比较命中、完整交付、过时误送、历史回读及实际累计字节,计入发现、导航、拒绝、重读和回执。同等完整交付且其他指标均无退化时允许字节打平。已冻结旧版 21 条路径、64 次调用、628,986 B。普通 Skill 账本 · 其他三类账本
  • 从实际 wheel 和支持的宿主插件验证同代安装、任务路由、相对资源和更新。按 Add task intake records and question prompts for inference workflows #706 的实际先后次序验证已安装的性能及 Day-0 入口和相应 schema。双向交接
  • 在发布暂存与激活之间中断,并从新进程核对可见代。用真实旧回执、旧包和快照回滚,逐字节和摘要核对。记录跨代回读的实际行为。旧发行包与真实历史回执
  • 在最终主线基线上提交完整候选的测试及安装证据,由两位独立评审批准该提交,通过完整 CI 与主线所需检查后合入。

生产启用时在 #715 记录切换时间。由该时间起满 72 小时后结束旧版支持,封存工件并验收 #715 与父单。切换和退役验收

Knowledge authorship declaration

下列设置来自上述已合入领域 PR 在各自最终提交的声明。候选增加提交时,随新提交更新声明及作者记录。

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

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 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
@Dong1017

Copy link
Copy Markdown
Collaborator Author

The shared candidate at dd30e371 and main at ba4637e2 overlap in Campaign and Manager. This integration commit resolves both conflicts on a separate branch. It preserves the Manager session interface from #702 and the atomic Reader selection and receipt checks from #500.

The focused suite passed 308 tests with 2 skipped. Ruff passed on src, tests, and tools. Full CI and independent review of this integration are pending. The draft continues to track the shared candidate while the remaining domains and the #715 cutover checks progress.

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 <[email protected]>
@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Nov 27, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

The Manager and Indexer integration against the current shared candidate is open for independent review in #748. It incorporates main at ba4637e2b81bba036a62be0da35353559b7284d9 and the candidate at 99f5847a802e7961001a6244fa93ccda5f18bc3d. Review request and exact scope.

On the combined tree bea3418017aa433c053dc884aba79f5b85478795, Ruff passed and the exact-head Windows suite reported 394 passed, 6 skipped. The draft remains assigned to the whole-library cutover. After integration, the live candidate-to-main merge and its ancestry will be checked again alongside #715's release gates.

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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:knowledge Knowledge line: packs, skill library, knowledge admission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant