Skip to content

test(perf): judge signed-in warm reloads with native frame evidence - #185641

Merged
steipete merged 3 commits into
mainfrom
steipete/coldload-local-proof-rig
Oct 27, 2026
Merged

steipete merged 3 commits into
mainfrom
steipete/coldload-local-proof-rig

Conversation

@steipete

@steipete steipete commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The campaign evidence recorded a fourteen-state timeline for a signed-in reload of a dashboard deep link. The local rig also had a two-document token-admission path and could not distinguish animation phases from structural changes or observe the old page through navigation. That prevented it from judging the campaign's old page → complete cached page goal.

Why This Change Was Made

The default browser admission now uses a synthetic HttpOnly proxy session, native trusted-proxy identity, and the protected-entry service worker. Token admission remains an explicit diagnostic. Native top-level document requests stay in the census; the signed-in path requires exactly one. The proxy does not rewrite protected responses or redirects.

The recorder observes the old compositor surface before navigation, carries that actual image explicitly at time zero, and retains all delivered post-navigation PNG surfaces. Repo-pinned full Chromium runs headless with PaintHolding enabled. Automatic early/late controls require old→complete and old→blank→complete sequences before any product capture.

A separate animation-normalized census retains the original masked/unmasked counts, exact masks, and timestamped changes for sidebar, header, transcript, Details, composer, and board. Chronological occurrences count every return to a previous image; unique images remain alongside them. Fade grouping requires stable content/geometry and actual pixel structure, preserving blank→content changes.

--base <dist|ref> --candidate <dist|ref> builds pinned refs serially and alternates eleven warm pairs per route against one Gateway process and one synthetic durable fixture. Browser caches are separate; inactive pages are frozen. Complete copied custom UI roots are swapped between samples through the existing uncached custom-root contract.

User Impact

Campaign lanes get one repeatable command, raw frames, median/IQR and per-pair deltas, per-region timelines, and native-resolution side-by-side sheets. The visible census is a conservative animation heuristic, with original pixels retained for inspection. Paint milestones require inspected PNGs and their immediate predecessors. These are delivered headless compositor surfaces; they do not establish every physical display-vsync frame. CDP latency shaping is not a calibrated fixed delay on each WebSocket RPC.

Evidence

Product source: 60aaedd81245e7366998c4ea5c0956a503f7545b. Tooling/Gateway build: 93ad957fa3ab4ec6b57c79b073643478243ff4d6. Product source is identical between the arms; this is a source-equivalent qualification and pinned-main baseline, with different document/worker build identities. No product speedup is claimed.

AWS cbx_1898f5edb064, fixed c7a.4xlarge, repo-pinned Chromium, 1720 × 1180, CDP latency setting 80 ms, 3000 native sessions, cold plus 11 warm loads per arm per route. Pre-capture check: 93.13% CPU idle on 16 CPUs, load 1.48/1.90/1.63. CPU affinity/cpuset were 0–15; the cgroup quota file was unavailable. Capture and analysis identities, browser switches, native frame clocks, and source/build hashes are retained.

Warm source-equivalent distributions

Median [Q1, Q3]. Candidate-minus-base deltas are paired by reload index; negative means lower. Missing Element Timing remains “not emitted.”

chat

