From d63a7402dff32a12b1afa7707eb08876a9ba6c17 Mon Sep 17 00:00:00 2001 From: openhands Date: Sat, 21 Mar 2026 07:20:12 +0000 Subject: [PATCH] fix: dev-poll.sh contains heavy judgment-in-bash not captured in the Current State table (#250) Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/AGENT-DESIGN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/AGENT-DESIGN.md b/docs/AGENT-DESIGN.md index c332ec8..107affa 100644 --- a/docs/AGENT-DESIGN.md +++ b/docs/AGENT-DESIGN.md @@ -108,7 +108,7 @@ When reviewing PRs or designing new agents, ask: | Agent | Lines | Judgment in bash | Target | |-------|-------|------------------|--------| -| dev-agent | 1380 (agent 732 + phase-handler 648) | Heavy — deps, CI retry, review parsing, merge strategy, recovery mode | Thin orchestrator + formula | +| dev-agent | 2246 (agent 791 + phase-handler 786 + dev-poll 669) | Heavy — deps, CI retry, review parsing, merge strategy, recovery mode; dev-poll adds dependency resolution, CI retry tracking, approved-PR merging, orphaned session recovery | Thin orchestrator + formula | | review-agent | 870 | Heavy — diff analysis, review decision, approve/request-changes logic | Needs assessment | | supervisor | 877 | Heavy — multi-project health checks, CI stall detection, container monitoring | Partially justified (monitoring is deterministic, but escalation decisions are judgment) | | gardener | 1242 (agent 471 + poll 771) | Medium — backlog triage, duplicate detection, tech-debt scoring | Poll is heavy orchestration; agent is prompt-driven |