Equipo merges a task once it has earned Ready to merge
Paul, 2026-11-07, overruling "Equipo never merges". A task whose checks passed and whose review approved, both on the branch's head, is merged by the person's runner through forge and the hub's merge API (a merge commit, branch deleted): stage merging, then done with the commit. The merge is record-then-reconcile: the remote is read first (a judged SHA already on the default branch is done; a moved branch is never merged), the lease is confirmed right before the request, and a lost answer or a crash is settled from the default branch. A conflict sends Engineering one rebase round (the change merged onto the new tip, conflicts marked), judged afresh. Checks that could not run get one merge card for the creator (Merge, Wait for checks). record_task returns similar open tasks instead of a duplicate, and add_report attaches the new report. The coordinator says "Merged [title](link) into <project>." "Open on Amadan to merge" is gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
.rastrillo/budgets.txt+2 −2docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md+22 −1docs/superpowers/plans/SLICE4C-PROGRESS.md+43 −0internal/equipo/chat/merge.go+390 −0internal/equipo/chat/projects.go+6 −1internal/equipo/chat/review.go+29 −8internal/equipo/chat/store.go+4 −0internal/equipo/chat/tasks.go+110 −20internal/equipo/chat/tools.go+1 −1internal/equipo/chat_page.go+26 −5internal/equipo/chat_wiring.go+1 −0internal/equipo/copy.go+21 −1internal/equipo/migrations/0046_thin_merge.sql+13 −0internal/equipo/migrations/schema.sql+2 −2internal/equipo/templates/chat.html+4 −2internal/equipo/templates/task_card.html+1 −1internal/equipo/templates/work_task.html+2 −2internal/equipo/work_pages.go+29 −8internal/fakeclaude/fake.go+46 −6internal/headless/merge_test.go+297 −0internal/headless/projects_test.go+11 −0internal/headless/review_test.go+23 −48internal/headless/scenarios_test.go+4 −0internal/runner/forge/forgetest/merge.go+75 −0internal/runner/forge/merge.go+379 −0internal/runner/forge/merge_test.go+254 −0internal/runner/provider/actions.go+1 −1internal/runner/provider/claude/converse_policy_test.go+27 −0internal/runner/provider/claude/launcher.go+1 −1internal/runner/thin/claude.go+3 −2internal/runner/thin/create_test.go+4 −0internal/runner/thin/engineer.go+38 −1internal/runner/thin/forge.go+16 −0internal/runner/thin/mcp.go+2 −1internal/runner/thin/merge.go+10 −2internal/runner/thin/mergestep.go+180 −0internal/runner/thin/mergestep_test.go+227 −0internal/runner/thin/run.go+1 −1internal/runner/thin/step.go+6 −1internal/runner/thin/voice_test.go+32 −1internal/runner/workspace/task.go+50 −0internal/runner/workspace/task_test.go+68 −0internal/thintest/merge_contract_test.go+439 −0internal/thintest/pages_test.go+24 −9internal/thintest/questions_contract_test.go+5 −2internal/thintest/review_contract_test.go+38 −14internal/wire/frames.go+1 −1internal/wire/tasks.go+92 −3internal/wire/wiretest/fixtures.go+2 −2internal/wire/wiretest/testdata/api/card-merge.json+1 −0internal/wire/wiretest/testdata/api/needs-you.json+1 −1internal/wire/wiretest/testdata/api/task-merged.json+1 −0internal/wire/wiretest/testdata/api/task-ready.json+1 −1internal/wire/wiretest/testdata/api/task.json+1 −1internal/wire/wiretest/testdata/api/tasks.json+1 −1internal/wire/wiretest/testdata/frames/dispatch.json+1 −1internal/wire/wiretest/testdata/frames/step.json+1 −1scripts/staging-thin.py+3 −0
Intent
.rastrillo/budgets.txtLoading diff…
docs/superpowers/plans/CONTROLLER-REPORT-plan-3.mdLoading diff…
docs/superpowers/plans/SLICE4C-PROGRESS.mdLoading diff…
internal/equipo/chat/merge.goLoading diff…
internal/equipo/chat/projects.goLoading diff…
internal/equipo/chat/review.goLoading diff…
internal/equipo/chat/store.goLoading diff…
internal/equipo/chat/tasks.goLoading diff…
internal/equipo/chat/tools.goLoading diff…
internal/equipo/chat_page.goLoading diff…
internal/equipo/chat_wiring.goLoading diff…
internal/equipo/copy.goLoading diff…
internal/equipo/migrations/0046_thin_merge.sqlLoading diff…
internal/equipo/migrations/schema.sqlLoading diff…
internal/equipo/templates/chat.htmlLoading diff…
internal/equipo/templates/task_card.htmlLoading diff…
internal/equipo/templates/work_task.htmlLoading diff…
internal/equipo/work_pages.goLoading diff…
internal/fakeclaude/fake.goLoading diff…
internal/headless/merge_test.goLoading diff…
internal/headless/projects_test.goLoading diff…
internal/headless/review_test.goLoading diff…
internal/headless/scenarios_test.goLoading diff…
internal/runner/forge/forgetest/merge.goLoading diff…
internal/runner/forge/merge.goLoading diff…
internal/runner/forge/merge_test.goLoading diff…
internal/runner/provider/actions.goLoading diff…
internal/runner/provider/claude/converse_policy_test.goLoading diff…
internal/runner/provider/claude/launcher.goLoading diff…
internal/runner/thin/claude.goLoading diff…
internal/runner/thin/create_test.goLoading diff…
internal/runner/thin/engineer.goLoading diff…
internal/runner/thin/forge.goLoading diff…
internal/runner/thin/mcp.goLoading diff…
internal/runner/thin/merge.goLoading diff…
internal/runner/thin/mergestep.goLoading diff…
internal/runner/thin/mergestep_test.goLoading diff…
internal/runner/thin/run.goLoading diff…
internal/runner/thin/step.goLoading diff…
internal/runner/thin/voice_test.goLoading diff…
internal/runner/workspace/task.goLoading diff…
internal/runner/workspace/task_test.goLoading diff…
internal/thintest/merge_contract_test.goLoading diff…
internal/thintest/pages_test.goLoading diff…
internal/thintest/questions_contract_test.goLoading diff…
internal/thintest/review_contract_test.goLoading diff…
internal/wire/frames.goLoading diff…
internal/wire/tasks.goLoading diff…
internal/wire/wiretest/fixtures.goLoading diff…
internal/wire/wiretest/testdata/api/card-merge.jsonLoading diff…
internal/wire/wiretest/testdata/api/needs-you.jsonLoading diff…
internal/wire/wiretest/testdata/api/task-merged.jsonLoading diff…
internal/wire/wiretest/testdata/api/task-ready.jsonLoading diff…
internal/wire/wiretest/testdata/api/task.jsonLoading diff…
internal/wire/wiretest/testdata/api/tasks.jsonLoading diff…
internal/wire/wiretest/testdata/frames/dispatch.jsonLoading diff…
internal/wire/wiretest/testdata/frames/step.jsonLoading diff…
scripts/staging-thin.pyLoading diff…