Metric Base Candidate Paired delta Better / worse / tied
Visible chronological state occurrences 15.00 [15.00, 16.00] 16.00 [14.50, 16.50] 0.00 [-1.00, 1.00] 4 / 5 / 2
Visible unique representatives 14.00 [14.00, 15.00] 15.00 [13.50, 15.50] 0.00 [0.00, 1.00] 2 / 5 / 4
Masked pixel state occurrences 15.00 [15.00, 16.00] 16.00 [15.00, 16.50] 1.00 [0.00, 1.00] 2 / 6 / 3
Masked pixel unique representatives 14.00 [14.00, 15.00] 15.00 [14.00, 15.50] 1.00 [0.00, 1.00] 2 / 6 / 3
Unmasked pixel state occurrences 17.00 [16.50, 17.50] 17.00 [17.00, 18.50] 0.00 [0.00, 1.00] 2 / 5 / 4
Unmasked pixel unique representatives 16.00 [15.00, 16.00] 16.00 [15.50, 17.00] 0.00 [0.00, 1.00] 1 / 5 / 5
Inspected first new-app paint (ms) 50.83 [47.33, 54.00] 47.76 [45.59, 53.26] -0.86 [-5.16, 2.64] 7 / 4 / 0
Inspected first main content (ms) 480.17 [454.33, 511.37] 477.03 [470.14, 486.57] -3.28 [-28.00, 13.88] 6 / 5 / 0
Inspected first board content (ms) not emitted not emitted not emitted 0 / 0 / 0
Last visible change (ms) 1263.47 [1159.50, 1283.30] 1186.26 [1159.97, 1214.27] 5.02 [-89.63, 85.85] 5 / 6 / 0
Last masked pixel change (ms) 1263.47 [1159.50, 1283.30] 1186.26 [1159.97, 1214.27] 5.02 [-89.63, 85.85] 5 / 6 / 0
Hello handled (ms) 476.98 [461.51, 517.85] 480.12 [473.70, 488.87] 2.11 [-29.78, 20.80] 5 / 6 / 0
Native FCP (ms) 66.28 [65.70, 67.23] 66.37 [65.87, 66.92] 0.24 [-0.32, 0.86] 5 / 6 / 0
Element Timing rows (ms) 559.47 [535.53, 591.55] 555.58 [545.50, 567.58] 7.83 [-24.14, 13.96] 5 / 6 / 0
Final row DOM facts (ms) 940.89 [925.95, 986.57] 925.57 [923.68, 970.85] -7.20 [-34.82, 23.85] 6 / 5 / 0
LoAF blocking (ms) 203.00 [192.90, 208.45] 186.50 [166.05, 204.85] -1.80 [-37.05, 6.10] 8 / 3 / 0
Native CLS 0.008300 [0.004052, 0.008699] 0.008511 [0.003958, 0.008605] 0.000000 [-0.000717, 0.000811] 5 / 4 / 2
Animation observer overhead (ms) 90.20 [87.70, 102.25] 97.30 [90.60, 99.30] -0.50 [-3.60, 10.85] 6 / 5 / 0
First changed surface from old page (ms) 50.83 [47.33, 54.00] 47.76 [45.59, 53.26] -0.86 [-5.16, 2.64] 7 / 4 / 0

dashboard

