# Gate cloud parity (/docs/research/gate-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 [#the-numbers]

| state | members in CI | local-only | sentinel |
| --- | --- | --- | --- |
| before the round | 10 | **9** | exit 1 |
| after the round | **20** | **0** | exit 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 [#how-a-member-counts-as-covered]

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

| door | meaning |
| --- | --- |
| `platform-chain` | a workflow runs the whole gate chain |
| `fast-list` | a workflow runs the fast list and the member is in it |
| `direct-script` | a workflow runs that member's script itself |
| `command-file` | a 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 [#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 [#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.
