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.
- Topics
- Skill areas
- Based on
- 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
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.
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.
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.
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.
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.
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.