Metric Base Candidate Paired delta Better / worse / tied
Visible chronological state occurrences 25.00 [23.00, 26.50] 21.00 [19.50, 22.50] -3.00 [-5.00, -1.50] 9 / 1 / 1
Visible unique representatives 24.00 [22.50, 25.00] 21.00 [19.50, 22.50] -3.00 [-4.00, -0.50] 8 / 0 / 3
Masked pixel state occurrences 27.00 [25.00, 28.50] 25.00 [24.50, 27.50] -1.00 [-2.00, 0.00] 6 / 2 / 3
Masked pixel unique representatives 26.00 [24.00, 26.50] 24.00 [23.50, 26.00] -1.00 [-1.50, 0.00] 6 / 2 / 3
Unmasked pixel state occurrences 28.00 [28.00, 29.50] 28.00 [27.50, 28.50] 0.00 [-1.00, 0.50] 4 / 3 / 4
Unmasked pixel unique representatives 27.00 [26.00, 27.50] 26.00 [25.50, 27.00] 0.00 [-1.00, 0.00] 5 / 2 / 4
Inspected first new-app paint (ms) 44.32 [37.82, 46.76] 42.88 [38.65, 45.13] -1.63 [-2.93, 5.76] 7 / 4 / 0
Inspected first main content (ms) 454.08 [440.63, 477.07] 459.53 [429.71, 466.00] -3.14 [-25.33, 2.79] 8 / 3 / 0
Inspected first board content (ms) 1096.81 [1040.60, 1125.18] 1081.81 [1046.36, 1110.51] -38.30 [-66.08, 36.12] 8 / 3 / 0
Last visible change (ms) 1196.80 [1086.39, 1222.25] 1115.14 [1087.59, 1170.35] -62.35 [-90.81, 15.18] 7 / 4 / 0
Last masked pixel change (ms) 1196.80 [1132.26, 1241.84] 1166.81 [1146.35, 1210.77] -30.00 [-65.86, 41.28] 7 / 4 / 0
Hello handled (ms) 489.72 [454.91, 508.39] 481.94 [450.29, 492.13] -14.19 [-27.77, 12.60] 6 / 5 / 0
Native FCP (ms) 54.68 [53.53, 57.91] 53.78 [51.82, 55.56] -1.71 [-2.56, -0.97] 9 / 2 / 0
Element Timing rows (ms) 479.42 [465.51, 505.48] 487.45 [449.37, 491.36] -8.02 [-29.95, 3.90] 8 / 3 / 0
Final row DOM facts (ms) 932.44 [885.16, 958.07] 926.47 [893.17, 965.89] -30.49 [-46.22, 38.31] 8 / 3 / 0
LoAF blocking (ms) 173.30 [160.20, 176.95] 177.30 [170.50, 200.75] 11.90 [-10.80, 26.25] 5 / 6 / 0
Native CLS 0.004915 [0.003734, 0.004915] 0.002554 [0.002554, 0.004915] 0.000000 [-0.002361, 0.000000] 4 / 0 / 7
Animation observer overhead (ms) 108.50 [104.50, 113.30] 105.80 [102.70, 110.95] -5.30 [-7.20, 1.05] 8 / 3 / 0
First changed surface from old page (ms) 44.32 [37.82, 46.76] 42.88 [38.65, 45.13] -1.63 [-2.93, 5.76] 7 / 4 / 0

Cold observations (one per arm/route)

Arm / route / run Visible occurrences / unique Masked occurrences / unique Unmasked occurrences / unique App / main / board paint ms Last visible ms Hello ms FCP ms ET rows ms Final row DOM ms LoAF ms CLS
base / chat / cold 18 / 18 18 / 18 18 / 18 43.43 / 693.40 / not emitted 1443.37 241.42 60.87 719.62 1041.32 275.00 0.001640
candidate / chat / cold 14 / 14 14 / 14 14 / 14 42.40 / 642.38 / not emitted 1342.35 221.45 52.97 667.65 992.05 268.30 0.001461
base / dashboard / cold 22 / 22 23 / 23 23 / 23 53.23 / 619.88 / 1253.19 1336.51 185.84 65.47 623.64 949.94 285.50 0.001202
candidate / dashboard / cold 24 / 24 24 / 24 24 / 24 54.00 / 737.31 / 1337.28 1437.28 280.83 64.76 751.63 1061.43 285.30 0.001285

The two-state warm goal fails in44/44 loads. Every new warm document begins with the whole-app skeleton. Actual transcript content returns around 454–480 ms (arm/route medians); board content returns around 1.08–1.10 s. The old complete page is visible before navigation, then restored content arrives through multiple stages.

The normalized dashboard count shifts 25→21 despite identical product source, RPC inventories, JS/CSS path sets, and final bounds; unmasked occurrence medians remain 28/28. The paired normalized shift meets 9/11 and separated-IQRcriteria, but this is not a product win: separate document/worker build identities and unrecorded cache-hit/SW flags leave build/cache-versus-animation sensitivity unresolved. A strict byte-artifact A/A control is needed before using a small normalized-count delta causally. Raw controls and inspected frames remain authoritative.

Representative base warm-01 region-change times in ms; the full report contains every load and exact bounding boxes. Counts here are chronological occurrences.

