On this page

← How it works

How it works

What the referee guarantees

RCF's checks are mechanical: document structure, test references, verification evidence. Whether the chain describes the right product is judgement, and no gate on this page pretends otherwise.

RCF's referee checks structure. It cannot determine whether the documents adequately describe the intended product. This page names what each check does prove and where judgement is still required.

What validation proves

rcf define validate walks the whole tree and proves two things: every document matches its schema, and every strong reference in it points at a real document. It also checks the bridge to code, so a source file the chain says exists but no longer does is reported the same way a broken document reference is. It refuses a live acceptance criterion that is new or amended since the base branch and carries no verification flag, so every criterion says how it will be proven: external, run again by the release Verify, or testOnly, settled inside the round. A tree that passes is structurally sound; nothing in it points at nothing. Whether it describes the right product is not a mechanical property, and validation does not claim it is.

What coverage proves

rcf audit coverage reports the shape of the test layer. A requirement counts as covered only when every acceptance criterion under it has a test case whose pointer resolves to an actual, named test. A stub or a dead pointer fails the gate exactly the way a missing test does. A criterion that carries supersededBy is retired: it counts toward neither its requirement nor its successor, and a missing successor, a criterion superseding itself or a supersession cycle fails the strict gate. Each criterion also shows its end state, verified when it is flagged external and complete when it is flagged testOnly, as information that never changes the result. There is an explicit opt-out for the times you want the summary without the refusal, and no other quiet way past the check.

What eval coverage proves

rcf audit eval coverage proves the same shape on the non-deterministic half of the chain. An acceptance criterion your agent marked non-deterministic at define time counts as covered only when a live evaluation names it and its most recent run has a result. Missing, superseded or stuck-pending evaluations refuse the gate, and a retired criterion reads retired, never missing. Deterministic ACs are untouched by any of this, and a chain that carries none of them passes trivially.

The two audits are peers, not layered. They cover the two halves of the same contract, and a project's own CI is expected to run both.

What test strength shows

rcf audit test-strength shows whether the tests bound to the touched acceptance criteria are real. A structural check reads each bound test as text and confirms its imports reach only the app entry, the declared test harness, Node itself or a third-party package. A mutation proof then breaks each piece of source the chain ties to the criterion, one way at a time, in a scratch copy of HEAD, and needs at least one bound test to go red against each break. It reads JavaScript, TypeScript, JSX and Vue sources, and Python functions through the host's own python3. rcf/test-strength.json declares the app entry (one item for each workspace package whose source the criteria name), the test harness, the suite command and a runner for each kind of test file; each bound test runs at its own package directory unless its runner pins "cwd": "project". The result is a report the reviewer reads, not a gate: a gutted test whose mutants survive shows up in it, and the reviewer's adequacy verdict is the judgement. Neither Finalise nor the Test verdict refuses on its result. A team that wants a hard gate fails its CI on the audit's exit 4.

What Finalise and the release Verify prove

A build item's round ends at complete, and Finalise is the only path to that word. The everyday build-status commands cannot reach it; their ceiling is inProgress. rcf build finalise <fbs-id> --ci-run <ref> runs on the pull-request branch, before the merge, and writes complete only from what the round recorded: a Review MERGE with adequacy PASS at the reviewed head, a Test PASS at that same head with no later failure, a test-strength record for that head covering every touched criterion, a source file recorded against every touched criterion, and a separation audit that passes over the branch. The verdicts are files the REVIEW: and TEST: commits added, so a chain that says complete traces to recorded verdicts on a head the merge contains, by construction. Finalise runs nothing but git and never writes verified.

verified comes from a release Verify, outside the build cycle and before the promote. rcf verify run --release <label> --since <ref> --record runs the bound end-to-end tests of the live external criteria of every item changed since the last release, plus the declared smoke suites, against the release candidate: a URL, or the packed package installed cold. It writes a release report and verified on each item whose external criteria all passed, only when the smoke suites passed too. A chain that says verified traces to that report.

A blueprint can ship a Playwright probe pack of its own: small runtime checks anchored to specific acceptance criteria that rcf verify browser runs and records on the manifest. For a UI-bearing item, a block verdict, or a warn verdict without your acknowledgement, is a stop before its Review. What a pack proves is bounded by what it actually probes; the rest sits outside the gate. Each blueprint's README lists the mechanism-reach gaps in its pack, and that authoring rule is being brought into line across the shelf.

What none of them prove

Whether the chain captures what you actually want built. Whether an acceptance criterion states the right behaviour. Whether a test asserts the outcome that matters: a renamed test is caught, but a gutted test that kept its name is not. The referee is mechanical, and adequacy is not a mechanical property.

That judgement is deliberately two-party, and it has two named homes:

  • The docs-review gate, once, before the first build. Your agent has walked you through the chain it elicited from you, and Reviewing the tree is the craft of that moment.
  • Fresh-context reviews across the build cycle. Every FBS item ends with a diff-and-tests review before it can move on, and every few items, and always at cycle end, a fresh-context reviewer drives the running app against the accumulated acceptance criteria, using the product rather than reading the code. The five-stage build cycle covers where each of those sits in the loop.

The tool checks structure mechanically. You and your agent decide whether the requirements, checks and tests describe the intended behaviour.