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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: describe both workspaces in pregate lint (#11330)
[._.]/ Adam Eivy8edb4a85a98e
diff --git a/docs/GITHUB_ACTIONS.md b/docs/GITHUB_ACTIONS.mdindex 2c139b6be9..da13676d02 100644--- a/docs/GITHUB_ACTIONS.md+++ b/docs/GITHUB_ACTIONS.md@@ -42,7 +42,7 @@ is the single gate a release ships behind.### Hidden-content gate-`npm run pregate` runs this same scanner before lint or tests, using its resolved+`npm run pregate` runs this same scanner before client and server lint or tests, using its resolvedmerge base. It checks committed, staged, and unstaged diffs separately, plusuntracked files, without changing the index or file contents. The scan remainsactive with `--skip-lint` or an empty test plan; `--plan-only` lists it withoutdiff --git a/scripts/pregate.js b/scripts/pregate.jsindex cb5213fb83..39b25ab87f 100644--- a/scripts/pregate.js+++ b/scripts/pregate.js@@ -21,7 +21,7 @@* --base <ref> compare against <ref> instead of the remote default branch* --full actually run the complete suite when the plan demands it* (without this, a full plan runs the always-run guards only)- * --skip-lint skip the client lint stage+ * --skip-lint skip linting in both client and server workspaces* --plan-only print the plan and the stages, run nothing** What it deliberately does NOT cover, because each needs a resource this@@ -83,7 +83,7 @@ export function resolvePlanStages(plan, { skipLint = false, baseSha } = {}) {if (!skipLint && plan.lint.mode !== 'skip') {stages.push({- name: 'client lint',+ name: 'client/server lint',script: 'run-ci-lint.js',args: [],env: { CI_LINT_MODE: plan.lint.mode, CI_LINT_FILES: JSON.stringify(plan.lint.files) },diff --git a/scripts/pregate.test.js b/scripts/pregate.test.jsindex 42a32d10ca..ca8ae2fbff 100644--- a/scripts/pregate.test.js+++ b/scripts/pregate.test.js@@ -69,7 +69,7 @@ describe('resolvePlanStages', () => {lint: { mode: 'files', files: ['client/src/App.jsx'] },client: { mode: 'files', files: ['client/src/App.test.jsx'], sources: [] },}), { baseSha: 'resolved-base' });- expect(stages.map((stage) => stage.name)).toEqual(['hidden-content scan', 'client lint', 'server tests', 'client tests']);+ expect(stages.map((stage) => stage.name)).toEqual(['hidden-content scan', 'client/server lint', 'server tests', 'client tests']);expect(stages[0]).toEqual({name: 'hidden-content scan', script: 'scan-diff-hidden-content.js',args: ['--base', 'resolved-base', '--worktree'], env: {},