Repository navigation
Open
Labels
Description
This was generated by AI during the #698 grilling.
The User config has one Self-merge setting, merge.always, for every Run on the machine. This asks for one setting per kind of command, so that, for example, Architect plans Self-merge while Security fixes and Spec PRs wait for review.
What happens now
merge.alwaysmakes every Run a Merge run, unless its command saysmergeorno-merge(Asks::of_runinsrc/asks.rs).- A Pass's words go to the Spec run or Run it dispatches, Security fixes included (
Asks::of_ready_issue, called fromsrc/pass.rs). So each crontab line can already choose, but only line by line. - A Ticket's Run is always a Merge run into its Spec branch (
Asks::of_child_run), so for a Spec run the setting decides its Spec PR. - A Pickup run takes Specs and single issues alike, so no word on its crontab line can hold Spec PRs for review while single-issue Runs Self-merge.
What to change
Add a key under [merge] for each kind, each defaulting to merge.always:
architect: the Spec run or Run an Architect run starts on its plan;pickup: the Spec run or Run a Pickup run starts;security: the fixes a Security run starts;spec: every Spec PR, whichever command started its Spec run.
A Run or Spec PR Self-merges only when every key that applies to it allows it, so spec = false holds a Spec PR whichever Pass started it. A command's own merge or no-merge still wins over all of them. A Run started directly on an Issue URL keeps using merge.always.
Why
- One place for each machine's merge policy, in the User config, rather than in the words of each crontab line.
- A choice crontab words can't make: Spec PRs held for review while single issues Self-merge.
To decide
- Whether Setup asks about each key, or only about
merge.always. - Whether
specalso covers a Spec run started directly on an Issue URL, or only Spec runs a Pass starts.
Related: #698, whose grilling settled this as Q6.2 and keeps it outside #698's Specs, since it needs nothing from evals.
Activity
JacobStephens2 commentedon Oct 21, 2026
Related: #950 asks for Self-merge by the PR's Door: two-way PRs Self-merge, one-way PRs wait for review. This issue splits Self-merge by kind of command instead. Both change the same rule,
merge.always, so they are best decided together. That could mean one setting keyed by both, or one issue folding into the other.Move the #698 eval grilling into done, with its Specs listed