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): muse runs sandboxed shell tools in a closed binary (most paths read-only). Planned route: PostToolUse / PostToolUseFailure hooks, which run outside the sandbox, appending one shared command record per shell command (route e.g. muse_hook) to RepeatFailureRecordPath($HOME). Check the hook input fields (command; exit code or only failed/succeeded).
Hook wiring location TBD — not found on v6 at 2026-10-27: muse 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 a muse settings/hooks file today. First establish how muse loads hooks (launch flag, env var or settings file) and whether that fits the constraint: launch env and Hive-owned files first; no edits to a muse settings file Hive does not already write. 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 muse CLI, or a recorded real-run fixture) that records muse --version and shows one failing command recorded. Update the muse 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 muse 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.12 remaining items
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.github-actions commentedon Oct 28, 2026
Closed by #14873 (merged to
v6).