docs(hooks): trim drift note to a single line

This commit is contained in:
joseph02 2026-07-23 13:18:49 -07:00
parent 4892b4ec71
commit 384d72df0e
10 changed files with 10 additions and 40 deletions

View file

@ -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?

View file

@ -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');

View file

@ -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 }

View file

@ -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');

View file

@ -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?

View file

@ -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');

View file

@ -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 }

View file

@ -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?

View file

@ -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');

View file

@ -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 }