disinto/lib
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-session.sh fix: bug: gardener hangs forever when Claude finishes without writing phase file (#261) (#263) 2026-03-19 13:47:10 +01:00
ci-debug.sh refactor: make all scripts multi-project via env vars 2026-03-14 13:49:09 +01:00
ci-helpers.sh fix: address review feedback on escalation triage (#185) 2026-03-19 09:03:03 +00:00
env.sh fix: codeberg_api_all does not accept a custom token parameter (#198) 2026-03-19 01:25:44 +00:00
load-project.sh feat: per-project Matrix room — load MATRIX_ROOM_ID from project TOML 2026-03-17 08:56:00 +00:00
matrix_listener.service refactor: rebrand dark-factory → disinto (Closes #15) 2026-03-15 17:57:12 +01:00
matrix_listener.sh fix: feat: action-agent — tmux + Claude + formula for operational tasks (#139) 2026-03-19 07:25:25 +00:00
parse-deps.sh refactor: rewrite parse-deps.py as pure bash, remove only Python from repo 2026-03-16 21:22:53 +01:00