docs: fix stale line counts, version, endpoint name, and architecture narrative (#872)#886
Draft
vivekchand wants to merge 1 commit intomainfrom
Draft
docs: fix stale line counts, version, endpoint name, and architecture narrative (#872)#886vivekchand wants to merge 1 commit intomainfrom
vivekchand wants to merge 1 commit intomainfrom
Conversation
… narrative (#872) CLAUDE.md: update five line-count figures (dashboard.py 25400→15013, sessions.py 1190→1556, brain.py 800→1027, sync.py 3000→3876, config.py 58→79); rename /api/brain endpoint to /api/brain-history + /api/brain-stream; bump __version__ reference 0.12.99→0.12.162. ARCHITECTURE.md: rewrite stale "Single-File Architecture" section to describe the per-feature Blueprint layout; fix history.py snapshot cadence claim (5 minutes → 60 seconds). CONTRIBUTING.md: update "Make Changes & Test" step, project-structure tree (add routes/ and clawmetry/ dirs), "What to Avoid" bullet, and the Philosophy paragraph — all four still referenced the old monolithic single-file model that was replaced by routes/ modules. Closes #872 Co-Authored-By: ClawMetry Autofix Bot <bot-autofix@clawmetry.dev>
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
Fixes all items flagged in the weekly docs-drift sweep (#872). All three doc files still described the old single-file monolith; this PR brings them in sync with the current per-feature Blueprint layout and actual file sizes.
Changes
CLAUDE.mddashboard.py25,400→15,013;routes/sessions.py1,190→1,556;routes/brain.py800→1,027;clawmetry/sync.py3,000→3,876;clawmetry/config.py58→79/api/brainendpoint entry with the two actual routes:/api/brain-history+/api/brain-stream__version__reference from0.12.99→0.12.162ARCHITECTURE.mdroutes/was introduced)history.pysnapshot cadence: "5 minutes" → "60 seconds" (matchesPOLL_INTERVAL = 60in the code)CONTRIBUTING.mdroutes/<feature>.pyalongsidedashboard.pyroutes/andclawmetry/directoriesTest plan
make lint— no Python files changed, syntax check passes unchangedwc -loutput on the actual filesroutes/brain.pyhas no/api/brainroute (only/api/brain-historyand/api/brain-stream)dashboard.py__version__is0.12.162Bot meta
Draft PR opened autonomously based on the plan in #872. Marked draft for human review — mark Ready for Review once happy.
Closes #872
Generated by Claude Code