Guide

Holding agent merges for owner decisions

For one owner directing coding agents: at the end the agents merge on their own, and only the work that needs your choice waits for you.

Updated
·

Before you start

  • A task tracker in which one task can block another.

  • A list of actions only a person may take, such as a production release or a change to production data.

Steps

  1. Name the task in every pull request

    The merge helper reads the task id from the pull request title. No task, or a task it cannot read, means no merge.

    Check: A pull request without a task id is refused.

  2. Merge only work that is still open

    Refuse the merge when the task is closed or missing. Work that comes back is a new task.

    Check: Nothing merges under a closed task.

  3. File a decision as its own task

    When an agent meets a choice that belongs to the owner, it files a decision task for the owner with the question and the options, and marks it as blocking the work.

    Check: The owner’s queue holds questions, not pull requests.

  4. Hold the merge while the decision is open

    The merge helper refuses while a blocking decision is open, and lets the change through once the owner closes it. Nobody approves the pull request itself.

    Check: Closing the decision is the only thing the owner does for the merge.

  5. Gate the risky actions where they run

    Production release, clearing a release halt, production data and infrastructure, secrets and paid accounts are checked by the script that performs them, not at merge. A merge never authorises a release.

    Check: A merged change cannot reach production past the release script’s own check.

When not to use this

  • A codebase where every merge goes straight to production: until merge and release are separate, the merge itself is the risky action.

  • A team that wants a person to read every diff: use code review instead.

Where it comes from

Hintapiste.fi used to keep a list of founder-owned paths, and a change touching one needed a recorded approval before merge. On 2026-10-27 that was replaced with this: the founder answers decision tasks, and the scripts that touch production carry the checks.