Agent batch-flow: lokaal committen, push + PR aan het eind (#66)
* docs(ST-1115): agent-batch flow — branch-only-at-start, commit lokaal per taak - CLAUDE.md Track A: voeg stap 1 (branch aanmaken) toe, splits stap 6 (commit, geen push) af, voeg stap 7-8 (herhaal / push+PR bij lege queue) - Hardstop Push-regel: verduidelijkt dat commits lokaal accumuleren per taak; push pas bij lege queue of expliciete gebruikersbevestiging - docs/runbooks/branch-and-commit.md: nieuwe subsectie "Agent-batch flow" met tabel (run-start / na taak / queue leeg) en single-task edge case * docs(ST-1115): AGENTS.md branch-and-PR quick-reference tabel * docs(ST-1115): end-to-end verificatie checklist 1 batch = 1 Vercel-deploy Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0ce6076a5c
commit
c357c662e7
4 changed files with 62 additions and 7 deletions
15
CLAUDE.md
15
CLAUDE.md
|
|
@ -29,11 +29,14 @@ Desktop-first Scrum-app voor solo developers en kleine teams. Hiërarchie: produ
|
|||
## Hoe werk vinden
|
||||
|
||||
**Track A — MCP (aanbevolen):**
|
||||
1. `mcp__scrum4me__get_claude_context` → pak de next story
|
||||
2. Voer taken uit in `sort_order`; update status per taak
|
||||
3. Lees het relevante patroon en styling vóór je begint
|
||||
4. Verifieer: `npm run lint && npm test && npm run build`
|
||||
5. Commit per laag — zie [docs/runbooks/branch-and-commit.md](./docs/runbooks/branch-and-commit.md)
|
||||
1. Branch aanmaken: `git checkout -b feat/<batch-slug>` — nog **geen** `gh pr create`
|
||||
2. `mcp__scrum4me__get_claude_context` → pak de next story
|
||||
3. Voer taken uit in `sort_order`; update status per taak
|
||||
4. Lees het relevante patroon en styling vóór je begint
|
||||
5. Verifieer: `npm run lint && npm test && npm run build`
|
||||
6. Commit per laag: `git add -A && git commit` — **geen** `git push` — zie [docs/runbooks/branch-and-commit.md](./docs/runbooks/branch-and-commit.md)
|
||||
7. Herhaal stap 2–6 per story; branch blijft dezelfde
|
||||
8. Queue leeg → `git push -u origin <branch>` + `gh pr create`
|
||||
|
||||
**Track B — manueel:**
|
||||
1. Lees taak in `docs/backlog/index.md`
|
||||
|
|
@ -48,7 +51,7 @@ Volledige MCP-tool documentatie: [docs/runbooks/mcp-integration.md](./docs/runbo
|
|||
|
||||
- **Styling:** nooit `bg-blue-500`; altijd MD3-tokens (`bg-primary`, `bg-status-done`, …)
|
||||
- **UI:** gebruik `@base-ui/react` met `render`-prop, niet Radix `asChild`
|
||||
- **Push:** nooit pushen zonder expliciete gebruikersbevestiging — zie [branch-and-commit.md](./docs/runbooks/branch-and-commit.md)
|
||||
- **Push:** commits accumuleren lokaal per taak (`git add -A && git commit`); push + PR pas bij lege queue of na expliciete gebruikersbevestiging — zie [branch-and-commit.md](./docs/runbooks/branch-and-commit.md)
|
||||
- **Demo:** drie lagen — proxy.ts + server action + UI disabled knop
|
||||
- **Enum:** DB UPPER_SNAKE ↔ API lowercase — uitsluitend via `lib/task-status.ts`
|
||||
- **Foutcodes:** 400 = parse-fout, 422 = Zod-validatie, 403 = demo-token
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue