Files
aetherbound-guild/docs/design-authority/visual-fidelity-contract.json
T

26 lines
1.5 KiB
JSON

{
"schema_version": 1,
"purpose": "Keep an approved AI composition and its Runtime reconstruction visually traceable instead of allowing a second, undocumented composition to emerge during coding.",
"comparison_modes": {
"static_visual": "The Runtime must reuse the approved source or an explicitly approved derivative; pixel and geometry comparison are required.",
"runtime_replacement": "A replacement asset is allowed only with an Owner decision, matching normalized bounds, focal scale, depth role and palette intent.",
"dynamic_overlay": "Copy, values and hit areas are engine-owned; compare anchor, baseline, scale and state ownership, never baked pixels."
},
"required_checks": [
"approved master dimensions and aspect are recorded",
"Runtime capture declares the contained design-canvas bounds",
"canvas aspect and centering stay within the declared tolerance",
"every first-read region has an owner, mode, normalized bounds and tolerance",
"static_visual regions retain their approved source or an explicit Owner deviation",
"dynamic overlays have engine text slots and state/input ownership",
"a side-by-side and alpha overlay are archived before Owner runtime review"
],
"default_tolerances": {
"aspect_ratio_delta": 0.01,
"anchor_delta": 0.03,
"focal_scale_delta": 0.08,
"static_region_mean_error": 0.12
},
"failure_policy": "A failed visual-fidelity check returns the page to RECONSTRUCTION_READY or IMPLEMENTATION_IN_PROGRESS. Behavior markers cannot override it."
}