Skip to content

fix: route beads operations via env town root#4246

Open
ryanwclark1 wants to merge 1 commit into
gastownhall:mainfrom
ryanwclark1:agent/accent-unified-8oe3-short-prefix-routing
Open

fix: route beads operations via env town root#4246
ryanwclark1 wants to merge 1 commit into
gastownhall:mainfrom
ryanwclark1:agent/accent-unified-8oe3-short-prefix-routing

Conversation

@ryanwclark1

Copy link
Copy Markdown

Summary

  • make Beads town-root detection fall back to GT_TOWN_ROOT/GT_ROOT when cwd is outside the town
  • add regression coverage for accent_unified_au MR routing from an external cwd
  • add short-prefix hook routing coverage for au-* formula bonding

Verification

  • go test ./internal/beads -run 'TestCreateRoutesExplicitRigUsingEnvTownRootFromExternalCwd|TestResolveHookDirUsesShortPrefixRoute|TestCreateRoutesToResolvedRigBeadsDir|TestGetPrefixForRig'
  • go test ./internal/cmd -run 'TestMRBeadCreationUsesRig|TestDoneUsesResolveBeadsDir|TestDoneBeadsInitBothCodePaths|TestSlingFormulaOnBeadSetsAttachedMolecule|TestSlingRejectsCrossRigMismatch|TestResolveMQSubmitCommitSHAUsesSubmittedBranch|TestVerifyMQSubmitPushedBranchRequiresRemoteBranch'
  • go test ./internal/beads
  • go test ./internal/beads ./internal/cmd ./internal/mq (fails in unrelated existing internal/cmd tests: agents, convoy, install)

@github-actions github-actions Bot added the status/needs-triage Inbox — we haven't looked at it yet label Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/needs-triage Inbox — we haven't looked at it yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant