# V10 Rail Phase A

This library is the composition root for contract-ready Phase A channels and the
RA.9 invariant gate. `createPhaseAPilotManifests()` returns the V8 Case Files,
V9 Wonder & Recall, and V3 Stage manifests used by the real Rail channel
directory. `createPhaseAInvariantManifests()` adds the deterministic clock-and-
quote test channel so one suite exercises pilot and fixture contracts together.

V3 Motion remains deliberately deferred: the adapter has real audio and tile
projections, but V3 does not yet expose the canonical Mat Mode deep link needed
by a valid channel manifest. `DEFERRED_PHASE_A_PILOTS` keeps that gap explicit
instead of fabricating a production route.

The suite locks absence safety at manifest and runtime boundaries, autoplay
capabilities, per-channel daily elevation budgets, the exact calm metric
vocabulary, and every declared surface flag including the adult-ring hard wall.

The RB.3 live-media consolidation guard walks the real `apps/v10` and `libs/v10`
ownership roots on every Phase A test run. It permits the Rail to consume only
the `@oshun/live-media` contract plus its browser/native client subpaths; server
internals and unknown subpaths remain outside V10. It rejects V10-owned
live-media/streaming/ingest/transcode package roots, direct Aphrodite or Neith
media-control imports, direct browser media engines, the Kafka-shaped
`@oshun/streaming` package, and native FFmpeg/GStreamer/WebRTC/SRT media crates.
Generated directories and symlinks are excluded, while package manifests,
static/re-export/type/dynamic imports, and Cargo dependency tables are all
checked with adversarial fixtures.

The X-2 Rail consolidation guard uses the same bounded workspace walk to keep
all V10-owned apps and `rail-*` packages on the single `@oshun/content-signing`
implementation and the single channel contract at
`libs/contracts/src/v10/channel-contract.ts`. It rejects alternate JavaScript
signing dependencies, raw Node/WebCrypto signing, native signing crates,
canonical symbol redeclarations, copied structural contract shapes, and copied
closed vocabularies. Its symbol census is checked against the authoritative
contract source so newly exported contract types cannot silently escape the
guard.
