Skip to content

Index Searchspace Matrix coordinate pairs - #637

Draft
Dong1017 wants to merge 1 commit into
mainfrom
codex/knowledge-coordinate-index
Draft

Dong1017 wants to merge 1 commit into
mainfrom
codex/knowledge-coordinate-index

Conversation

@Dong1017

Copy link
Copy Markdown
Collaborator

Governing Issue

Refs #632
Anchors touched: none

Changes

  • Generate a checkout Searchspace index from the numbered matrix Candidate Skills cells. Preserve explicit resource × lifecycle pairs and distinct coverage states.
  • Verify the matrix, registry, and every consumed Skill metadata source. Qualify the reader by checkout Skill root, registered ID and canonical path.
  • Reuse the coverage generator entry point. The default coverage view and Find behavior are unchanged.

Validation

  • The final coordinate suite passed 17 tests. The prior coordinate, coverage, and catalog run passed 72 with 2 skipped before the last additional regression. Generated index and legacy coverage --check, Ruff and git diff --check passed.
  • The first adjacent Find and dependency run passed 142 tests and 43 subtests, with one Windows path-length fixture setup failure also reproduced on the clean base. That fixture passed separately under a shorter temporary path.
  • The generated checkout index includes 52 covered, 21 supplementary, 15 not-applicable and one unknown Skill. The Llama owner-map links add neither SSD × Optimize nor OS × Optimize. Changing only exclusion metadata invalidates the old index.
  • Draft for independent review. Explicit Find filtering is a separate delivery.
{
  "schema_version": 1,
  "head_sha": "b3aae7c6d2cb491d356ca741b8795559ef688221",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "unknown",
      "effort": "unknown",
      "role": "author"
    }
  ]
}

Agent-assisted-by: Codex / unknown [effort=unknown] (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.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.

首轮独立检视 fd349032c54dd42e57185e86c74fad543fb51617 → b3aae7c6d2cb491d356ca741b8795559ef688221,对应 #632;无上轮检视。生成器从编号表 Candidate Skills 提取完整坐标对,读取器也按根、注册 ID 和路径绑定条目。这两处方向正确。

批准前必做:读取时验证返回的坐标确实来自这些源。 searchspace_index.py L101–143 对照矩阵、注册表和元数据的摘要,但只对 JSON 中的坐标做类型与枚举校验。源文件不变时,生成物里格式合法但与矩阵不符的坐标仍会成为可匹配条目,导致 #638 返回错误的筛选结果。生成器 --check 能发现产物偏差,但实际读取不走这项校验。请让读取器把状态和坐标绑定到规范来源的确定性投影,并补一个源摘要保持不变、合法坐标与源不一致时应拒绝加载的回归测试。

已静态阅读五个变更文件、#632、矩阵及仓库检视说明;未运行测试,未查看 CI。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants