Skip to content

Migrate the Playbook source documents referenced by Workflows - #733

Merged
Dong1017 merged 3 commits into
codex/500-atomic-candidatefrom
codex/500-migrate-playbooks
Nov 26, 2026
Merged

Dong1017 merged 3 commits into
codex/500-atomic-candidatefrom
codex/500-migrate-playbooks

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #714

Anchors touched: A2, A7. Codex 代表 @Dong1017。将四个待迁 Workflow 已引用的两份 Playbook 文档及其链接的一份来源说明迁入原子库。PR 直接面向共享候选 codex/500-atomic-candidate,分支从 94e77e837b30f5fb383ca7aa16bbb28b8f76a5db 建立。实施授权 · Playbooks 认领 · 旧 Workflow 的跨目录行为

Knowledge authorship declaration

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

三份文档均为 InferRSI 在 v0.3.4 发行包中已分发的原文。Codex 编写了声明、旧版固定输入和验证。各原子继承其所属 Playbook 原有的来源分类、署名、适用范围、限制、候选状态和 not_run 效用记录。分发内容仅含仓库原有的三份 Markdown,论文来源按原文署名。v0.3.4 发行包

Changed artifacts and verification

  • 固定输入覆盖 Playbooks 的 121 个源文件及 39 个公开引用。通过已安装的 v0.3.4 执行 310 次 CLI 调用。18 个 checkout 技能、18 个 package 和 3 个 Case 分别保留身份。36 张判断卡保留 partial 和原缺失字段,3 个 Case 下的 13 张 finding 卡保留原有完整状态。旧版对账 · 固定输入
  • 新增的三个 L3 原子为 performance-ceiling-analysis.acceptance-criteria、optimization-search-policy.adaptation-interfaces、optimization-search-policy.source-notes。从正式 wheel、不可变源文件、v0.3.4 按所属条目和修订执行的三次公开 CLI 回读以及候选 Reader 分别取出原文,路径、摘要和全部 23,180 字节逐一相符。新旧修订、精确预算、少一字节、禁读、禁保留、禁再分发均在安装上实测。三项合读时,任一必选项的请求权限被拒,整组返回零正文。候选回归
  • 在已核对的六组候选上叠加这三个原子,两次独立构建得到安装代 sha256:1779cb854fe07c632083b0f95162beb91432fe0af46fb09139a6e964a25b646e,1,376 个安装文件逐字节一致。验证了此前所有 657 个条目的修订、清单及正文,45 个宿主文件、14 个宿主入口和 7 个任务映射。联合候选现有 660 个目录条目。回执对照报告 SHA-256 为 a1922d9405db268797227d20de8d2c7b383d065dbf29aa6c323de32088c97978。上一代联合候选
  • 通过正式 v0.3.4 CLI,针对 17 个带相对链接的 Playbook,按来源条目、原修订和原路径重放全部 105 个链接。68 个目录内文件和 10 个目录外显式依赖原样可读,另 27 个目录外导航在原条目返回 Unknown resource。前一版固定输入把 10 个目录外依赖标成了目录内。此修订纠正对应的 10 个布尔值,保留原清单、依赖摘要和所有旧回执。回归测试在旧固定输入复现错误,切到校正后的输入通过。105 次原生回读账本 SHA-256 为 dcc6c11adfd630a6ba1aded15cb7e01b3c397109161dba5622757bb5053cfb72。
  • 本分支本地 231 项原子化测试通过,Ruff 与差异空白检查通过。可用 python -m pytest -q tests/knowledge/test_atomic_playbook_resources.py 复验。当前提交的完整 Linux 及双平台冻结字节检查由仓库的完整 CI 运行记录。

Remaining work and Issue closure

从 107 个旧包回执逐项核对,加入四个后续 Workflow 的联合候选已追溯 62/715 个共享路径及 18/107 个文档指向,完整包为 0/107。最新联合安装对账Playbook 所属的组合、宿主导航投影、其余材料和包级必选资源由 #714 接续。#715 在公开 CLI 已接入后核对同一入口的累计输出,并验收真实安装与回滚。整库切换验收

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex,代表 @Dong1017。@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立评审 e0c08a0e96a80f019d130c90bab8b58ff1c8c0be。四位 GitHub 正式审阅请求均已确认。请重点核对三份 L3 原文是否沿原所属条目、修订、署名和权限迁移,以及来源说明的相对引用。

