Skip to content

Self-merge settings for each kind of command in the User config #966

Open

Description

@JacobStephens2

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.always makes every Run a Merge run, unless its command says merge or no-merge (Asks::of_run in src/asks.rs).
  • A Pass's words go to the Spec run or Run it dispatches, Security fixes included (Asks::of_ready_issue, called from src/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 spec also 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

  1. added
    enhancement
    needs-triage
    on Oct 21, 2026
  2. JacobStephens2 commented on Oct 21, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    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.

  3. added a commit that references this issue on Oct 21, 2026
  4. added
    ready-for-human
    and removed
    needs-triage
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions