disinto/gardener
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
..
recipes fix: address review feedback — recipe engine robustness and correctness 2026-03-18 03:05:09 +00:00
best-practices.md fix: replace PRODUCT-TRUTH.md/ARCHITECTURE.md refs with AGENTS.md 2026-03-15 17:41:10 +01:00
gardener-agent.sh fix: bug: gardener hangs forever when Claude finishes without writing phase file (#261) (#263) 2026-03-19 13:47:10 +01:00
gardener-poll.sh fix: labels:["backlog"] passes string name to Codeberg API that expects integer IDs (#164) 2026-03-18 20:36:39 +00:00
PROMPT.md fix: address review findings from issue #74 2026-03-18 01:41:14 +00:00