可独立应用的完整差异有 8 个文件,198,250 字节,SHA-256 f5ca26b07575f9eb0e620d4cf36e5b63b3892cc238aad7437a909cd9c2707c3c。GitHub 的逐文件回包提供了其中 7 份补丁,另一个大文件可从固定输入原文读取。原文 145,062 字节,SHA-256 091e35299958a6f1e4c2f7183d57a3ea806b934aefd8e0768052f93b6acbe030。完整差异、七份补丁加上这个原文,分别重建出同一棵提交树 acd324b6b52ed6deb738e40a427c8dc0cbb0a203。原生 CLI 对账 · 候选回读测试

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

@Dong1017 Dong1017 left a comment

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.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Reviewed base 0166706 and head e0c08a0 (full base..head, not incremental). This is a self-review (PR author Dong1017), so this is a COMMENT and not an independent approval.

Blockers

  1. The diff is incomplete. pr/meta.json has diffComplete: false. The seeded diff covers 7 of the 8 files. tests/fixtures/atomic-reader/playbook-domain-v0.3.4.json (145,062 bytes, per the PR thread) is not in it. tests/knowledge/test_atomic_playbook_resources.py lines 13, 26–27 and 47–48 use that fixture as the baseline for every byte count, SHA-256 and revision check, so those claims cannot be checked from the seed. Needed: the complete diff or the fixture's patch, then a fresh seed at this head.
  2. I could not read the seeded pr/diff.patch in this run. The file was saved outside the workspace and the read was refused. I have not verified the contents of the 7 visible patches line by line. Needed: re-seed pr/diff.patch inside the workspace and I will re-read it.
  3. No independent review on this head. pr/prior-reviews.md lists no formal review on e0c08a0e. The thread asks david6666666, amy-why-3459, Bounty-hunter and zengchuang-hw for independent review. Under the agent-collaboration rules, the PR author and the accountable parent (Dong1017, via Codex) cannot supply an independent approval. Merge needs two eligible approvals on the final head.

Verified from head reads (not from the diff)

  • pr/head.sha and pr/base.sha match the head and base above. The knowledge-model-policy block has head_sha e0c08a0… and declares Codex / gpt-6.2-astra / max as the material AI author. decisions.md admitted that same declaration on #728 only, so no decision on this PR's head covers it yet.
  • src/inferrsi/knowledge/atoms/optimization-search-policy.source-notes.json: source.commit e2f3be1… matches RELEASE in tests/knowledge/test_atomic_reader.py:14. Its state is candidate, empirical_validation is not_run, and its permissions are read, retain and redistribute: true, as the test expects.
  • src/inferrsi/knowledge/atoms/playbooks/optimization-search-policy/references/papers-20261015/references/source-notes.md exists at head (57 lines). Line 3 contains "No source PDF is redistributed.", which tests/knowledge/test_atomic_playbook_resources.py:96 asserts.

Not verified here

  • The contents of pr/diff.patch and the fixture, and the three L3 atom digests.
  • The 141 local tests, Ruff and the 310 CLI calls claimed in the PR body. I did not run tests, and no CI status is in the seed.
  • The issue text of #500 (implementation authorization, comment 7191711742) and #714. The reads succeeded, but their output was saved outside the workspace and I could not open it.
  • The base branch. The body says the PR targets codex/500-atomic-candidate, but pr/meta.json does not show the base ref. Please confirm the target, since this review procedure covers PRs into main.

I will re-read after the author pushes a new head and the full diff is re-seeded. The current head is not approved.


Self-review: the PR author and the posting account are the same, so this review is not an independent approval.

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex 代表 @Dong1017 回应本轮自评。原生 PR 目标是 codex/500-atomic-candidate。对于此次审阅的 01667062…e0c08a0e,GitHub 逐文件 API 省略了大 JSON 的内联补丁。该文件是此 PR 新增的,可以直接从仓库读取完整内容。任一有 Git 检出的评审者可在自己的工作目录运行下面两行,得到准确的完整补丁和第八个文件。

git diff --binary 016670625192846aca3f84ef101c919fa7ee2c27 e0c08a0e96a80f019d130c90bab8b58ff1c8c0be --output=playbook-review.patch
git cat-file -s 2a610909501591da44ca45ec02dffd5808f5d3b5

第二行应返回 145062。这份固定输入的 SHA-256 是 091e35299958a6f1e4c2f7183d57a3ea806b934aefd8e0768052f93b6acbe030。GitHub 原始 blob · 可浏览的文件 · 完整差异与两种重建结果

四位独立评审已正式受邀。合入以最终提交取得两个有效独立批准、相应 CI 通过为准。旧发行版的 310 次公开 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.

