SITE RENDER & TRUTH SWEEP — execution record, 2026-10-22

Prompt: CLAUDE_CODE_SITE_RENDER_AND_TRUTH_SWEEP r1.0 (2026-10-18) Lane: work/site-render-truth-sweep-r2-20261022, cut from origin/main = 425ebee08 Owner rulings implemented: R1 (held), R2 (withdrawn), R3, R4 (held), R5, R6, R7, R1-bis, W2 method Constraints honoured: demo halt 2026-10-18 — no demo surface, route, alias, byte-pin or PR #1872 touched. No DNS, certificate, load balancer, ruleset or credential touched. No gate string accepted.


1. Headline: most of the sweep was already built. Two rulings collide with earlier rulings.

The r1.0 prompt was written on 2026-10-18 against a site state that had already moved. Measured against 425ebee08:

Prompt workstream Measured state Action
W1 / R1 — /media/next noindex + canonical + sitemap removal contradicts the 2026-10-09 owner ruling, pinned by test HELD, escalated
W2 — prerender /media/next already built: scripts/prerender_media_next.py, serving 19,145 crawler-visible chars, no bundler artifact OG tags added (the only real defect)
W2.2 — re-author as static, retire the bundle already done: app.py::media_preview() serves only the reviewed prerender; the packed bundle is never served no change
W3 / R3 — prerender /intent already built: true SSR in intent-site (vite build --ssr + scripts/prerender.mjs), 6,875 chars live no change
W4 — status manifest + one renderer + no-literal-badges test already built: STATUS_MANIFEST.yaml, scripts/status_render.py, tests/test_status_manifest.py no change
W2.3 / R5 — render gate did not exist built
W5 — copy pass downstream of R2 not written, per ruling
R1-bis — /media posture already fixed 2026-10-09; live verified correct 2026-10-22 no change

