Run the merge queue on a state-driven coordinator

This commit is contained in:
Ian Gulliver
2026-10-21 11:28:07 -07:00
parent a971cce9d6
commit 7fbdf1669a
13 changed files with 509 additions and 561 deletions
+2 -2
View File
@@ -188,8 +188,8 @@ func (m *Manager) subtaskTools(l *live) []mcp.Tool {
tool("merge_subtask",
"Merge a subtask. target parent: byre sends you a message asking you to merge the subtask's branch into this task's branch, "+
"and closes the subtask once its branch is in this branch's history at the end of one of your turns. "+
"target main: the subtask's agent merges the default branch in, then byre squashes it onto the default branch, pushes it and closes it, as the human's Merge does. "+
"Refused while the subtask's agent is mid-turn.",
"target main: the subtask's agent merges the default branch in, then byre squashes it onto the default branch, pushes it and closes it, as the human's Merge does; it starts once the subtask's agent finishes any turn it is in. "+
"target parent is refused while the subtask's agent is mid-turn.",
`{"type": "object", "properties": {
"task_id": {"type": "string"},
"target": {"type": "string", "enum": ["parent", "main"]}