Route / region Occurrences Accepted times(ms)
chat / sidebar 8 0.0, 47.5, 164.2, 297.5, 530.9, 647.5, 780.8, 1280.8
chat / header 4 0.0, 47.5, 530.9, 780.8
chat / transcript 11 0.0, 47.5, 530.9, 647.5, 714.2, 780.8, 897.5, 1014.2, 1130.8, 1180.8, 1247.5
chat / details 6 0.0, 47.5, 530.9, 1130.8, 1180.8, 1247.5
chat / composer 6 0.0, 47.5, 530.9, 780.8, 830.8, 1247.5
dashboard / sidebar 10 0.0, 48.5, 198.5, 298.5, 548.5, 681.8, 698.5, 1081.8, 1215.1, 1265.1
dashboard / header 4 0.0, 48.5, 548.5, 698.5
dashboard / transcript 13 0.0, 48.5, 198.5, 548.5, 598.5, 615.2, 648.5, 681.8, 698.5, 765.2, 981.8, 1115.1, 1215.1
dashboard / composer 8 0.0, 48.5, 198.5, 548.5, 698.5, 815.2, 881.8, 1215.1
dashboard / board 9 0.0, 48.5, 198.5, 548.5, 648.5, 1081.8, 1181.8, 1231.8, 1248.5

chat: all eleven paired deltas

Pair Order Visible occurrences Visible unique Masked occurrences Unmasked occurrences App paint ms Main paint ms Board paint ms Last visible ms
1 base → candidate +1.00 +1.00 +1.00 +1.00 -5.42 +11.24 not emitted +94.57
2 candidate → base +3.00 +3.00 +3.00 +3.00 -16.46 -33.12 not emitted +100.20
3 base → candidate 0.00 0.00 0.00 0.00 -11.64 +38.36 not emitted +5.02
4 candidate → base +1.00 +1.00 +1.00 -1.00 -4.89 +28.45 not emitted -54.88
5 base → candidate -1.00 -1.00 -1.00 0.00 +10.45 -22.88 not emitted +77.12
6 candidate → base +1.00 +1.00 +1.00 +1.00 +1.06 -48.94 not emitted -182.27
7 base → candidate 0.00 0.00 +1.00 +3.00 -3.28 -3.28 not emitted +96.71
8 candidate → base -1.00 0.00 0.00 0.00 +4.23 -12.44 not emitted -62.44
9 base → candidate -2.00 -2.00 -2.00 -2.00 -0.15 +16.51 not emitted -116.81
10 candidate → base -1.00 0.00 0.00 0.00 -0.86 -34.20 not emitted -150.86
11 base → candidate +1.00 +1.00 +1.00 +1.00 +8.32 +8.32 not emitted +24.99
Pair Hello ms FCP ms Element Timing rows ms Final row DOM ms LoAF blocking ms CLS
1 -3.94 +0.90 +12.06 +28.96 -0.60 +0.000188
2 -39.09 -1.30 -32.19 +1.61 -36.40 +0.001433
3 +38.94 +0.24 +56.04 -33.06 -1.80 0.000000
4 +9.87 -0.13 +23.97 +78.97 -37.70 +0.004459
5 +2.11 +0.82 -16.09 -36.59 +12.40 -0.004435
6 -71.36 -3.34 -55.96 -135.26 -46.10 +0.001457
7 +31.73 +1.00 +7.83 +18.73 +56.20 -0.004919
8 -20.48 -0.49 -11.88 -11.98 -11.80 0.000000
9 +45.35 -0.14 +15.85 +45.15 +13.60 -0.000188
10 -44.99 +1.97 -35.99 -39.49 -51.20 -0.000188
11 +9.40 +0.83 +12.00 -7.20 -0.20 -0.001245

dashboard: all eleven paired deltas

