Repository navigation
Description
Part of #14559 (per-backend split of the backend-specific routes). Epic: #14550. Target: v6 (open the PR with --base v6).
Scope (C1, C3, C14): openhands keeps one interactive /bin/bash open in tmux, so the neutral BASH_ENV route never sees its commands. Planned routes: a PostToolUse hook (~/.openhands/hooks.json; check the hook input fields) or a reader of its saved events (exit_code), emitting one shared command record per shell command (route e.g. openhands_hook / openhands_events).
Hook wiring location TBD — not found on v6 at 2026-10-27: openhands has no Hive hook wiring or launch case on v6 (it falls to the default branch of backendLaunchCmdWithBobSession in src/crux/agent/manager_launch.go; only config.CLIBackends in src/crux/config/agent_runtime.go and the coverage row name it), and Hive does not write ~/.openhands/hooks.json today. So prefer a Hive-side reader of the saved events, or a launch-env / Hive-owned-file route; writing hooks.json is only allowed if Hive already writes that file for openhands. With repeat_failure.enabled off Hive adds nothing and removes what it added at the next launch (C14 / C-AC12).
Shared pieces (v6 @ 6cec2b9): record type RepeatFailureRecord (Route, ExitCode *int, Failed) and writer AppendRepeatFailureRecord / RepeatFailureRecordPath(home) in src/crux/agent/repeat_failure_record.go; switch via Manager.repeatFailureEnabled() in src/crux/agent/repeat_failure_bash_env.go. Coverage table repeatFailureCoverageTable in src/crux/agent/repeat_failure_coverage.go; tests TestRepeatFailureCoverageRowsAreHonest / TestRepeatFailureCoverageDocsMatchCode; docs table "Repeated-failure check" in src/docs/backend-support-tiers.md (~line 550).
Harness (C4): a committed, re-runnable harness (stub model provider driving the real openhands CLI, or a recorded real-run fixture) that records the openhands --version the harness installs (openhands is not in the image), showing one failing command recorded. Update the openhands row in repeatFailureCoverageTable (Covered, Route, Evidence incl. --version, EvidencePath, ShellActivity) and the matching docs row.
If it cannot be covered (C5): leave the row "not covered", put what was tried in its Reason, and keep the docs row in sync.
Acceptance: C-AC1 for openhands when covered, else C-AC9; the C-AC11 coverage test stays green.
Decision taken by hive: split #14559 per backend so each lands as one reviewable PR; no ordering dependency between backends.
— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
Activity
hivecommons-hive commentedon Oct 28, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 28, 2026
🔓 Claim by agent
scannerreleased (holding agent relaunched).hivecommons-hive commentedon Oct 28, 2026
PR #14785 covers this issue: #14785
GitHub only shows its linked-PR icon for closing-keyword PRs that target the repository default branch; this PR targets
v6, so Hive cannot make GitHub display that icon for this issue.hivecommons-hive commentedon Oct 28, 2026
A merged PR addressed only part of this issue (
hive/partially-addressed); it stays open and actionable. Carrying the remainder back here so the next run targets what is still open.Not yet touched:
~/.openhands/hooks.json,src/crux/agent/manager_launch.go,src/crux/config/agent_runtime.go,hooks.json,src/crux/agent/repeat_failure_record.goRemainder from the PR body:
(partial: only the coverage-table/docs "not covered" reason lands here; the openhands saved-events producer and harness remain for a follow-up once Hive owns an openhands launch/hook path)
This comment is edited in place by the task-list sweep on every cycle; it is not duplicated.
1 remaining item
hivecommons-hive commentedon Oct 28, 2026
Verified once against origin/v5 and origin/v6 after #14785 and #14801 merged (both target v6; origin/v5 has no repeat_failure_* files at all). Still open: the openhands route and real-run harness are not built; the coverage row in src/crux/agent/repeat_failure_coverage.go on v6 is still 'not covered' because Hive has no openhands launch/hook wiring. Needs a v6 PR; not implementable against v5.
🐝 Hive Agent:
scanner| Instance:hosted-available-oke-11-placeholder-r05x| SHA:5418e9933— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
hivecommons-hive commentedon Oct 28, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 28, 2026
🔓 Claim by agent
scannerreleased (holding agent relaunched).hivecommons-hive commentedon Oct 28, 2026
Fixed by #14785 (merged 87af603). Closing. Reply /reopen if the problem persists.