Forge — Master Ticket Build-Order Roadmap (Wave 0 → Wave 8)¶
[!IMPORTANT] How to Read This Build-Order Document Every ticket in the Forge (
FLT-313Epic) and Autonomous Fleet backlog is ordered below by strict dependency wave. A ticket inWave Nnever depends on unbuilt code fromWave N+1. Within each wave, tickets are grouped into independent Git worktree lanes (wt/WT-xxxx/<ticket>) so multiple agents (Jenny Jones-Gaffney, Cedric Jones-Gaffney, Gronktayvius Jones-Gaffney, Susie Franny Jones-Gaffney, and Clahadore Jones-Gaffney) can build in parallel without file contention.
High-Level Dependency DAG (Wave 0 → Wave 8)¶
flowchart TD
W0["Wave 0: Fleet Foundation, Quota Governor & 13-Role Cross-Harness Failover (COMPLETE / LIVE)"]
W1["Wave 1: Core Contracts, SpecIR & Polymorphic Event Schema (FLT-318 Step 1)"]
W2["Wave 2: Loopback Host Daemon, Event Log & Security Middleware (FLT-318 Step 2)"]
W3["Wave 3: Git Worktree Engine, Verification Runner & 5-Seat Council Bridge (FLT-318 Steps 3–4)"]
W4["Wave 4: Universal Polyglot Visual Rosetta Stone & Reverse Pair Studio (FLT-318 Step 5A)"]
W5["Wave 5: 12-Module Everything-App Cockpit UI & UX Guided/Expert Studio (FLT-318 Steps 5B–6 / FLT-329)"]
W6["Wave 6: CDK Terrain (cdktn) C# Cloud Portability & Open-Ontologies Gate (FLT-374 / FLT-375)"]
W7["Wave 7: IDE Extensions, Cross-Harness SDK Adapters & CLI (`forge up`) (FLT-318 Steps 7–9)"]
W8["Wave 8: Enterprise Compliance Bundles, FinOps Telemetry & Multi-PC Mesh GA"]
W0 --> W1
W1 --> W2
W2 --> W3
W3 --> W4
W3 --> W6
W4 --> W5
W5 --> W7
W6 --> W7
W7 --> W8
Wave 0 — Fleet Foundation, Quota Governor & 13-Role Failover (COMPLETE / LIVE)¶
These foundational tickets establish the multi-model execution fabric, isolated council runner, and cross-harness failover that Forge uses to build itself:
| Order | Ticket | Component / Repo | What It Builds & Why It Comes First | Status |
|---|---|---|---|---|
| 0.1 | FLT-296 |
CouncilSeat.Core (CliLocator.cs) |
Kernel-verified local binary locator (agy.exe, grok.exe, muse.cmd, codex, claude) with NTFS reparse-point and BatBadBut batch-injection protection. |
DONE |
| 0.2 | FLT-312 |
CouncilSeat.Core (SeatSpec.cs, SeatRunner.cs) |
5-Seat Adversarial Council isolation engine: disposable Git checkouts, scratchpad execution, tool-denial enforcement, and SHA-256 prompt provenance. | DONE |
| 0.3 | FLT-294 / FLT-297 |
CouncilSeat.Core |
Joffrey Snow Jones (jev-latest) typed Choice/Score shadow auditor for council verdict consistency. |
DONE |
| 0.4 | FLT-389 |
UsageGovernor.Core + CouncilSeat.Cli (FleetRoleRouter.cs, FleetIdeOnboarder.cs, ForgeLocalGateway.cs) |
13-Role Cross-Harness Failover Matrix (orchestrator, architect-reviewer, backend-cloud, data-models, redteam-security, frontend-ux, clahadore, cedric, jenny, gronktayvius, susie, superagent, pageagent) wired across Theia IDE, DeepSeek Harness (dsh), and Buzz, plus the Forge Shunt Broker (/v1/shunt/bulk-read, /v1/shunt/code-write) and Retroactive Catch-Up Queue. |
LIVE |
Wave 1 — Core Contracts, SpecIrRoot & Polymorphic Event Schema (FLT-318 Step 1)¶
Why Wave 1 is next: Every backend service, visual canvas, and IDE adapter depends on the shared wire contracts. Building Forge.Contracts first locks down the types so Waves 2–7 can compile against immutable C# interfaces.
| Order | Ticket | Worktree Lane | Deliverable (src/Forge.Contracts/) |
Verification Gate |
|---|---|---|---|---|
| 1.1 | FLT-318-S1A |
wt/WT-c101/FLT-318-contracts |
ForgeEvent Polymorphic Hierarchy: [JsonPolymorphic(TypeDiscriminatorPropertyName = "$type")] sealed records for all swarm, build, council, shunt, and deployment events, with monotonic SequenceId and IdempotencyKey. |
xUnit round-trip JSON serialization + discriminator fuzz tests. |
| 1.2 | FLT-318-S1B |
wt/WT-c101/FLT-318-contracts |
SpecIrRoot & ISpecArtifactGenerator: Canonical intermediate representation linking Plain English stories, Blockly rule trees, GrapesJS DOM layouts, Rete.js dataflow pins, Structurizr C4 nodes, and Roslyn AST symbol:line anchors. |
Schema invariant tests + 0 external package dependencies beyond System.Text.Json. |
| 1.3 | FLT-318-S1C |
wt/WT-c101/FLT-318-contracts |
TrustNutritionLabelDto & CouncilVerdictDto: Immutable receipt records carrying 5-seat verdicts, Stryker mutation scores, Argos pre-code advisories, and cdktn blast-radius summaries. |
Contract snapshot tests + Council review gate. |
Wave 2 — Loopback Host Daemon, Event Log & Security Middleware (FLT-318 Step 2)¶
Depends on: Wave 1 (Forge.Contracts).
Why Wave 2 is second: Provides the canonical 127.0.0.1:4317 ASP.NET Core Minimal API + Typed SignalR hub (IForgeHubClient) that all UI screens and IDE plugins connect to.
| Order | Ticket | Worktree Lane | Deliverable (src/Forge.Host/) |
Verification Gate |
|---|---|---|---|---|
| 2.1 | FLT-318-S2A |
wt/WT-h201/FLT-318-host |
Loopback Kestrel Host & Middleware Pipeline: Strict IPAddress.Loopback bind (127.0.0.1:4317), DNS-rebinding Host guard, strict Origin allowlist, and mandatory middleware order: UseForwardedHeaders → UseCors → UseAuthentication → UseRateLimiter → UseAuthorization. |
Integration tests proving cross-origin and non-loopback Host requests return 403 Forbidden. |
| 2.2 | FLT-318-S2B |
wt/WT-h201/FLT-318-host |
ForgeEventLog (SQLite WAL + Monotonic Cursor): Append-only event store backing SignalR catch-up (?sinceSequenceId=N) so reconnecting clients never miss an agent or build event. |
Concurrency stress test (50 parallel writers + cursor replay accuracy). |
| 2.3 | FLT-318-S2C |
wt/WT-h201/FLT-318-host |
DPAPI Ephemeral Session Token & Health Endpoints: Per-user Windows DPAPI / macOS Keychain local bearer token bootstrap + /health and /v1/swarm/events bridge to :4319. |
Security test verifying unauthenticated calls fail with 401. |
Wave 3 — Git Worktree Engine, Verification Runner & 5-Seat Council Bridge (FLT-318 Steps 3–4)¶
Depends on: Wave 2 (Forge.Host).
Parallelism: These 3 lanes can be built simultaneously in separate worktrees!
| Order | Ticket | Worktree Lane | Deliverable | Verification Gate |
|---|---|---|---|---|
| 3.1 | FLT-318-S3A |
wt/WT-g301/FLT-318-git |
Forge.Git Worktree & Restack Engine: Enforces the standing worktree-isolation rule (wt/WT-xxxx/<ticket>), porcelain-clean precondition checks, E1 board-metadata atomic path allowlist, and fast-forward merge gates. |
Temp-repo Git integration tests (dirty tree rejection, branch naming enforcement). |
| 3.2 | FLT-318-S3B |
wt/WT-v302/FLT-318-verify |
Forge.Verify Detached Runner: Executes dotnet test, Stryker.NET mutation testing, Playwright E2E checks, and axe-core WCAG 2.2 AA audits in background processes, streaming progress into ForgeEventLog and assembling the Trust Nutrition Label. |
Stryker + xUnit parser tests + timeout/cancellation tests. |
| 3.3 | FLT-318-S4 |
wt/WT-r303/FLT-318-council |
Forge.Review.Council Service: Wraps council-seat.exe across all 5 core seats (Cedric, CedricFocus, Fable/Clahadore, Jenny, Gronktayvius [General + RedTeam], SusieFranny) + Joffrey shadow scoring + automatic processing of ~/.fleet/runs/retro-review-queue.jsonl. |
End-to-end mock & live seat orchestration tests + symbol:line anchor validator tests. |
Wave 4 — Universal Polyglot Visual Rosetta Stone & Reverse Pair Studio (FLT-318 Step 5A)¶
Depends on: Wave 1 (SpecIrRoot) + Wave 2 (Forge.Host).
Why Wave 4 comes before full Cockpit UI: The 4-way Visual Rosetta compiler is the core differentiator used across Plan & Spec, UX Studio, Code IDE, and Cloud IaC.
| Order | Ticket | Worktree Lane | Deliverable (src/Forge.Rosetta/) |
Verification Gate |
|---|---|---|---|---|
| 4.1 | FLT-318-R1 |
wt/WT-r401/FLT-318-rosetta-core |
Roslyn C# / F# Bidirectional AST Mapper: Parses C# endpoints, domain services, and EF Core LINQ queries into SpecIrRoot and regenerates formatted C# code while preserving human comments and symbol:line spans. |
Round-trip AST equivalence tests across 25 real C# classes. |
| 4.2 | FLT-318-R2 |
wt/WT-r402/FLT-318-rosetta-polyglot |
Polyglot Target Adapters (HTML/CSS, SQL, CDK Terrain, YAML/JSON, C++): Bidirectional compilers connecting: (a) GrapesJS safe DOM ↔ Blazor/HTML5+Tailwind (WCAG 2.2 AA), (b) Visual Query Blocks ↔ parameterized SQL + EXPLAIN ANALYZE, (c) Rete.js / C4 ↔ cdktn C# constructs, (d) Blockly ↔ GitHub Actions YAML & JSON Schema, (e) UE5 Blueprints ↔ UCLASS/UFUNCTION C++. |
Golden-file round-trip tests + DOM XSS sanitizer tests (rejecting <script>, javascript:, on* handlers). |
| 4.3 | FLT-318-R3 |
wt/WT-r403/FLT-318-reverse-pair |
Reverse Pair Programming & Training Studio: Interactive challenge engine across all 5 engineering pillars (Web/AppSec, Distributed Systems, SOLID/Types, cdktn/Mutation Testing, Polyglot Translation) with 0–100 rubric grading against the AI Council's reference architecture. |
Unit tests on rubric scorer + 64 KiB LOH payload guard verification. |
Wave 5 — 12-Module Everything-App Cockpit UI & Guided/Expert UX Studio (FLT-318 Steps 5B–6 & FLT-329)¶
Depends on: Wave 3 + Wave 4.
Parallelism: Split into 3 UI lanes + 1 Desktop/Web host lane.
| Order | Ticket | Worktree Lane | Deliverable (src/Forge.Client.*/) |
Verification Gate |
|---|---|---|---|---|
| 5.1 | FLT-318-U1 |
wt/WT-u501/FLT-318-ui-core |
Core Shell, Mode Switcher (Simple / Guided / Pro) & Executive Modules (M1 Home, M2 Inbox, M3 Work, M4 Docs): Shared Razor Class Library (Forge.Client.Shared) with 3-board footer sync (Jira + Vikunja + BOARD.md) and plain-English executive mode (FLT-352 non-technical review workflow). |
bUnit component tests + axe-core zero-violation check. |
| 5.2 | FLT-329 |
wt/WT-u502/FLT-329-ux-studio |
M5 UX & Design Studio (Guided Mode for Darby + Expert Mode for Figma/Stitch): Integrates GrapesJS live canvas, Figma MCP token sync, PageAgent DOM/contrast inspector, and responsive viewport preview. |
Playwright interactive drag-and-drop + WCAG contrast verification tests. |
| 5.3 | FLT-318-U2 |
wt/WT-u503/FLT-318-ui-eng |
Engineering & Governance Modules (M6 Rosetta IDE, M7 Council Gate, M8 Test Bench, M10 Fleet Governor, M11 CRM, M12 Finance/Legal): Live Multi-Instance Swarm Canvas (agent@pc#ordinal), Trust Nutrition Label viewer, and Forge Shunt telemetry dashboard. |
bUnit + Playwright E2E tests across all 12 module routes. |
| 5.4 | FLT-318-S6 |
wt/WT-u504/FLT-318-hosts |
Forge.Client.Web & Forge.Client.Desktop (Blazor Hybrid / Photino / WebView2): Standalone cross-platform desktop app (Windows x64, Windows ARM64, macOS Apple Silicon) and local web app hosted on Forge.Host. |
Cold-start smoke test (<1.5s launch) + desktop packaging check. |
Wave 6 — CDK Terrain (cdktn) C# Cloud Portability & Open-Ontologies Gate (FLT-374 / FLT-375)¶
Depends on: Wave 3 (Forge.Verify) + Wave 4 (Forge.Rosetta). Can run in parallel with Wave 5!
| Order | Ticket | Worktree Lane | Deliverable (fleet-infra & Forge.Deploy) |
Verification Gate |
|---|---|---|---|---|
| 6.1 | FLT-374-A |
wt/WT-i601/FLT-374-abstractions |
FleetInfra.Abstractions & Dual-Provider C# Synthesis (GCP + Cloudflare + AWS/Azure validation): Provider-neutral C# constructs compiling to Terraform 1.17.1 JSON via cdktn, plus the Lock-In Ledger validator. |
Multi-provider cdktn synth CI check with 0 hand-written HCL files. |
| 6.2 | FLT-375-A |
wt/WT-i602/FLT-375-drift-gate |
Forge.Gates.Iac.Scanner & Open-Ontologies (OWL 2 RL / SHACL) Blast-Radius Gate: Detects unmanaged cloud resources and drift; opens codify PRs for non-security drift; raises a High DRIFT FLAG and pages Andrew on any security drift (IAM, firewall, public buckets, secrets, TLS); blocks click-ops in fleet-preflight. |
SHACL ontology constraint tests + simulated IAM drift detection tests. |
Wave 7 — IDE Extensions, Cross-Harness SDK Adapters & CLI (forge up) (FLT-318 Steps 7–9)¶
Depends on: Wave 5 + Wave 6.
| Order | Ticket | Worktree Lane | Deliverable | Verification Gate |
|---|---|---|---|---|
| 7.1 | FLT-318-S7 |
wt/WT-x701/FLT-318-ide-ext |
Forge.Ide.Vscode & Forge.Ide.VisualStudio Extensions: Embeds the Forge Visual Rosetta side-panel, Trust Nutrition Label badge, and 1-click Council Gate inside VS Code and Visual Studio 2026. |
Extension host activation & WebView message-passing tests. |
| 7.2 | FLT-318-S8 |
wt/WT-x702/FLT-318-adapters |
Forge.Agent.Sdk & Production Harness Adapters (Theia, DeepSeekHarness, Buzz): Upgrades the :4319 bootstrap bridge into full bidirectional state sync (live cursor sharing, inline Visual Rosetta canvas tabs inside Theia and dsh, and Buzz workspace threads). |
Live 3-harness round-trip smoke test across all 13 roles. |
| 7.3 | FLT-318-S9 |
wt/WT-x703/FLT-318-cli |
Forge.Cli (forge up, forge doctor, forge gate, forge shunt): Single-command bootstrapper that starts Forge.Host (:4317), ForgeLocalGateway (:4319), verifies all 5 model CLIs, syncs worktrees, and opens the Cockpit. |
End-to-end CLI smoke test on clean workspace. |
Wave 8 — Enterprise Compliance Bundles, FinOps Telemetry & Multi-PC Mesh GA¶
Depends on: Wave 7.
| Order | Ticket | Worktree Lane | Deliverable | Verification Gate |
|---|---|---|---|---|
| 8.1 | FLT-390 |
wt/WT-m801/FLT-390-mesh |
11-Machine Heterogeneous Compute Mesh Coordinator: Automated cross-machine task dispatch across Windows x64 (greatroom, gaming, streaming, bedroom), Windows ARM, and Apple Silicon Macs over Tailscale + fleet-repo-sync. |
Cross-PC FF-only sync + remote worker lease recovery test. |
| 8.2 | FLT-391 |
wt/WT-m802/FLT-391-compliance |
Automated Compliance Evidence Bundles (SOC 2 / OWASP ASVS / ISO 27001): Exports cryptographically signed audit bundles combining Council verdicts, Stryker mutation receipts, cdktn reconciliation proofs, and SBOMs for enterprise customers. |
Evidence bundle signature & schema completeness gate. |
| 8.3 | FLT-392 |
wt/WT-m803/FLT-392-pilot-ga |
External Pilot Onboarding & Multi-Tenant Packaging: Self-serve installer (forge-setup.exe / .dmg), BYO-Subscription model wizard (1..N models), and binary pilot readiness gates. |
Full pilot simulation from zero-install to first shipped feature in <15 minutes. |
Summary: Critical Path to First External Customer Pilot¶
If the goal is to reach an external customer pilot as fast as possible with maximum parallelization across our 5 AI seats:
1. Immediate (Already Live): Wave 0 (FLT-389 13-role router, Forge Shunt, CouncilSeat, :4319 gateway).
2. Sprint 1 (Days 1–4): Wave 1 (Forge.Contracts) → Wave 2 (Forge.Host :4317).
3. Sprint 2 (Days 5–10, 3 Parallel Worktrees): Wave 3 (Forge.Git + Forge.Verify + Forge.Review.Council) + Wave 4 (Forge.Rosetta 4-way compiler).
4. Sprint 3 (Days 11–16, 4 Parallel Worktrees): Wave 5 (Forge.Client.Shared + FLT-329 UX Studio + Desktop/Web hosts) + Wave 6 (FLT-374/375 cdktn gate).
5. Sprint 4 (Days 17–21): Wave 7 (forge up CLI + IDE/Harness adapters) → Ready for Pilot #1.