Pair Order Visible occurrences Visible unique Masked occurrences Unmasked occurrences App paint ms Main paint ms Board paint ms Last visible ms
1 base → candidate -4.00 -4.00 -1.00 -1.00 -3.15 -3.14 -69.81 -69.81
2 candidate → base -3.00 -3.00 -2.00 0.00 -21.64 -21.64 -38.30 -21.64
3 base → candidate -5.00 -4.00 -2.00 0.00 -0.33 +16.34 +133.00 +133.00
4 candidate → base -3.00 -3.00 -5.00 -3.00 +4.31 -29.02 -62.35 -62.35
5 base → candidate -2.00 -1.00 0.00 0.00 -2.71 -2.71 -86.04 -136.04
6 candidate → base -5.00 -4.00 -1.00 -1.00 +36.67 -30.00 -30.00 -96.66
7 base → candidate -5.00 -3.00 0.00 0.00 -12.47 +37.53 +104.20 +20.86
8 candidate → base -10.00 -9.00 -7.00 -5.00 -2.29 -68.95 -85.62 -202.28
9 base → candidate 0.00 0.00 +1.00 +1.00 +7.20 +7.20 +73.87 +73.87
10 candidate → base +2.00 0.00 0.00 +1.00 +9.49 -7.18 -40.51 +9.49
11 base → candidate -1.00 0.00 +4.00 +4.00 -1.63 -1.63 -1.63 -84.96
Pair Hello ms FCP ms Element Timing rows ms Final row DOM ms LoAF blocking ms CLS
1 -21.83 -3.05 -15.93 -52.73 -21.80 0.000000
2 -40.61 -15.62 -31.91 -31.81 +11.90 -0.002361
3 +26.54 -1.71 +19.74 +142.34 +55.40 -0.002361
4 -28.88 -1.04 -27.98 -74.48 +28.10 -0.002361
5 +1.39 -1.94 -4.11 -39.71 -5.80 0.000000
6 -26.66 +32.25 -39.86 -15.46 -15.80 0.000000
7 +49.47 -2.38 +39.87 +92.07 +48.50 0.000000
8 -72.09 -2.74 -63.89 -61.79 -0.90 -0.002361
9 +20.42 +7.39 +11.92 +96.62 +24.40 0.000000
10 -14.19 -1.40 -7.99 -30.49 -25.90 0.000000
11 +4.78 -0.90 -8.02 -18.72 +22.40 0.000000

Persistent masks are explicit per reload: measured two-pixel caret rectangles, small spinner/icon rectangles (≤40×40), elapsed clocks (100×40), and reconnect status (240×40). Pair-specific animation rectangles require the same attributed target, content, appearance, and geometry on both samples. Original masked and unmasked censuses remain the controls. Region boxes overlap and their counts must not be summed.

Inspected Synthetic Evidence

Selected stages are previews; the full distinct-state sheets and per-load timelines remain in the baseline artifacts. Every capture was inspected for unrelated or private content before publication.

Cold chat: selected native stages

Warm chat: old complete page, new skeleton, first content, last change

Cold dashboard: selected native stages

Warm dashboard: old complete page through board restoration

Chat warm-01: native side-by-side source-equivalent arm stages

Dashboard warm-01: native side-by-side source-equivalent arm stages

Paint-holding early control: old to complete

Paint-holding late control: old to blank to complete

Proof

Full Gateway/UI build: 356.56 s. Pinned main ref full build: 374.6 s. Four focused files passed 14 tests via corepack pnpm test <file> --maxWorkers=1 on the same AWS lease:

File Tests Wall time
test/scripts/warm-reload-admission.test.ts 2 3.87 s
test/scripts/warm-reload-compare.test.ts 2 4.07 s
test/scripts/warm-reload-frames.test.ts 7 3.59 s
test/scripts/warm-reload-paint-audit.test.ts 3 3.54 s

The sandbox-port regression failed on the old helper and passed with the guard. Frame tests cover content appearance versus animation, historical revisits, and independently accumulating regional changes. Paint audit tests cover arm-scoped observations and original-frame provenance. Comparison tests retain missing paint evidence and count repeated transitions between two unique images.

