Codwen docs
Research

Gate cloud parity

Of the 20 members of the platform gate, 9 had no door into CI and 1 was a silent wrong answer; after the round all 20 run in CI and the sentinel check exits 0.

The platform gate is a chain of 20 checks that ran, in practice, on one Windows machine: it was wired only into the pre-push hook, and nothing compared the chain's member list against what the workflows actually execute. A member could sit in the chain, pass locally, and never run where a second opinion exists.

The numbers

statemembers in CIlocal-onlysentinel
before the round109exit 1
after the round200exit 0

The instrument is scripts/ci/gate-cloud-parity.mjs. It reads exactly two sets of files — the members of the platform gate from the root package.json, and every workflow under .github/workflows/ with comments stripped — and derives every verdict from them, so the verdict cannot be satisfied by prose.

How a member counts as covered

For each member the tool decides whether it runs in CI and through which door:

doormeaning
platform-chaina workflow runs the whole gate chain
fast-lista workflow runs the fast list and the member is in it
direct-scripta workflow runs that member's script itself
command-filea workflow runs the same command or references a file the member runs

A bare mention of a member name does not count. A member with no door is allowed only when it has a genuine platform dependence — PowerShell, a Windows-only path, a database, a browser, Android — which the tool classifies from the member's command and the binaries its scripts spawn. The sentinel check exits 1 if and only if a member has neither a door nor a platform reason.

A silent wrong answer, found on the way

The registry tool blamed a stale inventory when the real cause was a missing rg binary: every ripgrep failure was caught, so a missing binary produced an empty scan, which the gate reported as stale or has a GAP and told the reader to edit inventory files. It now detects the missing binary and exits 2 with a message that names the actual fault.

Nothing is red

No member of the gate fails on Linux at this commit: a full baseline of all 20 on the cloud workspace returned exit 0 for every one (23.7 s cold). The round is about coverage and honest failure messages, not about turning a red gate green.

On this page