agent-team: autonomous tasks park at the review→build handoff (tick-resume skips plain pending-next-node threads) #67
Labels
No labels
app
bug
ci
compliance
content
dependencies
docs
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
infra
invalid
javascript
needs-triage
python
question
tests
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: adam/orchestrator#67
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A task that clears the whole pipeline autonomously (no clarifier question, plan auto-approved through the review loop) parks at the review→build handoff and never enters the build node. It shows on the dashboard as
phase=build/status=activeindefinitely.Repro (live, 2026-06-24)
Submitted a menial docs task via
run-team.py start --transport slack(threadcd7f1215…). It ran fully autonomously:intake → clarify (no question) → plan → review ↺ plan → review ↺ plan → review → [stuck]State afterwards:
/api/tasktimeline's last row isreviewwithexited_at: null— there is nobuildtransition row.cost_by_stage: {},$0build spend — the build node never executed.ghpoll.Root cause (suspected)
On plan-approval the review path sets
current_phase = BUILD,status = ACTIVEand routes towardBUILD_NODE(P3 env is configured:_p3_env_is_configured() == True). But the always-on coordinator's tick-resume only re-drives threads that have an answeredpending_questionsrow or a CI-wait interrupt — not a thread that is simply suspended with its next node (build_node) queued and no interrupt. So an all-autonomous task (one that never opened a human gate) has nothing to re-drive it into the builder.A task that did hit a clarifier/plan gate gets resumed when the answer lands, which is why this only bites the fully-autonomous path.
Impact
Autonomous tasks silently stall at "build/active" instead of producing a draft PR (or parking with a clear reason). Masquerades as in-progress build work.
Suggested fix direction
Have the coordinator tick also enumerate + resume threads that are suspended mid-graph with a pending next node and no interrupt (durably re-derivable from the checkpointer, same as the CI-wait enumeration), so the build node actually fires after an autonomous approval.
Found during the dashboard-redesign e2e test (PR #64). See
project_r720_agent_teammemory.agent-team subsystem was decommissioned 2026-06-26 and this repo is being archived — closing as not planned.