disinto/dev
openhands 8f93ea3af1 fix: Restore dev-poll.sh scheduler on SDK (#799)
Rewrite dev-poll.sh to remove all tmux session management and use
SDK shared libraries instead:

- Remove _inject_into_session(), handle_active_session() — no tmux
- Replace try_direct_merge() raw curl with pr_merge() from lib/pr-lifecycle.sh
- Replace _post_ci_blocked_comment() with issue_block() from lib/issue-lifecycle.sh
- Check PID lockfile instead of tmux sessions for active agent detection
- Clean up .sid files instead of .phase files
- Remove preflight wait loop (dev-agent.sh handles its own labels)
- Extract extract_issue_from_pr() helper to DRY up issue number extraction

Preserved from main:
- Ready-issue scanning (backlog label + deps met)
- Priority tier system (orphaned > priority+backlog > backlog)
- Orphaned issue detection (in-progress label but no active agent)
- Direct merge shortcut (approved + CI green -> merge without spawning agent)
- CI fix exhaustion tracking (per-PR counter, max 3 attempts -> blocked label)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 06:12:40 +00:00
..
AGENTS.md chore: gardener housekeeping 2026-03-26 2026-03-26 18:14:35 +00:00
dev-agent.sh fix: Deduplicate issue-fetch error guard (#798) 2026-03-27 21:23:48 +00:00
dev-poll.sh fix: Restore dev-poll.sh scheduler on SDK (#799) 2026-03-28 06:12:40 +00:00
phase-handler.sh dev: rebase on target branch before every push (#770) (#775) 2026-03-26 21:46:21 +01:00
phase-test.sh fix: Duplicate read_phase definition in phase-test.sh (#179) 2026-03-23 08:30:13 +00:00