Skip to content

docs(lessons): gwt-spec の集約 close 例外条項を追加#205

Merged
akiojin merged 4 commits into
developfrom
work/20260512-0246
May 13, 2026
Merged

docs(lessons): gwt-spec の集約 close 例外条項を追加#205
akiojin merged 4 commits into
developfrom
work/20260512-0246

Conversation

@akiojin
Copy link
Copy Markdown
Owner

@akiojin akiojin commented May 12, 2026

Summary

Changes

  • tasks/lessons.md: 2026-05-12 lesson「正式な gwt-spec を close しない」の Rule / Checkpoint に集約 close 例外条項を追加 (Rule: canonical 後継 SPEC が存在する場合に限り旧 SPEC を close 可、Checkpoint: 集約 close なら最終コメントに集約先 SPEC 番号を明記)

Testing

  • git diff origin/develop..HEAD -- tasks/lessons.md — Rule 行と Checkpoint 行に例外条項が追記されている
  • gh issue list --label gwt-spec --state opengwt-spec: unity-csharp-reference (UnityCsReference 参照キャッシュ・シンボル lookup・差分・embedding) #204 のみ OPEN
  • gh issue list --label gwt-spec --state closed | grep -E '^(185|187|188|191|192)\b' — 5 件すべて CLOSED
  • gwtd issue spec 204 --section spec/plan/tasks/tdd — 全 4 section が取得できる (spec=body, tasks=body, plan=comment, tdd=comment)
  • gwtd index rebuild --scope specs — SPEC index を再構築済み (documents=102)

Closing Issues

  • None

Related Issues / Links

Checklist

  • Tests added/updated — コード変更なし (Issue 集約のみ)、新規テスト不要
  • Lint/format passed — tasks/lessons.md のみの変更で cargo / clippy 対象外
  • Documentation updated — tasks/lessons.md に例外条項を追記
  • Migration/backfill plan included — N/A、schema / data 変更なし
  • CHANGELOG impact considered — process rule 変更のみで CHANGELOG 影響なし

Context

unity-csharp-reference (UnityCsReference 参照キャッシュ) の SPEC は #185 (Phase 1) → #187 (Phase 2) → #188 (Phase 3) → #191 (Phase 4 umbrella) → #192 (Phase 4-B 誤起票) と Phase 単位で 5 件に分かれていた。他のドメイン SPEC (gwt-spec: コンソール・プロジェクト設定 (#154) や gwt-spec: C# LSP・コード編集 (#153) など #146-#160) は ドメイン 1 件 = SPEC 1 件 で揃っているため、unity-csharp-reference だけ Phase / umbrella / 子 SPEC が混在していた状態を解消した。

集約は GitHub Issue レイヤーで完結している:

本 PR のコード差分は tasks/lessons.md の 2 行のみ。SPEC 集約の運用ルール変更を将来の agent / user が再発見できるよう、tasks/lessons.md の「gwt-spec を close しない」ルールに例外条項を追記している。

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3668a092-4587-4f08-9839-87663786e308

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch work/20260512-0246

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

別の canonical な gwt-spec に統合されて canonical 性が新 SPEC に
移行した旧 SPEC は close 可、という例外を「正式な gwt-spec を close
しない」rule に追記。今日 Phase 分割の #185 / #187 / #188 / #191 /
#192 をドメイン SPEC #204 に集約した運用に対応する。

Refs #204

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@akiojin akiojin force-pushed the work/20260512-0246 branch from 75ac1e2 to 3cac2eb Compare May 13, 2026 00:41
akiojin added 3 commits May 13, 2026 09:42
pnpm install 時に husky で core.hookspath=.husky/_ を自動セット
アップし、ローカル commit でも .husky/commit-msg 経由で commitlint
が走るようにする。これまでは .husky/ ディレクトリは存在するのに
husky が install されておらず hookspath が未設定で、ローカルでは
footer-max-line-length 等の違反を CI でしか検知できなかった
(PR #205 で実害発生)。

Refs #204
cargo test / dotnet test を pre-push から削除し、format check だけ
残す。重いテストは CI に任せて push loop を高速化し、既存の並列実行
race condition (flaky integration tests) で push がブロックされる
事象を避ける。

Refs #204
Rust の std::env::set_var は process-global で thread-unsafe、
複数 test が UNITY_CLI_REGISTRY_PATH / HOME を mutate すると
library 内部の getenv 読み出しと衝突して flaky に失敗していた
(PR #205 で `write_pid_and_cleanup_use_temp_home` / `execution_
context_uses_defaults` / `run_with_cli_set_active_text_output_
when_reachable` が intermittent に fail)。

CI workflow と CLAUDE.md の品質ゲートを cargo llvm-cov 側に既に
存在した --test-threads=1 と同じ運用に揃え、test 実行を serialize
する。tasks/lessons.md に再発防止 rule を追加。

Refs #204
@akiojin akiojin merged commit 8d7ffd1 into develop May 13, 2026
9 checks passed
@akiojin akiojin deleted the work/20260512-0246 branch May 13, 2026 01:29
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.

1 participant