From c2740760bd012df4125fb93f67e01c0d70c58b67 Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Mon, 17 Aug 2026 22:14:25 +0200 Subject: [PATCH] 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) --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 261f456..dcbefff 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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//` and a test asserting parsed output. This is