6565 with :
6666 derived-path : ${{ github.workspace }}/.tmp/swift-runner-unit-derived
6767 cache-key-prefix : swift-runner-unit
68- build-command : AGENT_DEVICE_XCUITEST_INCLUDE_UNIT_TESTS=1 pnpm build:xcuitest: macos
68+ build-command : AGENT_DEVICE_XCUITEST_INCLUDE_UNIT_TESTS=1 pnpm gate swift-runner- macos
6969 xcuitest-platform : macos
7070 xcuitest-destination : platform=macOS,arch=arm64
7171
@@ -81,10 +81,10 @@ jobs:
8181 uses : ./.github/actions/setup-node-pnpm
8282
8383 - name : Run oxlint
84- run : pnpm lint
84+ run : pnpm gate lint
8585
8686 - name : Check formatting
87- run : pnpm format:check
87+ run : pnpm gate format
8888
8989 layering-guard :
9090 name : Layering Guard
@@ -107,14 +107,14 @@ jobs:
107107 # Generalizes the former inline commands/-import grep into a structured
108108 # import-direction lint over the resolved graph. See scripts/layering/check.ts
109109 # and CONTEXT.md (Architecture: folder DAG + layering lint).
110- run : pnpm check: layering
110+ run : pnpm gate layering
111111
112112 - name : Check the depgraph report agrees with the gate
113113 # scripts/depgraph reads the same model as the gate, so its inversion count must
114114 # reproduce TYPE_INVERSION_BASELINE. Free two-sources check: if the tree changes
115115 # and only one side is updated, this fails and names the difference. Runs here
116116 # rather than in its own job so the two can never be green independently.
117- run : pnpm depgraph:test
117+ run : pnpm gate depgraph
118118
119119 # The TMPDIR redirection both test lanes rely on (#1593/#1595). Its own tests ran
120120 # in no CI job at all until the #1429 gate manifest found them unowned.
@@ -128,7 +128,7 @@ jobs:
128128 # with nothing to gain — the manifest proves ownership per unit of work, so any
129129 # lane satisfies it.
130130 - name : Check the tmpdir redirection model
131- run : pnpm check: tmpdir-leaks:test
131+ run : pnpm gate tmpdir-leaks-model
132132
133133 affected-selector :
134134 name : Affected-check Selector
@@ -149,18 +149,18 @@ jobs:
149149 # The selector is fail-open and advisory (GitHub CI stays authoritative),
150150 # so the gate only guards the derivation model.
151151 - name : Check affected-selector model
152- run : pnpm check: affected:test
152+ run : pnpm gate affected-selector
153153
154154 # The gate-of-gates (#1429). It shares this job because it validates the
155155 # same artifact the selector is built on — CHECK_CATALOG's `ciJobs` — and
156156 # because a gate that proves the other gates are wired must not be the one
157157 # gate sitting in its own job, green on its own. Deterministic and
158158 # network-free: every input is a file in the checkout.
159159 - name : Check the gate manifest model
160- run : pnpm check: gate-manifest:test
160+ run : pnpm gate gate -manifest-model
161161
162162 - name : Check every gate is owned, wired, and reachable
163- run : pnpm check: gate-manifest
163+ run : pnpm gate gate-manifest
164164
165165 maestro-conformance :
166166 name : Maestro Conformance Oracle
@@ -182,7 +182,7 @@ jobs:
182182 # device-backed layer 3 runs on the scheduled conformance-differential
183183 # workflow. See scripts/maestro-conformance/README.md.
184184 - name : Verify Maestro conformance fixtures
185- run : pnpm maestro: conformance
185+ run : pnpm gate maestro- conformance
186186
187187 packaged-cli-node-22-12 :
188188 name : Packaged CLI Node 22.12
@@ -197,8 +197,8 @@ jobs:
197197
198198 - name : Build CLI
199199 run : |
200- pnpm build
201- pnpm check: bundle-owner-files
200+ pnpm gate build
201+ pnpm gate bundle-owner-files
202202
203203 # The build runs on the default toolchain Node and the package is verified on the minimum
204204 # supported Node, so this job covers what a user on `engines.node` floor actually installs.
@@ -232,10 +232,10 @@ jobs:
232232 - name : Run Fallow audit
233233 env :
234234 FALLOW_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
235- run : pnpm check: fallow --base "$FALLOW_BASE"
235+ run : pnpm gate fallow --base "$FALLOW_BASE"
236236
237237 - name : Check for production-unused exports
238- run : pnpm check: production-exports
238+ run : pnpm gate production-exports
239239
240240 replay-compat-provenance :
241241 # The frozen replay-compat corpus (#1417) claims each entry was published by
@@ -255,7 +255,7 @@ jobs:
255255 uses : ./.github/actions/setup-node-pnpm
256256
257257 - name : Verify corpus entries against their released blobs
258- run : pnpm check: replay-compat
258+ run : pnpm gate replay-compat
259259
260260 released-surface-compat :
261261 # The daemon RPC wire ledger (#1432) is compared against the ledger as it
@@ -276,10 +276,10 @@ jobs:
276276 uses : ./.github/actions/setup-node-pnpm
277277
278278 - name : Verify the wire-compat rules
279- run : pnpm check:daemon- wire-compat:test
279+ run : pnpm gate wire-compat-model
280280
281281 - name : Compare the daemon RPC wire surface against the last released tag
282- run : pnpm check: daemon-wire-compat
282+ run : pnpm gate daemon-wire-compat
283283
284284 coverage :
285285 # Runs the full unit + provider-integration suites under coverage with
@@ -297,20 +297,20 @@ jobs:
297297 uses : ./.github/actions/setup-node-pnpm
298298
299299 - name : Test changed-line coverage gate
300- run : pnpm check: coverage-changed:test
300+ run : pnpm gate coverage-model
301301
302302 # The retry list is an enumerated set of owned waivers, so an expired entry
303303 # must fail before the suite runs rather than quietly keeping its retry.
304304 - name : Check contention retry policy
305- run : pnpm check: contention-retry
305+ run : pnpm gate contention-retry
306306
307307 # Wrapped in the single-retry policy (#1419): a timeout-shaped failure in
308308 # an enumerated contention-flaky file reruns that file once and reports it
309309 # in the job summary. Assertion failures fail here on the first run.
310310 - name : Run coverage
311311 env :
312312 OUTPUT_ECONOMY_BASE : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
313- run : pnpm test:coverage: ci
313+ run : pnpm gate unit- ci
314314
315315 # A run whose globalTeardown never fired (crash, OOM, timeout kill) leaves
316316 # its tmpdir behind. `check:unit` runs this locally after the suite; until
@@ -319,7 +319,7 @@ jobs:
319319 # worth reporting.
320320 - name : Check for leaked test tmpdirs
321321 if : always()
322- run : pnpm check: tmpdir-leaks
322+ run : pnpm gate tmpdir-leaks
323323
324324 - name : Upload contention-retry envelope
325325 if : always()
@@ -337,7 +337,7 @@ jobs:
337337 if : always() && github.event_name == 'pull_request'
338338 env :
339339 AGENT_DEVICE_COVERAGE_WAIVER : ${{ contains(github.event.pull_request.labels.*.name, 'coverage-waiver') }}
340- run : pnpm check: coverage-changed --base "${{ github.event.pull_request.base.sha }}"
340+ run : pnpm gate coverage --base "${{ github.event.pull_request.base.sha }}"
341341
342342 typecheck :
343343 name : Typecheck
@@ -351,14 +351,14 @@ jobs:
351351 uses : ./.github/actions/setup-node-pnpm
352352
353353 - name : Run typecheck
354- run : pnpm typecheck
354+ run : pnpm gate typecheck
355355
356356 # CHECK_CATALOG has always claimed this job mirrors the `mcp-metadata`
357357 # check; until #1429 checked the claim, no PR job ran it at all, so
358358 # server.json/smithery.yaml drift only surfaced at publish time (where
359359 # publish-mcp-registry.yml duplicates the same command). Parse-only.
360360 - name : Check MCP registry metadata is in sync
361- run : pnpm check: mcp-metadata
361+ run : pnpm gate mcp-metadata
362362
363363 freerange :
364364 name : FreeRange
@@ -375,7 +375,7 @@ jobs:
375375 uses : oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
376376
377377 - name : Check numeric ranges
378- run : pnpm check: freerange
378+ run : pnpm gate freerange
379379
380380 integration :
381381 name : Integration Tests
@@ -391,21 +391,21 @@ jobs:
391391 - name : Run integration tests
392392 run : |
393393 pnpm clean:daemon
394- pnpm test: integration: node
394+ pnpm gate integration- node
395395
396396 - name : Run seeded concurrency torture lane (fast PR sweep)
397397 # #1416's nightly torture lane lives under test/integration/nightly/, out
398398 # of the test:integration:node glob, so this is a *deliberate* fast PR
399399 # sweep (TORTURE_RUNS default 128 seeds, ~sub-second) — not an accidental
400400 # glob inclusion. The Concurrency Torture Nightly workflow sweeps a much
401401 # larger seed range on schedule.
402- run : pnpm test: concurrency-torture
402+ run : pnpm gate concurrency-torture
403403
404404 - name : Run provider-backed integration tests
405- run : pnpm test:integration: provider
405+ run : pnpm gate provider-integration
406406
407407 - name : Check Provider-backed integration architecture progress
408- run : pnpm test: integration: progress:check
408+ run : pnpm gate integration- progress
409409
410410 # A build-cache lookup outage must degrade setup-fixture-app to an inline
411411 # build, not fail the caller. This drives that step's real shell against a
@@ -417,7 +417,7 @@ jobs:
417417 # reused at all — same subject as the fallback smoke above, and parse-only.
418418 # Ran in no CI job until the #1429 gate manifest found it unowned.
419419 - name : Check trusted fixture-artifact selection
420- run : pnpm test: fixture-cache
420+ run : pnpm gate fixture-cache
421421
422422 web-smoke :
423423 name : Web Platform Smoke
@@ -437,7 +437,7 @@ jobs:
437437 - name : Run live web smoke
438438 run : |
439439 pnpm clean:daemon
440- pnpm test:smoke: web
440+ pnpm gate web-smoke
441441
442442 - name : Upload web smoke artifacts
443443 if : always()
0 commit comments