From 384d72df0e499ea4edb1062453edcc459c7c563d Mon Sep 17 00:00:00 2001 From: joseph02 Date: Thu, 23 Jul 2026 13:18:49 -0700 Subject: [PATCH] docs(hooks): trim drift note to a single line --- gitnexus-claude-plugin/hooks/hook-db-lock-probe.cjs | 5 +---- gitnexus-claude-plugin/hooks/hook-lock.js | 5 +---- gitnexus-claude-plugin/hooks/win-rm-list-json.ps1 | 5 +---- gitnexus-cursor-integration/hooks/hook-lock.cjs | 5 +---- gitnexus-factory-plugin/hooks/hook-db-lock-probe.cjs | 5 +---- gitnexus-factory-plugin/hooks/hook-lock.js | 5 +---- gitnexus-factory-plugin/hooks/win-rm-list-json.ps1 | 5 +---- gitnexus/hooks/claude/hook-db-lock-probe.cjs | 5 +---- gitnexus/hooks/claude/hook-lock.cjs | 5 +---- gitnexus/hooks/claude/win-rm-list-json.ps1 | 5 +---- 10 files changed, 10 insertions(+), 40 deletions(-) diff --git a/gitnexus-claude-plugin/hooks/hook-db-lock-probe.cjs b/gitnexus-claude-plugin/hooks/hook-db-lock-probe.cjs index 94c6848e4..eb0709758 100644 --- a/gitnexus-claude-plugin/hooks/hook-db-lock-probe.cjs +++ b/gitnexus-claude-plugin/hooks/hook-db-lock-probe.cjs @@ -1,7 +1,4 @@ -// Bundled byte-identical into every hook adapter directory — each one installs -// standalone and cannot import across packages. Drift guards in -// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -// copies diverge; fix them together. +// Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. /** * Cross-platform best-effort probe: does another process hold dbPath open * with a command line that looks like a GitNexus MCP/serve server? diff --git a/gitnexus-claude-plugin/hooks/hook-lock.js b/gitnexus-claude-plugin/hooks/hook-lock.js index 03ac738f9..d9c5913bc 100644 --- a/gitnexus-claude-plugin/hooks/hook-lock.js +++ b/gitnexus-claude-plugin/hooks/hook-lock.js @@ -1,7 +1,4 @@ -// Bundled byte-identical into every hook adapter directory — each one installs -// standalone and cannot import across packages. Drift guards in -// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -// copies diverge; fix them together. +// Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. const fs = require('fs'); const path = require('path'); diff --git a/gitnexus-claude-plugin/hooks/win-rm-list-json.ps1 b/gitnexus-claude-plugin/hooks/win-rm-list-json.ps1 index 0745148f7..0db965080 100644 --- a/gitnexus-claude-plugin/hooks/win-rm-list-json.ps1 +++ b/gitnexus-claude-plugin/hooks/win-rm-list-json.ps1 @@ -1,7 +1,4 @@ -# Bundled byte-identical into every hook adapter directory — each one installs -# standalone and cannot import across packages. Drift guards in -# gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -# copies diverge; fix them together. +# Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. $ErrorActionPreference = 'Stop' $target = $env:GITNEXUS_HOOK_RM_TARGET if ([string]::IsNullOrWhiteSpace($target)) { Write-Output '[]'; exit 0 } diff --git a/gitnexus-cursor-integration/hooks/hook-lock.cjs b/gitnexus-cursor-integration/hooks/hook-lock.cjs index 03ac738f9..d9c5913bc 100644 --- a/gitnexus-cursor-integration/hooks/hook-lock.cjs +++ b/gitnexus-cursor-integration/hooks/hook-lock.cjs @@ -1,7 +1,4 @@ -// Bundled byte-identical into every hook adapter directory — each one installs -// standalone and cannot import across packages. Drift guards in -// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -// copies diverge; fix them together. +// Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. const fs = require('fs'); const path = require('path'); diff --git a/gitnexus-factory-plugin/hooks/hook-db-lock-probe.cjs b/gitnexus-factory-plugin/hooks/hook-db-lock-probe.cjs index 94c6848e4..eb0709758 100644 --- a/gitnexus-factory-plugin/hooks/hook-db-lock-probe.cjs +++ b/gitnexus-factory-plugin/hooks/hook-db-lock-probe.cjs @@ -1,7 +1,4 @@ -// Bundled byte-identical into every hook adapter directory — each one installs -// standalone and cannot import across packages. Drift guards in -// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -// copies diverge; fix them together. +// Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. /** * Cross-platform best-effort probe: does another process hold dbPath open * with a command line that looks like a GitNexus MCP/serve server? diff --git a/gitnexus-factory-plugin/hooks/hook-lock.js b/gitnexus-factory-plugin/hooks/hook-lock.js index 03ac738f9..d9c5913bc 100644 --- a/gitnexus-factory-plugin/hooks/hook-lock.js +++ b/gitnexus-factory-plugin/hooks/hook-lock.js @@ -1,7 +1,4 @@ -// Bundled byte-identical into every hook adapter directory — each one installs -// standalone and cannot import across packages. Drift guards in -// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -// copies diverge; fix them together. +// Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. const fs = require('fs'); const path = require('path'); diff --git a/gitnexus-factory-plugin/hooks/win-rm-list-json.ps1 b/gitnexus-factory-plugin/hooks/win-rm-list-json.ps1 index 0745148f7..0db965080 100644 --- a/gitnexus-factory-plugin/hooks/win-rm-list-json.ps1 +++ b/gitnexus-factory-plugin/hooks/win-rm-list-json.ps1 @@ -1,7 +1,4 @@ -# Bundled byte-identical into every hook adapter directory — each one installs -# standalone and cannot import across packages. Drift guards in -# gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -# copies diverge; fix them together. +# Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. $ErrorActionPreference = 'Stop' $target = $env:GITNEXUS_HOOK_RM_TARGET if ([string]::IsNullOrWhiteSpace($target)) { Write-Output '[]'; exit 0 } diff --git a/gitnexus/hooks/claude/hook-db-lock-probe.cjs b/gitnexus/hooks/claude/hook-db-lock-probe.cjs index 94c6848e4..eb0709758 100644 --- a/gitnexus/hooks/claude/hook-db-lock-probe.cjs +++ b/gitnexus/hooks/claude/hook-db-lock-probe.cjs @@ -1,7 +1,4 @@ -// Bundled byte-identical into every hook adapter directory — each one installs -// standalone and cannot import across packages. Drift guards in -// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -// copies diverge; fix them together. +// Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. /** * Cross-platform best-effort probe: does another process hold dbPath open * with a command line that looks like a GitNexus MCP/serve server? diff --git a/gitnexus/hooks/claude/hook-lock.cjs b/gitnexus/hooks/claude/hook-lock.cjs index 03ac738f9..d9c5913bc 100644 --- a/gitnexus/hooks/claude/hook-lock.cjs +++ b/gitnexus/hooks/claude/hook-lock.cjs @@ -1,7 +1,4 @@ -// Bundled byte-identical into every hook adapter directory — each one installs -// standalone and cannot import across packages. Drift guards in -// gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -// copies diverge; fix them together. +// Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. const fs = require('fs'); const path = require('path'); diff --git a/gitnexus/hooks/claude/win-rm-list-json.ps1 b/gitnexus/hooks/claude/win-rm-list-json.ps1 index 0745148f7..0db965080 100644 --- a/gitnexus/hooks/claude/win-rm-list-json.ps1 +++ b/gitnexus/hooks/claude/win-rm-list-json.ps1 @@ -1,7 +1,4 @@ -# Bundled byte-identical into every hook adapter directory — each one installs -# standalone and cannot import across packages. Drift guards in -# gitnexus/test/unit/hooks.test.ts and test/unit/factory-plugin.test.ts fail if the -# copies diverge; fix them together. +# Byte-identical across all hook adapter dirs; drift-guarded by hooks.test.ts / factory-plugin.test.ts. Edit all copies. $ErrorActionPreference = 'Stop' $target = $env:GITNEXUS_HOOK_RM_TARGET if ([string]::IsNullOrWhiteSpace($target)) { Write-Output '[]'; exit 0 }