Repository navigation
test: qualify Excalidraw restores against upstream and gateway controls - #15
Merged
sofianbll merged 9 commits intoOct 14, 2026
Merged
Conversation
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
marked this pull request as ready for review
October 14, 2026 11:29
This was referenced Oct 14, 2026
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.
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.
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 is157aa23ceb1976008aadc89eb05e3444060f09d6. 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
f117c631ab5ae631d8e8cd9f80bd5f6eb220b5ebpasses 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…f117c631found 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 andgit diff --checkpass. 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.