chore: session-handoff + token-hygiene (slim CLAUDE.md, add STATUS.md) - #1
Conversation
CLAUDE.md was bloated to 86 lines / 4 KB after the v0.0.1 update — auto-loaded every session, costing ~1000 tokens before any work. This shrinks it to 33 lines and moves the detail to docs/STATUS.md (read-on-demand). Net per-session saving: ~65% on the auto-load path. Plus token-hygiene guidance in CLAUDE.md and a no-auto-read README in docs/mockups/ to prevent the 104 KB v1-target-ui.html from being re-read on every research turn. Files: - CLAUDE.md slimmed 86 → 33 lines - docs/STATUS.md new — current state, open paths - docs/mockups/README.md new — auto-read marker - docs/decisions/006-session-handoff.html new — handoff guide for user Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughDocumentation overhauled with a new operating manual for Claude, project status tracker, session handoff decision guide, and asset constraint documentation. Establishes bootstrap procedures, behavioral rules, token hygiene practices, and session continuity patterns. No code changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeThe PR author is not assigned a seat. To perform a comprehensive line-by-line review, please assign a seat to the pull request author through the subscription management page by visiting https://app.coderabbit.ai/login. Comment |
Summary
CLAUDE.mdfrom 86 → 33 lines · auto-loaded every session, was costing ~1000 tokens before any workdocs/STATUS.mdholds the detail that used to bloat CLAUDE.md (read-on-demand)docs/mockups/README.mdflagsv1-target-ui.html(104 KB) as no-auto-readdocs/decisions/006-session-handoff.htmldocuments the handoff pattern for the userWhy
The previous CLAUDE.md update accidentally bloated the auto-load path. Token usage per session was high because: (a) CLAUDE.md grew to 4 KB, (b) the giant mockup file was a tempting re-read target, (c) decision HTMLs would be candidate for auto-search. This PR fixes all three.
Measured impact
CLAUDE.md(auto-load)STATUS.md(on-demand)Test plan
pytest -qstill 45/45 green (no code touched)ruff check src/ tests/cleandocs/decisions/000-roadmap.htmlafter merge, confirm links workOut of scope
🤖 Generated with Claude Code
Summary by CodeRabbit