page:docs-specs-platform-gaps-roadmap-train-map
Train Map reference
Date: 2026-10-09 (run C1, Track D) · Owner WP: WP-RM-02 (50-roadmap-workpackages.md §7, as re-sequenced by §9.4) · Checker: node scripts/check-upstream-cadence.cjs
| M7 | C8 | the C8 milestone train fabric/main/v<X.Y.Z>, with production deployed from the exact staging commit; the rename completion and cluster packaging (DF-12) follow their re-entry || M6 | C6, C7 | the C7 milestone train fabric/main/v<X.Y.Z> || M5 | C5, C6, C7, C8 | the C8 milestone train fabric/main/v<X.Y.Z> || M4 | C3, C4, C5, C6, C7, C8 | the C8 milestone train fabric/main/v<X.Y.Z> || M3 | C2, C5, C6, C7 | the C7 milestone train fabric/main/v<X.Y.Z> || M2 | C1, C5, C6, C7 | the C7 milestone train fabric/main/v<X.Y.Z> |# Train map, cutover record and cadence register
Date: 2026-10-09 (run C1, Track D) · Owner WP: WP-RM-02 (50-roadmap-workpackages.md §7, as re-sequenced by §9.4) · Checker: node scripts/check-upstream-cadence.cjs
This file binds milestones and runs to release trains, records the one D10 break train with its abort and rollback procedure, and gives every standing cadence an owner and a due date. The checker fails CI when a milestone row, a run row or a tracked-fork row is missing. It also fails when a cadence row lacks an owner or a valid date, when a tracked fork's UPSTREAM.json lacks its review owner or date, and when a fabric/* tag on origin is recorded neither below nor by a train record in its own annotation that the GitHub Actions API confirms (owner decision C2-P2, 2026-10-14; see "Recorded trains").
Tag scheme (spec 15 §4.1–§4.2, as amended 2026-10-04): a staging train is tagged fabric/staging/v<version>-staging.<sha> and publishes under the staging dist-tag. A main promotion repeats the exact staging commit, is tagged fabric/main/v<version>, and moves the latest channel (WP-PKG-11 AC1).
Milestone trains
One row per milestone M0–M7. Since the 2026-10-09 re-sequencing, M2–M7 are audited as the union of their mapped runs (re-mapped to the slices on 2026-10-27, 50-roadmap-workpackages.md §11.2) (50-roadmap-workpackages.md §9.2, §9.4). Each of those milestones is evidenced by the train of the last run in its map. Versions are filled in as the trains ship.
| Milestone | Mapped runs | Evidencing train / tag | Status |
|---|---|---|---|
| M0 | Phase 0 | No package train. M0 is evidenced by the smoke-package publish and install rehearsal on Artifact Registry (WP-RN-03 AC2) and the M0 gate record, PR #3 | done (phase0/PR-BODY.md) |
| M1 | Phase 1, C1, C2 | fabric/staging/v7.0.1-staging.1a0078a92465 (all 43 packages, dist-tag staging), then the promotion train fabric/main/v7.0.0 (channel latest) | staging train done (phase1/publish-record.md); main promotion open (OA-12, W-08, before C1 Gate B) |
| M2 | C1, C5, C6, C7a | the C7a Gate-B staging train fabric/staging/v<X.Y.Z>-staging.<sha> | scheduled |
| M3 | C2, C6, C7a, C7b | the C7b milestone train fabric/main/v<X.Y.Z> | scheduled |
| M4 | C3, C4, C5, C7b, C8, C11 | the C11 Gate-B staging train fabric/staging/v<X.Y.Z>-staging.<sha> | scheduled |
| M5 | C6, C7b, C8, C9a, C11 | the C11 Gate-B staging train fabric/staging/v<X.Y.Z>-staging.<sha> | scheduled |
| M6 | C7b, C10 | the C10 milestone train fabric/main/v<X.Y.Z> | scheduled |
| M7 | C12 | the C12 milestone train fabric/main/v<X.Y.Z>, with production deployed from the exact staging commit | scheduled |
Run trains
Every run C1–C3 and every slice C4–C8 closes Gate B with a staging train. *Amended 2026-10-27 (owner decision C3-18, 55-console-program.md §3.13): the runs after C3 are the slices C4 Connect, C5 Operate, C6 Remember, C7 Measure and C8 Learn; the milestone slices C5, C7 and C8 also promote that exact commit to main and deploy production behind an owner breakpoint (§3.0 step 5). The labels C7a, C7b and C9a…C12 are retired; the rename-completion and cluster-packaging train of the old C12 is deferred with DF-12.*
| Run | Staging train (Gate B) | Main promotion |
|---|---|---|
| C1 | fabric/staging/v<X.Y.Z>-staging.<sha> | none (the M1 promotion fabric/main/v7.0.0 closes before C1 Gate B) |
| C2 | fabric/staging/v<X.Y.Z>-staging.<sha> | none |
| C3 | fabric/staging/v<X.Y.Z>-staging.<sha> | none |
| C4 | fabric/staging/v<X.Y.Z>-staging.<sha> | none (the C-4 milestone moved to C5, C3-18) |
| C5 | fabric/staging/v<X.Y.Z>-staging.<sha> | fabric/main/v<X.Y.Z> (C-4 console milestone: required check, three deploys, owner usability gate) |
| C6 | fabric/staging/v<X.Y.Z>-staging.<sha> | none |
| C7 | fabric/staging/v<X.Y.Z>-staging.<sha> | fabric/main/v<X.Y.Z> (D7(a) matrix, runtime catalogue, Form 1 packaging, channels) |
| C8 | fabric/staging/v<X.Y.Z>-staging.<sha> | fabric/main/v<X.Y.Z> (final: learning loop, C-12 audit) |
Recorded trains
node scripts/check-upstream-cadence.cjs --audit-tags lists the tags with git ls-remote --tags origin 'fabric/*', fetches their tag objects into refs/fabric-audit/tags/ and fails on any tag that is recorded in neither of two ways:
1. **A row in this table.** This is how the trains before C2-P2 are recorded, and how a tag created by a manual release-tags.yml dispatch or by hand must still be recorded. 2. **A train record in the tag's annotation (owner decision C2-P2, 2026-10-14; spec 60 §17 G-12).** Since C2-P2 the Create Release Tag job of publish-npm-private.yml writes a fenced fabric-train-record+json block into the annotated tag. The block holds schema fabric-train-record/v1: the tag, version, branch and commit, a train description, the tagged commit's publishable inventory, and the publish run id, attempt and URL. It also holds the conclusions of Publish Candidates, the exact-version consumer, Promote Release Channel and Assert Release Channel Tags, all taken from that run's needs context. The audit first validates the record against scripts/lib/train-record.cjs: no unknown or missing field, every gating job success, a run id whose URL matches the tag's fabric-release-run, and the commit the tag actually points at.
The record cannot vouch for itself (PR #45 review), so the audit then verifies it against the GitHub Actions API: - the run exists in a5c-ai/fabric and is a push or workflow_dispatch run of .github/workflows/publish-npm-private.yml, on the record's commit (head_sha) and branch (head_branch); - in the recorded attempt, Publish Candidates, the exact-version Published Consumer, Promote Release Channel, Assert Release Channel Tags and Create Release Tag / create_release_tag concluded success; - the tagger is github-actions[bot], and the tag was made while that Create Release Tag job ran; - no other tag claims the same run.
An API error, a missing token or a missing actions: read grant fails the audit closed. A lightweight tag, an annotation without a record, or a record that is malformed, fails the schema or fails the API check is still unrecorded.
A train recorded by its verified annotation needs no row here. node scripts/render-train-records.cjs renders such rows for a human who wants this table complete. This table stays the documentation of the historical trains.
| Tag | Train | Packages | Evidence |
|---|---|---|---|
fabric/staging/v7.0.1-staging.1a0078a92465 | M1 staging train (the 7.0.0 D10 break train, published at the commit-pinned prerelease version) | all 43 @fabricstack/* | phase1/publish-record.md; phase1/rn-07-release.md |
fabric/staging/v7.0.1-staging.2155da5cc55d | C0 staging train (staging head after the C0 program-spec merge; no break, a commit-pinned prerelease of the same 7.0.0 line) | all 43 @fabricstack/* | publish-npm-private.yml run 37920072722 (packages published; the run concludes failure on informational live lanes, OA-01); release smoke against this exact train, live-stack-published.yml run 37934726729 (FL-PKG-01) |
fabric/main/v7.0.0 | M1 main promotion carried from C-11 (main at 32487fad1; latest moved through the AR tags API, OA-12) | all 43 @fabricstack/* at 7.0.0 | publish-npm-private.yml run 38053356990 (push/main): packages published, exact-version consumer validation, Promote Release Channel and Assert Release Channel Tags green; the run concludes failure on the informational live `Published (pi\ |
fabric/staging/v7.0.1-staging.e17c3d69f62c | staging train after the PR #31 merge (Artifact Registry latest moved through the AR tags API, OA-12 groundwork; no break, a commit-pinned prerelease of the same 7.0.0 line) | all 43 @fabricstack/* | publish-npm-private.yml run 38052001150 (packages published, exact-version consumer validation and channel promotion green; the run concludes failure on the informational live `Published (pi\ |
fabric/staging/v7.0.1-staging.e77ec7362e5f | staging train after the PR #30 merge (C1 substrate: vitest 5 move; no break, a commit-pinned prerelease of the same 7.0.0 line) | all 43 @fabricstack/* | publish-npm-private.yml run 38219040108 (packages published, exact-version consumer validation, Promote Release Channel, Assert Release Channel Tags and Create Release Tag green; the run concludes failure on the informational live `Published (pi\ |
fabric/staging/v7.0.1-staging.beca384bdcec | staging train after the PR #33 merge (C1 Gate B fix-forward, owner decision C1-B1; no break, a commit-pinned prerelease of the same 7.0.0 line) | all 43 @fabricstack/* | publish-npm-private.yml run 38360827644 (push/staging): packages published, exact-version consumer validation, Promote Release Channel, Assert Release Channel Tags and Create Release Tag green; the run concludes failure on the informational live published-consumer legs for claude-code, codex and pi on gpt-5.5 (OA-01, W-06) |
fabric/staging/v7.0.1-staging.d34c8a24e991 | staging train after the PR #36 merge (publish validate_core runs the console-UI codegen before its suite; no break, a commit-pinned prerelease of the same 7.0.0 line) | all 43 @fabricstack/* | publish-npm-private.yml run 38370240171 (push/staging): packages published, exact-version consumer validation, Promote Release Channel, Assert Release Channel Tags and Create Release Tag green; the run concludes failure on the informational live published-consumer legs for claude-code, codex and pi on gpt-5.5 (OA-01, W-06) |
fabric/staging/v7.0.1-staging.857d95fd062e | staging train after the PR #37 merge (spec 60 standards alignment and D23, docs and checker scripts only; no break, a commit-pinned prerelease of the same 7.0.0 line) | all 43 @fabricstack/* | publish-npm-private.yml run 38523611829 (push/staging): packages published, exact-version consumer validation, Promote Release Channel, Assert Release Channel Tags and Create Release Tag green; the run concludes failure on the informational live published-consumer legs for claude-code, codex and pi on gpt-5.5 (OA-01, W-06) |
fabric/staging/v7.0.1-staging.20f5c9c2efde | staging train after the PR #43 merge (train-map row for 857d95fd062e, docs only; cut before C2-P2, so its annotation carries no train record; no break, a commit-pinned prerelease of the same 7.0.0 line) | all 43 @fabricstack/* | publish-npm-private.yml run 38547951025 (push/staging): packages published, exact-version consumer validation, Promote Release Channel, Assert Release Channel Tags and Create Release Tag green; the run concludes failure on the informational live published-consumer legs for claude-code, codex and pi on gpt-5.5 (OA-01, W-06) |
Tag-namespace audit at this commit (2026-10-14): git ls-remote --tags origin 'fabric/*' returns exactly the tags above. Tags cut after C2-P2 lands are recorded by their annotation and need no row. No train ran between M0 and M1, so no train carried renamed but unbounded packages (WP-PKG-01 AC4). The public repository's tag namespace is untouched (D17).
Cutover record (D10)
1. Leave every fabric/<branch>/v* tag in place. Tags are immutable, and the pre-train artifacts stay resolvable on Artifact Registry. 2. Re-point the affected dist-tags (staging, and latest once the main promotion exists) to the pre-train versions with npm dist-tag add <pkg>@<previous> <tag> against the Artifact Registry repository, for all 43 packages. 3. Re-pin in-repo and deployed consumers to the previous versions, then verify resolution with npm view <pkg> dist-tags for each package. 4. Never unpublish, never rewrite history, and never touch the public repository.
- **The one break train.** Exactly one consumer-visible break train exists: the 7.0.0 train. It carried WP-RN-05 (package renames), WP-RN-06 (binary renames), WP-RN-07 (release machinery to Artifact Registry), WP-PKG-01 (exports maps) and WP-PKG-02 (lockstep versioning, changesets removed), as spec 15 §5 rule 6 and spec 40 §2.2 require. It shipped as
fabric/staging/v7.0.1-staging.1a0078a92465. - **Abort and rollback procedure for the 7.0.0 train** (
50-roadmap-workpackages.md§6 risk 7):
WP-RN-07 AC3's from-tag recovery (publish-packages-from-tag.yml under a candidate dist-tag) is the rehearsed re-publish path. WP-CP-10 executes this procedure as a rehearsal in C2 (publish-packages-from-tag.yml mode: rollback-rehearsal, flow FL-REL-04).
- WP-RN-09: environment-variable prefixes, C10; - WP-RN-10 and WP-RN-11: data directory and code identifiers, C12; - WP-RN-12 with WP-PKG-09: one chart-consumer train, C12.
- **Later rename sweeps.** RN-2…RN-5 must ship as non-breaking trains for
@fabricstack/*consumers, or each additional consumer-visible break is documented here with its approval. Three are planned to be consumer-visible:
Each is recorded here with its version and approval at its run's Gate A. Until then each is pending: no additional break has shipped.
- **Program units.** The console program adds new units under spec 15 §3.3 names from birth. These are contracts, acp, environment, client-runtime, console-web, console-desktop, ssh, tailscale, codex-protocol and relay. A new unit is not a break, because no consumer exists to break (D10, I-8).
Cadence register
Every standing review has an owner and a next-due date. fabric maintainers (Tal) is the owner named by docs/EFFECT-BASELINE.md for the pin, and the same owner acts for the tracked forks until the owner names another.
Tracked-fork upstream reviews
The five tracked forks are units 1–5 of spec 10 §2.2. Each gets a quarterly upstream-diff review: re-pull the upstream package, regenerate schemas for contracts, acp and codex-protocol, and cherry-pick protocol updates. All five pin upstream snapshot de251fc2971a884cb5b1305ba4daf309dc8cccb0 (third_party/t3code-patches/PATCHES.md). The review fields are mirrored into each fork's UPSTREAM.json, and the checker requires them equal.
| Fork | Package · directory | Landing WP (run) | Owner | Cadence | Next review |
|---|---|---|---|---|---|
| contracts | @fabricstack/contracts · packages/contracts | WP-T3-02 (C1) | fabric maintainers (Tal) | quarterly | 2027-01-09 |
| acp | @fabricstack/acp · packages/acp | WP-T3-03 (C1) | fabric maintainers (Tal) | quarterly | 2027-01-09 |
| codex-protocol | @fabricstack/codex-protocol · packages/codex-protocol | WP-T3-04 (C7a) | fabric maintainers (Tal) | quarterly | 2027-01-15 |
| ssh | @fabricstack/ssh · packages/ssh | WP-T3-28 (C5) | fabric maintainers (Tal) | quarterly | 2027-01-15 |
| tailscale | @fabricstack/tailscale · packages/tailscale | WP-T3-29 (C5) | fabric maintainers (Tal) | quarterly | 2027-01-15 |
A fork that has not landed yet has no UPSTREAM.json. The checker accepts that only while the fork's landing WP is not done in roadmap/index.json. From the moment it is done, a missing file or missing fields fail. This is cross-track edge X3: the cadence fields need WP-T3-01's UPSTREAM.json template, 55-console-program.md §3.2.
Standing items
| Item | Source | Owner | Cadence or trigger | Next due |
|---|---|---|---|---|
| Public-fix intake review | spec 15 §1.4 (opportunistic, pull-based cherry-pick from upstream/main) | fabric maintainers (Tal) | monthly review of git log upstream/main since the last intake | 2026-11-09 |
| Bulk-intake checkpoint | spec 15 §5 rule 5; WP-RN-10 AC4 | fabric maintainers (Tal), signed by the owner (OA-08) | once, closed before WP-RN-10 executes, and cross-checked against WP-RN-10 AC4's sign-off note | 2027-06-30 |
| Effect rc→stable watch | docs/EFFECT-BASELINE.md §4, criteria 1–5 (stable 4.x on latest, patched behaviours resolved, matching @effect/vitest, every tracked fork and apps/environment green on the candidate, test:effect-baseline green) | fabric maintainers (Tal) | monthly check of npm view effect dist-tags.latest; a move follows the docs/EFFECT-BASELINE.md §6 playbook | 2026-11-09 |
The bulk-intake date is a planning date. It must fall before C12, where WP-RN-10 executes, and it moves with the C12 schedule.
Relay artifact class
The hosted relay is the fifth artifact class (spec 40 §5; 50-roadmap-workpackages.md §3 note 5).
| Unit | Owner WP | Stage 1 (staging deploy pipeline) | Stage 2 (production rollout) | Runbook |
|---|---|---|---|---|
@fabricstack/relay · infra/relay | WP-PKG-14 | C11, co-lands with WP-T3-31; staging Worker with train-tag and commit provenance, gated Postgres migrations (AC2–AC3) | C12 milestone train fabric/main/v<X.Y.Z>; the production relay deploys only a commit a staging relay already ran (AC1, AC4–AC7) | FR-7 (20-functionality-coverage.md §4), docs/remote-access-runbook.md, executed by WP-FN-16 AC7 |