Skip to content

Add user config which lets a user set whether they want auto merging on at the door level of the PR body review. #950

Open

Description

@JacobStephens2

So this would be for example if the PR's merge danger door level is found to be two-way, maybe the user will want to configure self-merging for third shift on two-way door pull requests but to request human review for one-way door merge danger for example.

Activity

  1. added
    enhancement
    ready-for-agent
    needs-triage
    and removed
    ready-for-agent
    on Oct 21, 2026
  2. JacobStephens2 commented on Oct 21, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Triage Notes

    Moved back from ready-for-agent to needs-triage at the maintainer's direction. As written, a Pickup run would have had to make the decisions below itself, then, with merge.always = true, Self-merge its own change to the Self-merge policy.

    What we've established so far:

    • The Door already exists. The thirdshift-pr Factory skill has the implementing agent write a Merge Danger section in every PR body, with **Door:** <one-way or two-way> and a Blast Radius. thirdshift itself never reads it today.
    • Today the command or the User config's merge.always decides whether a Run is a Merge run, whatever the change is.
    • The request is a User config setting that decides Self-merge by Door. For example: Self-merge two-way-door PRs, and leave one-way-door PRs for review by the Day shift.

    Decisions needed before an Agent Brief:

    1. Whose Door counts. The implementing agent rates its own change. Is that enough to authorize a Self-merge, or must something independent confirm or set the Door, such as the code review, the Spec review or a separate session?
    2. Missing or rewritten Door. What does a missing, unreadable or ambiguous Door line mean? Presumably one-way, so no Self-merge. When is the Door read: at Self-merge time, after any Repair or Spec review has rewritten the body?
    3. What a held one-way-door PR is. Today a Merge run that doesn't merge is a Failed run. Should a Door hold be its own outcome, with the PR left ready for review and the Claim kept? What do the Run notification, the Activity log and the Console's Needs you say about it?
    4. Scope. Standalone Runs only, or also the Spec PR (and whose Door it carries), Base fixes and Security run fixes? A Ticket's Run always merges into its Spec branch.
    5. Config shape and precedence. For example, merge.doors = ["two-way"] beside merge.always. And does the merge word on a command override a hold?
    6. ADR 0004. Self-merge belongs to thirdshift so that it merges only a head whose CI it watched. Gating on the PR's own content is a second rule. Does it need an amendment or a new ADR?
  3. 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