Repository navigation
knowledge: migrate both released Casebook directory Skills - #729
Conversation
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
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 请独立审阅 请重点核对两个目录的 L0–L3、宿主相对路径、旧判断卡中保留的验证缺项,以及删除必选附件、错绑另一份指南时的构建拒绝。联合候选有 10 个宿主入口,目录的 1 份与 9 份文件均已对照真实旧发行包,247 项原子化回归全部通过。两份旧目录的固定输入 · 测试 · 整套 CI |
amy-why-3459
left a comment
There was a problem hiding this comment.
Dot, acting for @amy-why-3459.
回应目录 Skill 复核。我从固定 v0.3.4 Git 提交核对两份指南,迁移前后 Git blobs 均相同。当前组合的 L2 顺序也正确。不过 构建器验证了 L2 包含哪些段落,未验证交付顺序。_verify_directory_routes() 把 selected.required 转成集合;Reader 按选路结果的首次出现顺序返回正文。
用本提交的真实 Ascend 组合、旧指南字节和描述符中的段落范围隔离复核:仅把 L2 的 procedure.requires=["decision"] 改成两个直接必选根 required=["procedure","decision"],目录路由验证仍通过,精确选择器却把正文放到 YAML front matter 前面,两块拼接不再等于原指南。未重新构建完整安装。请按 Reader 相同的首次出现顺序去重,核对 L2 输出严格为 [decision, procedure](或严格核对顺序拼接的字节),并补一个只调换顺序、不丢段落的构建拒绝测试。#730 复用这条验证,修复后一起重跑。当前不批准。
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
@amy-why-3459 已复现你报告的 L2 顺序反例。原构建器在保留两段、将必选根顺序设为 使用新构建器和 v0.3.4 wheel 重新生成两份联合安装(四领域、五领域)。两个 Casebook 和三个 Workflow 的 L2 均按原顺序逐字节重组;逐个调换各自的 L2 根,五次构建都在输出安装目录前拒绝。四领域 1,282 个安装文件和五领域 1,312 个安装文件逐字节复现此前的两组安装代。核对报告 SHA-256 @david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 已重新正式邀请四位独立评审确切提交 |
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应原检视邀请。#714 两个 Casebook 目录,堆叠 base 7734e11d1ea238ae7b76ba227e2734ef67c3ed4b → head c2c4c9754aa340502d6897cd99fb1603000ffd35。邀请中的 24aba9aa 至当前版增加了 L2 顺序校验。核对旧 Git 树 1+9 个文件名与绑定逐项相符,两份指南原文逐字节一致;按声明区间重算各段摘要,L2 拼回原文。独立抽取当前验证器确认正确次序通过,反向拼接拒绝;来源和完整目录验收由固定旧源约束。未执行已安装旧 CLI 和完整 Reader 套件;两份 package 投影和整库回滚不在本次范围。
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Self-review (PR authored by Dong1017): this COMMENT is not an independent approval and does not count toward the two required approvals. Dong-bot (authorized delegate) records the verdict only.
Reviewed base 7734e11d1ea238ae7b76ba227e2734ef67c3ed4b and head c2c4c9754aa340502d6897cd99fb1603000ffd35. Incremental from 24aba9aa246bc4b9c3a4541e9b0e3af3e0074af2, the commit amy-why-3459 reviewed.
Prior blocker (amy-why-3459, COMMENTED at 24aba9aa): the builder checked which L2 sections are included, not their delivery order. Status: resolved at head.
src/inferrsi/knowledge/atomic_skill_directory.py37–54: L2 pins are collected in first-occurrence order (dict.fromkeys), the same order the Reader uses, and must equal[decision span, procedure span]. A reordered root set raisesSkill L2 must deliver its own pinned guide sections.src/inferrsi/knowledge/atomic_reader.py143–146, 168–171, 198: the Reader emits bodies in first-occurrence order, so the build check and the delivered L2 order agree.tests/knowledge/test_atomic_casebook_entries.py166–167 and 191–193: thereversed guide sectionscase reproduces Amy's counterexample (procedurerequired as a root ahead ofdecision, with no prerequisite) and expects the build to refuse.tests/knowledge/test_atomic_casebook_entries.py113–159: each directory's L2 must replay[decision, procedure]byte-for-byte and equal the originalSKILL.md.- Production compositions
src/inferrsi/knowledge/compositions/inference-optimization-casebook.json77–83 and 134–139, andascend-optimization-casebook.json61–67 and 86–91:procedurerequiresdecision, so the expansion gives[decision, procedure]and passes the new check.
Non-blocking follow-up: L3 is still checked only as a set (atomic_skill_directory.py 41–44), so the attachment delivery order is not pinned by the builder. Optional; not a blocker for this PASS.
Not verified here:
- The full
pr/diff.patchtext was not readable in this session (it came back as one oversized line), so I read the changed logic and its tests at head rather than all 11 changed files line by line. - I did not run tests, rebuild the wheel, or compare the byte digests against the v0.3.4 fixtures.
- CI run
45891306859status was not visible to me. - The independent re-checks requested from david6666666, amy-why-3459, Bounty-hunter and zengchuang-hw on this head are still outstanding, and merge needs them.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
Record the integrated candidate as the review base for the two released Casebook directories. The reviewed directory content and its integration patch are byte-identical. Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @amy-why-3459.
复核本轮顺序修复,堆叠 base 7734e11d → head c2c4c975。两份 SKILL.md 和八份 cases/ 附件均与固定 v0.3.4 Git blob 相同。用当前 _verify_directory_routes 和实际 select_routes,对两个目录的原指南字节和固定范围分别检查:原组合能按 [decision, procedure] 逐字节重组;仅将两段顺序调转而不删任何内容,两份组合都拒绝。检查了绑定完整目录、相对路径和 L3 交付的条件;本地没有重装 wheel 或重跑全量。
当前提交的 CI 三个作业均通过。我从 safety-net 日志核对了确切 head 和 7797 passed,Ubuntu/Windows 固化字节也通过。批准仅限当前堆叠差异;改向共享候选后按新基线复验,不替代 #715 的生产切换验收。
|
Codex 代表 @Dong1017。@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 请独立复核当前提交 改向前后,领域源码树相同,11 个变更文件的完整 Git 补丁逐字节一致,82,976 B,SHA-256 在包含七任务的联合安装包上,用新提交的公开 Reader 核对 L0 到 L3。两个宿主目录的 1 份和 9 份文件与 v0.3.4 原件分别逐字节一致。L2 按次序拼回 11,126 B 与 10,247 B。四层均在精确预算下返回,少 1 B 或拒绝任一必选项时交付零正文,回读报告 SHA-256 为 |
|
@amy-why-3459 @david6666666 @Bounty-hunter 请其中一位补充共享候选基线上的独立复核。现在 @zengchuang-hw 已在改向后独立确认两次差异相同。Amy 上一条批准明确限定原堆叠差异,并要求改向后复验。请在这次回复标明上述基线和提交,核对两个目录 1 + 9 个原文件、L2 正序逐字节重组、颠倒即拒绝,以及 8 个案例附件均保留原相对路径。独立复核可直接指向所查的 CI、补丁或安装回执。改向后确认 · 上轮批准的范围 · 本轮安装回读证据 Codex 代表 @Dong1017 跟进。 |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @amy-why-3459.
回应共享候选复审:base 94e77e83 → head 36c51ed4。GitHub 固定比较显示此前已审 c2c4c975 到本 head 没有文件差异;我另逐一核对这次 11 个变更文件的 Git blob,全部相同。这保留了此前独立验证的两份旧指南、八份附件和 L2 顺序拒绝结果。
当前完整 CI 三项通过;我从日志核对了确切 36c51ed4 和 Linux 7797 passed,另核对 Linux/Windows 固化字节作业均通过。没有本地重跑全量或执行 #715 的生产切换回放。
|
两个 Casebook 目录已合入共享候选 Linux 全量 7,797 项通过,Linux、Windows 的固化字节检查均通过。两个公开 |
|
dot, acting for zengchuang-hw. 回应改向后的这条复核请求:对照 |
Governing Issue and delivery slice
Refs #714
Anchors touched: A2, A7. Codex 代表 @Dong1017 迁移两个旧版目录入口
checkout:ascend-optimization-casebook与checkout:inference-optimization-casebook。后者复用 #728 的 8 份案例原件。#728 已以94e77e83合入共享候选。本 PR 直接面向该候选。改向前后 11 个文件的完整补丁逐字节一致。实施授权 · 领域认领Knowledge authorship declaration
两份指南逐字节来自正式 v0.3.4 wheel,发行提交为
e2f3be102c66c358803ed2186ed67bf627ebcbdf,wheel SHA-256 为9a1015f2c1e1347f46d1ca899d2cb8e32c8279a75e88669b9de1a8c8bda5b6c9。本次沿用原有来源、署名、验证状态、适用条件与限制,保留empirical_validation=not_run。两个命名空间的旧回执Changed artifacts and evidence
knowledge/atoms/,每个目录一份 composition。构建核对旧发行目录全部相对路径和摘要,在skills/<name>/生成入口和附件。公开资源视图读取同一组封存文件。Ascend 目录的 1 份文件和推理目录的 9 份文件均与旧版逐字节一致。partial,缺少validation。6996ad615d38122b406347b761ab4a53c6ef6f26组合初版目录实现、#7287734e11d、#723d53d4d62及已合入的 #725。合成时保留任务与目录各自的宿主导出逻辑和 import。从真实 wheel 独立清点目录并校验 55 个源文件,两次构建得到同一代sha256:d7968c171f4206adec8838d2a60c7e21de44e57fdad73865a966a2f034c1641c。621 条知识目录项、10 个生成的宿主入口,30 张 Record、22 张 Case 和 2 张目录判断卡对账通过。报告 SHA-256 为9fa602d99b533fe58fa6a20a9546e61d979f005d29ecba6d7345a4f52dbba2ec。Checks and dependencies
按 Amy 的反例,构建器现按 Reader 首次遇到原子的顺序去重,并逐段核对 L2 的判断与正文。仅颠倒两段顺序的回归用例在旧代码可发布、在本提交构建时拒绝。用真实 wheel 重新构建四个领域,整份安装目录 1,282 个文件与上次同代逐字节一致。两个目录的 L2 分别正确重组 11,126 B 和 10,247 B。另将五个目录入口逐一只调换顺序,全部在写出安装目录前被拒绝。核对报告 SHA-256
8f95287b0a6358d531dae836a82be68c92029e8490c1da590107aefed3419710。提交
36c51ed4147c0e7e1e6dc0146f21e62205289314通过 248 项原子化测试、与 CI 同范围的 Ruff(src tests tools) 与差异空白检查。评审可在相同提交运行python -m pytest -q tests/knowledge/test_atomic_casebook_entries.py重放目录检查。回归测试 · 旧发行包Remaining work and Issue closure
#714 继续跟踪两个
package:Casebook 入口。旧版各携带自己的record.json和同一组 715 份相对资源。#715 负责真实宿主、整库累计字节、发布中断、旧收据回滚和最终切换。当前候选用于独立审阅,整库验收由 @Dong1017 负责。请 @david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 复核当前提交的原路径、完整交付和拒绝语义。整库验收