You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TNQ-3 surfaced that docs/v3-decisions.md and docs/spec-gap-analysis.md declared opposite north stars for GraphQL. Escalated to @rawkode; resolution: rebuild federation per the spec. Current kernel-owned-GraphQL is the interim shape and stays as the shipping contract for kernel-mandatory fields (auth / identity / instance config).
Implement spec §A7 — Apollo Federation v2 — per docs/spec-gap-analysis.md. High-level shape:
Spec → plan cycle of its own (matches the existing spec-driven flow). Includes a build-time spike:
planner-as-crate (Hive Router embeddable shape)
plan-IR-drives-executor (custom plan executor sees the planner's IR, not a serialized query)
join-spec dialect compatibility (which subset of Apollo's join-spec we emit and consume)
WIT contract additions
graphql-resolve host export so each extension can answer subgraph queries
Manifest field for the extension's subgraph SDL
Composition + planning at runtime
graphql-composition (Grafbase) for SDL composition
Hive Router as query planner
Custom WASM plan executor that drives the planner's plan into per-extension graphql-resolve calls (no apollo-federation/harmonizer at runtime, per spec)
Migration of kernel-owned GraphQL fields that are extension-owned in the federated world (per-extension subgraphs absorb their concerns; kernel keeps the small set it must own)
First-party extension subgraph rollout (issues, epics, pull-requests, checks, docs, workspace-home) — each extension ships SDL + handles its graphql-resolve
Background
TNQ-3 surfaced that
docs/v3-decisions.mdanddocs/spec-gap-analysis.mddeclared opposite north stars for GraphQL. Escalated to @rawkode; resolution: rebuild federation per the spec. Current kernel-owned-GraphQL is the interim shape and stays as the shipping contract for kernel-mandatory fields (auth / identity / instance config).Docs alignment landed in #202.
Scope
Implement spec §A7 — Apollo Federation v2 — per
docs/spec-gap-analysis.md. High-level shape:graphql-resolvehost export so each extension can answer subgraph queriesgraphql-composition(Grafbase) for SDL compositiongraphql-resolvecalls (noapollo-federation/harmonizerat runtime, per spec)graphql-resolveGOAL.mdandSPEC.mdupdated end-to-end (initial alignment in docs: align north star on SP6 Apollo Federation v2 rebuild (TNQ-3 P1) #202 is a placeholder; the full rewrite happens with SP6 build)Out of scope (separate work items)
References