This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator/agent-team/agent_team
Adam Moussa d12880ed09 fix(agent-team): accurate Slack status for build/verify states (no false 'plan could not be auto-approved')
The resume-followup notifier mislabeled build/verify-stage tasks. Two cases,
both surfaced live while smoke-testing the #60 builder fix:

1. AWAITING CI (in-progress): the VERIFY node suspends via interrupt() for the
   async CI-wait. Its interrupt payload is not question-shaped, so
   pending_question() returns None and the notifier treated the still-suspended
   task as a settled PARK -> posted '⚠️ PARKED ... the plan could not be
   auto-approved ... re-assign' for a task that had actually approved the plan,
   built a diff, and dispatched it to CI. Now detect the suspend (graph
   interrupted + dispatched run_id + a built diff) and post an honest
   'diff built and dispatched to CI (run X); awaiting verification' notice.

2. SETTLED build/verify PARK: phase inference keyed off review_verdicts and
   reported 'review' for a task that reached verify; the copy hardcoded 'the
   plan could not be auto-approved'. Now a built diff (candidate_diff/diff_hash)
   makes the inferred phase 'verify' and the copy reflect a verification/CI-gate
   failure, surfacing the CI conclusion via _summarize_build_blocker.

Plan/review escalation parks (no candidate_diff) are unchanged.

- coordinator.py: _post_resume_followups awaiting-CI branch + build-aware phase
  inference + build-aware PARKED copy; add _summarize_build_blocker.
- tests: built-park reports verify + CI conclusion (not auto-approve copy);
  awaiting-CI suspend reports in-progress, not parked.
2026-06-24 14:36:00 -04:00
..
db fix(agent-team): init_db drives migrate() so the version stamp actually advances 2026-06-24 12:18:22 -04:00
nodes fix(agent-team): builder uses agentic invoker config (read-only tools + turn headroom) 2026-06-24 13:13:28 -04:00
transport fix(agent-team): centralize safe decision mapping + remove free-text abandon hair-trigger 2026-06-24 11:48:04 -04:00
__init__.py Plane 2 foundation: interfaces, SQLite schemas, state-store, billing seam 2026-06-17 15:16:12 -04:00
api.py fix(ws1): harden HTTP API + declare fastapi/uvicorn deps 2026-06-23 12:27:23 -04:00
billing.py Plane 2 foundation: interfaces, SQLite schemas, state-store, billing seam 2026-06-17 15:16:12 -04:00
ci_fetcher.py fix(agent-team): remediate C1 security-review BLOCK (2 HIGH + MED/LOW) 2026-06-23 19:52:04 -04:00
ci_gate.py feat(agent-team): P3 Phase-0 box-side build->dispatch->verify (WIP) 2026-06-23 19:52:04 -04:00
ci_watcher.py fix(agent-team): close P3 async-resume BLOCKs (durable CI-watcher wiring) 2026-06-23 19:52:04 -04:00
coordinator.py fix(agent-team): accurate Slack status for build/verify states (no false 'plan could not be auto-approved') 2026-06-24 14:36:00 -04:00
dashboard.py fix(agent-team): scrub exception text from /api/state + /api/topology errors 2026-06-23 17:28:22 -04:00
deadline_timer.py Add Plane-2 leaf scaffold (pipeline graph, nodes, HITL, transports, CI) 2026-06-17 15:16:12 -04:00
decisions.py fix(agent-team): centralize safe decision mapping + remove free-text abandon hair-trigger 2026-06-24 11:48:04 -04:00
dispatcher.py fix(agent-team): close P3 async-resume BLOCKs (durable CI-watcher wiring) 2026-06-23 19:52:04 -04:00
draft_pr_monitor.py feat(agent-team): P3 Phases A/B/E — safety tooling, wiring, docs 2026-06-23 19:52:04 -04:00
graph.py fix(agent-team): plan-gate approve routes into the build subgraph (not END) 2026-06-24 14:13:11 -04:00
invoker.py fix(agent-team): builder uses agentic invoker config (read-only tools + turn headroom) 2026-06-24 13:13:28 -04:00
invoker_multi.py fix(ws1): skip fastapi TestClient tests when fastapi absent + ruff format 2026-06-23 11:40:46 -04:00
ledger.py feat(agent-team): add pending_questions.kind discriminator + migration (Phase B1) 2026-06-23 21:03:53 -04:00
operator_cli.py Add Plane-2 leaf scaffold (pipeline graph, nodes, HITL, transports, CI) 2026-06-17 15:16:12 -04:00
recovery.py Add Plane-2 leaf scaffold (pipeline graph, nodes, HITL, transports, CI) 2026-06-17 15:16:12 -04:00
responder.py feat(agent-team): one Slack thread per task — root "Task received" message + threaded questions/milestones 2026-06-23 15:49:40 -04:00
resume_worker.py fix(agent-team): close P3 async-resume BLOCKs (durable CI-watcher wiring) 2026-06-23 19:52:04 -04:00
state_store.py Plane 2 foundation: interfaces, SQLite schemas, state-store, billing seam 2026-06-17 15:16:12 -04:00
status_page.py fix(agent-team): scrub exception text from /api/state + /api/topology errors 2026-06-23 17:28:22 -04:00
task_model.py feat(agent-team): resumable plan-review gate in the graph (Phase B2a) 2026-06-23 21:03:53 -04:00
topology.py feat(agent-team): LangGraph-introspected topology + read-only dashboard API 2026-06-23 17:15:16 -04:00