docs: trim CLAUDE.md to its rules and a short status (147 KB -> 21 KB)
Every session loaded the whole file at start-up, ~150 KB of it protocol history. CLAUDE.md now keeps: - a short "Where things stand" (goal, checker, Thor, .MLG, device control, what is next) - "Rules that bite": device safety, Series-III framing, constants not to "fix", the store, tests and fixtures - where protocol knowledge lives, the changelog & release convention (verbatim), where code goes (ADR 0003), an updated layout, the API The rest -- the status log, the waveform codec, the protocol gotchas, field locations, write / monitor / erase / monitor-log / call-home sections, capture tables, the superseded tier model and the old layout -- moved verbatim to docs/working_notes.md. A script checked every non-blank line of the old file: each is in one of the two files except four, changed on purpose (the intro, and the changelog example's "~2 h" backfill, now ~8 h as v0.34.0 and v0.35.0 measured). The last full copy is `git show v0.36.0:CLAUDE.md`. Code comments that cite "CLAUDE.md" for a protocol fact now mean docs/working_notes.md, as both files say. Suite: 1,806 passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
This commit is contained in:
1 parent
0d9eb518d2
commit
4c934a2665
2 files changed
+2749
-2424