docs(CLAUDE.md): add git workflow section — commit directly to main

No need to create branches in this repository; work straight on main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krzysztof kuhy Rudnicki 2026-06-06 10:38:25 +02:00
parent 2e1e370c0f
commit 10f3a6649b

View File

@ -127,9 +127,14 @@ docs/superpowers/
**Rule**: copy `docs/superpowers/evidence/template.json`, fill it in, and stage it with your code changes
before committing. The `ai-evidence-contract` hook will reject commits without it.
## Git Workflow
Work directly on `main` — no need to create branches for this repository. Commit and push straight to `main`.
## Development Workflow
do NOT run tests unless specifically instructed to do so or before committing
If tests fail on the same issue twice in a row, STOP and ask the user how to proceed instead of continuing to fix and retry.
ALWAYS confirm that the feature you add / bug you fixed behaves as it should by running the program after your changes (not tests!) and inspecting output comparing it with what user wanted, after confirming by yourself ask user if the program behaves as they intended
After running tests fix all coverage gaps and issues, do not ignore unless specifically instructed to do so