feat(FN-5266): add metadata-driven pre-commit identity guard
Implements metadata-driven pre-commit identity guard hooks in the worktree layer, replacing static hook bodies with configurable metadata; adds regression tests covering shared-hook worktrees and the metadata-driven lock behavior. Fusion-Task-Id: FN-5266
This commit is contained in:
committed by
gsxdsm
parent
35112e6070
commit
17eb85ed81
5
.changeset/FN-5266-precommit-stale-taskid.md
Normal file
5
.changeset/FN-5266-precommit-stale-taskid.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Fix Fusion pre-commit identity-guard hook leaking install-time task ID across shared git hooks dir; hook is now driven entirely by per-worktree fusion-task-id metadata (lowercased to match canonicalFusionBranchName), so a stale install no longer refuses valid sibling-worktree commits.
|
||||
Reference in New Issue
Block a user