Skip to content

test: qualify Excalidraw restores against upstream and gateway controls - #15

Merged
sofianbll merged 9 commits into
codex/mcp-apps-fork-226from
codex/checkpoint-label-alignment-226
Oct 14, 2026
Merged

sofianbll merged 9 commits into
codex/mcp-apps-fork-226from
codex/checkpoint-label-alignment-226

Conversation

@sofianbll

@sofianbll sofianbll commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Complete checkpoint text was reconverted and shifted after restoration. The qualification now compares pristine upstream Excalidraw with the reviewed App fix, both without Bifrost and through the same candidate gateway, at a fixed camera.

GitHub Actions → pinned basic-host + Chromium
  official App 157aa23 → direct / gateway → reproduce the known label displacement
  corrected App 4c3700 → direct / gateway → require aligned restoration
  every leg → partial-input frames → rendered offset control → pointer edit/save/read/restore
  every pair → identical App HTML + matching label/container geometry

The baseline is an explicit negative control: all checks except restored alignment must succeed, and all three labels must show the known left/up shift. Blank views, setup/callback failures, missing identities or unexpected outcomes fail CI. The corrected legs require every check to pass. The existing four-App route/Code Mode matrix, actual normalizer and eager/delayed App initialization checks remain enabled.

Pin Excalidraw PR #100 at 4c3700f0ef25a261177fecad03284a57bf7847be; pristine upstream is 157aa23ceb1976008aadc89eb05e3444060f09d6. Real qualification is restricted to GitHub Actions. Disposable state and loopback-only source ports keep this campaign separate from personal Codex sessions and production.

Evidence

  • Before: the route labelled “direct” still traversed Bifrost. The new comparison's first CI run also exposed a test-driver race: it read iframe contents before navigation completed. A one-line visible-SVG wait repairs that race; assertions and tolerances are unchanged.

  • After: final CI on f117c631ab5ae631d8e8cd9f80bd5f6eb220b5eb passes both architecture builds and MCP suites, 80/80 real-App qualification checks, 22/22 rendered checks, 10/10 normalizer checks and both initialization timings. Workflow lint and Dependency Review pass; publication is skipped.

  • All four legs detect the +24/-20 rendered-label negative control, render intermediate one/two-label input, preserve seven elements through actual editor save/readback, and restore in a fresh view at the same 800×600 camera / 1400×1050 SVG viewport. Upstream shifts the labels left by 29.34/35.84/49.84 and up by 12.84 scene units, identically direct and via Bifrost. Corrected centers differ by +0.66/-0.34, also identically in both legs.

  • Sanitized CI artifact contains source/HTML hashes, gateway image identity, routes, checkpoints, reports and captures. Local sanitized failed/final snapshots are preserved under docs/qa/bifrost-2.2.6/ci-excalidraw-comparison-20261014/; raw logs, credentials and full HTML are excluded. Versioned qualification procedure.

  • Controlled partial-input replay exercises the real App/SDK; it does not claim live-model streaming. Current reports explicitly record codexVerification: not_run. The prior dated native acceptance remains separate; this campaign did not reuse the user's working Codex session.

  • Comparison code review (2026-10-14): two independent Standards/Spec reviews of 5df4b468…f117c631 found no code defect or specification gap. One P3 traceability discrepancy remains in the published commit messages (the documented [type]/affected-directory format); history is preserved. Affected directories: .github/workflows/ (comparison build/guardrail steps), tests/mcpapps/ (pins, isolated servers and rendered assertions), docs/qa/bifrost-2.2.6/ (qualification procedure). Read-only syntax/JSON checks and git diff --check pass. GitHub confirms the existing green run tests this exact head; no source fix or redundant CI rerun was needed. The local sanitized review report is retained alongside the comparison evidence.

Merge Danger

Door: two-way — revert qualification/workflow changes or the pinned App revision. No checkpoint or storage migration.

Blast Radius: qualification — tests, fork workflow, source pins and synthetic evidence. No gateway implementation, provider wire contract, production configuration, merge, release, image publication or deployment changes. The paid provider harness is exempt for this test-only change. Reference-host success does not certify every actual Codex behavior. All six containers, the private files, temporary image and network were removed.

The external App reprocesses full saved text as shorthand, subtracting alignment offsets a second time. Retain the upstream App patch and a regression runner over its actual normalizer. The byte-identical baseline fails the full checkpoint roundtrip; the fixed local App passes against the same unchanged Bifrost binary.
@sofianbll sofianbll changed the title test(mcp): verify bound-label checkpoint alignment and retain restore evidence Oct 14, 2026
@sofianbll
sofianbll marked this pull request as ready for review October 14, 2026 11:29
@sofianbll sofianbll changed the title test: qualify checkpoint restores and App initialization Oct 14, 2026
@sofianbll
sofianbll merged commit 7f2856d into codex/mcp-apps-fork-226 Oct 14, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant