Merge pull request #1254 from gsd-build/fix/stale-hooks-workflow-guard-1249

fix(hooks): add version header to gsd-workflow-guard.js
This commit is contained in:
Tom Boucher
2026-03-20 11:03:15 -04:00
committed by GitHub

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env node
// gsd-hook-version: {{GSD_VERSION}}
// GSD Workflow Guard — PreToolUse hook
// Detects when Claude attempts file edits outside a GSD workflow context
// (no active /gsd: command or Task subagent) and injects an advisory warning.