Repository navigation
Index Searchspace Matrix coordinate pairs - #637
Conversation
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw.
首轮独立检视 fd349032c54dd42e57185e86c74fad543fb51617 → b3aae7c6d2cb491d356ca741b8795559ef688221,对应 #632;无上轮检视。生成器从编号表 Candidate Skills 提取完整坐标对,读取器也按根、注册 ID 和路径绑定条目。这两处方向正确。
批准前必做:读取时验证返回的坐标确实来自这些源。 searchspace_index.py L101–143 对照矩阵、注册表和元数据的摘要,但只对 JSON 中的坐标做类型与枚举校验。源文件不变时,生成物里格式合法但与矩阵不符的坐标仍会成为可匹配条目,导致 #638 返回错误的筛选结果。生成器 --check 能发现产物偏差,但实际读取不走这项校验。请让读取器把状态和坐标绑定到规范来源的确定性投影,并补一个源摘要保持不变、合法坐标与源不一致时应拒绝加载的回归测试。
已静态阅读五个变更文件、#632、矩阵及仓库检视说明;未运行测试,未查看 CI。
Agent-assisted-by: Codex / unknown [effort=unknown] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
Agent-assisted by Codex, acting for @Dong1017. @zengchuang-hw 请复核当前 head |
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw.
增量 b3aae7c6d2cb491d356ca741b8795559ef688221 → 9708a71dea84f9c3afb2f8ae032afb878ccdd79c。上轮的坐标完整性问题已解决:生成和读取使用同一投影,读取对照所有条目并再次核对源摘要;回归覆盖摘要不变时的错误坐标和状态。
批准前必做:让最小安装能区分缺依赖和索引过期。 新的读取路径在重新投影时对每个 Skill 调用 _effective,需要可选的 PyYAML。读取器 把带安装提示的 MissingSkillsExtra 当作 ValueError 包装成 SearchSpace sources are missing or invalid。结果是最小安装选择一个健康的 checkout 也会被告知索引无效,重新生成无法解决。请保留缺依赖诊断并说明 opt-in checkout 读取的先决条件(或保持读取不依赖该 extra),补覆盖无 PyYAML 时的回归,且默认 Find 不受影响。#638 的显式 Find 筛选依赖这个诊断边界。
已静态阅读四个增量文件及元数据解析路径;未运行测试,未查看 CI。
Agent-assisted-by: Codex / unknown [effort=unknown] (author) 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.
增量 9708a71dea84f9c3afb2f8ae032afb878ccdd79c → ffd599629ea7a33785f0daced836322a3e9a9b54。上轮的最小安装诊断问题已修复:读取器在通用错误包装前保留 MissingSkillsExtra 和安装指引,已有坐标完整性核对不变。文档明确 opt-in checkout 验证需要 PyYAML;新增回归模拟缺依赖并断言普通 Find 仍可打开结果。未发现新的批准阻塞。
已静态阅读三个增量文件并核对 #632 与 #638 的边界;未运行测试,未查看 CI。此检视只覆盖索引及验证,不验收 #638 的筛选实现。
|
Codex, acting for @Dong1017. @Bounty-hunter 请作为第二位独立评审核对 |
Bounty-hunter
left a comment
There was a problem hiding this comment.
LGTM
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
PR review verdict — PASS
Reviewed base fd34903 and head ffd5996.
I re-derived the committed index independently from the head sources: all 89 registered rows match (52 covered, 21 supplementary, 15 not-applicable, one unknown), with zero coordinate or state differences. The matrix, registry and metadata digests in docs/searchspace-index.json also match the raw files I hashed.
Evidence, scope and unverified items
- Generator and reader share
project_coordinate_entries;load_searchspace_indexrecomputes it and requires exact equality with the artifact, so a forged coordinate or state with unchanged source digests is rejected. Entry lookup is bound to the checkout skill root, registered id and registry-relative path. - The digest covers the matrix,
skill-index.jsonand every registeredSKILL.md(and sidecarmetadata.jsonwhere present); a change confined tosearchspace_not_applicablestales the index. The embedded and sidecar cases are both tested. - Missing PyYAML:
MissingSkillsExtrais re-raised before the generic stale-index wrapper, preserving the install hint; the regression also checks ordinary Find still opens a case without the extra. - The legacy coverage view keeps its behavior: the moved helpers keep the same signatures and semantics, and its existing tests still call
input_digest,layer_stateandcollect. - I did not run the test suite. At review time
full-check(3.10 and 3.11) was still in progress; the other current-head checks were green. Verify that required check before merge. - Optional, non-blocking: unlike the legacy coverage view, the coordinate generator does not report non-canonical
skill_librarylinks it skips. A future diagnostic could surface those; this slice does not need it.
Scope is #632's index slice only; #638's Find filtering is not reviewed here.
|
Codex, acting for @Dong1017 (integrator). Merged the generated SearchSpace coordinate index into Integration evidenceBoth Linux full checks, installed-package checks and the knowledge policy passed on Independent review by @zengchuang-hw · Independent review by @Bounty-hunter |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5). 不必再补一道正式 verdict:7135031925 是发给 @Bounty-hunter 的第二独立评审请求,他已在 按 diff(非评审记录)复核,两轮阻塞均已修复:
Dong-bot(authorized delegate) 未验证项与范围
|
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5). 这条请求已由 zengchuang-hw 本人满足,Dong-bot 不再补正式 verdict:它发给 @zengchuang-hw、指向已被取代的 按 diff 复核 制品与默认行为也核对过: Dong-bot(authorized delegate) 未验证项与范围
|
Governing Issue
Refs #632
Anchors touched: none
Changes
Review follow-up
The reader now compares entries against the deterministic projection of the same canonical inputs used by the generator and verifies source consistency throughout the read. Tests reject fabricated legal pairs and states with unchanged source fingerprints, including links to unrelated same-name Skill files.
Validation
--check, Ruff andgit diff --checkpassed.