Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

CI: run Node minimum when an .npmrc or the runtime gate's import changes

Claude8387fdb2993b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0fdc6eea64..51b2789838 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -108,7 +108,7 @@ jobs:
env:
CI_EVENT: ${{ github.event_name }}
run: |
- pattern='^((server/|client/|autofixer/)?package(-lock)?\.json|\.nvmrc|scripts/checkNodeVersion(\.test)?\.js|scripts/node-version-drift\.test\.js|\.github/workflows/ci\.yml)$'
+ pattern='^((server/|client/|autofixer/)?(package(-lock)?\.json|\.npmrc)|\.nvmrc|scripts/checkNodeVersion(\.test)?\.js|scripts/lib/directInvocation\.js|scripts/node-version-drift\.test\.js|\.github/workflows/ci\.yml)$'
if [ "$CI_EVENT" != pull_request ] || git diff --name-only "$CI_BASE_SHA"...HEAD | grep -qE "$pattern"; then
echo run=true >> "$GITHUB_OUTPUT"
else
diff --git a/docs/GITHUB_ACTIONS.md b/docs/GITHUB_ACTIONS.md
index c7bdd0278d..63b11e606b 100644
--- a/docs/GITHUB_ACTIONS.md
+++ b/docs/GITHUB_ACTIONS.md
@@ -473,8 +473,8 @@ The selected work is split across parallel jobs:
"What a full plan costs the Windows job" below.
- **Node minimum compatibility** — installs every workspace and runs the
runtime gate on the oldest supported Node. On a pull request it runs only
- when a `package.json`, a lockfile, `.nvmrc`, the gate script, its drift test
- or `ci.yml` changed, since nothing else can change its answer; non-PR runs
+ when a `package.json`, a lockfile, an `.npmrc`, `.nvmrc`, the gate script or
+ its `directInvocation.js` import, its drift test or `ci.yml` changed, since nothing else can change its answer; non-PR runs
always run it.
- **CI Gate** — always reports one stable required-check result and fails if any
selected job failed or was cancelled. Both block, but the message distinguishes