目的
SPEC #185 (Phase 1) / #187 (Phase 2) / #188 (Phase 3) で構築した UnityCsReference 参照キャッシュの内部実装を底上げするための umbrella SPEC。Phase 1-3 で "Out of Scope" として明示した 5 件の改善 (Phase 4-A / B / C / D / E) を 1 つの SPEC で集約し、サブタスク単位で commit / PR を進める。子 SPEC は新設せず、本 SPEC を Refs する commit / PR で改善を land させる方針を採る。
スコープ
Phase 4 として扱う 5 サブタスク:
- A: Member-level シンボル抽出 (method / property / field を
find-symbol の対象に追加)
- B:
compute_line_diff の LCS / Myers 化 (Phase 3 の all-or-nothing MVP を細粒度 hunk に置換)
- C:
extract_token_at_cursor の C# lexer 化 (line comment / string literal 内の cursor を正しく除外)
- D:
reference fetch の zip fallback (git バイナリ不在環境向け、Phase 1.5 保留分)
- E: Vector embedding 検索 (semantic / natural-language なシンボル検索)
各サブタスクは autonomous で 1 PR ずつ land し、umbrella の Tasks セクションでチェックボックス進捗を管理する。
Out of Scope(umbrella でも扱わない)
採用方針(gwt-discussion で確定)
- 子 SPEC は新設しない (2026-05-12 ルール、
tasks/lessons.md)
- 各サブタスクの commit / PR は
Refs #191 で umbrella に紐付ける
- サブタスク完了時に本 SPEC の Tasks をチェックボックス更新する
- サブタスクごとに
gwt-discussion を別途行う場合は本 SPEC 本文を起点に進める
- 正式な gwt-spec は close せず OPEN 維持 (living documentation 運用、2026-05-12 ルール、
tasks/lessons.md)
Related
Phase 4 サブタスク進捗
受け入れ基準の充足状況
運用方針
目的
SPEC #185 (Phase 1) / #187 (Phase 2) / #188 (Phase 3) で構築した UnityCsReference 参照キャッシュの内部実装を底上げするための umbrella SPEC。Phase 1-3 で "Out of Scope" として明示した 5 件の改善 (Phase 4-A / B / C / D / E) を 1 つの SPEC で集約し、サブタスク単位で commit / PR を進める。子 SPEC は新設せず、本 SPEC を
Refsする commit / PR で改善を land させる方針を採る。スコープ
Phase 4 として扱う 5 サブタスク:
find-symbolの対象に追加)compute_line_diffの LCS / Myers 化 (Phase 3 の all-or-nothing MVP を細粒度 hunk に置換)extract_token_at_cursorの C# lexer 化 (line comment / string literal 内の cursor を正しく除外)reference fetchのzipfallback (gitバイナリ不在環境向け、Phase 1.5 保留分)各サブタスクは autonomous で 1 PR ずつ land し、umbrella の Tasks セクションでチェックボックス進捗を管理する。
Out of Scope(umbrella でも扱わない)
採用方針(gwt-discussion で確定)
tasks/lessons.md)Refs #191で umbrella に紐付けるgwt-discussionを別途行う場合は本 SPEC 本文を起点に進めるtasks/lessons.md)Related
Phase 4 サブタスク進捗
compute_line_diffの LCS / Myers 化 (similarクレート採用) — PR feat(reference): compute_line_diff を LCS / Myers 化(Phase 4-B / Refs #191) #193 MERGEDextract_token_at_cursorの C# lexer 化 (line comment / string literal) — PR feat(reference): extract_token_at_cursor を C# lexer 化(Phase 4-C / Refs #191) #194 MERGEDreference fetchのzipfallback (zipクレート + ureq) — PR feat(reference): reference fetch に zip fallback を追加(Phase 4-D / Refs #191) #196 MERGED受け入れ基準の充足状況
cargo fmt --check/cargo clippy --all-targets -- -D warnings/cargo test --bin unity-cliを Passcargo llvm-cov --all-targets >= 90%を Passunity-cli skills lint --severity errorを 0 violations で Passdocs/tools.mdの Reference Cache tools 数を Phase 4-E 完了時点で 11 tools に更新unity-csharp-reference/SKILL.mdの Preferred Flow が新 CLI を反映references/embed-search-playbook.mdを追加運用方針
Refsする PR で land する