Repository navigation
feat(dev): SSR by default for ui-local dev — the flip (plan 078 phase 3, #472) - #1226
Merged
Merged
Conversation
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.
Closes #472 — phase 3 of plan 078. Phases 1–2 landed in #1211/#1221.
Survey verdict (in the PR because it's the headline)
The serving-side flip was already complete — phase 2's always-emit default flipped it as a consequence:
sessionSsrIntent(ui-local → true) stamps the intent wire on the host and ui children, and the gate answers SSR for local-ui+intent or any pin. Phase 3 therefore landed the remaining surface: the notice, a stale message, docs/skills, and tests.What this PR adds
level: "warn"override):remote ui renders client-side (CSR) — production does the same for unpinned remotes; --no-ssr opts a local session out of SSRrequireSsrEntryUrl's error no longer advises "run the dev stack with--ssr" (a compat no-op since feat(dev): supervisor-owned SSR intent — always-emit for ui-local dev (plan 078 phase 2) #1221); it names the production pin for remotes and the ui-local defaultcli-reference(--no-ssr+ SSR-default paragraph),dev-workflow(SSR-by-default hot-reload caveat in phase-0's measured form: +0.59s median per keystroke, bar <1s), AGENTS.md Typical Session gains the accurate SSR-default block (the referenced "bare client shell" line no longer exists on main)Evidence — the churn arbiter, both legs
dev:ssr: TestUiChurnSwap PASS (dev-shape rebuild 5.08s, marker rendered in SSR HTML), TestTrainBuildUnderSsrTraffic PASS, stack ready 55.5sdev:csr: TestPluginChurnAdopt PASS (generation swap without restart); SSR-pipeline tests self-skip by mode gatessr-federation-error) is pre-existing on clean main (stash-verified; network-dependentloadRouterModulepath, untouched here)bos typecheck15/15; lint, docs:check,intent validate(14 skills, typed) all green#472's closure: the flip +
--no-ssropt-out + the superseded decision matrix (ratified pin design) + the measured tolerance line (+0.59s median, <1s bar).Merge Danger
Door: two-way
Blast Radius: everything-dev + host + docs