docs(claude): mandate branch+PR workflow, ban direct push to main #84

Merged
lekss361 merged 3 commits from docs/pr-workflow into main 2026-05-11 21:16:07 +00:00

3 commits

Author SHA1 Message Date
lekss361
0867553a8f fix(claude): Code-reviewer diagram had stale 'push origin HEAD:main' — replace with branch+PR flow 2026-05-12 00:09:58 +03:00
lekss361
24feed33c0 docs(claude): sync TL;DR + Don't-do-these with new PR workflow
Address auto-review feedback:
- TL;DR rule 5 → branch+PR mandate (was: "user commits themselves")
- TL;DR rule 6 → no --no-verify/--force/--amend (split from rule 5)
- Don't-do-these → drop conflicting "no auto-commit" line, add
  "no direct push to main" + "no merge without approval"
- Critical workflow rules: add explicit rule 2 — worker-agents don't
  commit themselves; main session commits on feature branch
- Restore "Squash on merge" wording in PR section (was dropped)
- Auto-mode section: clarify that main session does commits on feature
  branch (worker-agents leave changes staged)
2026-05-12 00:03:10 +03:00
lekss361
bc32822cc1 docs(claude): mandate branch+PR workflow, ban direct push to main 2026-05-11 23:51:36 +03:00