docs(claude): commit to main, no branch per change
The assistant's default is to cut a branch whenever it is asked to commit on a default branch. That default is for shared repos; this one is solo and its history is a single line, so a branch per change is a merge to clean up after and nothing gained. CLAUDE.md overrides the default, so it says so here. Restates the self-contained-commit rule alongside it, since that is the part worth keeping. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
f2c8dc38cd
commit
c2740760bd
@@ -318,6 +318,9 @@ to an open page). Four things hold it up:
|
||||
|
||||
## Conventions
|
||||
|
||||
- **Commit straight to `main`.** This is a solo repo and its history is a single line; do not open a
|
||||
branch for a change unless asked for one. Committing still waits to be asked, and each commit is
|
||||
self-contained — one coherent change, typechecking and passing tests on its own.
|
||||
- **Zod schemas are the single source of truth for types.** Derive with `z.infer<>`; never
|
||||
hand-write an interface that duplicates a schema.
|
||||
- Every adapter ships a fixture in `fixtures/<game>/` and a test asserting parsed output. This is
|
||||
|
||||
Reference in New Issue
Block a user