Mark PreCompact transcript backup hook as done (TODO item 8)

Hook implemented at ~/.claude/hooks/pre-compact-backup.sh, configured
in ~/.claude/settings.json for both auto and manual compaction triggers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Paul O'Reilly
2026-03-12 23:49:11 +13:00
parent 60e0451f43
commit 54e64074be

View File

@@ -37,9 +37,9 @@ See: [skills-and-progressive-disclosure.md](improvements/skills-and-progressive-
`boostvolt/claude-code-lsps` gives Claude real-time types, go-to-definition, and find-references. "The single biggest productivity gain" per community consensus. `boostvolt/claude-code-lsps` gives Claude real-time types, go-to-definition, and find-references. "The single biggest productivity gain" per community consensus.
See: [plugins-and-language-servers.md](improvements/plugins-and-language-servers.md) See: [plugins-and-language-servers.md](improvements/plugins-and-language-servers.md)
## 8. Add PreCompact transcript backup hook ## 8. ~~Add PreCompact transcript backup hook~~ → DONE
**Impact: Medium | Effort: Low** **Impact: Medium | Effort: Low**
Save conversation transcript before auto-compaction. Pairs with auto-memory to ensure no context is lost during long sessions. Implemented in `~/.claude/hooks/pre-compact-backup.sh`. Fires on both auto and manual compaction. Reads `transcript_path` from stdin JSON, copies to `~/.claude/transcript-backups/` with timestamp, prunes backups older than 30 days.
See: [hooks-and-automation.md](improvements/hooks-and-automation.md) See: [hooks-and-automation.md](improvements/hooks-and-automation.md)
## 9. Prune and restructure project CLAUDE.md ## 9. Prune and restructure project CLAUDE.md
@@ -59,4 +59,5 @@ See: [planning-and-workflow.md](improvements/planning-and-workflow.md)
- **Best-practices library** — 11 topic files + INDEX.md extracted from cluster-bootstrap and custom-claude-skills. Referenced in CLAUDE.md for auto-loading per project. - **Best-practices library** — 11 topic files + INDEX.md extracted from cluster-bootstrap and custom-claude-skills. Referenced in CLAUDE.md for auto-loading per project.
- **Knowledge distillation pipeline** — Three new skills (`/log`, `/reflect-logs`, `/distill-best-practices`) with settings.yaml, state tracking, log pruning, and staleness detection. - **Knowledge distillation pipeline** — Three new skills (`/log`, `/reflect-logs`, `/distill-best-practices`) with settings.yaml, state tracking, log pruning, and staleness detection.
- **Parent CLAUDE.md symlink** — `~/dev/claude/CLAUDE.md` → claude-foundations, all projects inherit automatically. - **Parent CLAUDE.md symlink** — `~/dev/claude/CLAUDE.md` → claude-foundations, all projects inherit automatically.
- **PreCompact transcript backup hook** — `~/.claude/hooks/pre-compact-backup.sh` with auto+manual matchers.
- **claude-foundations Gitea repo** — Created under skynet org, pushed. - **claude-foundations Gitea repo** — Created under skynet org, pushed.