The canonical remote changed-file gate passed changed-file lint, format, script/test type checks, and the other scoped checks. Its sole remaining failure is the whole-repository Knip export scan. A detached pinned-main control reproduced exactly the same production/full-tree findings for five pre-existing exports, including the repeated knowledge export in both scans. No product file was edited. The initial standalone invocation also lacked pnpm on PATH; the corrected invocation used a private workspace-local shim executing Corepack, with no corepack enable or system install. The original runner result remains failed for that setup/gate result; all 48 captures and subsequent audits completed successfully.

Matching inherited findings: REVIEW_SCRIBE_DECLARATION_KEY, summarizeOpenAITransportError, CHAT_SNAPSHOT_DB_NAME, createProjectorWithAssistantHooks, inputSinks. Both candidate and pinned-main script-export scans passed. Full logs, main control SHA, artifact checksums, and zero-listener proof are retained with the baseline.

Exact-head CI completed successfully on 93ad957fa3ab4ec6b57c79b073643478243ff4d6; the native watcher reports GREEN and distinguishes ten superseded cancellations retained in GitHub's aggregate. Independent review is clean through P2. The earlier ClawSweeper review reported no actionable finding; a refresh will be requested after this evidence update.

Scope and Size

Tooling only: nine scripts/perf/warm-reload-* files and four focused test files. Application runtime LOC delta: 0. The requested production-filter command reports 1746 insertions / 236 deletions, net +1510, entirely perf tooling and its runbook. TypeScript tooling accounts for +1374; the runbook adds +136.

Growth supplies the four requested measurement contracts plus native paint-holding qualification. The original single-arm orchestration is replaced by the shared arm loop. Existing native auth, sandbox-port, state-seeding, and UI-root owners are reused. No product config options, server schema, protocol, or deployment changes. No changelog edit (release-owned).

All three owned AWS leases are released. No owned Gateway or browser remains. The raw bundle and derived reports are retained locally; raw JSON/archives are not public attachments.

Ready for lead review; stop before merge.

@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XL labels Oct 27, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 27, 2026
@clawsweeper

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Extends the warm-reload proof rig with synthetic signed-in admission, calibrated compositor capture, animation attribution, and paired UI-build comparisons.

Example: Capture eleven warm chat reloads with 3,000 synthetic sessions.

  • Before: Token admission traverses two documents, and the state census excludes the pre-navigation page.
  • After: Signed-in captures require one document and include the observed old surface in the display timeline.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Coherent tooling with useful boundary contracts and no definite finding; the experiment's measurement claims remain unqualified.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored tooling is outside the ordinary contributor proof gate; the body reports focused contracts, including real HTTP/WebSocket admission checks, while full rig qualification remains explicitly pending.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Performance maintainers cannot directly judge signed-in old-page-to-complete-page reloads with the existing token-based census.
Reason: The maintainer-directed measurement capability addresses documented limitations without adding product runtime machinery.

Merge readiness

✅ Ready for maintainer review

Keep this PR open as a maintainer-directed draft experiment; it addresses a verified measurement gap, and no definite introduced defect was found.

Priority: P3
Reviewed head: 0c2cde9c204bae8bf76f9ecf1dd6001d01a2eba9

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The planned matched-build signed-in captures, compositor controls, A/A comparison, and inspected contact sheets have no supplied results yet.
Agent review details

How this fits together

The opt-in performance rig seeds isolated state, starts a built loopback Gateway, drives Chromium, and produces frame captures, inspected-paint records, and comparison reports.

flowchart LR
  A[Maintainer command] --> B[Synthetic fixture and UI builds]
  B --> C[Isolated Gateway]
  D[Chromium recorder] --> E[Synthetic admission proxy]
  E --> C
  D --> F[Raw compositor frames]
  F --> G[Pixel analysis and paired reports]
Loading

Technical review

Best possible solution:

