Repository source: docs/plans/plain_default_site/plain_default_site_step3_development_plan.md
Debug mode: enabled
Effort study: railspike-effort / v3/plain_default_site; cycle ledger. Standing P2 enrollment.
Extended estimates: enabled
Cycle estimate: 0.85
Step 2 approved and committed in 2e7e0be (Step 1 in dfda29e).
Concepts touched
Presentation slots: the editorial fallback becomes
plain(Stage 1).Deployment configuration: the default profile is
plain, and zenmemes.com setsFORUM_SITE_ID(Stage 5).Tour snapshot: offered only by profiles that turn it on (Stage 4).
Site profile: new entry
docs/concepts/site_profile.md(Stage 5).
Completion Contract
Normal entry:
./v3 starton a fresh clone;FORUM_SITE_ID=zenmemes ./v3 start; Deploy now on zenmemes.com.End-to-end: with no setting, the home page, a thread, Tools, the manifest, the busy page and a push test say nothing about ZenMemes. They use Light/Dark, with no Zen strip and no tour. With
zenmemes, the same pages match whatmainrenders today.Recovery:
./v3 statusalready showsFORUM_SITE_IDand its source. Setting it in the private config fixes a site that came up plain by mistake.Deployment: the PR description's deploy checklist says to set
FORUM_SITE_ID=zenmemeson zenmemes.com before Deploy now. The other servers already set their IDs (checked in Stage 5).Release: PR opened. zenmemes.com acceptance after the deploy is Ilya's, and stays pending until he reports it.
Key Risks
High risk: zenmemes.com is deployed without
FORUM_SITE_IDand turns plain. Accepted in Step 2. Mitigation: the PR checklist line and the recovery above; no code.The test sweep hides a regression. About 117 test files mention zenmemes, and 59 already select it explicitly. Early validation: Stage 1 flips the default, then runs the smoke set and the profile tests to count failures before Stage 2 begins. Mitigation: a test that checks ZenMemes branding selects
zenmemes; only tests about default behavior switch toplain.ZenMemes rendering drifts. Mitigation: Stage 6 compares the key pages under
zenmemesagainstmain's output.Literal leaks. Mitigation: a leak test in Stage 3 (case-insensitive "zen ?memes" across the plain outputs).
Stage 1
Estimate: 0.20
Goal:
plainis a profile and the default; validation requires it.Dependencies: none.
Expected changes:
SiteProfileRegistry: aplainentry. Display nameplain, Light/Dark, the general permitted themes including Engagify, no page themes, no strip tags, no calendar zone, no app name.DEFAULT_SITE_IDbecomesplain, and validation requiresplaininstead ofzenmemes.ProfilePresentationContent: aplaineditorial entry, built from the existing generic copy (as qdb uses), with the neutral "Temporarily Busy" text.PresentationSlotRegistry: the editorial fallback becomesplain.zenmemesis unchanged.
Verification approach:
SiteProfileRegistryTestandPresentationProfileMatrixTest, updated for the new default and fallback. Then the smoke set, to count the default-dependent failures Stage 2 has to fix.Estimate details: driver: copy choices for plain; uncertainty: low.
Risks or open questions: other profiles that leave
editorialunset now get plain copy instead of ZenMemes copy. That's intended, and the matrix test shows it.Canonical components/API contracts touched:
SiteProfileRegistry::all()/active()/validate(),PresentationSlotRegistry::SLOTS,ProfilePresentationContent::EDITORIAL. No new registry.
Stage 2
Estimate: 0.30 Split candidate if Stage 1's count runs past about 40 failing files: Stage 2a for the PHP tests, 2b for the Python and browser tests.
Goal: the test suite reflects the new default.
Dependencies: Stage 1.
Expected changes: tests that relied on the implicit default either set
FORUM_SITE_ID=zenmemes(orsetProfilesForTesting) when they check ZenMemes behavior or branding, or assert plain when they check the default. Shared fixtures (tests/Support/*) get the same choice once, so individual tests don't repeat it.Verification approach: the smoke set, the tests changed here, and every test Stage 1's run listed as failing. Not the full suite.
Estimate details: driver: count unknown until Stage 1; uncertainty: medium.
Risks or open questions:
Impact: a test silently switched to plain could stop covering ZenMemes features (Zen strip, Gloss defaults).
Early warning / validation: grep the changed tests for Zen strip, gloss or zenmemes assertions that now run under plain.
Mitigation: feature tests select
zenmemes; never delete an assertion to make a test pass.
Canonical components/API contracts touched: existing test helpers in
tests/Support/.
Stage 3
Estimate: 0.15
Goal: no ZenMemes literal reaches a plain site.
Dependencies: Stage 1.
Expected changes:
PushNotifieroverflow title andPushApiController::TEST_PAYLOADtitle take the active profile's app name (falling back to its display name), the same valueBrowserRuntimeProfileuses formanifestName.theme-engagify.jsreads the site name from the page's existingapple-mobile-web-app-titlemeta instead of the literal.Static
public/manifest.webmanifest: if a route still serves it, make it neutral; otherwise leave it to the rendered manifest and record that in the summary.A leak test renders the plain board, a thread, the manifest, the busy page and the push test payload and checks there's no "zen ?memes".
Verification approach: the new leak test, the push tests, and an Engagify page under plain and under zenmemes, viewed in a browser.
Estimate details: driver: tracing what serves the static manifest; uncertainty: low.
Risks or open questions: Engagify text says "ZenMemes" in three jokes; under zenmemes the visible text must stay the same.
Canonical components/API contracts touched:
BrowserRuntimeProfile,BrowserRuntimeAssetRenderer::manifest(), layout metaapple-mobile-web-app-title.
Stage 4
Estimate: 0.10
Goal: the tour is ZenMemes-only.
Dependencies: Stage 1.
Expected changes: a profile field
tour(default off;zenmemeson), checked bySiteProfileRegistryvalidation. When it's off,/assets/tour.htmlis not offered, the Tools tour card and refresh action are hidden, and./v3 tour refreshsays the active site has no tour.Verification approach: the tour tests under both profiles; Tools viewed under plain.
Estimate details: driver: finding every tour entry point; uncertainty: low.
Risks or open questions: none material.
Canonical components/API contracts touched:
Tour/TourFile,Tour/TourSnapshots,ToolsPageControllertour section; same pattern asgettingStarted/musicSection.
Stage 5
Estimate: 0.10
Goal: docs and concepts match.
Dependencies: Stages 1–4.
Expected changes:
docs/runbooks/production_deploy.md(profile list includingplainandjetlag,plainas the default, a zenmemes.com cutover note),docs/reference/v3_cli.mdand README where they name the default, a new conceptsite_profile.mdwith inventory links, updates to presentation slots and tour snapshot, and PF-20261030-F42's item file (Workflow, Evidence, Notes;Feedback:trailer). Confirm from the runbook and profiles which servers set their ID.Verification approach:
git diff --check, plus checking that links resolve.Estimate details: driver: finding every "default is zenmemes" sentence; uncertainty: low.
Risks or open questions: none material.
Canonical components/API contracts touched: existing runbook and concept files.
Stage 6
Estimate: 0.10
Goal: acceptance through normal entry, then the PR.
Dependencies: Stages 1–5.
Expected changes: none to code. Record evidence in the Step 4 summary, then open the PR with the deploy checklist line and a checkout snippet.
Verification approach:
A fresh clone with
./v3 start: the home page, a thread, Tools,/manifest.webmanifestand the busy page, viewed in a browser under Light and Dark.With
FORUM_SITE_ID=zenmemes: the same pages diffed againstmain's HTML for the same data, with differences explained or fixed../v3 statusunder both.zenmemes.com replay: pending Ilya's deploy.
Estimate details: driver: setting up the before/after comparison; uncertainty: low.
Risks or open questions: the zenmemes.com replay can't happen before merge; it's recorded as pending, not passed.
Canonical components/API contracts touched: none new.
Study Checkpoint
2026-11-30T06:30Z; scope v2; R1 (hashes not re-verified); Claude, single exposed rater.
Step 3 handoff: 0.85 projected total, reaffirmed from the Step 2 revision. Stage estimates are not additive. Not hours; no approval to advance.
— Claude · 2026-11-30 UTC · Model: claude-opus-5-5