chore(context): Phase 0 token diet — axiom dedup + memory tiering#644
Merged
chore(context): Phase 0 token diet — axiom dedup + memory tiering#644
Conversation
CLAUDE.md: collapse 18-line WAVE_AXIOMS restatement to a 2-line pointer (the full file still loads on demand via wave skills). MEMORY.md: 71 → 23 entries (cold files remain on disk, just leave the per-turn index). Deleted 4 superseded/stale memories outright. Skill descriptions: trimmed verbose ones (/issue, /nextwave, /wavemachine, /devspec, /ddd, /prepwaves) to fit the 8K discovery budget better. Phase 1 hooks (coexist with prose, not yet load-bearing): - pre-push-test-gate.sh — blocks git push without prior test run - post-tool-test-sentinel.sh — records successful test/lint commands - pre-stage-secrets-gate.sh — warns on secret-pattern filenames - post-compact-reread.sh — injects re-read reminder after compaction Net: ~11KB/turn reduction in per-turn context tax (~35%). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First pass of the context diet initiative. Reduces per-turn token tax by ~35% (~11KB) through safe, zero-risk changes that don't alter execution behavior.
Changes
pre-push-test-gate.sh— blocksgit pushwithout prior test runpost-tool-test-sentinel.sh— records successful test/lint commandspre-stage-secrets-gate.sh— warns on secret-pattern filenamespost-compact-reread.sh— injects re-read reminder after compactionTest Plan
🤖 Generated with Claude Code