You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] repeat-failure: neutral BASH_ENV route for fresh-bash backends #14554
Part of #14550 — the backend-neutral capture route. Depends on #14553 (record type, record file, config switch). Target: v6 (open the PR with --base v6).
Hive-owned BASH_ENV script with an EXIT trap that appends one record ($?, $BASH_EXECUTION_STRING) only for the agent's own command: record only when the execution string is non-empty, with a marker tied to the shell that set it (e.g. PID) so nested shells/scripts are skipped but Codex's exec /bin/bash -c '<cmd>' still yields exactly one record (C8).
Set BASH_ENV and SHELL=/bin/bash in the launch env (agentEnvPairs in src/pkg/agent/manager_env.go, applySessionEnv in src/pkg/agent/manager_tmux.go) only when repeat_failure.enabled; chain an existing BASH_ENV rather than overwrite. Document the bob dash→bash shell change.
The script must be safe under set -euo pipefail / exported SHELLOPTS, change nothing visible except the trap and one namespaced marker variable, and be silent if missing/broken/unwritable.
Turning the switch off removes what Hive added at next launch; leftovers do nothing.
Covers claude, codex, goose, pi, gemini, bob, opencode, kilo (and the inference backends via claude).
Acceptance: C-AC5, C-AC12, C-AC14, C-AC15 (median < 5 ms over 200 true), C-AC16. No time.Sleep( in tests.
🔒 Claimed by @thatguywob (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
🔒 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 /unclaim to release, or /claim to take it over if you outrank the holder.
Activity
hivecommons-hive commentedon Oct 27, 2026
🔒 Claimed by @thatguywob (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s 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 27, 2026
🔓 Claim by @thatguywob released (lease revoked).
hivecommons-hive commentedon Oct 27, 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 27, 2026
🔓 Claim by agent
scannerreleased (holding agent relaunched).github-actions commentedon Oct 27, 2026
Closed by #14574 (merged to
v6).