perf(intel): simplify SessionStart hook + gitignore intel/

- SessionStart now reads pre-generated summary.md directly
- No more JSON parsing of potentially large index.json
- Added guidance: .planning/intel/ should always be gitignored
  (changes constantly, can be regenerated with /gsd:analyze-codebase)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-20 01:01:16 -06:00
parent 39ea6f4457
commit 9099d48495
2 changed files with 8 additions and 76 deletions

View File

@@ -353,6 +353,9 @@ Create `.planning/config.json` with all settings:
- Set `commit_docs: false` in config.json
- Add `.planning/` to `.gitignore` (create if needed)
**If commit_docs = Yes:**
- Add `.planning/intel/` to `.gitignore` (intel is always local — changes constantly, can be regenerated)
**Commit config.json:**
```bash