cwc-long-running-agents / claude-code-config
CLAUDE.md687 starsChanged 7 months agoApache-2.0View on GitHub
The verify-gate hook will deny writes to test-results.json until you have opened evidence. Do not try to work around it.
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run it against the live app (Playwright screenshot or equivalent)
- Very specific: line 21
After each completed item, update PROGRESS.md: check off what's done, add what you learned, note what's next.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Copyright 2026 Anthropic PBC --><!-- SPDX-License-Identifier: Apache-2.0 -->Long-running conventions for this project
Always start here
Before doing anything else, read PROGRESS.md. It is your handoff note from the previous session. If it doesn't exist yet, create it now with four sections (## Done, ## In progress, ## Next, ## Notes) and leave them empty. Then run git log --oneline -10 to see what was just committed, and run the project's smoke test (or npm run build / npm test) once so you know you're starting from a working tree, not a broken handoff.
One feature at a time
Work on exactly one item from PROGRESS.md per session. Finish it (tests passing, screenshot verified) before starting another. If the user gives you a new task mid-session, add it to PROGRESS.md and finish the current item first.
Proof before passing
A test is only "passing" after you have:
- Run it against the live app (Playwright screenshot or equivalent)
- Opened the resulting screenshot or console log with the Read tool
- Confirmed it shows what it should
The verify-gate hook will deny writes to test-results.json until you have opened evidence. Do not try to work around it.
Keep PROGRESS.md current
After each completed item, update PROGRESS.md: check off what's done, add what you learned, note what's next. Future sessions read this file cold.
Commit often
The Stop hook commits tracked changes at session end, but also git add new files and commit yourself at meaningful checkpoints with descriptive messages.
If you're told to stop
OPERATOR STEERING: messages come from a human via the steer hook. Treat them as higher priority than your current plan.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