PASS
dot, acting for zengchuang-hw.

回应原检视邀请。#714 的三份 Playbook L3 文档。候选 base 016670625192846aca3f84ef101c919fa7ee2c27 → head e0c08a0e96a80f019d130c90bab8b58ff1c8c0be。独立从固定发行 Git 树比较三个源 blob,全部逐字节相同;核对定义使用原所属 Playbook 的固定来源,保留原署名与读、留存、再分发权限声明。adaptation-interfaces.md 的 ../references/source-notes.md 展开后正好指到同批迁入的来源说明。静态检查精确修订、预算不足与权限拒绝整组不交付的断言。未运行旧 wheel、完整 Reader 或 Workflow 跨目录宿主集成;该后续不在本次批准内。

Record 121 source digests, 39 distinct public references, 13 finding selectors and the owners of the two Workflow navigation targets.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <[email protected]>
Bind the three resources to their v0.3.4 source bytes and preserve the original Playbook metadata. Exercise installed reads, attribution, budgets and permission refusals.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <[email protected]>
Replay the released CLI for all 105 relative links. Preserve the 10 digest-pinned dependencies outside their source directories and the 27 navigation-only links.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <[email protected]>
@Dong1017
Dong1017 force-pushed the codex/500-migrate-playbooks branch from e0c08a0 to 064816f Compare November 26, 2026 22:13
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex 代表 @Dong1017。@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复审本次修订。GitHub 正式请求已发给四位。目标为共享候选 codex/500-atomic-candidate,基线 94e77e837b30f5fb383ca7aa16bbb28b8f76a5db,本次 head 064816f32d8279c68fcec9981b25c3d030badb02。

前一版固定输入把 10 个目录外链接记作目录内。已用 v0.3.4 的真实 CLI 按原条目和原修订重放 105 个相对链接。68 个目录内文件可读,10 个目录外依赖按原清单带摘要可读,另 27 个目录外链接从原条目读取时返回 Unknown resource。请特别核对 optimization-search-policy 的 8 个显式依赖,以及 dense-performance-evidence 和 inference-benchmark-design 各自对同一 Casebook 文件的授权。校正只涉及这 10 个位置和相应回归。旧输入能重现错误,修正后 231 项原子化测试、Ruff、差异空白检查通过。整套 CI 以本次 head 的运行记录为准。

8 个文件均已用远端 Git blob 核对。GitHub 逐文件视图可能省略新增 JSON 的补丁,完整文件为 145,072 字节,SHA-256 87e34775a57176672fa93a1b0a1842a3937cdb0e45e616786f3a4e6296ecd761。整份比较补丁和逐文件重建都得到准确树 d6f20cba821db3457faf675161391c5c2a17754f。完整比较 · 完整固定输入 · 可重放的测试

@Dong1017 Dong1017 left a comment

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.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Reviewed base 94e77e8 and head 064816f (full base..head; previously reviewed head e0c08a0). This is a self-review (PR author Dong1017), so this COMMENT is not an independent approval.

Blockers

  1. The seeded diff is incomplete and I could not read it. pr/meta.json has diffComplete: false. pr/diff.patch is a single ~154 KB line that the read tool would not return inline, so I did not inspect the patch lines of the changed files. The head moved the 145,072-byte fixture tests/fixtures/atomic-reader/playbook-domain-v0.3.4.json and the test file, so the diff-level changes cannot be checked from the seed. Needed: a complete seed of the diff (or the fixture patch) at 064816f, then a re-read.

  2. No current-head independent approval. pr/prior-reviews.md lists no formal review on 064816f. The only APPROVED review (@zengchuang-hw, on e0c08a0) predates the head move and does not carry over. The reviewers asked in the thread (@david6666666, @amy-why-3459, @Bounty-hunter, @zengchuang-hw) have no record on this head. Merge needs two eligible independent approvals on the final head.

What I verified at head 064816f

  • tests/knowledge/test_atomic_playbook_resources.py L48 expects 68 in-directory and 27 denied links; L49–53 expects 1 / 1 / 8 external required resources for dense-performance-evidence, inference-benchmark-design and optimization-search-policy. That totals 10, which matches the thread.
  • The 10 corrected external links are now in_directory: false in the fixture, and each path is in that entry's required_resources with a matching sha256:
    • optimization-search-policy (L1625–1685): casebooks/…/drama3-rejected-directions.md, qwen-ascend-rejected-directions.md, qwen-b300-rejected-directions.md, systems/engines/vllm/diagnose-vllm-admission-pressure/SKILL.md, workflows/governance/rsi-evidence/references/loopx-goal-governance/README.md, playbooks/measurement/calibrate-serving-simulation/SKILL.md, its references/infera-serving-search/README.md, and playbooks/planning/assess-serving-preemption/SKILL.md. That is 8.
    • dense-performance-evidence (L1168): casebooks/…/admission-drain-occupancy.md.
    • inference-benchmark-design (L1260): casebooks/…/admission-drain-occupancy.md.
  • The 10 in-directory inference-benchmark-design references (L1278–1331) keep their matching sha256 values.

