vps-health-api/docs
le king fu 9fd43c0d5a
All checks were successful
CI / verification (pull_request) Successful in 37s
docs: slim CLAUDE.md below 30k characters, move details to docs/ (#67)
CLAUDE.md went from 50 987 to about 16 100 characters, under Claude Code's
40 000-character warning. The detail moves to three docs that are not
imported, so they cost no context at session start:

- docs/endpoints.md: the full contract of every route, merged with the
  README examples (body shapes, JSON samples, curl), plus the write
  mechanics that were in Gotchas (write surfaces, atomic writes,
  whitelist rebuild, body cap).
- docs/mounts.md: the Coolify mounts, the two protection layers, the
  three-view check and the mount modification procedure.
- docs/tests.md: the per-file test detail and the two CI scripts, minus
  the case counters, which npm test reports and which went stale with
  every PR (Max's choice of 2026-10-20).

Text moved by script, word for word. A line-by-line check finds every
removed line in docs/, apart from the counters and one fix: POST /hosts
is the first of three write surfaces, not two.

CLAUDE.md keeps "Routage et auth", Deploy and the config variables as
they were, one line per route, a short mounts table, the three test
guards and every gotcha in a line or two.

README.md drops its stale per-route, config and mounts detail, which
lacked /claude-usage/history and files[], and links to docs/ instead.
REVIEW.md now cites the file that holds each rule. docs/** joins
NEVER_LOW in review-levels.py and the never-low list of REVIEW.md, since
it now carries the route contract.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:30:39 -04:00
..
endpoints.md docs: slim CLAUDE.md below 30k characters, move details to docs/ (#67) 2026-10-20 20:30:39 -04:00
mounts.md docs: slim CLAUDE.md below 30k characters, move details to docs/ (#67) 2026-10-20 20:30:39 -04:00
tests.md docs: slim CLAUDE.md below 30k characters, move details to docs/ (#67) 2026-10-20 20:30:39 -04:00