docs(studio): add control-oRPC seam doc, thin LiveControlPort adapter design, and re-baseline server-contract audit + target architecture for live-read surface#1605
Merged
Conversation
|
Railway preview (MapGen Studio): not provisioned for this PR. Policy (Graphite stacks): previews are created only for the top-of-stack PR by default.
Debug: |
Owner
Author
This was referenced Jun 12, 2026
Merged
refactor(studio): decompose App.tsx non-React corpus into feature modules and shared utilities
#1608
Merged
Merged
This was referenced Jun 12, 2026
Merged
mateicanavra
force-pushed
the
design/control-seam
branch
from
June 12, 2026 20:44
37b5297 to
1e93069
Compare
mateicanavra
changed the base branch from
graphite-base/1605
to
design/ds-foundation
June 12, 2026 20:45
Owner
Author
Merge activity
|
mateicanavra
changed the base branch from
design/ds-foundation
to
graphite-base/1605
June 12, 2026 20:50
…top) Capture the target studio<->control-oRPC contract surface from the live-control stack tip (codex/live-control-hotseat-source-route-adoption, 7ea1cbd5) and specify the thin LiveControlPort adapter seam. Re-baseline audit/05 and architecture/10 section 1 as studio-server surface only; live reads bind through the control seam, not yet on main. No FireTuner reads; never re-implement live reads. Docs-only. OpenSpec: mapgen-studio-control-seam (validate --strict passes). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mateicanavra
force-pushed
the
design/control-seam
branch
from
June 12, 2026 20:51
1e93069 to
7d8ab20
Compare
This was referenced Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR introduces the studio ↔ control-oRPC seam design for the mapgen studio redesign. It is a docs-only change — no app source or build artifacts are modified.
What this establishes:
The studio must consume live game state (
world.*,readiness.*,attention.*) through the@civ7/control-orpccontract andCiv7IntelligenceBridgeingress, not by reading FireTuner or re-implementing live reads. Because@civ7/control-orpcis absent frommain(empty placeholder on this branch) and lives at the tip of the live-controlcodex/*stack mid-consolidation, the studio cannot block on that landing. This change captures the target contract surface from the observed stack tip (codex/live-control-hotseat-source-route-adoption,7ea1cbd5) and documents the thin adapter seam the studio binds through, so P2 client data layer and P5 studio-server work can proceed in parallel.New doc —
architecture/12-control-seam.md:Specifies the full target seam: the
Civ7ControlOrpcContractprocedure corpus (twelve domain modules, procedure keys,risk/proofBoundarymetadata as the authoritative read-vs-mutation classifier), theCiv7IntelligenceBridgerequest/response envelope andinvokeboundary, the studio-sideLiveControlPortinterface with a bound RPCLink implementation and a legacy direct-control-backed fallback behind the same port, data flow boundaries, and the bind-time checklist. The blast radius of any breaking change in@civ7/control-orpcis confined tosrc/lib/control/*. The live-runtime poll's staleness/backoff gating and per-field error envelope behavior are explicitly preserved as hard core — the seam moves the read source, it does not rewrite poll semantics.Re-baselines:
architecture/10-target-architecture.md§1: studio-server owns authoring/deploy/run-in-game only; FireTuner read handlers (Sanitize Civ7 resource archive paths and simplify extraction #1–chore: bootstrap turborepo #7, chore: add vitest smoke tests #10) are not ported and bind through the control seam.audit/05-server-contracts.md: scoped to the studio-server surface; the FireTuner read rows are marked superseded by the control seam, with theirEffect service mapping/Parity riskcolumns retained only as documentation of the legacy fallback path.Falsifier: If the package that lands on
maindiverges structurally from the captured contract namespaces, procedure keys, or output shapes, the FRAME §3 falsifier fires — work stops and the seam is re-baselined rather than papered over.