Not verified here

  • I did not recount all 39 refs for the 68 / 27 totals. I only checked the entries with the corrections.
  • I did not run pytest, Ruff, or the CI. I did not verify the 8-file diff's tree or the 145,072-byte SHA-256 myself.

I will re-read after the author pushes a complete diff seed and the re-check approvals are posted on the final head.


Self-review: the PR author and the posting account are the same, so this review is not an independent approval.

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

回应本轮邀请。#714 Playbook 复审,候选 base 94e77e837b30f5fb383ca7aa16bbb28b8f76a5db → head 064816f32d8279c68fcec9981b25c3d030badb02,对照上轮的 e0c08a0e。独立比较两份完整 JSON,只有 10 个 in_directory 从 true 改为 false,涉及 9 个不同文件。其中 optimization-search-policy 有 8 条,另外两个 owner 各自保留对同一 admission-drain-occupancy.md 的引用。逐条核对所有 10 条在各自 required_resources 和 dependencies 的摘要仍一致。8 个评审路径仅夹具和其测试的 Git blob 改变,三份 L3 原文及声明不变。未重跑旧 CLI 的 105 次调用或安装宿主;此次只批准归属校正,不批准整库切换。

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex 代表 @Dong1017,补充本次修订可直接逐行读的差异。GitHub 的单提交视图只显示两个文件。夹具为 10 行删除、10 行新增,全部是 in_directory: true → false,测试新增 31 行。前一轮送审时的夹具与该提交的父版本同为 Git blob 2a610909501591da44ca45ec02dffd5808f5d3b5。当前夹具为 62dba32f85bf89281c398bb9f51b063d9377a339。本轮两文件补丁 · GitHub 原生逐文件补丁数据

dense-performance-evidence 和 inference-benchmark-design 分别声明了同一份 Casebook 文件,各计一个来源引用。optimization-search-policy 单独声明了另八份。三处原数据和对应的路径、摘要可单独查看。第一处 · 第二处 · 八个路径

zengchuang-hw 已独立复核当前提交和这十处路径。第二位独立评审和本提交的全量 CI 仍在进行。当前提交的独立评审 · 全量 CI

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

回应本轮复核,base 94e77e83 → head 064816f3。三份 Markdown 与固定 v0.3.4 Git 原文件逐字节一致,合计 23,180 B;逐项对过原路径、SHA-256、继承的所属条目信息及 read/retain/redistribute 声明,../references/source-notes.md 仍指向原相对位置。当前提交的三份原文和三份声明,Git blob 均与上一轮核对过的版本一致。

读了完整大小的旧、新夹具及测试,复数出 68 个目录内链接、10 个跨目录但仍为必选的链接、27 个不可读链接。10 条修正只改变 directory 分类,不改变必选路径和摘要。当前 CI 的 Linux、双平台冻结字节三项通过;日志绑定当前提交,Linux 7,780 项通过。这一批准限本次 L3 原文迁移,不表示包覆盖完整或宿主导航已验收。

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

Copy link
Copy Markdown
Collaborator Author

Codex 代表 @Dong1017。已将本次三份 Playbook 原文和 v0.3.4 固定输入合入共享候选。合入提交为 f12f1a7a01063de33245b1b1facc4038a5e01de6,父提交为 55827542a95673ad5848b7ba5df33df68ac170b1。评审提交 064816f32d8279c68fcec9981b25c3d030badb02 获得两项独立批准,完整 Linux 测试及 Linux、Windows 原文件字节校验均通过。zeng 的评审 · Amy 的评审 · 完整 CI

两位评审所看的八个文件与期间合入的 Casebook 目录没有重叠。我在最新共享候选重建合入树,原子化测试通过,逐项核对 GitHub 实际合入的父提交和完整 Git 树 067204bd89caacaf48fb170c710f36a38426c899。其余领域迁移由 #714 跟进,生产整库切换由 #715 验收。合入提交

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants