docs(claude): slim CLAUDE.md to orientation+behavior; move niche sections to docs/#709
Merged
Conversation
…ions to docs/ Cuts the per-session/per-heartbeat instruction tax (CLAUDE.md is loaded into every Claude Code session and every Paperclip agent heartbeat). 779 -> 155 lines / 40KB -> 11KB by moving reference-heavy sections into docs/ and pointing to them, deleting auto-generated noise, and fixing a stale linter note. ## Changes - Move to docs/development/: web-ui-verification.md (Playwright sweep), macos-tray.md (tray build + ui-test), server-edition-multiuser-auth.md (Spec 024) - Compact CLI/endpoint/health/sensitive-data sections to summaries + doc links - Delete auto-generated 'Active Technologies' (~45 lines) + 'Recent Changes' - Fix linter guidance: CI uses golangci-lint v2 (.github/.golangci.yml), stricter than the local v1.x scripts/run-linter.sh - Patch .specify/scripts/bash/update-agent-context.sh so 'Active Technologies' no longer regrows on every speckit run (clears new_tech_entries) - Preserve all behavioral directives (autonomy, TDD, stop conditions) verbatim
Deploying mcpproxy-docs with
|
| Latest commit: |
2b13e22
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4ead8735.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://docs-lean-claude-md.mcpproxy-docs.pages.dev |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 27736063856 --repo smart-mcp-proxy/mcpproxy-go
|
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.
Why
CLAUDE.mdis loaded into every Claude Code session and every Paperclip agent heartbeat. At 779 lines / ~40KB (~11K tokens) it was the single largest fixed item in the per-heartbeat instruction tax, and ~70% of it just duplicateddocs/(nearly every section ended with "See docs/…").What
Slim
CLAUDE.mdto 155 lines / ~11KB (~3K tokens) — a 72% cut — keeping it as orientation + behavior only, with the reference detail pointed todocs/.docs/development/(linked from CLAUDE.md):web-ui-verification.md(Playwright sweep + HTML report),macos-tray.md(tray build +mcpproxy-ui-test),server-edition-multiuser-auth.md(Spec 024 config/endpoints).## Active Technologies(~45 near-identical lines) and## Recent Changesstubs..github/.golangci.yml(stricter than the local v1.xscripts/run-linter.sh)..specify/scripts/bash/update-agent-context.shso## Active Technologiesno longer regrows on everyspeckit.planrun (clearsnew_tech_entries;## Recent Changesalready self-caps at 2).Impact
~8K fewer tokens per session and per Paperclip heartbeat, with zero loss of agent-relevant info — everything removed is either auto-generated noise or a doc one click away.
No code changes; no behavior change for the app.