disinto/dev
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
..
dev-agent.sh fix: bug: gardener hangs forever when Claude finishes without writing phase file (#261) (#263) 2026-03-19 13:47:10 +01:00
dev-poll.sh fix: apply same REQUEST_CHANGES/CI-pending fix to PRIORITY 1 block 2026-03-18 21:03:53 +00:00
phase-handler.sh fix: dev/phase-handler.sh still passes string label name to /labels replace endpoint (#203) 2026-03-18 22:06:05 +00:00
phase-test.sh fix: needs_human notification sent every poll cycle pre-PR (#103) 2026-03-18 07:35:13 +00:00