feat(mapgen-studio): standalone Bun daemon owns the server surface — vite is frontend-only; legacy /api retired outright#1652
Merged
Conversation
This was referenced Jun 12, 2026
Merged
refactor(studio): decompose App.tsx non-React corpus into feature modules and shared utilities
#1608
Merged
Merged
|
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: |
This was referenced Jun 12, 2026
Owner
Author
This was referenced Jun 12, 2026
Merged
mateicanavra
force-pushed
the
design/bun-control-fetch
branch
from
June 12, 2026 20:44
c7ed642 to
dcb6485
Compare
mateicanavra
force-pushed
the
design/bun-server-daemon
branch
from
June 12, 2026 20:44
e279fc3 to
13b52fd
Compare
Owner
Author
Merge activity
|
mateicanavra
changed the base branch from
design/bun-control-fetch
to
graphite-base/1652
June 12, 2026 22:25
…hared tuner session (strict valid) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…vite is frontend-only; legacy /api retired outright Daemon (src/server/daemon/daemon.ts, :5174, Bun.serve): one engines instance + /healthz + the three oRPC mounts (/rpc, /api/civ7/rpc, /api/recipe-dag/rpc — both fetch handlers statically imported; the ssrLoadModule mount is gone, Bun loads effect-orpc TS natively) + optional --assets-root static dist. bun run dev = dev-live runner (daemon → healthz → vite); vite.config proxies /rpc + /api and imports zero server modules. Legacy /api/* REST handlers RETIRED per user directive 2026-06-12 (no legacy, no fallbacks, forward only): unknown /api → 404; the parity script's status poll moved to oRPC runInGame.status. Gates: tsc, studio 201 (8 new daemon/dev-live pins), mod 471, build + worker bundle, strict OpenSpec; live-verified on fresh processes (run loop + pipeline view through the proxy, retired paths 404). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
mateicanavra
force-pushed
the
design/bun-server-daemon
branch
from
June 12, 2026 22:27
13b52fd to
da69032
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.

Daemon (src/server/daemon/daemon.ts, :5174, Bun.serve): one engines
instance + /healthz + the three oRPC mounts (/rpc, /api/civ7/rpc,
/api/recipe-dag/rpc — both fetch handlers statically imported; the
ssrLoadModule mount is gone, Bun loads effect-orpc TS natively) + optional
--assets-root static dist. bun run dev = dev-live runner (daemon → healthz
→ vite); vite.config proxies /rpc + /api and imports zero server modules.
Legacy /api/* REST handlers RETIRED per user directive 2026-06-12 (no
legacy, no fallbacks, forward only): unknown /api → 404; the parity
script's status poll moved to oRPC runInGame.status.
Gates: tsc, studio 201 (8 new daemon/dev-live pins), mod 471, build +
worker bundle, strict OpenSpec; live-verified on fresh processes (run
loop + pipeline view through the proxy, retired paths 404).
Co-Authored-By: Claude Fable 5 noreply@anthropic.com