fix: idle timeout does not escalate — session dies silently (#123)

1. Timeout handler (dev-agent.sh): write escalation to project-suffixed
   file, restore backlog label, clean up phase file on idle timeout.
2. Fix escalation file naming: escalations.jsonl → escalations-${PROJECT_NAME}.jsonl
   everywhere in dev-agent.sh so gardener actually picks them up.
3. Gardener (gardener-poll.sh): handle idle_timeout reason before CI-specific
   recipe logic — create investigation sub-issue instead of silently returning.
4. Update .gitignore to match new escalations-*.jsonl pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-18 07:02:33 +00:00
parent 0aec024f78
commit 88f2268bc6
3 changed files with 55 additions and 5 deletions

2
.gitignore vendored
View file

@ -11,7 +11,7 @@ RESOURCES.md
state.json
*.lock
*.pid
escalations.jsonl
escalations*.jsonl
metrics/supervisor-metrics.jsonl
# OS