Complete qualification of the existing rig extension while preserving raw-frame inspection as the authority for visible content.

Do we have a high-confidence way to reproduce the issue?

Current-main source and the merged predecessor establish the measurement limitations; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The extension uses the existing fixture, authentication, asset-serving, and capture owners, replaces single-arm orchestration, and preserves independent raw evidence alongside its heuristic.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5a3baf1a6e13.

Provenance checked

  • Admission and synthetic viewer identity changes intended behavior with a stated reason (5df2f45: The original rig used native token admission without deployment credentials and explicitly documented its two-document limitation.)
  • Pre-navigation frame accounting changes intended behavior with a stated reason (5df2f45: The original census measured new-document pixels and retained earlier frames only as diagnostic evidence.)
  • Frame classification and paint auditing keeps the original intent (5df2f45: Raw pixels and explicitly inspected frame clocks establish evidence independently of DOM milestones.)
  • Capture orchestration and runbook keeps the original intent (5df2f45: Provide repeatable isolated real-Gateway captures using synthetic state and retained artifacts.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 5df2f45 adds scripts/perf/warm-reload-proof.ts:407 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 5df2f450779f; files: scripts/perf/warm-reload-proof.ts)

PR surface

Tests +514, Docs +127, Other +1307. Total +1948 across 13 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 4 516 2 +514
Docs 1 142 15 +127
Config 0 0 0 0
Generated 0 0 0 0
Other 8 1518 211 +1307
Total 13 2176 228 +1948

Review metrics

Metric Value Why it matters
New tooling options 3: --base, --candidate, --admission These extend the diagnostic command; its admission default changes to signed-in without changing operator configuration.

Labels

Label changes:

  • add P3: Opt-in measurement tooling changes no shipped application runtime behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: Opt-in measurement tooling changes no shipped application runtime behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 27, 2026, 3:49 AM ET / 07:49 UTC.

@steipete
steipete marked this pull request as ready for review October 27, 2026 07:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-27T08:02:09.961881Z
We couldn’t complete this review. Comment @codex review to try again.
0c2cde9 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete force-pushed the steipete/coldload-local-proof-rig branch from 0c2cde9 to dbe2f25 Compare October 27, 2026 08:26
Add native synthetic proxy admission, calibrated full-headless capture, conservative visible-state accounting, and paired UI-build comparisons. Preserve raw pixels and inspected paint provenance without changing product runtime behavior.
@steipete
steipete force-pushed the steipete/coldload-local-proof-rig branch from dbe2f25 to 93ad957 Compare October 27, 2026 08:44
@steipete steipete changed the title experiment(control-ui): qualify signed-in warm-reload evidence [do not merge] test(perf): judge signed-in warm reloads with native frame evidence Oct 27, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit 3e34765 into main Oct 27, 2026
112 of 113 checks passed
@steipete
steipete deleted the steipete/coldload-local-proof-rig branch October 27, 2026 10:26
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 2026
…he warm-reload proof rig (openclaw#185641)

Round 2 of the local warm-reload proof rig (openclaw#185428): signed-in admission parity (one document, like Team's signed-in operators; the token-auth two-document path remains a control), an animation-normalized perceived-state census next to raw pixel states with per-region change attribution, capture of what is displayed between navigation start and the new document's first frame, and a --base/--candidate compare mode that serves both builds against the same state with interleaved warm reloads and side-by-side contact sheets (runbook: scripts/perf/warm-reload-proof.md).

Baseline on main 46e552e (AWS c7a.4xlarge, all 48 loads inspected): chat cold 18 / warm 15 [15, 16] perceived states, first transcript 480 ms; dashboard cold 22 / warm 25 [23, 26.5], first transcript 454 ms, first board 1,097 ms. The two-state goal (old page -> complete page) fails in all 44 warm loads: old complete page -> skeleton -> staged restoration. Tooling only; application runtime delta 0. 14 focused tests; CI green; inherited Knip findings reproduce on main.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant