Skip to content

fix: add reroute helper diagnostics#499

Merged
dmoliveira merged 2 commits intomainfrom
improve/reroute-diagnostics
Mar 22, 2026
Merged

fix: add reroute helper diagnostics#499
dmoliveira merged 2 commits intomainfrom
improve/reroute-diagnostics

Conversation

@dmoliveira
Copy link
Owner

Summary

  • preflight protected-branch and primary-worktree maintenance helper reroutes before rewriting bash commands
  • add structured reroute audit context like original command, rewritten command, helper path, helper existence, and repo root
  • cover missing-helper failure cases in gateway hook tests so cross-repo reroute problems fail clearly

Validation

  • node --test test/primary-worktree-guard-hook.test.mjs test/workflow-conformance-guard-hook.test.mjs

@dmoliveira dmoliveira merged commit a1ffbd3 into main Mar 22, 2026
1 check passed
@dmoliveira dmoliveira deleted the improve/reroute-diagnostics branch March 22, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant