disinto/.woodpecker
johba d5c2c213a3 fix: bug: gardener hangs forever when Claude finishes without writing phase file (#261) (#263)
Fixes #261

## Changes
Fixed gardener hanging forever when Claude skips phase protocol. Three changes: (1) gardener-agent.sh: replaced 999999s timeout with 7200s (2h, matching dev-agent); (2) lib/agent-session.sh: added idle-prompt detection to monitor_phase_loop — if Claude returns to the ❯ prompt for 3 consecutive polls with no phase file written, exits immediately with _MONITOR_LOOP_EXIT=idle_prompt (only fires when phase file is empty, so awaiting_ci/review waits are unaffected); (3) gardener prompt: removed 'no time limit' wording, replaced with explicit phase-write requirement.

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/disinto/pulls/263
Reviewed-by: Disinto_bot <disinto_bot@noreply.codeberg.org>
2026-03-19 13:47:10 +01:00
..
agent-smoke.sh fix: bug: gardener hangs forever when Claude finishes without writing phase file (#261) (#263) 2026-03-19 13:47:10 +01:00
ci.yml feat: CI smoke test — syntax check + function resolution for all agent scripts (#177) 2026-03-18 17:11:02 +00:00
detect-duplicates.py fix: address AI review findings for CI pipeline and duplicate detection 2026-03-17 10:18:39 +00:00