Skip to content

Commit a700365

Browse files
committed
docs(kinetic-type): record the verification rules the reference piece settled; update the static probe's readable role
1 parent c524706 commit a700365

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎docs/adr/0064-kinetic-type-word-fields.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ Verification authorities landed 2026-10-02 (`tvmuvpnt`): critical moments (beats
110110

111111
The reference deliverable `kinetic-type-field` ("Type Is the Composition") landed 2026-10-02 for aesthetic review (`fbutl1u4`): the moving fixture's choreography on the Brief's holds (beats at 0.5, 1.0, 2.0, 2.5, 3.35, 4.0, and 5.6 s; MOVE 1.0 s, BECOME 0.85 s, COMPOSITION 1.6 s; TYPE leaves last), every word on one shared 5% margin axis so support words stay inside title-safe, COMPOSITION set to the widest Pack face, and the tall frame scaled to clear the action column. It passes `probe:kinetic-type-field-diagnostics` in all ten Pack × orientation cells. Authoring it exposed one renderer defect, fixed in `KineticTypeFieldMount.svelte`: an absolutely positioned word box shrank to the room right of its left edge before its scale applied, so a long word set small (Playfair COMPOSITION in the tall frame) clipped at its own mask; the box is now `max-content`, and the diagnostics probe fails any word whose text overflows its mask.
112112

113+
Running the piece through `pnpm verify:layout-contract` corrected three verification authorities, all now in force for every Type Field: (1) a Kinetic Word is expected readable only while fully opaque with every glyph settled in its mask — the phrase-at-beat rule, now stagger-aware — so a word rising or leaving is motion, not a missing or clipped region; (2) the audit measures a Kinetic Word by its ink, from the insets the mount publishes as `--gfx-readable-ink-insets`, because placement is optical and the face box's side bearings and empty ascent misreport title-safe and clipping; (3) Kinetic Words read in the `surface-title` cap-height band — a Type Field is a multi-word lockup, and the one-word hero band's 400 px tall-frame floor is unreachable for a long word. With those, the piece passes all 330 layout-contract frame checks across every Pack and orientation.
114+
113115
## Consequences
114116

115117
- `TextAnimation` keeps its current job: applying a catalogued effect to one ordinary text slot. A Type Field is the authored multi-word composition domain; the two do not compete for the same target.

‎docs/animation-rubric.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ Spoken-word captions for the host audio. First-class as the `state.captions` tra
381381
- Variable-weight motion uses the active Pack's real loaded face and mapped range with `font-synthesis: none`. Word centers and neighboring layout remain stable through the strike; a Pack swap changes appearance, not normalized timing or motion intent.
382382
- Verification samples phrase holds, spatial envelopes, weight impacts, and random seek-away/seek-back replay at native horizontal and vertical resolution under every catalog Pack. Exact canonical poster-grid image digests and geometry identity gate aesthetic review. The image digest averages fixed 32×32 poster-pixel blocks, quantizes each channel to eight-level coordinates, and then applies SHA-256; exact computed color and geometry receipts accompany it. This excludes native-browser subpixel coverage noise while preserving phrase form, position, weight, and color differences.
383383
- A field's **critical moments** are every Motion Beat and each word's keyframe envelopes (spans where its values change; `src/lib/utils/kinetic-type-critical-moments.ts`). The deterministic sample plan samples every beat and each envelope at start, middle, and end, so render and layout-contract matrices measure words arriving, mid-move, and settled. `pnpm probe:kinetic-type-field-diagnostics` (`GFX_PROBE_PRESET` names the field) proves at those moments, per catalog Pack and orientation: native size, the real variable face without synthesis, cap height at or above the floor, replay identity after seeking away, phrase readability at its beat with the tall frame's focal word clear of the caption shelf and action column, monotone weight across each weight ramp with width following the axis and no line-box or anchored-edge movement, crisp edges at transformed sizes on the native canvas (hard outright, or no softer than the least-scaled shown word where a Pack effect softens everything), and, with the background fill off, fully transparent corners with opaque ink.
384+
- A Kinetic Word counts as readable only while it is fully opaque and every glyph has settled in its mask; verification measures it by its ink (the mount publishes the insets) and holds it to the `surface-title` cap-height band, since a Type Field is a lockup rather than a one-word hero.
384385
- One field stays inside its resource ceilings: 320 keyframes across all words, 192 masked glyph spans, and 48 critical moments. Validation names the count and what to cut.
385386

386387
## Authoring Checklist

‎docs/browser-probes/webmcp-agent-eval.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"schemaVersion": 1,
3-
"generatedAt": "2026-10-03T16:50:24.805Z",
3+
"generatedAt": "2026-10-03T19:55:48.187Z",
44
"probe": "webmcp-agent-eval",
55
"origin": "http://localhost:7263",
6-
"release": "gfx@2a0a9c80d452190897afdef67fd29e4cd623988b",
6+
"release": "gfx@6040b818dafc6b0db8629be98407bb5d95c4a430",
77
"harness": {
88
"browser": "Chrome/154.0.8037.93",
99
"protocolVersion": "1.3",

‎scripts/probe-kinetic-type-field-static.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,11 @@ try {
318318
`block:${expected.id}:text`,
319319
`${expected.id} readable identity drifted`
320320
);
321+
// Every Kinetic Word reads in the title band (ADR-0064): a lockup word,
322+
// not a one-word hero.
321323
assert.equal(
322324
word.textRole,
323-
expected.hierarchy === 'display' ? 'surface-display' : 'surface-title',
325+
'surface-title',
324326
`${expected.id} readable role drifted`
325327
);
326328
assert.ok(

0 commit comments

Comments
 (0)