Measure Sai web layout probe
This commit is contained in:
parent
c0c17beb45
commit
e81c81bd3e
7 changed files with 44 additions and 16 deletions
|
|
@ -287,13 +287,17 @@ Exit criteria:
|
|||
Recently cut:
|
||||
|
||||
- The web reference now has a schema-backed layout probe for the
|
||||
`embedded-surface` fixture. `scripts/run-web-reference-layout-probe-smoke.ps1`
|
||||
builds the browser lowerer, runs Chrome headless through
|
||||
`embedded-surface` and `sai-vn` fixtures.
|
||||
`scripts/run-web-reference-layout-probe-smoke.ps1` builds the browser lowerer,
|
||||
runs Chrome headless through
|
||||
`tools/web-reference/run-layout-probe.mjs`, writes
|
||||
`gamecult.eve.web_layout_probe.v1` evidence under
|
||||
`artifacts/web-reference-layout-probe/latest/embedded-surface.json`, and
|
||||
parity consumes that artifact so `web:embedded-surface:bounding-boxes` is
|
||||
measured runtime evidence instead of `pending-runtime-probe`.
|
||||
`artifacts/web-reference-layout-probe/latest/`, and parity consumes those
|
||||
artifacts so `web:embedded-surface:bounding-boxes` and
|
||||
`web:sai-vn:bounding-boxes` are measured runtime evidence instead of
|
||||
`pending-runtime-probe`. This proves the browser oracle can measure both core
|
||||
embedded slots and Sai's nested Norn/TeX plugin composition without taking
|
||||
custody of plugin semantics.
|
||||
- The conformance export now carries `screenshotComparisonMetrics[]` records.
|
||||
Runtime owners get structure, color-token, bounding-box, and text-presence
|
||||
metrics per runtime/fixture pair without relying on byte-identical screenshots
|
||||
|
|
|
|||
|
|
@ -434,13 +434,14 @@ box records name whether authored layout boxes exist or whether a runtime still
|
|||
owes a capture/layout probe. A missing Unity, Electron, TUI, or Direct2D capture
|
||||
body therefore appears as `pending-capture`, not as fake visual parity.
|
||||
|
||||
The web reference has the first measured bounding-box probe. The harness runs
|
||||
The web reference has the first measured bounding-box probes. The harness runs
|
||||
`scripts/run-web-reference-layout-probe-smoke.ps1`, which builds the browser
|
||||
lowerer and uses Chrome headless to write
|
||||
`artifacts/web-reference-layout-probe/latest/embedded-surface.json` as
|
||||
`gamecult.eve.web_layout_probe.v1`. Parity consumes that artifact and marks
|
||||
`web:embedded-surface:bounding-boxes` as `pass` with
|
||||
`evidenceLayer: runtime-layout-probe`.
|
||||
`artifacts/web-reference-layout-probe/latest/embedded-surface.json` and
|
||||
`artifacts/web-reference-layout-probe/latest/sai-vn.json` as
|
||||
`gamecult.eve.web_layout_probe.v1`. Parity consumes those artifacts and marks
|
||||
`web:embedded-surface:bounding-boxes` and `web:sai-vn:bounding-boxes` as `pass`
|
||||
with `evidenceLayer: runtime-layout-probe`.
|
||||
|
||||
The fixture matrix also includes `embedded-surface`, which proves that nested
|
||||
CultMesh document slots survive the shared surface contract. The web reference,
|
||||
|
|
@ -509,8 +510,8 @@ Pending runtimes are allowed. Silent fake parity is not.
|
|||
|
||||
## Next Cuts
|
||||
|
||||
1. Extend runtime-owned image/layout probes beyond web `embedded-surface`,
|
||||
starting with Sai VN in web and the Unity/Electron/TUI capture blockers.
|
||||
1. Extend runtime-owned image/layout probes to the Unity/Electron/TUI capture
|
||||
blockers.
|
||||
2. Normalize text scale and font loading across web, Flutter Android, Flutter
|
||||
desktop, and iOS.
|
||||
3. Give iOS a real `vn.stage` scene compositor instead of compact stacked
|
||||
|
|
|
|||
Loading…
Reference in a new issue