2. §0.2 crawler probe — current baseline (this is the PR's before-table)

Measured 2026-10-22 by scripts/site_render_gate.py --base https://mizoki3.com, Googlebot UA, no JavaScript:

Route Visible chars Floor Artifacts OG Verdict
/ 9,129 2,500 none ✓ PASS
/media 20,354 5,000 none ✓ PASS
/media/next 19,165 5,000 none missing og:title, og:description FAIL
/intent 6,875 5,000 none ✓ PASS
/shopify 17,560 2,500 none ✓ PASS
/signal 8,243 2,500 none ✓ PASS
/marketing 24,556 2,500 none ✓ PASS

The prompt's §0.2 baseline is superseded on every route it cited. It recorded /media/next at 163 chars with a bundler artifact and /intent at ~1,000 chars as a Vite SPA. Both were true of the source and are no longer true of what is served: the prerender steps landed in between. The sole surviving defect in the prompt's scope was /media/next's absent share card.

Confirmed by measuring source vs. served artifact:

Artifact Visible chars Artifacts
# MIZ OKI 3.5/media/next.html (packed bundle, never served) 310 all five
media-rendered/media/next.html (prerender output, served) 19,145 none
intent-site/index.html (Vite shell, never served) 1,015 none
/intent as served (SSR output) 6,875 none

media-rendered/ and intent-dist/ are gitignored build artifacts, produced at deploy.

2.1 R1-bis resolved — the stale-deploy finding closed itself

On 2026-10-18 /media served noindex,follow with canonical → /signal. On 2026-10-22 it serves index,follow with a self-canonical. The fix had been in main since 2abc6562e (2026-10-09, "every public page searchable and its own entity", retiring the A/B/C test); production was simply running an older build until the 2026-10-21 deploy. No code change needed. Nothing is stale now.

3. The two held rulings

3.1 R1 and R4 — HELD on a conflict with the owner ruling of 2026-10-09

# MIZ OKI 3.5/tests/test_every_page_searchable.py opens by quoting the owner verbatim:

"/media, /media/next, /marketing, /signals and all others must be searchable and be its own entity" — for a page that means: robots allow indexing; its canonical is its own URL; it is listed in /sitemap.xml.

and test_owner_named_pages pins /media/next by name to all three. R1 (noindex + canonical → /media) and R4 (sitemap removal) fail two of its subtests. Applied and reverted; the failures are recorded here rather than engineered away.

The earlier ruling is dated, names this exact URL, and is enforced in CI. R1/R4 were ruled on the §0.4 report, which did not surface it. Both held and escalated, with the reasons written at both sites in the code so the held state is visible, not assumed: scripts/prerender_media_next.py (HEAD block) and app.py (sitemap literal).

What shipped instead: the OG/Twitter card — the one /media/next fix both rulings support. An indexed page that is "its own entity" needs its own share card, and it was the gate's only live failure. og:url is self-referential, matching the canonical the 2026-10-09 ruling requires.

Verified: prerender output now passes the gate (19,145 chars, no artifacts, OG present), stays index,follow + self-canonical, and test_every_page_searchable.py is green again.

3.2 R2 and R6's labelling — withdrawn by the owner 2026-10-22

Superseded by docs/reports/OWNER_RULING_2026-10-19_ALL_LIVE.md (Boris Mizhen, re-affirmed 2026-10-21), which states in its own words that it "settles the Oct-18 R2 question." No badge was relabelled. W5 not written.

4. What this lane built

scripts/site_render_gate.py (W2.3, R5) + tests/test_site_render_gate.py

Per route, as a no-JS crawler sees the initial DOM: visible-char floor, no bundler/JS placeholder artifact, og:title and og:description present. Exit 1 on failure, exit 2 on unreachable — never a silent pass.

Scope is an explicit seven-route allowlist (/, /media, /media/next, /intent, /shopify, /signal, /marketing), not "every sitemap route", for two reasons recorded in the docstring: the sitemap contains demo routes the owner has halted work on, and a gate that reads its own scope from the sitemap grows unreviewed. validate_scope() makes the gate refuse to run (exit 2) if a demo route is ever added to ROUTE_FLOORS, and a test pins that refusal.

One defect found and fixed in the gate itself during its first run: HTML comments were counted as visible text, so the R1 comment inflated /media/next by ~150 chars. Comments are now stripped first, with a test.

16 gate tests. Full suite green: 55 passed / 325 subtests across test_every_page_searchable.py, test_media_next_routes.py, test_status_manifest.py, test_site_truth_gates.py.

R6 second half — two integrity issues filed

Both name the ambiguity and propose no label change, per ruling.

5. R7 — there is no authoritative cell count. Nothing synthesised.

R7 ruled "count from canon_status.py". That cannot be done: canon_status.py contains no cell count at all — it is a capability-status table (14 capability rows), not a cell census. Measured: grep -cE "[0-9]+ cells|cell count|[0-9]+ registered cells" → 0.

The three candidate sources disagree, and all are stale:

Source Count Dated Machine-readable? Covers
contracts/mizoki_contracts/canon_status.py none v2.3 yes capabilities, not cells
config/cell_registry.json 32 (total_cells: 32, cell01–cell32) last_updated: 2025-11-21 — 11 months yes production cells only; no LII/gateway/CRE cells
docs/architecture/CELL_REGISTRY.md 39 (32 production + 4 LII + 1 gateway + 2 CRE) 2026-08-16 — 67 days no (prose status column) all, by assertion

The 32 in cell_registry.json is exactly the markdown's "32 production" component, so the two are not rival totals — the JSON simply predates the LII, gateway and CRE cells and was never extended. The markdown is the only artifact asserting 39, it claims precedence over "any other cell count anywhere in the estate", and it states that its own verification ran without gcloud, so no row in it is a fresh control-plane probe.

Answer to R7: no authoritative source for the count exists today. canon_status.py cannot supply one. Reconciling this needs either a live control-plane probe or an owner ruling fixing the number; this lane did not invent one, and the "35-cell" figure in tooling descriptions is unsupported by any artifact in the repo.

6. State

← All docsView source on GitHub →