AGENTS.md does not document the next-branch workflow, so every agent defaults to branching off main #94
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
AGENTS.mdis the file every agent reads before touching this repo, and it says nothing about the branching model. It documents onlymake fmt/make test/make lint, commit, and push.The actual model, per owner ruling (sneak, 2026-08-10, recorded on #91):
Because that is written down only in a closed issue's comment thread, tooling and agents fall back to the default assumption: branch off
main, PR intomain.mainis a protected branch, so a PR opened that way is wrong-based and has to be caught and redone.This is not hypothetical — it is currently corrected by hand on every single dispatch. Three workers were dispatched on 2026-09-03 and all three needed an explicit override telling them to branch off
nextand targetnext. The one time that override is forgotten, the PR silently targets a protected branch.Definition of done
AGENTS.mdhas a Branching section stating plainly:next, never offmain.next. One branch and one PR per issue.mainis protected and is only ever updated by the milestone PR fromnext, which sneak merges.nextmust stay green and mergeable tomainwithout notice; feature branches may be red.nextimmediately before pushing, resolving conflicts yourself.TODO.mdis a known conflict hotspot when units land concurrently.(closes #N).FORMAT.mdpath reference in the Repository-Specific Notes is left alone here — #74 owns that move and will update it. Do not race it.Notes
Keep this short and imperative.
AGENTS.mdis read by every agent on every task; it is not the place for rationale. The rationale lives in #91.Commit title must end with
(closes #94)— confirm the number this issue actually receives before committing.clawbot referenced this issue2026-09-03 15:14:27 +02:00
Closed at sneak's instruction, 2026-09-05: this was opened by an agent running on another machine outside the managed fleet, under superseded rules. Reopen if the content is wanted.
Model: fable-5-1