The design language that makes your AI harness better at design.
JavaScript
Draw code-led decision cards as HTML sketches in a skeleton treatment (#997)
Paul Bakaus98703c4281c5
diff --git a/crates/context/src/concept_seed.rs b/crates/context/src/concept_seed.rsindex 01b1f37e4..4c1b4f946 100644--- a/crates/context/src/concept_seed.rs+++ b/crates/context/src/concept_seed.rs@@ -96,9 +96,10 @@ pub fn presentation_block(env: &Env, cwd: &str, scope: &str, reroll: usize, degr(None, Some((value, source))) => fill(t::BUILD_PATH_RECORDED, &[("VALUE", value), ("SOURCE", source)]),(None, None) => t::BUILD_PATH_NONE.to_string(),};- // Comps generated up front come before the wait; a code-led round's- // comps wait for the flip --wait reports, and a single text card has none.- let when = if code_led || (scope == "direction" && single_card) { t::WAIT_NOW } else { t::WAIT_AFTER_COMPS };+ // Comps generated up front come before the wait. A code-led round's comps+ // wait for the flip --wait reports, but its sketches are written right+ // after serving, before the wait; a single text card has neither.+ let when = if scope == "direction" && single_card { t::WAIT_NOW } else if code_led { t::WAIT_AFTER_SKETCHES } else { t::WAIT_AFTER_COMPS };let wait = fill(t::PRESENT_WAIT, &[("SQ", &sq), ("WHEN", when)]);[t::PRESENTATION_HEADER, &present, comps, &wait, &build, t::PRESENT_FALLBACK].join("\n") + "\n"}@@ -830,7 +831,7 @@ mod tests {assert!(lines[2].starts_with("- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first"), "{block}");assert!(lines[2].contains("(a.png gets a.png.json)"), "{block}");// The wait follows comp generation, never precedes it.- assert!(lines[3].starts_with("- After the last comp lands (at once when this round generates none), hold `impeccable serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3"), "{block}");+ assert!(lines[3].starts_with("- After the last comp or sketch lands (at once when this round makes none), hold `impeccable serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3"), "{block}");assert!(lines[4].starts_with("- Build path: none recorded"), "{block}");assert!(lines[4].contains("\"buildPath\": {\"value\": \"comp\", \"toggle\": true}"), "{block}");assert!(lines[5].starts_with("- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4"), "{block}");@@ -850,7 +851,7 @@ mod tests {let block = presentation(&out);assert!(block.contains(PRESENT_FIRST_LINE), "{block}");assert!(block.contains("- With image generation, each dealt card declares a comp under .impeccable/mocks/decision/; serve first"), "{block}");- assert!(block.contains("Without image generation, each card carries a wireframe instead (shape in --schema). Surface rounds have no pick card and no canon card."), "{block}");+ assert!(block.contains("Without image generation, each card carries an HTML sketch: one self-contained file of the first viewport only"), "{block}");assert!(!block.contains("canon included"), "{block}");}@@ -905,9 +906,9 @@ mod tests {let block = presentation(&out);assert!(block.contains(&format!("- Build path: code-led. A surface in {mode} mode builds in code whatever the project records. With image generation, put \"buildPath\": {{\"value\": \"code\", \"toggle\": true}} in the payload")), "{block}");assert!(block.contains("never offer to record a flip made on this surface"), "{block}");- assert!(block.contains("- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve"), "{block}");- assert!(block.contains("- Right after serving, with no comp to generate first, hold `impeccable serve-question --wait --key <key>`."), "{block}");- assert!(presentation(&roll("surface", mode)).contains("- Code-led round: each dealt card carries a wireframe (shape in --schema)"), "{mode}");+ assert!(block.contains("- Code-led round: every card but the declined challengers carries an HTML sketch"), "{block}");+ assert!(block.contains("- After the last sketch lands, hold `impeccable serve-question --wait --key <key>`."), "{block}");+ assert!(presentation(&roll("surface", mode)).contains("- Code-led round: each dealt card carries an HTML sketch"), "{mode}");}for mode in ["persuade", "experience"] {assert!(presentation(&roll("direction", mode)).contains("- Build path: none recorded"), "{mode}");@@ -938,11 +939,11 @@ mod tests {let out = roll("direction");let block = presentation(&out);assert!(block.contains("- Build path: recorded default code (from .impeccable/config.json). With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload; without it there is no toggle and the build is code-led. Never ask the user about the build path."), "{block}");- assert!(block.contains("- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve"), "{block}");+ assert!(block.contains("- Code-led round: every card but the declined challengers carries an HTML sketch"), "{block}");assert!(block.contains("only when --wait prints BUILD PATH FLIPPED"), "{block}");- assert!(block.contains("- Right after serving, with no comp to generate first, hold `impeccable serve-question --wait --key <key>`."), "{block}");+ assert!(block.contains("- After the last sketch lands, hold `impeccable serve-question --wait --key <key>`."), "{block}");let out = roll("surface");- assert!(presentation(&out).contains("- Code-led round: each dealt card carries a wireframe (shape in --schema)"), "{out}");+ assert!(presentation(&out).contains("- Code-led round: each dealt card carries an HTML sketch"), "{out}");// The machine-local file wins over the committed one.std::fs::write(dir.join("config.local.json"), r#"{"buildPath": "comp"}"#).unwrap();diff --git a/crates/context/src/question_page.rs b/crates/context/src/question_page.rsindex 62199cbd1..e4d9cf04a 100644--- a/crates/context/src/question_page.rs+++ b/crates/context/src/question_page.rs@@ -5,7 +5,7 @@//! from impeccable-site at eb5348e48fcd94d0d74895488b985988a401a2e2, with a tight//! viewBox and theme-aware fills. All remaining typography uses system fonts.-pub const PAGE: &str = "<!doctype html>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<title>@@1@@</title>\n<style>\n /* Paper-and-instruments palette from impeccable-site. The picker uses\n system fonts; its outlined wordmark needs no font file. */\n :root {\n color-scheme: light;\n --ks-kinpaku: oklch(84% 0.19 80.46);\n --ks-patina: oklch(49% 0.11 190);\n --ks-paper: oklch(97.8% 0 0);\n --ks-paper-raised: oklch(99.5% 0 0);\n --ks-paper-deep: oklch(95% 0 0);\n --ks-gray: oklch(92% 0 0);\n --ks-gray-2: oklch(88% 0 0);\n --ks-ink: oklch(13% 0 0);\n --ks-text: oklch(22% 0 0);\n --ks-text-muted: oklch(46% 0 0);\n --ks-text-faint: var(--ks-text-muted);\n --ks-rule: oklch(13% 0 0 / 0.12);\n --ks-edge: oklch(13% 0 0 / 0.45);\n --ks-instrument: oklch(24% 0 0);\n --ks-instrument-raised: oklch(31% 0 0);\n --ks-instrument-text: oklch(93% 0 0);\n --ks-lift: 0 1px 1px oklch(13% 0 0 / 0.05), 0 2px 3px oklch(13% 0 0 / 0.04), 0 6px 12px oklch(13% 0 0 / 0.05);\n --ks-cap-lift: inset 0 1px 0 oklch(100% 0 0 / 0.9), 0 1px 0 oklch(13% 0 0 / 0.14), 0 2px 3px oklch(13% 0 0 / 0.08);\n --ks-cap-press: inset 0 1px 2px oklch(13% 0 0 / 0.14);\n --ks-track-recess: inset 0 1px 3px oklch(13% 0 0 / 0.16), inset 0 -1px 0 oklch(100% 0 0 / 0.7);\n --ks-font: system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n --ks-font-display: var(--ks-font);\n --ks-mono: ui-monospace, \"SFMono-Regular\", Menlo, Consolas, monospace;\n /* Shared alignment for the content, snapping deck, and sticky footer. */\n --page-inset: max(clamp(1rem, 5vw, 4rem), calc((100vw - 90rem) / 2));\n }\n * { box-sizing: border-box; margin: 0; }\n body { background: var(--ks-paper); color: var(--ks-text); font: 15px/1.55 var(--ks-font); padding: 1.8rem clamp(1rem, 5vw, 4rem) 0; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }\n #ambient { display: none; }\n #scrim { display: none; }\n header, main, footer { position: relative; z-index: 1; }\n #lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: oklch(97.8% 0 0 / 0.96); cursor: zoom-out; opacity: 0; transition: opacity .25s ease; }\n #lightbox[hidden] { display: none; }\n #lightbox.open { opacity: 1; }\n #lightbox img { max-width: 94vw; max-height: 94vh; border: 1px solid var(--ks-rule); border-radius: 8px; box-shadow: var(--ks-lift); }\n header { width: 100%; max-width: 90rem; margin: 0 auto; }\n .brand { display: inline-flex; align-items: center; color: var(--ks-ink); }\n .brand svg { display: block; width: 164px; height: 30px; }\n .headline { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }\n .headline-die { flex: none; width: 26px; height: 26px; color: var(--ks-ink); }\n h1 { font-family: var(--ks-font); font-weight: 600; font-size: 2rem; letter-spacing: -0.025em; line-height: 1.2; color: var(--ks-ink); text-wrap: balance; }\n .question { color: var(--ks-text-muted); margin-top: .7rem; max-width: 52rem; }\n main { flex: 1; display: flex; align-items: center; width: 100%; max-width: 90rem; margin: 0 auto; }\n .stage { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }\n /* The deck bleeds to the viewport edges while the first card aligns with the\n content column; a carousel cut off at an invisible container edge reads as\n a rendering bug, but one cut off at the screen edge reads as more cards. */\n .deck-shell { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }\n /* One row in a wide viewport, one column in a tall one; the deck scrolls on\n its axis with snap points and the arrows page it card by card. */\n .grid { --deck-inset: var(--page-inset); display: flex; gap: 1.6rem; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px var(--deck-inset); scroll-padding-inline: var(--deck-inset); align-items: stretch; }\n .grid::-webkit-scrollbar { display: none; }\n /* Wide enough that the comp carries the card: at 27vw the imagery read\n as a thumbnail above a column of copy, and the copy won the attention\n contest the comp is supposed to win. */\n .grid > .card { flex: 0 0 clamp(24rem, 34vw, 34rem); scroll-snap-align: center; }\n /* Short landscape viewports (13-inch laptops): header, a 34vw card, and the\n footer do not fit 800px of height, so the headline compacts and the deck\n narrows. Height is the axis that gives; the sticky footer keeps the\n round's verbs on screen while a too-tall card scrolls. */\n @media (min-aspect-ratio: 1/1) and (max-height: 900px) {\n body { padding-top: 1.1rem; }\n h1 { font-size: 2rem; }\n .question { margin-top: .45rem; }\n .stage { gap: 1rem; }\n .grid > .card { flex-basis: clamp(20rem, 27vw, 27rem); }\n .grid > .card.declined { flex-basis: clamp(13rem, 18vw, 18rem); }\n }\n .nav { position: absolute; z-index: 6; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ks-paper-raised); border: 1px solid var(--ks-edge); color: var(--ks-ink); cursor: pointer; box-shadow: var(--ks-cap-lift); transition: border-color .2s, color .2s, opacity .2s; }\n .nav:hover { border-color: var(--ks-ink); color: var(--ks-patina); }\n .nav[disabled] { opacity: .25; cursor: default; }\n .nav[hidden] { display: none; }\n .nav svg { width: 16px; height: 16px; }\n .nav.prev { left: 14px; top: 50%; transform: translateY(-50%); }\n .nav.next { right: 14px; top: 50%; transform: translateY(-50%); }\n /* A side that hides more cards fades out; a hard edge means the end. */\n .fade { position: absolute; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .3s ease; }\n .fade-prev { left: 0; top: 0; bottom: 0; width: 88px; background: linear-gradient(90deg, var(--ks-paper), transparent); }\n .fade-next { right: 0; top: 0; bottom: 0; width: 88px; background: linear-gradient(270deg, var(--ks-paper), transparent); }\n .deck-shell.can-prev .fade-prev { opacity: 1; }\n .deck-shell.can-next .fade-next { opacity: 1; }\n @media (max-aspect-ratio: 1/1) {\n .grid { flex-direction: column; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; max-height: min(68dvh, 44rem); scroll-padding-block: 6px; }\n .grid > .card { flex: 0 0 auto; }\n /* In the vertical deck the pager is the primary way forward, so it grows\n into a labeled pill instead of a bare chevron nobody notices. */\n .nav { width: auto; height: 38px; border-radius: 19px; padding: 0 16px; gap: 8px; background: var(--ks-paper-raised); font-family: var(--ks-font); font-size: .75rem; font-weight: 600; }\n .nav svg { transform: rotate(90deg); }\n .nav.prev::after { content: \"Back\"; }\n .nav.next::after { content: \"More\"; }\n .nav.prev { left: 50%; top: 6px; transform: translate(-50%, 0); }\n .nav.next { right: auto; left: 50%; top: auto; bottom: 6px; transform: translate(-50%, 0); }\n .fade-prev { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 72px; background: linear-gradient(180deg, var(--ks-paper), transparent); }\n .fade-next { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 72px; background: linear-gradient(0deg, var(--ks-paper), transparent); }\n /* In the vertical deck the cross axis is horizontal: flex-start would\n shrink a declined card to content WIDTH, not height, so it stretches\n like every other card and its height is already its own. */\n .grid > .card.declined { align-self: stretch; }\n /* The sticky bar is a wide-viewport fix. Here it would sit over the\n deck's More pager and cost a third of a phone screen, and the deck\n already scrolls internally, so the footer stays in the page flow. */\n footer { position: static; width: auto; margin: 1rem 0 0; padding: .7rem 0 1.2rem; background: transparent; border-top: 0; backdrop-filter: none; }\n }\n .card { position: relative; perspective: 1400px; transform: rotate(var(--fan, 0deg)); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }\n .card:hover { transform: rotate(0deg) translateY(-4px); }\n .card-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }\n .card.flipped .card-inner { transform: rotateY(180deg); }\n .face { background: var(--ks-paper-raised); border: 1px solid var(--ks-rule); border-radius: 8px; box-shadow: var(--ks-lift); overflow: hidden; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }\n .face.front { position: relative; height: 100%; }\n .face.back { position: absolute; inset: 0; transform: rotateY(180deg); }\n /* Only the visible face is interactive: a hidden backface still hit-tests\n in Chrome, so the front's pip would otherwise sit invisibly over the\n back's chips, showing its zoom cursor and eating the flip-back click. */\n .face.back { pointer-events: none; }\n .card.flipped .face.back { pointer-events: auto; }\n .card.flipped .face.front { pointer-events: none; }\n .face.lead { border-color: var(--ks-kinpaku); }\n .card:hover .face { border-color: var(--ks-edge); }\n .card:hover .face.lead { border-color: var(--ks-kinpaku); }\n @media (prefers-reduced-motion: reduce) { .card-inner { transition: none; } }\n .kicker { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 9px; background: var(--ks-paper-raised); border: 1px solid var(--ks-rule); color: var(--ks-ink); font-family: var(--ks-font); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }\n /* Text-only card: a grounded direction with no rendered card drops the media\n region entirely instead of reserving a blank 16:9 void. */\n .face.text-only .kicker { position: static; align-self: flex-start; margin: 14px 0 0 14px; }\n .face.text-only .body { padding-top: 12px; }\n /* 16/10 matches the landscape comp frame; portrait art overrides the\n slot with its own exact ratio at load (see the load listener), and the\n deck narrows so portrait cards line up side by side. */\n .media { position: relative; width: 100%; aspect-ratio: 16/10; flex: none; }\n .grid.portrait-media > .card { flex-basis: clamp(14rem, 19vw, 19rem); }\n .media img { width: 100%; height: 100%; object-fit: cover; display: block; background: linear-gradient(100deg, var(--ks-gray) 40%, var(--ks-gray-2) 50%, var(--ks-gray) 60%); }\n .media > img:not([hidden]) { cursor: zoom-in; }\n .face.back { background: var(--ks-paper-raised); }\n .back-bar { margin-top: auto; background: var(--ks-paper-raised); }\n .hero-blank { width: 100%; height: 100%; background: linear-gradient(100deg, var(--ks-gray) 40%, var(--ks-gray-2) 50%, var(--ks-gray) 60%); }\n .back-bar { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: .8rem; }\n .chips { position: absolute; z-index: 1; right: 10px; bottom: 10px; display: flex; gap: 6px; }\n .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; font-family: var(--ks-font); font-size: .6875rem; font-weight: 500; color: var(--ks-instrument-text); background: var(--ks-instrument); border: 1px solid oklch(100% 0 0 / 0.3); border-radius: 5px; cursor: pointer; transition: color .2s, background .2s; }\n .chip:hover { color: var(--ks-instrument-text); background: var(--ks-instrument-raised); }\n .chip svg { width: 12px; height: 12px; }\n .body { padding: .95rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }\n .tier { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ks-text-faint); }\n h2 { font-family: var(--ks-font); font-size: 1.125rem; font-weight: 600; line-height: 1.35; color: var(--ks-ink); }\n .detail { color: var(--ks-text-muted); font-size: .88rem; white-space: pre-wrap; }\n .detail.more { font-size: .8rem; color: var(--ks-text-faint); }\n .thesis { color: var(--ks-text); font-size: .95rem; line-height: 1.45; }\n .identity { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2px 0; }\n .swatches { display: inline-flex; gap: 4px; margin-right: 4px; }\n .swatches i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid oklch(100% 0 0 / 0.18); box-shadow: inset 0 0 0 1px oklch(0% 0 0 / 0.25); }\n .tag { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ks-text-muted); border: 1px solid var(--ks-rule); border-radius: 4px; padding: 3px 7px; }\n .fact { font-size: .8rem; color: var(--ks-text-muted); line-height: 1.45; }\n .fact-label { display: inline-block; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ks-text-faint); margin-right: .55em; transform: translateY(-1px); }\n .fact.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }\n /* The back is the full read: first viewport, the case, the whole risk, and\n the board when the world has one. */\n .back-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 14px 14px 0; }\n .media.back-media { aspect-ratio: 16/6; }\n .media.back-media img { width: 100%; height: 100%; object-fit: cover; }\n .body.back-body { overflow-y: auto; flex: 1; scrollbar-width: thin; }\n /* Inspiration rides picture-in-picture: the catalog world explains where the\n direction comes from without promising what the build will look like. */\n /* Hovering the inspiration takes over the whole media region; the comp is\n the promise, the inspiration is a glance, so the glance must cost nothing. */\n .pip { position: absolute; z-index: 2; left: 10px; bottom: 10px; margin: 0; width: 84px; height: 64px; border: 1px solid var(--ks-rule); border-radius: 6px; overflow: hidden; background: var(--ks-paper); cursor: zoom-in; transition: left .35s cubic-bezier(.16,1,.3,1), bottom .35s cubic-bezier(.16,1,.3,1), width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1), border-radius .35s ease; box-shadow: var(--ks-lift); }\n .pip img { display: block; width: 100%; height: 100%; object-fit: cover; }\n .pip figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ks-instrument-text); text-align: center; padding: 3px 0 4px; background: var(--ks-instrument); }\n .pip:hover { left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; z-index: 3; }\n .comp-note { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ks-text-faint); }\n /* Catalog art standing in for a comp-less card is a reference, and says so\n on its face; the same pill later carries \"artwork unavailable\". */\n .media-label { position: absolute; z-index: 2; left: 10px; bottom: 10px; margin: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ks-instrument-text); padding: 3px 8px 4px; background: var(--ks-instrument); border: 1px solid var(--ks-rule); border-radius: 4px; }\n /* Art that never arrives collapses to the card's own palette (painted\n inline from its swatches) instead of sitting as a dark void wearing a\n zoom cursor; the scrim keeps the label legible over saturated fields,\n passes clicks through, and the flip chips stay above it. A card with no\n palette falls back to the quiet graphite field. */\n .media.unavailable { background: linear-gradient(100deg, var(--ks-gray) 40%, var(--ks-gray-2) 50%, var(--ks-gray) 60%); }\n .media.unavailable::after { content: \"\"; position: absolute; inset: 0; z-index: 1; background: oklch(10% 0.008 95 / 0.45); pointer-events: none; }\n .media.unavailable .chips { z-index: 2; }\n /* A stand-in is honest about being one: dimmed, labeled, and replaced by\n the real comp whenever it lands. */\n .media.stand-in img.comp { filter: brightness(.72) saturate(.85); }\n .media.stand-in .pip { display: none; }\n .stand-in-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ks-instrument-text); text-align: center; padding: 4px 0 5px; background: var(--ks-instrument); }\n .media.comp-pending { position: relative; }\n .media.comp-pending .shimmer { position: absolute; inset: 0; }\n .media img.comp { position: relative; z-index: 1; }\n /* The generic .media img display:block would defeat [hidden] and float an\n empty block over the shimmer; an unloaded comp must truly not render. */\n .media img[hidden] { display: none; }\n /* Declined challengers: the weighing demoted them, so the card is narrower\n and quieter, its catalog art rides as a labeled thumb in the body, and\n the action reads \"Adopt anyway\". Adoptable, never deleted: the demoted\n row is the hand's proof of judgment. */\n /* Narrow AND short: without align-self the stretch default drags a thin\n declined card to the tallest contender's height, a strange stilt of a\n card beside the full hand. */\n .grid > .card.declined { flex: 0 0 clamp(15rem, 21vw, 21rem); align-self: flex-start; }\n .card.declined .face { background: var(--ks-gray); }\n .card.declined:hover .face { border-color: var(--ks-text-faint); }\n .card.declined h2 { font-size: 1rem; color: var(--ks-text); }\n .kicker.declined-k { background: transparent; border: 1px solid var(--ks-rule); color: var(--ks-text-faint); }\n .card.declined button.choose { background: transparent; color: var(--ks-text-muted); border: 1px solid var(--ks-rule); font-size: .85rem; padding: 8px 22px; }\n .card.declined button.choose:hover { background: var(--ks-gray-2); border-color: var(--ks-text-muted); }\n /* Wireframe media: the code-led schematic. Quiet boxes in the card's own\n chrome; uniform salience across cards by construction, so it needs no\n parity rules. */\n .media.wire { background: var(--ks-paper); border-bottom: 1px solid var(--ks-rule); }\n .wire-field { position: absolute; inset: 12px 12px 26px; }\n .wire-region { position: absolute; border: 1px solid var(--ks-edge); border-radius: 3px; background: var(--ks-paper-raised); display: flex; align-items: center; justify-content: center; overflow: hidden; }\n .wire-region span { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ks-text-faint); text-align: center; padding: 2px 4px; }\n .wire-region.accent { border-color: var(--ks-patina); background: oklch(49% 0.11 190 / 0.06); }\n .wire-region.accent span { color: var(--ks-patina); }\n /* Thumb-scale inspiration: present, labeled, zoomable, and incapable of\n outshouting a text-only assigned card. */\n .inspo { position: relative; flex: none; margin: 2px 0; width: 104px; height: 64px; border: 1px solid var(--ks-rule); border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--ks-paper); }\n .inspo img { display: block; width: 100%; height: 100%; object-fit: cover; }\n .inspo figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ks-instrument-text); text-align: center; padding: 2px 0 3px; background: var(--ks-instrument); }\n /* Raises: the improvements the dealt worlds donated to the assigned\n direction, each named for its donor world. Patina, not kinpaku:\n provenance, not a call to action. A quiet contained panel, never an\n accent side-tab. */\n .raises { display: flex; flex-direction: column; gap: 4px; margin: 2px 0; padding: 7px 10px 8px; background: oklch(70% 0.12 188 / 0.06); border: 1px solid oklch(70% 0.12 188 / 0.22); border-radius: 8px; }\n .raise { font-size: .78rem; color: var(--ks-text-muted); line-height: 1.45; }\n .raise .fact-label { color: var(--ks-patina); }\n /* Several kept ideas cycle instead of stacking: one visible at a time, a\n counter for the rest, the whole block advances on click. */\n .raises-cycle { cursor: pointer; transition: border-color .2s ease; }\n .raises-cycle:hover { border-color: oklch(70% 0.12 188 / 0.45); }\n .raises-cycle .raise { display: none; }\n .raises-cycle .raise.active { display: block; }\n .raises-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }\n .raises-head .fact-label { color: var(--ks-patina); }\n .raises-count { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .14em; color: var(--ks-text-faint); }\n .raises-count::after { content: \" \\203A\"; }\n .raises-cycle:hover .raises-count { color: var(--ks-patina); }\n .sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\n /* The standing exit as a card: present with full anatomy, never dressed as a\n contender. Graphite instead of kinpaku, and it never takes the lead ring. */\n .card.canon .face { border-color: var(--ks-rule); background: var(--ks-gray); }\n .card.canon:hover .face { border-color: var(--ks-text-faint); }\n .card.canon .kicker.standing { background: transparent; border: 1px solid var(--ks-rule); color: var(--ks-text-faint); }\n .card.canon button.choose { background: transparent; color: var(--ks-text); border: 1px solid var(--ks-rule); }\n .card.canon button.choose:hover { border-color: var(--ks-text-muted); background: var(--ks-gray-2); }\n button.choose { margin-top: auto; align-self: start; background: var(--ks-instrument); color: var(--ks-instrument-text); border: 0; font-family: var(--ks-font); font-size: .9375rem; font-weight: 600; line-height: 1.35; padding: 11px 24px; border-radius: 6px; cursor: pointer; transition: background .15s; }\n button.choose:hover { background: var(--ks-instrument-raised); }\n /* The round's verbs stay reachable on short viewports: the footer is a\n full-bleed bar stuck to the viewport bottom and the deck scrolls under\n it. Same inset as the content column, so the controls stay aligned. */\n footer { position: sticky; bottom: 0; z-index: 10; width: 100vw; margin: 1.2rem calc(50% - 50vw) 0; padding: .7rem var(--page-inset) calc(.7rem + env(safe-area-inset-bottom, 0px)); display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; background: var(--ks-paper); border-top: 1px solid var(--ks-rule); }\n #steer { flex: 1; min-width: 16rem; background: var(--ks-paper-raised); color: var(--ks-text); border: 1px solid var(--ks-edge); border-radius: 6px; padding: .7rem .85rem; font: inherit; caret-color: var(--ks-patina); }\n #steer:focus { outline: 2px solid var(--ks-patina); outline-offset: 2px; }\n /* Build-path toggle: a workflow preference surfaced as a quiet segmented\n control on the headline row, right-aligned opposite the title, its trade stated in\n one line that changes with the selection. The default comes from the\n payload (settings); flipping binds this session only, and the agent\n learns about a code-to-comp flip live. Rendered only when the payload\n offers it, which the agent does only when image generation exists. */\n #build-path { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; flex: none; margin-left: auto; }\n .bp-switch { display: inline-flex; gap: 3px; padding: 3px; background: var(--ks-gray); border: 1px solid var(--ks-rule); border-radius: 6px; box-shadow: var(--ks-track-recess); }\n .bp-note { font-family: var(--ks-font); font-size: .75rem; color: var(--ks-text-muted); max-width: 21rem; line-height: 1.4; }\n .bp-opt { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ks-font); font-size: .75rem; font-weight: 500; padding: 7px 10px; border: 0; border-radius: 3px; color: var(--ks-text-muted); background: transparent; cursor: pointer; transition: color .2s ease, background-color .2s ease; }\n .bp-opt::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ks-edge); }\n .bp-opt.active::before { background: var(--ks-kinpaku); }\n .bp-opt.active { color: var(--ks-ink); background: var(--ks-paper-raised); box-shadow: var(--ks-cap-lift); }\n .bp-opt:not(.active):hover { color: var(--ks-text); }\n .bp-note { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .04em; color: var(--ks-text-faint); max-width: 21rem; line-height: 1.5; }\n /* Flipping to comp starts billed, minutes-long generation, so it asks\n first; flipping back is free and never does. */\n #bp-confirm { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: oklch(13% 0 0 / 0.32); opacity: 0; transition: opacity .2s ease; }\n #bp-confirm[hidden] { display: none; }\n #bp-confirm.open { opacity: 1; }\n .bp-confirm-panel { max-width: 26rem; margin: 1rem; background: var(--ks-paper-raised); border: 1px solid var(--ks-rule); border-radius: 8px; padding: 1.4rem 1.5rem 1.3rem; box-shadow: var(--ks-lift); }\n .bp-confirm-panel h2 { font-family: var(--ks-font); font-size: 1.125rem; font-weight: 500; color: var(--ks-ink); margin-bottom: .55rem; }\n .bp-confirm-panel p { font-size: .875rem; line-height: 1.55; color: var(--ks-text-muted); }\n .bp-confirm-actions { display: flex; gap: .6rem; margin-top: 1.1rem; }\n .bp-confirm-go { background: var(--ks-instrument); color: var(--ks-instrument-text); border: 0; font: inherit; font-weight: 600; padding: 9px 22px; border-radius: 6px; cursor: pointer; }\n .bp-confirm-go:hover { background: var(--ks-instrument-raised); }\n .bp-confirm-stay { background: transparent; color: var(--ks-text-muted); border: 1px solid var(--ks-rule); font: inherit; padding: 9px 18px; border-radius: 6px; cursor: pointer; }\n .bp-confirm-stay:hover { color: var(--ks-text); border-color: var(--ks-text-faint); }\n .reroll-btn { display: inline-flex; align-items: center; align-self: stretch; gap: 8px; min-height: 42px; padding: 0 14px; font-family: var(--ks-font); font-size: .8125rem; font-weight: 500; color: var(--ks-ink); background: var(--ks-paper-raised); border: 1px solid var(--ks-edge); border-radius: 6px; box-shadow: var(--ks-cap-lift); cursor: pointer; transition: border-color .2s ease, color .2s ease; }\n .reroll-btn:hover { color: var(--ks-ink); border-color: var(--ks-ink); }\n .reroll-btn svg { width: 15px; height: 15px; }\n .reroll-btn[disabled] { opacity: .4; cursor: default; }\n /* The register steers read quieter than the plain roll: they are exits from\n the current register, not the round's main verbs. */\n #reroll-safer, #reroll-bolder { color: var(--ks-text-muted); min-height: 38px; }\n #reroll-safer:hover, #reroll-bolder:hover { color: var(--ks-text); border-color: var(--ks-text-faint); }\n /* The quiet exit: always available, never argued with, visually subordinate\n to the dealt cards and the re-roll so it reads as the user's own door,\n not a recommendation. */\n #canon { align-self: center; padding: 4px; font-family: var(--ks-font); font-size: .75rem; color: var(--ks-text-muted); background: transparent; border: none; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }\n #canon:hover { color: var(--ks-ink); }\n #canon[disabled] { opacity: .18; cursor: default; }\n .card.skeleton .media { background: var(--ks-gray); }\n .shimmer { width: 100%; height: 100%; background: linear-gradient(100deg, var(--ks-gray) 35%, var(--ks-gray-2) 50%, var(--ks-gray) 65%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }\n .card.skeleton .line { height: 11px; border-radius: 4px; background: linear-gradient(100deg, var(--ks-gray) 35%, var(--ks-gray-2) 50%, var(--ks-gray) 65%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }\n .card.skeleton .line.tier { height: 8px; }\n .card.skeleton .line.title { height: 17px; border-radius: 5px; }\n .card.skeleton .line.button { height: 38px; width: 128px; border-radius: 6px; margin-top: auto; }\n .card.skeleton .w40 { width: 40%; } .card.skeleton .w70 { width: 70%; } .card.skeleton .w90 { width: 90%; } .card.skeleton .w80 { width: 80%; } .card.skeleton .w60 { width: 60%; }\n .card.skeleton .body { flex: 1; }\n @keyframes shimmer { from { background-position: 120% 0; } to { background-position: -80% 0; } }\n @media (prefers-reduced-motion: reduce) { .shimmer, .card.skeleton .line { animation: none; } }\n .done { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 7rem 1rem; font-family: var(--ks-font-display); font-size: 1.4rem; color: var(--ks-ink); text-align: center; }\n .stall { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding: 4.5rem 1rem; font-family: var(--ks-font-display); font-size: 1.4rem; color: var(--ks-ink); text-align: center; }\n .stall .choose { align-self: center; margin-top: 0; }\n ::selection { background: oklch(49% 0.11 190 / 0.18); color: var(--ks-ink); }\n :focus-visible { outline: 2px solid var(--ks-patina); outline-offset: 3px; }\n #steer::placeholder { color: var(--ks-text-muted); opacity: 1; }\n .body.back-body { scrollbar-color: var(--ks-edge) var(--ks-paper-deep); }\n .reroll-btn:active, .bp-opt:active { box-shadow: var(--ks-cap-press); }\n @media (max-aspect-ratio: 1/1) {\n header { margin-bottom: 1.4rem; }\n h1 { flex: 1; min-width: 0; font-size: 1.5rem; }\n #build-path { flex-basis: 100%; align-items: flex-start; margin: .25rem 0 0; }\n .bp-note { text-align: left; max-width: 100%; }\n footer { position: static; width: auto; margin: 1rem 0 0; padding: .75rem 0 1.2rem; background: transparent; border-top: 0; }\n #steer { flex-basis: 100%; min-width: 0; }\n }\n</style>\n<div id=\"ambient\" aria-hidden=\"true\"></div>\n<div id=\"scrim\" aria-hidden=\"true\"></div>\n<div id=\"lightbox\" hidden><img alt=\"\"></div>\n<template id=\"tpl-expand-chip\">@@2@@</template>\n@@3@@\n<header>\n <div class=\"brand\">\n <svg class=\"brand-logo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"82.5 82.5 476 87\" role=\"img\" aria-label=\"Impeccable\" fill=\"none\">\n <g transform=\"translate(71.39999999999999 71.39999999999999) scale(4.533333333333333)\" fill=\"var(--ks-kinpaku)\">\n <path d=\"M5 2.5 L13.5 2.5 L5.5 21.5 L5 21.5 Q2.5 21.5 2.5 19 L2.5 5 Q2.5 2.5 5 2.5 Z\"/>\n <path d=\"M16.5 2.5 L19 2.5 Q21.5 2.5 21.5 5 L21.5 19 Q21.5 21.5 19 21.5 L8.5 21.5 Z\"/>\n </g>\n <g transform=\"translate(203.99999999999997,146.69776) scale(0.07072,-0.07072)\"><path d=\"M57 0L57 591L134 591L134 0Z\" transform=\"translate(0,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L151 591L266 137L383 591L474 591L474 0L406 0L406 468L293 0L239 0L126 468L126 0Z\" transform=\"translate(341.42370605468756,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L248 591Q301 591 331.5 566.5Q362 542 362 492L362 385Q362 350 352.5 319Q343 288 316 269Q289 250 238 250L138 250L138 0ZM138 295L213 295Q249 295 267 319Q285 343 285 395L285 461Q285 506 268.5 526.5Q252 547 227 547L138 547Z\" transform=\"translate(1022.9385986328125,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L317 591L317 536L138 536L138 338L283 338L283 278L138 278L138 54L317 54L317 0Z\" transform=\"translate(1561.847412109375,0)\" fill=\"currentColor\"/><path d=\"M203 -12Q158 -12 123 -1.5Q88 9 68 42Q48 75 48 141L48 467Q48 522 68 550.5Q88 579 123.5 589Q159 599 204 599Q250 599 283.5 588.5Q317 578 336.5 550Q356 522 356 467L356 359L279 359L279 469Q279 505 269 522.5Q259 540 242 545.5Q225 551 203 551Q181 551 164 545.5Q147 540 137.5 522.5Q128 505 128 469L128 117Q128 81 137.5 63.5Q147 46 164 40.5Q181 35 203 35Q226 35 242.5 40.5Q259 46 269 63.5Q279 81 279 117L279 213L356 213L356 141Q356 74 336.5 41.5Q317 9 283 -1.5Q249 -12 203 -12Z\" transform=\"translate(2051.968994140625,0)\" fill=\"currentColor\"/><path d=\"M203 -12Q158 -12 123 -1.5Q88 9 68 42Q48 75 48 141L48 467Q48 522 68 550.5Q88 579 123.5 589Q159 599 204 599Q250 599 283.5 588.5Q317 578 336.5 550Q356 522 356 467L356 359L279 359L279 469Q279 505 269 522.5Q259 540 242 545.5Q225 551 203 551Q181 551 164 545.5Q147 540 137.5 522.5Q128 505 128 469L128 117Q128 81 137.5 63.5Q147 46 164 40.5Q181 35 203 35Q226 35 242.5 40.5Q259 46 269 63.5Q279 81 279 117L279 213L356 213L356 141Q356 74 336.5 41.5Q317 9 283 -1.5Q249 -12 203 -12Z\" transform=\"translate(2600.60546875,0)\" fill=\"currentColor\"/><path d=\"M13 0L137 591L241 591L364 0L279 0L251 130L121 130L95 0ZM124 170L249 170L187 507Z\" transform=\"translate(3149.241943359375,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L247 591Q298 591 329 566.5Q360 542 360 492L360 422Q360 394 352 372.5Q344 351 330 338Q316 325 297.5 320Q279 315 265 314L265 315Q284 315 302 310.5Q320 306 333 294Q349 280 358 258Q367 236 367 206L367 122Q367 72 350.5 45.5Q334 19 305 9.5Q276 0 236 0ZM135 43L221 43Q242 43 257 49Q272 55 280.5 73.5Q289 92 289 127L289 205Q289 251 267.5 266Q246 281 213 281L135 281ZM135 331L211 331Q247 331 266 351.5Q285 372 285 413L285 479Q285 514 267.5 530.5Q250 547 225 547L135 547Z\" transform=\"translate(3676.1197509765625,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L134 591L134 54L290 54L290 0Z\" transform=\"translate(4236.2109375,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L317 591L317 536L138 536L138 338L283 338L283 278L138 278L138 54L317 54L317 0Z\" transform=\"translate(4683.574462890625,0)\" fill=\"currentColor\"/></g>\n</svg>\n </div>\n</header>\n<main>\n <div class=\"stage\">\n <div class=\"headline\">\n <svg class=\"headline-die\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/><circle cx=\"8.4\" cy=\"8.4\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"15.6\" cy=\"8.4\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"8.4\" cy=\"15.6\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"15.6\" cy=\"15.6\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"12\" cy=\"12\" r=\"1.5\" fill=\"currentColor\"/></svg>\n <h1>@@4@@</h1>\n @@5@@\n </div>\n @@6@@\n <div class=\"deck-shell\">\n <div class=\"grid\">@@7@@</div>\n <div class=\"fade fade-prev\" aria-hidden=\"true\"></div>\n <div class=\"fade fade-next\" aria-hidden=\"true\"></div>\n <button class=\"nav prev\" hidden aria-label=\"Previous card\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M14.5 5 8 12l6.5 7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\n <button class=\"nav next\" hidden aria-label=\"Next card\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M9.5 5 16 12l-6.5 7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\n </div>\n </div>\n</main>\n<footer>\n @@8@@\n @@9@@\n @@10@@\n</footer>\n<script>\n const steer = () => document.getElementById('steer')?.value || '';\n // A followup round's pick keeps the tab: the next round arrives via\n // --update, so the page shows the loading hand instead of goodbye. Detached\n // mode only, and the page must agree with the server: a blocking server\n // exits on any pick and has no update channel, so a followup payload there\n // still gets the goodbye screen, never a loading hand nothing will resolve.\n const FOLLOWUP = @@11@@;\n const KEY = @@15@@;\n const keyQ = KEY ? '?key=' + encodeURIComponent(KEY) : '';\n const beat = () => { try { navigator.sendBeacon('/heartbeat' + keyQ); } catch { fetch('/heartbeat' + keyQ, { method: 'POST' }); } };\n @@12@@\n const beatTimer = setInterval(beat, 5000);\n // A dead server must fail loudly: awaiting a rejected fetch here used to\n // swallow the click and never print the confirmation, so the user believed\n // a choice had landed that no one would ever collect.\n async function answer(optionId) {\n // Quiet at the click: a re-roll or canon posted while this pick's POST\n // is in flight would overwrite the answer being collected.\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n try {\n await fetch('/answer' + keyQ, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ optionId, steer: steer() }) });\n } catch {\n document.body.innerHTML = '<div class=\"done\">The question server went away before this choice could land.<br>Tell the agent your pick in the chat instead.</div>';\n return;\n }\n if (FOLLOWUP) { await awaitNextRound(true); return; }\n document.body.innerHTML = '<div class=\"done\"><svg viewBox=\"0 0 24 24\" width=\"38\" height=\"38\" fill=\"oklch(84% 0.19 80.46)\" aria-hidden=\"true\"><path d=\"M5 2.5 L13.5 2.5 L5.5 21.5 L5 21.5 Q2.5 21.5 2.5 19 L2.5 5 Q2.5 2.5 5 2.5 Z\"/><path d=\"M16.5 2.5 L19 2.5 Q21.5 2.5 21.5 5 L21.5 19 Q21.5 21.5 19 21.5 L8.5 21.5 Z\"/></svg>Choice recorded. The agent is resuming; you can close this tab.</div>';\n }\n document.querySelectorAll('button.choose').forEach(b => b.addEventListener('click', () => answer(b.dataset.id)));\n document.querySelectorAll('.flip').forEach(b => b.addEventListener('click', (e) => {\n e.stopPropagation();\n b.closest('.card').classList.toggle('flipped');\n }));\n\n // Raise cycler: click (or Enter) advances to the next donation.\n document.querySelectorAll('.raises-cycle').forEach(cycle => {\n const raises = [...cycle.querySelectorAll('.raise')];\n const count = cycle.querySelector('[data-raises-count]');\n let at = 0;\n const live = cycle.querySelector('.sr-live');\n const show = (announce) => {\n raises.forEach((raise, i) => raise.classList.toggle('active', i === at));\n if (count) count.textContent = (at + 1) + '/' + raises.length;\n // Screen readers hear the raise they just advanced to; the initial\n // render stays quiet so page load does not narrate every card.\n if (announce && live) live.textContent = 'Improvement ' + (at + 1) + ' of ' + raises.length + ': ' + (raises[at]?.textContent || '');\n };\n show(false);\n const advance = (e) => { e.stopPropagation(); at = (at + 1) % raises.length; show(true); };\n cycle.addEventListener('click', advance);\n cycle.addEventListener('keydown', (e) => { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); advance(e); } });\n });\n\n // Deal from the stack: cards begin piled at the grid's center, blurred,\n // then travel to their seats with a stagger.\n const cards = [...document.querySelectorAll('.card')];\n // The deal is decoration: a hidden tab throttles rAF, so never let the\n // animation hold the cards at opacity 0. Skip it when hidden, and force\n // the final state after a beat no matter what the animation did.\n setTimeout(() => cards.forEach(c => { c.style.opacity = ''; c.style.transform = ''; c.style.filter = ''; c.style.transition = ''; c.style.zIndex = ''; }), 1600);\n if (!matchMedia('(prefers-reduced-motion: reduce)').matches && cards.length && !document.hidden) {\n const grid = document.querySelector('.grid').getBoundingClientRect();\n const cx = grid.left + grid.width / 2, cy = grid.top + grid.height / 2;\n cards.forEach((card, i) => {\n const r = card.getBoundingClientRect();\n const dx = cx - (r.left + r.width / 2), dy = cy - (r.top + r.height / 2);\n card.style.transition = 'none';\n card.style.transform = 'translate(' + dx + 'px,' + (dy + 14) + 'px) rotate(' + (i % 2 ? 5 : -4) + 'deg) scale(.9)';\n card.style.opacity = '0';\n card.style.filter = 'blur(10px)';\n card.style.zIndex = String(cards.length - i);\n });\n requestAnimationFrame(() => requestAnimationFrame(() => {\n cards.forEach((card, i) => {\n const delay = i * 110;\n card.style.transition = 'transform .7s cubic-bezier(.16,1,.3,1) ' + delay + 'ms, opacity .45s ease ' + delay + 'ms, filter .55s ease ' + delay + 'ms';\n card.style.transform = ''; card.style.opacity = '1'; card.style.filter = '';\n card.addEventListener('transitionend', function done(e) {\n if (e.propertyName !== 'transform') return;\n card.style.transition = ''; card.style.opacity = ''; card.style.zIndex = '';\n card.removeEventListener('transitionend', done);\n });\n });\n }));\n }\n\n // Comps stream in after the deal: poll each slot until the file lands,\n // then swap the shimmer for the image. Generation is genuinely slow and a\n // sequential batch puts the last card many minutes out, so patience is the\n // default: a slot only shows its inspiration as a stand-in when it has\n // waited four minutes AND nothing has landed anywhere for four minutes, the\n // stand-in is labeled as such, and polling continues so the real comp\n // still swaps in whenever it arrives. Progress anywhere resets patience.\n const landTracker = { last: Date.now() };\n const pollComp = (m) => {\n const url = m.dataset.comp;\n // A converted slot is the SAME node across flip cycles, so a probe from an\n // earlier cycle can still be in flight when the next one starts. Without a\n // generation stamp its late onload settles the new slot: shimmer stripped,\n // pending state cleared, comp still hidden, live poll stopped.\n const generation = String(Number(m.dataset.pollGen || 0));\n const current = () => String(Number(m.dataset.pollGen || 0)) === generation;\n const img = m.querySelector('img.comp');\n const note = m.querySelector('.comp-note');\n const started = Date.now();\n // A live elapsed count is the difference between \"working\" and \"frozen\".\n const tick = setInterval(() => { if (note) note.textContent = 'rendering · ' + Math.round((Date.now() - started) / 1000) + 's'; }, 1000);\n const settle = () => { clearInterval(tick); m.classList.remove('comp-pending', 'stand-in'); m.querySelector('.shimmer')?.remove(); m.querySelector('.stand-in-label')?.remove(); };\n const fallback = () => {\n const pip = m.querySelector('.pip img');\n if (pip) {\n if (m.classList.contains('stand-in')) return false;\n img.src = pip.getAttribute('src'); img.hidden = false;\n m.classList.add('stand-in');\n m.querySelector('.shimmer')?.remove();\n clearInterval(tick);\n const label = document.createElement('p');\n label.className = 'stand-in-label';\n label.textContent = 'inspiration · comp pending';\n m.appendChild(label);\n return false;\n }\n\n // No comp and no inspiration is the text-only card the payload would\n // have rendered without a comp declaration. Bring the complete read\n // forward before removing the now-unreachable back face.\n const card = m.closest('.card');\n const front = card?.querySelector('.face.front');\n const body = front?.querySelector('.body');\n const back = card?.querySelector('.face.back');\n const textOnlyFacts = m.querySelector('template.text-only-facts');\n const choose = body?.querySelector(':scope > button.choose');\n if (body && textOnlyFacts && choose) {\n const plainDetail = body.querySelector(':scope > .detail:not(.more)');\n [...body.children].filter((el) => el.classList.contains('fact') || el.matches('.detail.more')).forEach((el) => el.remove());\n choose.before(textOnlyFacts.content.cloneNode(true));\n if (plainDetail) choose.before(plainDetail);\n }\n card?.classList.remove('flipped');\n front?.classList.add('text-only');\n back?.remove();\n settle();\n m.remove();\n return true;\n };\n const tryLoad = () => {\n // A slot the user flipped back out of either leaves the DOM or, when it\n // was an inspiration face converted in place, stays and loses its\n // pending state. Either way its loop is done.\n if (!m.isConnected || !m.classList.contains('comp-pending') || !current()) { clearInterval(tick); return; }\n const probe = new Image();\n probe.onload = () => {\n // A stale generation also ends this run's clock. tryLoad clears it on\n // re-entry, and an in-flight probe that finishes stale schedules no\n // re-entry, so returning without clearing ran the interval for the rest\n // of the page's life.\n if (!current()) { clearInterval(tick); return; }\n landTracker.last = Date.now();\n const target = m.querySelector('img.comp') || img;\n target.src = probe.src;\n target.hidden = false;\n settle();\n };\n probe.onerror = () => {\n if (!current()) { clearInterval(tick); return; }\n const quiet = Date.now() - landTracker.last > 240000;\n if (Date.now() - started > 240000 && quiet && fallback()) return;\n setTimeout(tryLoad, m.classList.contains('stand-in') ? 5000 : 2500);\n };\n probe.src = url + (url.includes('?') ? '&' : '?') + 't=' + Date.now();\n };\n tryLoad();\n };\n document.querySelectorAll('.media.comp-pending').forEach(pollComp);\n\n // Build-path toggle: the default is the round's recorded preference and\n // flipping binds this session only. Flipping code to comp swaps every\n // reserve slot (data-comp-slot) to its shimmer and tells the server, so\n // the waiting agent starts generating; flipping back is free: pending\n // slots return to their wireframes, a comp that already landed stays.\n const bp = document.getElementById('build-path');\n if (bp) {\n const notes = {\n comp: 'An image sets the bar first and the build must match it. Bolder composition; comps render before code.',\n code: 'Code builds directly; the ambition is written into the contract and audited at the finish. Leaner, faster.',\n };\n const noteEl = bp.querySelector('[data-bp-note]');\n let current = bp.dataset.default;\n const set = (value) => {\n current = value;\n bp.querySelectorAll('.bp-opt').forEach(b => {\n const on = b.dataset.bp === value;\n b.classList.toggle('active', on);\n b.setAttribute('aria-checked', String(on));\n });\n if (noteEl) noteEl.textContent = notes[value];\n };\n set(current);\n const INSPO_TITLE = 'Inspiration: the world this direction draws from. Your page will not look like this image.';\n // Every media slot carries the expand affordance. A slot built here after\n // the deal used to ship without one, so a comp the user waited minutes for\n // could not be opened.\n const ensureChips = (m) => {\n if (m.querySelector('.chips')) return;\n const tpl = document.getElementById('tpl-expand-chip');\n if (!tpl) return;\n const chips = document.createElement('div');\n chips.className = 'chips';\n chips.appendChild(tpl.content.cloneNode(true));\n m.appendChild(chips);\n };\n const shimmerHtml = '<div class=\"shimmer\"><span class=\"comp-note\">rendering…</span></div><img class=\"comp\" alt=\"\" hidden>';\n const enterComp = () => {\n document.querySelectorAll('.card[data-comp-slot]').forEach(card => {\n const front = card.querySelector('.face.front');\n if (!front || front.querySelector('.media.comp-pending') || front.querySelector('.media img.comp:not([hidden])')) return;\n // On a code-led card the inspiration IS the face. Comp-first demotes it\n // to the corner, so convert that slot in place rather than inserting a\n // second one: two stacked images say the catalog art and the comp are\n // peers, and the whole point of the corner is that they are not.\n const inspo = front.querySelector('.media:not(.wire):not(.comp-pending)');\n let m;\n if (inspo) {\n m = inspo;\n m.dataset.compRestore = 'inspiration';\n m.dataset.comp = card.dataset.compSlot;\n m.classList.add('comp-pending');\n m.removeAttribute('title');\n m.querySelector('.media-label')?.remove();\n const art = m.querySelector(':scope > img');\n if (art) {\n const pip = document.createElement('figure');\n pip.className = 'pip';\n pip.title = INSPO_TITLE;\n const cap = document.createElement('figcaption');\n cap.textContent = 'inspiration';\n pip.append(art, cap);\n m.appendChild(pip);\n }\n m.insertAdjacentHTML('afterbegin', shimmerHtml);\n } else {\n m = document.createElement('div');\n m.className = 'media comp-pending';\n m.dataset.comp = card.dataset.compSlot;\n m.innerHTML = shimmerHtml;\n const wireEl = front.querySelector('.media.wire');\n if (wireEl) { wireEl.hidden = true; front.insertBefore(m, wireEl); }\n else { front.classList.remove('text-only'); front.insertBefore(m, front.querySelector('.body')); }\n }\n ensureChips(m);\n pollComp(m);\n });\n };\n const exitComp = () => {\n document.querySelectorAll('.card[data-comp-slot]').forEach(card => {\n const front = card.querySelector('.face.front');\n const pending = front?.querySelector('.media.comp-pending');\n if (!pending) return; // landed comps stay; they exist either way\n // A converted slot is restored, not removed: the inspiration goes back\n // to being the face, so flipping back leaves the card as it was dealt.\n if (pending.dataset.compRestore === 'inspiration') {\n // Everything the pending state added has to leave, presentation\n // included: a slot that reached stand-in kept its \"inspiration comp\n // pending\" label beside a fresh one, and a slot whose art had failed\n // came back still marked unavailable.\n pending.classList.remove('comp-pending', 'stand-in');\n delete pending.dataset.compRestore;\n delete pending.dataset.comp;\n pending.dataset.pollGen = String(Number(pending.dataset.pollGen || 0) + 1);\n pending.querySelector('.shimmer')?.remove();\n pending.querySelector('img.comp')?.remove();\n pending.querySelector('.stand-in-label')?.remove();\n pending.querySelectorAll('.media-label').forEach((el) => el.remove());\n const pip = pending.querySelector('.pip');\n const art = pip?.querySelector('img');\n if (art) pending.insertBefore(art, pending.firstChild);\n pip?.remove();\n // No art means the image failed to load before the flip, so hand the\n // slot back to the same honest treatment rather than calling it art.\n const label = document.createElement('p');\n label.className = 'media-label';\n label.textContent = art ? 'inspiration' : 'artwork unavailable';\n pending.insertBefore(label, pending.querySelector('.chips'));\n if (art) pending.title = INSPO_TITLE; else pending.classList.add('unavailable');\n return;\n }\n pending.remove();\n const wireEl = front.querySelector('.media.wire');\n if (wireEl) wireEl.hidden = false;\n else if (!front.querySelector('.media')) front.classList.add('text-only');\n });\n };\n const apply = (value) => {\n set(value);\n fetch('/build-path' + keyQ, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ value }) });\n if (value === 'comp') enterComp(); else exitComp();\n };\n // Flipping to comp starts real generation, so it confirms first; the\n // flip back is free and applies immediately.\n const confirm = document.getElementById('bp-confirm');\n const closeConfirm = () => { confirm.classList.remove('open'); confirm.hidden = true; };\n confirm.querySelector('[data-confirm]').addEventListener('click', () => { closeConfirm(); apply('comp'); });\n confirm.querySelector('[data-cancel]').addEventListener('click', closeConfirm);\n confirm.addEventListener('click', (e) => { if (e.target === confirm) closeConfirm(); });\n document.addEventListener('keydown', (e) => { if (e.key === 'Escape' && !confirm.hidden) closeConfirm(); });\n bp.querySelectorAll('.bp-opt').forEach(b => b.addEventListener('click', () => {\n const value = b.dataset.bp;\n if (value === current) return;\n if (value === 'comp') {\n confirm.hidden = false;\n requestAnimationFrame(() => confirm.classList.add('open'));\n return;\n }\n apply(value);\n }));\n }\n\n // A declared image that never loads (missing catalog asset, offline shell)\n // must not sit as a dark void: the slot collapses to the card's own\n // palette, labeled honestly, and the card competes on its facts. Sketch\n // slots are excluded; their polling owns the wait.\n const artFailed = (img) => {\n const m = img.closest('.media');\n if (!m || m.classList.contains('comp-pending') || m.classList.contains('unavailable')) return;\n m.classList.add('unavailable');\n const colors = [...(img.closest('.card')?.querySelectorAll('.swatches i') || [])].map(i => i.style.background).filter(Boolean);\n if (colors.length) m.style.background = 'linear-gradient(135deg, ' + colors.map((c, i) => c + ' ' + Math.round(i * 100 / colors.length) + '% ' + Math.round((i + 1) * 100 / colors.length) + '%').join(', ') + ')';\n m.querySelector('.media-label')?.remove();\n m.querySelector('.chip.expand')?.remove();\n m.removeAttribute('title');\n img.remove();\n const label = document.createElement('p');\n label.className = 'media-label';\n label.textContent = 'artwork unavailable';\n m.appendChild(label);\n };\n document.querySelectorAll('.media:not(.comp-pending) > img').forEach(img => {\n if (img.complete && img.naturalWidth === 0 && img.getAttribute('src')) artFailed(img);\n else img.addEventListener('error', () => artFailed(img), { once: true });\n });\n // A broken inspiration PIP or thumb just leaves; nothing depends on it.\n document.querySelectorAll('.pip img, .inspo img').forEach(img => {\n const gone = () => img.closest('.pip, .inspo')?.remove();\n if (img.complete && img.naturalWidth === 0) gone();\n else img.addEventListener('error', gone, { once: true });\n });\n\n // Every zoom target resolves in ONE delegated listener, in priority order.\n // Delegation is what lets a slot built by a build-path flip work at all, and\n // a single listener is what keeps the targets from fighting: stopPropagation\n // ends bubbling, not other listeners on the same target, so split across two\n // handlers a click on the corner inspiration opened the inspiration and then\n // the comp overwrote it in the lightbox. Per-element handlers elsewhere (the\n // flip chip, the raise cycler) still stop bubbling before the event lands\n // here, so they keep their own behavior.\n document.addEventListener('click', (e) => {\n const target = e.target;\n if (!target || !target.closest) return;\n // The corner inspiration wins over the slot it sits inside.\n const pip = target.closest('.pip, .inspo');\n if (pip) {\n const art = pip.querySelector('img');\n if (art) openLightbox(art);\n return;\n }\n const chip = target.closest('.chip');\n if (chip) {\n // Only expand zooms. Any other chip owns its click and must not fall\n // through to the media underneath it.\n if (!chip.classList.contains('expand')) return;\n const card = chip.closest('.card');\n const face = card && card.classList.contains('flipped') ? '.face.back' : '.face.front';\n const shown = card && card.querySelector(face + ' .media img:not([hidden])');\n if (shown && shown.getAttribute('src')) openLightbox(shown);\n return;\n }\n // The whole image is the zoom target, not just the chip; the chip stays as\n // the visible affordance.\n const media = target.closest('.media');\n if (!media) return;\n const art = media.querySelector(':scope > img:not([hidden])');\n if (art && art.getAttribute('src')) openLightbox(art);\n });\n\n // Deck paging: arrows appear only when the deck overflows its axis, page\n // one card at a time, and follow the aspect-ratio flip between row and column.\n const deck = document.querySelector('.grid');\n const prevBtn = document.querySelector('.nav.prev');\n const nextBtn = document.querySelector('.nav.next');\n const vertical = () => matchMedia('(max-aspect-ratio: 1/1)').matches;\n function updateNav() {\n if (!deck || !prevBtn) return;\n const shell = deck.closest('.deck-shell');\n const v = vertical();\n const overflow = v ? deck.scrollHeight > deck.clientHeight + 4 : deck.scrollWidth > deck.clientWidth + 4;\n prevBtn.hidden = nextBtn.hidden = !overflow;\n const pos = v ? deck.scrollTop : deck.scrollLeft;\n const max = v ? deck.scrollHeight - deck.clientHeight : deck.scrollWidth - deck.clientWidth;\n const canPrev = overflow && pos > 2;\n const canNext = overflow && pos < max - 2;\n prevBtn.toggleAttribute('disabled', !canPrev);\n nextBtn.toggleAttribute('disabled', !canNext);\n shell?.classList.toggle('can-prev', canPrev);\n shell?.classList.toggle('can-next', canNext);\n }\n function pageDeck(dir) {\n const card = deck.querySelector('.card');\n if (!card) return;\n const r = card.getBoundingClientRect();\n const step = (vertical() ? r.height : r.width) + 26;\n deck.scrollBy(vertical() ? { top: dir * step, behavior: 'smooth' } : { left: dir * step, behavior: 'smooth' });\n }\n prevBtn?.addEventListener('click', () => pageDeck(-1));\n nextBtn?.addEventListener('click', () => pageDeck(1));\n deck?.addEventListener('scroll', updateNav, { passive: true });\n addEventListener('resize', updateNav);\n updateNav();\n\n // Ambient: the hovered card's visible art bleeds into the page ground.\n const ambient = document.getElementById('ambient');\n document.querySelectorAll('.card').forEach(card => {\n card.addEventListener('mouseenter', () => {\n const art = card.querySelector('.face.front .media img:not([hidden])') || card.querySelector('.face.front .pip img') || card.querySelector('.face.front .inspo img');\n if (!art || !art.getAttribute('src')) return;\n ambient.style.backgroundImage = 'url(\"' + art.getAttribute('src') + '\")'; ambient.style.opacity = '1';\n });\n card.addEventListener('mouseleave', () => { ambient.style.opacity = '0'; });\n });\n\n // Expand: lightbox for whichever face is showing.\n const lightbox = document.getElementById('lightbox');\n const lightboxImg = lightbox.querySelector('img');\n // Declared, not assigned to a const, so the delegated handlers above can call\n // it wherever they sit in this file.\n function openLightbox(img) {\n lightboxImg.src = img.getAttribute('src');\n lightbox.hidden = false;\n requestAnimationFrame(() => lightbox.classList.add('open'));\n }\n // Portrait art (native / mobile-first surfaces): the slot takes the\n // image's own ratio so nothing crops, and the whole deck narrows so\n // portrait cards sit side by side. Load events don't bubble; capture.\n document.addEventListener('load', (e) => {\n const img = e.target;\n if (!(img instanceof HTMLImageElement) || !img.matches('.media > img')) return;\n if (img.naturalHeight > img.naturalWidth * 1.05) {\n const m = img.closest('.media');\n m.classList.add('portrait');\n m.style.aspectRatio = img.naturalWidth + ' / ' + img.naturalHeight;\n document.querySelector('.grid')?.classList.add('portrait-media');\n }\n }, true);\n const closeLightbox = () => { lightbox.classList.remove('open'); setTimeout(() => { lightbox.hidden = true; }, 250); };\n lightbox.addEventListener('click', closeLightbox);\n document.addEventListener('keydown', (e) => { if (e.key === 'Escape' && !lightbox.hidden) closeLightbox(); });\n document.getElementById('canon')?.addEventListener('click', () => answer('canon'));\n const dealAgain = async (register) => {\n // Quiet at the click, not after the fly-out: the POST round-trip plus\n // the 700ms animation was a window where a second click posted another\n // re-roll and renewed the delivery deadline.\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n try {\n await fetch('/answer' + keyQ, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ optionId: 'reroll', steer: steer(), ...(register ? { register } : {}) }) });\n } catch {\n document.body.innerHTML = '<div class=\"done\">The question server went away before this choice could land.<br>Tell the agent your pick in the chat instead.</div>';\n return;\n }\n await awaitNextRound(true);\n };\n async function awaitNextRound(animate, budgetMs = @@13@@) {\n const grid = document.querySelector('.grid');\n let poll;\n let misses = 0;\n const shuffleStart = Date.now();\n const stall = (message) => {\n clearInterval(poll);\n // A stalled page is an abandoned flow: keep heartbeating and the\n // daemon never reaches its idle grace, so --wait spins on WAITING\n // forever. Go silent and let the server reclaim itself. Reload must\n // not undo that silence: an unconditional reload re-serves the same\n // unresolved round and its fresh page beats again, so check for a\n // delivered hand first and only reload when one exists. The re-roll\n // buttons and the canon exit go too: a stalled page served already\n // expired never disabled them, a re-roll would renew the deadline the\n // stall just enforced, and a canon pick would overwrite a re-roll\n // --wait already collected, closing the table under the agent.\n clearInterval(beatTimer);\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n // Silence is for heartbeats only: a hand delivered after the deadline\n // must still land without a click, so a beat-free watch keeps checking\n // and reloads into it. /next-status never beats, so the daemon's idle\n // grace still reclaims a flow nobody resumes.\n const watch = setInterval(async () => {\n try { if ((await (await fetch('/next-status')).json()).ready) { clearInterval(watch); location.reload(); } } catch { /* server gone; the screen already says so */ }\n }, 1500);\n grid.innerHTML = '<div class=\"stall\"><p>' + message + '</p><button type=\"button\" class=\"choose\">Reload</button></div>';\n grid.querySelector('.stall .choose').addEventListener('click', async () => {\n try {\n if ((await (await fetch('/next-status')).json()).ready) { location.reload(); return; }\n grid.querySelector('.stall p').textContent = 'Still nothing to deal. Check the agent session, or answer in the chat instead.';\n } catch {\n grid.querySelector('.stall p').textContent = 'The question server went away. Ask the agent to restart it, or answer in the chat instead.';\n }\n });\n };\n // A refresh that lands after the delivery deadline has nothing left to\n // wait for: stall before the heartbeat timer's first tick can fire, so\n // the served page stays silent.\n if (budgetMs <= 0) { stall('The next hand never arrived. Check the agent session, then reload.'); return; }\n const cardsNow = [...grid.querySelectorAll('.card')];\n if (animate && !matchMedia('(prefers-reduced-motion: reduce)').matches) {\n const g = grid.getBoundingClientRect();\n const cx = g.left + g.width / 2, cy = g.top + g.height / 2;\n cardsNow.forEach((card, i) => {\n const r = card.getBoundingClientRect();\n card.style.transition = 'transform .5s cubic-bezier(.5,0,.75,0) ' + (i * 60) + 'ms, opacity .4s ease ' + (i * 60 + 120) + 'ms, filter .45s ease ' + (i * 60) + 'ms';\n card.style.transform = 'translate(' + (cx - (r.left + r.width / 2)) + 'px,' + (cy - (r.top + r.height / 2) + 14) + 'px) rotate(' + (i % 2 ? 6 : -5) + 'deg) scale(.9)';\n card.style.opacity = '0';\n card.style.filter = 'blur(8px)';\n });\n await new Promise(r => setTimeout(r, 700));\n }\n const cardHeight = cardsNow[0] ? cardsNow[0].getBoundingClientRect().height : 0;\n grid.innerHTML = cardsNow.map(() => '<article class=\"card skeleton\"' + (cardHeight ? ' style=\"height:' + cardHeight + 'px\"' : '') + '><div class=\"card-inner\"><div class=\"face front\"><div class=\"media\"><div class=\"shimmer\"></div></div><div class=\"body\"><div class=\"line tier w40\"></div><div class=\"line title w70\"></div><div class=\"line w90\"></div><div class=\"line w80\"></div><div class=\"line w60\"></div><div class=\"line button\"></div></div></div></div></article>').join('');\n // Canon goes quiet with the re-roll buttons: a pick posted mid-wait can\n // never be collected once --wait has the re-roll, only close the table.\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n // The wait must be able to end: a dead server rejects every tick and a\n // round nobody delivers stays ready:false forever, and both used to spin\n // the skeletons indefinitely. Distinguish them, say so, and offer a way\n // out. The delivery deadline is the server's own idle grace, so the page\n // never gives up on a server that would still accept the hand.\n poll = setInterval(async () => {\n try {\n const status = await (await fetch('/next-status')).json();\n misses = 0;\n if (status.ready) { clearInterval(poll); location.reload(); }\n else if (Date.now() - shuffleStart > budgetMs) stall('The next hand never arrived. Check the agent session, then reload.');\n } catch {\n misses += 1;\n if (misses >= 8) stall('The question server went away. Ask the agent to restart it, or answer in the chat instead.');\n }\n }, 1200);\n }\n document.getElementById('reroll')?.addEventListener('click', () => dealAgain());\n document.getElementById('reroll-safer')?.addEventListener('click', () => dealAgain('safer'));\n document.getElementById('reroll-bolder')?.addEventListener('click', () => dealAgain('bolder'));\n // A native refresh must not resurrect an answered round: while the server\n // holds a collected re-roll or followup pick with no replacement delivered,\n // it serves the page in waiting mode and the refresh re-enters the same\n // bounded wait, with only the time the original deadline has left, instead\n // of showing dead cards whose heartbeat props the daemon forever.\n @@14@@\n</script>";+pub const PAGE: &str = "<!doctype html>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<title>@@1@@</title>\n<style>\n /* Paper-and-instruments palette from impeccable-site. The picker uses\n system fonts; its outlined wordmark needs no font file. */\n :root {\n color-scheme: light;\n --ks-kinpaku: oklch(84% 0.19 80.46);\n --ks-patina: oklch(49% 0.11 190);\n --ks-paper: oklch(97.8% 0 0);\n --ks-paper-raised: oklch(99.5% 0 0);\n --ks-paper-deep: oklch(95% 0 0);\n --ks-gray: oklch(92% 0 0);\n --ks-gray-2: oklch(88% 0 0);\n --ks-ink: oklch(13% 0 0);\n --ks-text: oklch(22% 0 0);\n --ks-text-muted: oklch(46% 0 0);\n --ks-text-faint: var(--ks-text-muted);\n --ks-rule: oklch(13% 0 0 / 0.12);\n --ks-edge: oklch(13% 0 0 / 0.45);\n --ks-instrument: oklch(24% 0 0);\n --ks-instrument-raised: oklch(31% 0 0);\n --ks-instrument-text: oklch(93% 0 0);\n --ks-lift: 0 1px 1px oklch(13% 0 0 / 0.05), 0 2px 3px oklch(13% 0 0 / 0.04), 0 6px 12px oklch(13% 0 0 / 0.05);\n --ks-cap-lift: inset 0 1px 0 oklch(100% 0 0 / 0.9), 0 1px 0 oklch(13% 0 0 / 0.14), 0 2px 3px oklch(13% 0 0 / 0.08);\n --ks-cap-press: inset 0 1px 2px oklch(13% 0 0 / 0.14);\n --ks-track-recess: inset 0 1px 3px oklch(13% 0 0 / 0.16), inset 0 -1px 0 oklch(100% 0 0 / 0.7);\n --ks-font: system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n --ks-font-display: var(--ks-font);\n --ks-mono: ui-monospace, \"SFMono-Regular\", Menlo, Consolas, monospace;\n /* Shared alignment for the content, snapping deck, and sticky footer. */\n --page-inset: max(clamp(1rem, 5vw, 4rem), calc((100vw - 90rem) / 2));\n }\n * { box-sizing: border-box; margin: 0; }\n body { background: var(--ks-paper); color: var(--ks-text); font: 15px/1.55 var(--ks-font); padding: 1.8rem clamp(1rem, 5vw, 4rem) 0; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }\n #ambient { display: none; }\n #scrim { display: none; }\n header, main, footer { position: relative; z-index: 1; }\n #lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: oklch(97.8% 0 0 / 0.96); cursor: zoom-out; opacity: 0; transition: opacity .25s ease; }\n #lightbox[hidden] { display: none; }\n #lightbox.open { opacity: 1; }\n #lightbox img { max-width: 94vw; max-height: 94vh; border: 1px solid var(--ks-rule); border-radius: 8px; box-shadow: var(--ks-lift); }\n header { width: 100%; max-width: 90rem; margin: 0 auto; }\n .brand { display: inline-flex; align-items: center; color: var(--ks-ink); }\n .brand svg { display: block; width: 164px; height: 30px; }\n .headline { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }\n .headline-die { flex: none; width: 26px; height: 26px; color: var(--ks-ink); }\n h1 { font-family: var(--ks-font); font-weight: 600; font-size: 2rem; letter-spacing: -0.025em; line-height: 1.2; color: var(--ks-ink); text-wrap: balance; }\n .question { color: var(--ks-text-muted); margin-top: .7rem; max-width: 52rem; }\n main { flex: 1; display: flex; align-items: center; width: 100%; max-width: 90rem; margin: 0 auto; }\n .stage { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }\n /* The deck bleeds to the viewport edges while the first card aligns with the\n content column; a carousel cut off at an invisible container edge reads as\n a rendering bug, but one cut off at the screen edge reads as more cards. */\n .deck-shell { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }\n /* One row in a wide viewport, one column in a tall one; the deck scrolls on\n its axis with snap points and the arrows page it card by card. */\n .grid { --deck-inset: var(--page-inset); display: flex; gap: 1.6rem; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px var(--deck-inset); scroll-padding-inline: var(--deck-inset); align-items: stretch; }\n .grid::-webkit-scrollbar { display: none; }\n /* Wide enough that the comp carries the card: at 27vw the imagery read\n as a thumbnail above a column of copy, and the copy won the attention\n contest the comp is supposed to win. */\n .grid > .card { flex: 0 0 clamp(24rem, 34vw, 34rem); scroll-snap-align: center; }\n /* Short landscape viewports (13-inch laptops): header, a 34vw card, and the\n footer do not fit 800px of height, so the headline compacts and the deck\n narrows. Height is the axis that gives; the sticky footer keeps the\n round's verbs on screen while a too-tall card scrolls. */\n @media (min-aspect-ratio: 1/1) and (max-height: 900px) {\n body { padding-top: 1.1rem; }\n h1 { font-size: 2rem; }\n .question { margin-top: .45rem; }\n .stage { gap: 1rem; }\n .grid > .card { flex-basis: clamp(20rem, 27vw, 27rem); }\n .grid > .card.declined { flex-basis: clamp(13rem, 18vw, 18rem); }\n }\n .nav { position: absolute; z-index: 6; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ks-paper-raised); border: 1px solid var(--ks-edge); color: var(--ks-ink); cursor: pointer; box-shadow: var(--ks-cap-lift); transition: border-color .2s, color .2s, opacity .2s; }\n .nav:hover { border-color: var(--ks-ink); color: var(--ks-patina); }\n .nav[disabled] { opacity: .25; cursor: default; }\n .nav[hidden] { display: none; }\n .nav svg { width: 16px; height: 16px; }\n .nav.prev { left: 14px; top: 50%; transform: translateY(-50%); }\n .nav.next { right: 14px; top: 50%; transform: translateY(-50%); }\n /* A side that hides more cards fades out; a hard edge means the end. */\n .fade { position: absolute; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .3s ease; }\n .fade-prev { left: 0; top: 0; bottom: 0; width: 88px; background: linear-gradient(90deg, var(--ks-paper), transparent); }\n .fade-next { right: 0; top: 0; bottom: 0; width: 88px; background: linear-gradient(270deg, var(--ks-paper), transparent); }\n .deck-shell.can-prev .fade-prev { opacity: 1; }\n .deck-shell.can-next .fade-next { opacity: 1; }\n @media (max-aspect-ratio: 1/1) {\n .grid { flex-direction: column; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; max-height: min(68dvh, 44rem); scroll-padding-block: 6px; }\n .grid > .card { flex: 0 0 auto; }\n /* In the vertical deck the pager is the primary way forward, so it grows\n into a labeled pill instead of a bare chevron nobody notices. */\n .nav { width: auto; height: 38px; border-radius: 19px; padding: 0 16px; gap: 8px; background: var(--ks-paper-raised); font-family: var(--ks-font); font-size: .75rem; font-weight: 600; }\n .nav svg { transform: rotate(90deg); }\n .nav.prev::after { content: \"Back\"; }\n .nav.next::after { content: \"More\"; }\n .nav.prev { left: 50%; top: 6px; transform: translate(-50%, 0); }\n .nav.next { right: auto; left: 50%; top: auto; bottom: 6px; transform: translate(-50%, 0); }\n .fade-prev { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 72px; background: linear-gradient(180deg, var(--ks-paper), transparent); }\n .fade-next { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 72px; background: linear-gradient(0deg, var(--ks-paper), transparent); }\n /* In the vertical deck the cross axis is horizontal: flex-start would\n shrink a declined card to content WIDTH, not height, so it stretches\n like every other card and its height is already its own. */\n .grid > .card.declined { align-self: stretch; }\n /* The sticky bar is a wide-viewport fix. Here it would sit over the\n deck's More pager and cost a third of a phone screen, and the deck\n already scrolls internally, so the footer stays in the page flow. */\n footer { position: static; width: auto; margin: 1rem 0 0; padding: .7rem 0 1.2rem; background: transparent; border-top: 0; backdrop-filter: none; }\n }\n .card { position: relative; perspective: 1400px; transform: rotate(var(--fan, 0deg)); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }\n .card:hover { transform: rotate(0deg) translateY(-4px); }\n .card-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }\n .card.flipped .card-inner { transform: rotateY(180deg); }\n .face { background: var(--ks-paper-raised); border: 1px solid var(--ks-rule); border-radius: 8px; box-shadow: var(--ks-lift); overflow: hidden; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }\n .face.front { position: relative; height: 100%; }\n .face.back { position: absolute; inset: 0; transform: rotateY(180deg); }\n /* Only the visible face is interactive: a hidden backface still hit-tests\n in Chrome, so the front's pip would otherwise sit invisibly over the\n back's chips, showing its zoom cursor and eating the flip-back click. */\n .face.back { pointer-events: none; }\n .card.flipped .face.back { pointer-events: auto; }\n .card.flipped .face.front { pointer-events: none; }\n .face.lead { border-color: var(--ks-kinpaku); }\n .card:hover .face { border-color: var(--ks-edge); }\n .card:hover .face.lead { border-color: var(--ks-kinpaku); }\n @media (prefers-reduced-motion: reduce) { .card-inner { transition: none; } }\n .kicker { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 9px; background: var(--ks-paper-raised); border: 1px solid var(--ks-rule); color: var(--ks-ink); font-family: var(--ks-font); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }\n /* Text-only card: a grounded direction with no rendered card drops the media\n region entirely instead of reserving a blank 16:9 void. */\n .face.text-only .kicker { position: static; align-self: flex-start; margin: 14px 0 0 14px; }\n .face.text-only .body { padding-top: 12px; }\n /* 16/10 matches the landscape comp frame; portrait art overrides the\n slot with its own exact ratio at load (see the load listener), and the\n deck narrows so portrait cards line up side by side. */\n .media { position: relative; width: 100%; aspect-ratio: 16/10; flex: none; }\n .grid.portrait-media > .card { flex-basis: clamp(14rem, 19vw, 19rem); }\n .media img { width: 100%; height: 100%; object-fit: cover; display: block; background: linear-gradient(100deg, var(--ks-gray) 40%, var(--ks-gray-2) 50%, var(--ks-gray) 60%); }\n .media > img:not([hidden]) { cursor: zoom-in; }\n .face.back { background: var(--ks-paper-raised); }\n .back-bar { margin-top: auto; background: var(--ks-paper-raised); }\n .hero-blank { width: 100%; height: 100%; background: linear-gradient(100deg, var(--ks-gray) 40%, var(--ks-gray-2) 50%, var(--ks-gray) 60%); }\n .back-bar { flex: none; flex-direction: row; align-items: center; justify-content: space-between; gap: .8rem; }\n .chips { position: absolute; z-index: 1; right: 10px; bottom: 10px; display: flex; gap: 6px; }\n .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; font-family: var(--ks-font); font-size: .6875rem; font-weight: 500; color: var(--ks-instrument-text); background: var(--ks-instrument); border: 1px solid oklch(100% 0 0 / 0.3); border-radius: 5px; cursor: pointer; transition: color .2s, background .2s; }\n .chip:hover { color: var(--ks-instrument-text); background: var(--ks-instrument-raised); }\n .chip svg { width: 12px; height: 12px; }\n .body { padding: .95rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }\n .tier { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ks-text-faint); }\n h2 { font-family: var(--ks-font); font-size: 1.125rem; font-weight: 600; line-height: 1.35; color: var(--ks-ink); }\n .detail { color: var(--ks-text-muted); font-size: .88rem; white-space: pre-wrap; }\n .detail.more { font-size: .8rem; color: var(--ks-text-faint); }\n .thesis { color: var(--ks-text); font-size: .95rem; line-height: 1.45; }\n .identity { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2px 0; }\n .swatches { display: inline-flex; gap: 4px; margin-right: 4px; }\n .swatches i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid oklch(100% 0 0 / 0.18); box-shadow: inset 0 0 0 1px oklch(0% 0 0 / 0.25); }\n .tag { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ks-text-muted); border: 1px solid var(--ks-rule); border-radius: 4px; padding: 3px 7px; }\n .fact { font-size: .8rem; color: var(--ks-text-muted); line-height: 1.45; }\n .fact-label { display: inline-block; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ks-text-faint); margin-right: .55em; transform: translateY(-1px); }\n .fact.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }\n /* The back is the full read: first viewport, the case, the whole risk, and\n the board when the world has one. */\n .back-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 14px 14px 0; }\n .media.back-media { aspect-ratio: 16/6; }\n .media.back-media img { width: 100%; height: 100%; object-fit: cover; }\n .body.back-body { overflow-y: auto; flex: 1; scrollbar-width: thin; }\n /* Inspiration rides picture-in-picture: the catalog world explains where the\n direction comes from without promising what the build will look like. */\n /* Hovering the inspiration takes over the whole media region; the comp is\n the promise, the inspiration is a glance, so the glance must cost nothing. */\n .pip { position: absolute; z-index: 2; left: 10px; bottom: 10px; margin: 0; width: 84px; height: 64px; border: 1px solid var(--ks-rule); border-radius: 6px; overflow: hidden; background: var(--ks-paper); cursor: zoom-in; transition: left .35s cubic-bezier(.16,1,.3,1), bottom .35s cubic-bezier(.16,1,.3,1), width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1), border-radius .35s ease; box-shadow: var(--ks-lift); }\n .pip img { display: block; width: 100%; height: 100%; object-fit: cover; }\n .pip figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ks-instrument-text); text-align: center; padding: 3px 0 4px; background: var(--ks-instrument); }\n .pip:hover { left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; z-index: 3; }\n .comp-note { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ks-text-faint); }\n /* Catalog art standing in for a comp-less card is a reference, and says so\n on its face; the same pill later carries \"artwork unavailable\". */\n .media-label { position: absolute; z-index: 2; left: 10px; bottom: 10px; margin: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ks-instrument-text); padding: 3px 8px 4px; background: var(--ks-instrument); border: 1px solid var(--ks-rule); border-radius: 4px; }\n /* Art that never arrives collapses to the card's own palette (painted\n inline from its swatches) instead of sitting as a dark void wearing a\n zoom cursor; the scrim keeps the label legible over saturated fields,\n passes clicks through, and the flip chips stay above it. A card with no\n palette falls back to the quiet graphite field. */\n .media.unavailable { background: linear-gradient(100deg, var(--ks-gray) 40%, var(--ks-gray-2) 50%, var(--ks-gray) 60%); }\n .media.unavailable::after { content: \"\"; position: absolute; inset: 0; z-index: 1; background: oklch(10% 0.008 95 / 0.45); pointer-events: none; }\n .media.unavailable .chips { z-index: 2; }\n /* A stand-in is honest about being one: dimmed, labeled, and replaced by\n the real comp whenever it lands. */\n .media.stand-in img.comp { filter: brightness(.72) saturate(.85); }\n .media.stand-in .pip { display: none; }\n .stand-in-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ks-instrument-text); text-align: center; padding: 4px 0 5px; background: var(--ks-instrument); }\n .media.comp-pending { position: relative; }\n .media.comp-pending .shimmer { position: absolute; inset: 0; }\n .media img.comp { position: relative; z-index: 1; }\n /* The generic .media img display:block would defeat [hidden] and float an\n empty block over the shimmer; an unloaded comp must truly not render. */\n .media img[hidden] { display: none; }\n /* HTML sketch: the card's first-viewport sketch, drawn by the server's\n skeleton pass inside a sandboxed frame scaled from 1440 x 900. The frame\n takes no pointer events, so a click lands on the card's zoom target. */\n .media.html { overflow: hidden; background: var(--ks-paper); cursor: zoom-in; }\n .media.html .sketch-frame { position: absolute; inset: 0; overflow: hidden; }\n .media.html iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; }\n .media.html.html-pending iframe { visibility: hidden; }\n .media.html .shimmer { position: absolute; inset: 0; z-index: 1; }\n /* Declined challengers: the weighing demoted them, so the card is narrower\n and quieter, its catalog art rides as a labeled thumb in the body, and\n the action reads \"Adopt anyway\". Adoptable, never deleted: the demoted\n row is the hand's proof of judgment. */\n /* Narrow AND short: without align-self the stretch default drags a thin\n declined card to the tallest contender's height, a strange stilt of a\n card beside the full hand. */\n .grid > .card.declined { flex: 0 0 clamp(15rem, 21vw, 21rem); align-self: flex-start; }\n .card.declined .face { background: var(--ks-gray); }\n .card.declined:hover .face { border-color: var(--ks-text-faint); }\n .card.declined h2 { font-size: 1rem; color: var(--ks-text); }\n .kicker.declined-k { background: transparent; border: 1px solid var(--ks-rule); color: var(--ks-text-faint); }\n .card.declined button.choose { background: transparent; color: var(--ks-text-muted); border: 1px solid var(--ks-rule); font-size: .85rem; padding: 8px 22px; }\n .card.declined button.choose:hover { background: var(--ks-gray-2); border-color: var(--ks-text-muted); }\n /* Wireframe media: the code-led schematic. Quiet boxes in the card's own\n chrome; uniform salience across cards by construction, so it needs no\n parity rules. */\n .media.wire { background: var(--ks-paper); border-bottom: 1px solid var(--ks-rule); }\n .wire-field { position: absolute; inset: 12px 12px 26px; }\n .wire-region { position: absolute; border: 1px solid var(--ks-edge); border-radius: 3px; background: var(--ks-paper-raised); display: flex; align-items: center; justify-content: center; overflow: hidden; }\n .wire-region span { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ks-text-faint); text-align: center; padding: 2px 4px; }\n .wire-region.accent { border-color: var(--ks-patina); background: oklch(49% 0.11 190 / 0.06); }\n .wire-region.accent span { color: var(--ks-patina); }\n /* Thumb-scale inspiration: present, labeled, zoomable, and incapable of\n outshouting a text-only assigned card. */\n .inspo { position: relative; flex: none; margin: 2px 0; width: 104px; height: 64px; border: 1px solid var(--ks-rule); border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--ks-paper); }\n .inspo img { display: block; width: 100%; height: 100%; object-fit: cover; }\n .inspo figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ks-instrument-text); text-align: center; padding: 2px 0 3px; background: var(--ks-instrument); }\n /* Raises: the improvements the dealt worlds donated to the assigned\n direction, each named for its donor world. Patina, not kinpaku:\n provenance, not a call to action. A quiet contained panel, never an\n accent side-tab. */\n .raises { display: flex; flex-direction: column; gap: 4px; margin: 2px 0; padding: 7px 10px 8px; background: oklch(70% 0.12 188 / 0.06); border: 1px solid oklch(70% 0.12 188 / 0.22); border-radius: 8px; }\n .raise { font-size: .78rem; color: var(--ks-text-muted); line-height: 1.45; }\n .raise .fact-label { color: var(--ks-patina); }\n /* Several kept ideas cycle instead of stacking: one visible at a time, a\n counter for the rest, the whole block advances on click. */\n .raises-cycle { cursor: pointer; transition: border-color .2s ease; }\n .raises-cycle:hover { border-color: oklch(70% 0.12 188 / 0.45); }\n .raises-cycle .raise { display: none; }\n .raises-cycle .raise.active { display: block; }\n .raises-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }\n .raises-head .fact-label { color: var(--ks-patina); }\n .raises-count { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .14em; color: var(--ks-text-faint); }\n .raises-count::after { content: \" \\203A\"; }\n .raises-cycle:hover .raises-count { color: var(--ks-patina); }\n .sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }\n /* The standing exit as a card: present with full anatomy, never dressed as a\n contender. Graphite instead of kinpaku, and it never takes the lead ring. */\n .card.canon .face { border-color: var(--ks-rule); background: var(--ks-gray); }\n .card.canon:hover .face { border-color: var(--ks-text-faint); }\n .card.canon .kicker.standing { background: transparent; border: 1px solid var(--ks-rule); color: var(--ks-text-faint); }\n .card.canon button.choose { background: transparent; color: var(--ks-text); border: 1px solid var(--ks-rule); }\n .card.canon button.choose:hover { border-color: var(--ks-text-muted); background: var(--ks-gray-2); }\n button.choose { margin-top: auto; align-self: start; background: var(--ks-instrument); color: var(--ks-instrument-text); border: 0; font-family: var(--ks-font); font-size: .9375rem; font-weight: 600; line-height: 1.35; padding: 11px 24px; border-radius: 6px; cursor: pointer; transition: background .15s; }\n button.choose:hover { background: var(--ks-instrument-raised); }\n /* The round's verbs stay reachable on short viewports: the footer is a\n full-bleed bar stuck to the viewport bottom and the deck scrolls under\n it. Same inset as the content column, so the controls stay aligned. */\n footer { position: sticky; bottom: 0; z-index: 10; width: 100vw; margin: 1.2rem calc(50% - 50vw) 0; padding: .7rem var(--page-inset) calc(.7rem + env(safe-area-inset-bottom, 0px)); display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; background: var(--ks-paper); border-top: 1px solid var(--ks-rule); }\n #steer { flex: 1; min-width: 16rem; background: var(--ks-paper-raised); color: var(--ks-text); border: 1px solid var(--ks-edge); border-radius: 6px; padding: .7rem .85rem; font: inherit; caret-color: var(--ks-patina); }\n #steer:focus { outline: 2px solid var(--ks-patina); outline-offset: 2px; }\n /* Build-path toggle: a workflow preference surfaced as a quiet segmented\n control on the headline row, right-aligned opposite the title, its trade stated in\n one line that changes with the selection. The default comes from the\n payload (settings); flipping binds this session only, and the agent\n learns about a code-to-comp flip live. Rendered only when the payload\n offers it, which the agent does only when image generation exists. */\n #build-path { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; flex: none; margin-left: auto; }\n .bp-switch { display: inline-flex; gap: 3px; padding: 3px; background: var(--ks-gray); border: 1px solid var(--ks-rule); border-radius: 6px; box-shadow: var(--ks-track-recess); }\n .bp-note { font-family: var(--ks-font); font-size: .75rem; color: var(--ks-text-muted); max-width: 21rem; line-height: 1.4; }\n .bp-opt { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ks-font); font-size: .75rem; font-weight: 500; padding: 7px 10px; border: 0; border-radius: 3px; color: var(--ks-text-muted); background: transparent; cursor: pointer; transition: color .2s ease, background-color .2s ease; }\n .bp-opt::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ks-edge); }\n .bp-opt.active::before { background: var(--ks-kinpaku); }\n .bp-opt.active { color: var(--ks-ink); background: var(--ks-paper-raised); box-shadow: var(--ks-cap-lift); }\n .bp-opt:not(.active):hover { color: var(--ks-text); }\n .bp-note { font-family: var(--ks-mono); font-size: .6875rem; letter-spacing: .04em; color: var(--ks-text-faint); max-width: 21rem; line-height: 1.5; }\n /* Flipping to comp starts billed, minutes-long generation, so it asks\n first; flipping back is free and never does. */\n #bp-confirm { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: oklch(13% 0 0 / 0.32); opacity: 0; transition: opacity .2s ease; }\n #bp-confirm[hidden] { display: none; }\n #bp-confirm.open { opacity: 1; }\n .bp-confirm-panel { max-width: 26rem; margin: 1rem; background: var(--ks-paper-raised); border: 1px solid var(--ks-rule); border-radius: 8px; padding: 1.4rem 1.5rem 1.3rem; box-shadow: var(--ks-lift); }\n .bp-confirm-panel h2 { font-family: var(--ks-font); font-size: 1.125rem; font-weight: 500; color: var(--ks-ink); margin-bottom: .55rem; }\n .bp-confirm-panel p { font-size: .875rem; line-height: 1.55; color: var(--ks-text-muted); }\n .bp-confirm-actions { display: flex; gap: .6rem; margin-top: 1.1rem; }\n .bp-confirm-go { background: var(--ks-instrument); color: var(--ks-instrument-text); border: 0; font: inherit; font-weight: 600; padding: 9px 22px; border-radius: 6px; cursor: pointer; }\n .bp-confirm-go:hover { background: var(--ks-instrument-raised); }\n .bp-confirm-stay { background: transparent; color: var(--ks-text-muted); border: 1px solid var(--ks-rule); font: inherit; padding: 9px 18px; border-radius: 6px; cursor: pointer; }\n .bp-confirm-stay:hover { color: var(--ks-text); border-color: var(--ks-text-faint); }\n .reroll-btn { display: inline-flex; align-items: center; align-self: stretch; gap: 8px; min-height: 42px; padding: 0 14px; font-family: var(--ks-font); font-size: .8125rem; font-weight: 500; color: var(--ks-ink); background: var(--ks-paper-raised); border: 1px solid var(--ks-edge); border-radius: 6px; box-shadow: var(--ks-cap-lift); cursor: pointer; transition: border-color .2s ease, color .2s ease; }\n .reroll-btn:hover { color: var(--ks-ink); border-color: var(--ks-ink); }\n .reroll-btn svg { width: 15px; height: 15px; }\n .reroll-btn[disabled] { opacity: .4; cursor: default; }\n /* The register steers read quieter than the plain roll: they are exits from\n the current register, not the round's main verbs. */\n #reroll-safer, #reroll-bolder { color: var(--ks-text-muted); min-height: 38px; }\n #reroll-safer:hover, #reroll-bolder:hover { color: var(--ks-text); border-color: var(--ks-text-faint); }\n /* The quiet exit: always available, never argued with, visually subordinate\n to the dealt cards and the re-roll so it reads as the user's own door,\n not a recommendation. */\n #canon { align-self: center; padding: 4px; font-family: var(--ks-font); font-size: .75rem; color: var(--ks-text-muted); background: transparent; border: none; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }\n #canon:hover { color: var(--ks-ink); }\n #canon[disabled] { opacity: .18; cursor: default; }\n .card.skeleton .media { background: var(--ks-gray); }\n .shimmer { width: 100%; height: 100%; background: linear-gradient(100deg, var(--ks-gray) 35%, var(--ks-gray-2) 50%, var(--ks-gray) 65%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }\n .card.skeleton .line { height: 11px; border-radius: 4px; background: linear-gradient(100deg, var(--ks-gray) 35%, var(--ks-gray-2) 50%, var(--ks-gray) 65%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }\n .card.skeleton .line.tier { height: 8px; }\n .card.skeleton .line.title { height: 17px; border-radius: 5px; }\n .card.skeleton .line.button { height: 38px; width: 128px; border-radius: 6px; margin-top: auto; }\n .card.skeleton .w40 { width: 40%; } .card.skeleton .w70 { width: 70%; } .card.skeleton .w90 { width: 90%; } .card.skeleton .w80 { width: 80%; } .card.skeleton .w60 { width: 60%; }\n .card.skeleton .body { flex: 1; }\n @keyframes shimmer { from { background-position: 120% 0; } to { background-position: -80% 0; } }\n @media (prefers-reduced-motion: reduce) { .shimmer, .card.skeleton .line { animation: none; } }\n .done { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 7rem 1rem; font-family: var(--ks-font-display); font-size: 1.4rem; color: var(--ks-ink); text-align: center; }\n .stall { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding: 4.5rem 1rem; font-family: var(--ks-font-display); font-size: 1.4rem; color: var(--ks-ink); text-align: center; }\n .stall .choose { align-self: center; margin-top: 0; }\n ::selection { background: oklch(49% 0.11 190 / 0.18); color: var(--ks-ink); }\n :focus-visible { outline: 2px solid var(--ks-patina); outline-offset: 3px; }\n #steer::placeholder { color: var(--ks-text-muted); opacity: 1; }\n .body.back-body { scrollbar-color: var(--ks-edge) var(--ks-paper-deep); }\n .reroll-btn:active, .bp-opt:active { box-shadow: var(--ks-cap-press); }\n @media (max-aspect-ratio: 1/1) {\n header { margin-bottom: 1.4rem; }\n h1 { flex: 1; min-width: 0; font-size: 1.5rem; }\n #build-path { flex-basis: 100%; align-items: flex-start; margin: .25rem 0 0; }\n .bp-note { text-align: left; max-width: 100%; }\n footer { position: static; width: auto; margin: 1rem 0 0; padding: .75rem 0 1.2rem; background: transparent; border-top: 0; }\n #steer { flex-basis: 100%; min-width: 0; }\n }\n</style>\n<div id=\"ambient\" aria-hidden=\"true\"></div>\n<div id=\"scrim\" aria-hidden=\"true\"></div>\n<div id=\"lightbox\" hidden><img alt=\"\"></div>\n<template id=\"tpl-expand-chip\">@@2@@</template>\n@@3@@\n<header>\n <div class=\"brand\">\n <svg class=\"brand-logo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"82.5 82.5 476 87\" role=\"img\" aria-label=\"Impeccable\" fill=\"none\">\n <g transform=\"translate(71.39999999999999 71.39999999999999) scale(4.533333333333333)\" fill=\"var(--ks-kinpaku)\">\n <path d=\"M5 2.5 L13.5 2.5 L5.5 21.5 L5 21.5 Q2.5 21.5 2.5 19 L2.5 5 Q2.5 2.5 5 2.5 Z\"/>\n <path d=\"M16.5 2.5 L19 2.5 Q21.5 2.5 21.5 5 L21.5 19 Q21.5 21.5 19 21.5 L8.5 21.5 Z\"/>\n </g>\n <g transform=\"translate(203.99999999999997,146.69776) scale(0.07072,-0.07072)\"><path d=\"M57 0L57 591L134 591L134 0Z\" transform=\"translate(0,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L151 591L266 137L383 591L474 591L474 0L406 0L406 468L293 0L239 0L126 468L126 0Z\" transform=\"translate(341.42370605468756,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L248 591Q301 591 331.5 566.5Q362 542 362 492L362 385Q362 350 352.5 319Q343 288 316 269Q289 250 238 250L138 250L138 0ZM138 295L213 295Q249 295 267 319Q285 343 285 395L285 461Q285 506 268.5 526.5Q252 547 227 547L138 547Z\" transform=\"translate(1022.9385986328125,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L317 591L317 536L138 536L138 338L283 338L283 278L138 278L138 54L317 54L317 0Z\" transform=\"translate(1561.847412109375,0)\" fill=\"currentColor\"/><path d=\"M203 -12Q158 -12 123 -1.5Q88 9 68 42Q48 75 48 141L48 467Q48 522 68 550.5Q88 579 123.5 589Q159 599 204 599Q250 599 283.5 588.5Q317 578 336.5 550Q356 522 356 467L356 359L279 359L279 469Q279 505 269 522.5Q259 540 242 545.5Q225 551 203 551Q181 551 164 545.5Q147 540 137.5 522.5Q128 505 128 469L128 117Q128 81 137.5 63.5Q147 46 164 40.5Q181 35 203 35Q226 35 242.5 40.5Q259 46 269 63.5Q279 81 279 117L279 213L356 213L356 141Q356 74 336.5 41.5Q317 9 283 -1.5Q249 -12 203 -12Z\" transform=\"translate(2051.968994140625,0)\" fill=\"currentColor\"/><path d=\"M203 -12Q158 -12 123 -1.5Q88 9 68 42Q48 75 48 141L48 467Q48 522 68 550.5Q88 579 123.5 589Q159 599 204 599Q250 599 283.5 588.5Q317 578 336.5 550Q356 522 356 467L356 359L279 359L279 469Q279 505 269 522.5Q259 540 242 545.5Q225 551 203 551Q181 551 164 545.5Q147 540 137.5 522.5Q128 505 128 469L128 117Q128 81 137.5 63.5Q147 46 164 40.5Q181 35 203 35Q226 35 242.5 40.5Q259 46 269 63.5Q279 81 279 117L279 213L356 213L356 141Q356 74 336.5 41.5Q317 9 283 -1.5Q249 -12 203 -12Z\" transform=\"translate(2600.60546875,0)\" fill=\"currentColor\"/><path d=\"M13 0L137 591L241 591L364 0L279 0L251 130L121 130L95 0ZM124 170L249 170L187 507Z\" transform=\"translate(3149.241943359375,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L247 591Q298 591 329 566.5Q360 542 360 492L360 422Q360 394 352 372.5Q344 351 330 338Q316 325 297.5 320Q279 315 265 314L265 315Q284 315 302 310.5Q320 306 333 294Q349 280 358 258Q367 236 367 206L367 122Q367 72 350.5 45.5Q334 19 305 9.5Q276 0 236 0ZM135 43L221 43Q242 43 257 49Q272 55 280.5 73.5Q289 92 289 127L289 205Q289 251 267.5 266Q246 281 213 281L135 281ZM135 331L211 331Q247 331 266 351.5Q285 372 285 413L285 479Q285 514 267.5 530.5Q250 547 225 547L135 547Z\" transform=\"translate(3676.1197509765625,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L134 591L134 54L290 54L290 0Z\" transform=\"translate(4236.2109375,0)\" fill=\"currentColor\"/><path d=\"M57 0L57 591L317 591L317 536L138 536L138 338L283 338L283 278L138 278L138 54L317 54L317 0Z\" transform=\"translate(4683.574462890625,0)\" fill=\"currentColor\"/></g>\n</svg>\n </div>\n</header>\n<main>\n <div class=\"stage\">\n <div class=\"headline\">\n <svg class=\"headline-die\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/><circle cx=\"8.4\" cy=\"8.4\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"15.6\" cy=\"8.4\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"8.4\" cy=\"15.6\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"15.6\" cy=\"15.6\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"12\" cy=\"12\" r=\"1.5\" fill=\"currentColor\"/></svg>\n <h1>@@4@@</h1>\n @@5@@\n </div>\n @@6@@\n <div class=\"deck-shell\">\n <div class=\"grid\">@@7@@</div>\n <div class=\"fade fade-prev\" aria-hidden=\"true\"></div>\n <div class=\"fade fade-next\" aria-hidden=\"true\"></div>\n <button class=\"nav prev\" hidden aria-label=\"Previous card\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M14.5 5 8 12l6.5 7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\n <button class=\"nav next\" hidden aria-label=\"Next card\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M9.5 5 16 12l-6.5 7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button>\n </div>\n </div>\n</main>\n<footer>\n @@8@@\n @@9@@\n @@10@@\n</footer>\n<script>\n const steer = () => document.getElementById('steer')?.value || '';\n // A followup round's pick keeps the tab: the next round arrives via\n // --update, so the page shows the loading hand instead of goodbye. Detached\n // mode only, and the page must agree with the server: a blocking server\n // exits on any pick and has no update channel, so a followup payload there\n // still gets the goodbye screen, never a loading hand nothing will resolve.\n const FOLLOWUP = @@11@@;\n const KEY = @@15@@;\n const keyQ = KEY ? '?key=' + encodeURIComponent(KEY) : '';\n const beat = () => { try { navigator.sendBeacon('/heartbeat' + keyQ); } catch { fetch('/heartbeat' + keyQ, { method: 'POST' }); } };\n @@12@@\n const beatTimer = setInterval(beat, 5000);\n // A dead server must fail loudly: awaiting a rejected fetch here used to\n // swallow the click and never print the confirmation, so the user believed\n // a choice had landed that no one would ever collect.\n async function answer(optionId) {\n // Quiet at the click: a re-roll or canon posted while this pick's POST\n // is in flight would overwrite the answer being collected.\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n try {\n await fetch('/answer' + keyQ, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ optionId, steer: steer() }) });\n } catch {\n document.body.innerHTML = '<div class=\"done\">The question server went away before this choice could land.<br>Tell the agent your pick in the chat instead.</div>';\n return;\n }\n if (FOLLOWUP) { await awaitNextRound(true); return; }\n document.body.innerHTML = '<div class=\"done\"><svg viewBox=\"0 0 24 24\" width=\"38\" height=\"38\" fill=\"oklch(84% 0.19 80.46)\" aria-hidden=\"true\"><path d=\"M5 2.5 L13.5 2.5 L5.5 21.5 L5 21.5 Q2.5 21.5 2.5 19 L2.5 5 Q2.5 2.5 5 2.5 Z\"/><path d=\"M16.5 2.5 L19 2.5 Q21.5 2.5 21.5 5 L21.5 19 Q21.5 21.5 19 21.5 L8.5 21.5 Z\"/></svg>Choice recorded. The agent is resuming; you can close this tab.</div>';\n }\n document.querySelectorAll('button.choose').forEach(b => b.addEventListener('click', () => answer(b.dataset.id)));\n document.querySelectorAll('.flip').forEach(b => b.addEventListener('click', (e) => {\n e.stopPropagation();\n b.closest('.card').classList.toggle('flipped');\n }));\n\n // Raise cycler: click (or Enter) advances to the next donation.\n document.querySelectorAll('.raises-cycle').forEach(cycle => {\n const raises = [...cycle.querySelectorAll('.raise')];\n const count = cycle.querySelector('[data-raises-count]');\n let at = 0;\n const live = cycle.querySelector('.sr-live');\n const show = (announce) => {\n raises.forEach((raise, i) => raise.classList.toggle('active', i === at));\n if (count) count.textContent = (at + 1) + '/' + raises.length;\n // Screen readers hear the raise they just advanced to; the initial\n // render stays quiet so page load does not narrate every card.\n if (announce && live) live.textContent = 'Improvement ' + (at + 1) + ' of ' + raises.length + ': ' + (raises[at]?.textContent || '');\n };\n show(false);\n const advance = (e) => { e.stopPropagation(); at = (at + 1) % raises.length; show(true); };\n cycle.addEventListener('click', advance);\n cycle.addEventListener('keydown', (e) => { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); advance(e); } });\n });\n\n // Deal from the stack: cards begin piled at the grid's center, blurred,\n // then travel to their seats with a stagger.\n const cards = [...document.querySelectorAll('.card')];\n // The deal is decoration: a hidden tab throttles rAF, so never let the\n // animation hold the cards at opacity 0. Skip it when hidden, and force\n // the final state after a beat no matter what the animation did.\n setTimeout(() => cards.forEach(c => { c.style.opacity = ''; c.style.transform = ''; c.style.filter = ''; c.style.transition = ''; c.style.zIndex = ''; }), 1600);\n if (!matchMedia('(prefers-reduced-motion: reduce)').matches && cards.length && !document.hidden) {\n const grid = document.querySelector('.grid').getBoundingClientRect();\n const cx = grid.left + grid.width / 2, cy = grid.top + grid.height / 2;\n cards.forEach((card, i) => {\n const r = card.getBoundingClientRect();\n const dx = cx - (r.left + r.width / 2), dy = cy - (r.top + r.height / 2);\n card.style.transition = 'none';\n card.style.transform = 'translate(' + dx + 'px,' + (dy + 14) + 'px) rotate(' + (i % 2 ? 5 : -4) + 'deg) scale(.9)';\n card.style.opacity = '0';\n card.style.filter = 'blur(10px)';\n card.style.zIndex = String(cards.length - i);\n });\n requestAnimationFrame(() => requestAnimationFrame(() => {\n cards.forEach((card, i) => {\n const delay = i * 110;\n card.style.transition = 'transform .7s cubic-bezier(.16,1,.3,1) ' + delay + 'ms, opacity .45s ease ' + delay + 'ms, filter .55s ease ' + delay + 'ms';\n card.style.transform = ''; card.style.opacity = '1'; card.style.filter = '';\n card.addEventListener('transitionend', function done(e) {\n if (e.propertyName !== 'transform') return;\n card.style.transition = ''; card.style.opacity = ''; card.style.zIndex = '';\n card.removeEventListener('transitionend', done);\n });\n });\n }));\n }\n\n // Comps stream in after the deal: poll each slot until the file lands,\n // then swap the shimmer for the image. Generation is genuinely slow and a\n // sequential batch puts the last card many minutes out, so patience is the\n // default: a slot only shows its inspiration as a stand-in when it has\n // waited four minutes AND nothing has landed anywhere for four minutes, the\n // stand-in is labeled as such, and polling continues so the real comp\n // still swaps in whenever it arrives. Progress anywhere resets patience.\n const landTracker = { last: Date.now() };\n const pollComp = (m) => {\n const url = m.dataset.comp;\n // A converted slot is the SAME node across flip cycles, so a probe from an\n // earlier cycle can still be in flight when the next one starts. Without a\n // generation stamp its late onload settles the new slot: shimmer stripped,\n // pending state cleared, comp still hidden, live poll stopped.\n const generation = String(Number(m.dataset.pollGen || 0));\n const current = () => String(Number(m.dataset.pollGen || 0)) === generation;\n const img = m.querySelector('img.comp');\n const note = m.querySelector('.comp-note');\n const started = Date.now();\n // A live elapsed count is the difference between \"working\" and \"frozen\".\n const tick = setInterval(() => { if (note) note.textContent = 'rendering · ' + Math.round((Date.now() - started) / 1000) + 's'; }, 1000);\n const settle = () => { clearInterval(tick); m.classList.remove('comp-pending', 'stand-in'); m.querySelector('.shimmer')?.remove(); m.querySelector('.stand-in-label')?.remove(); };\n const fallback = () => {\n const pip = m.querySelector('.pip img');\n if (pip) {\n if (m.classList.contains('stand-in')) return false;\n img.src = pip.getAttribute('src'); img.hidden = false;\n m.classList.add('stand-in');\n m.querySelector('.shimmer')?.remove();\n clearInterval(tick);\n const label = document.createElement('p');\n label.className = 'stand-in-label';\n label.textContent = 'inspiration · comp pending';\n m.appendChild(label);\n return false;\n }\n\n // No comp and no inspiration is the text-only card the payload would\n // have rendered without a comp declaration. Bring the complete read\n // forward before removing the now-unreachable back face.\n const card = m.closest('.card');\n const front = card?.querySelector('.face.front');\n const body = front?.querySelector('.body');\n const back = card?.querySelector('.face.back');\n const textOnlyFacts = m.querySelector('template.text-only-facts');\n const choose = body?.querySelector(':scope > button.choose');\n if (body && textOnlyFacts && choose) {\n const plainDetail = body.querySelector(':scope > .detail:not(.more)');\n [...body.children].filter((el) => el.classList.contains('fact') || el.matches('.detail.more')).forEach((el) => el.remove());\n choose.before(textOnlyFacts.content.cloneNode(true));\n if (plainDetail) choose.before(plainDetail);\n }\n card?.classList.remove('flipped');\n front?.classList.add('text-only');\n back?.remove();\n settle();\n m.remove();\n return true;\n };\n const tryLoad = () => {\n // A slot the user flipped back out of either leaves the DOM or, when it\n // was an inspiration face converted in place, stays and loses its\n // pending state. Either way its loop is done.\n if (!m.isConnected || !m.classList.contains('comp-pending') || !current()) { clearInterval(tick); return; }\n const probe = new Image();\n probe.onload = () => {\n // A stale generation also ends this run's clock. tryLoad clears it on\n // re-entry, and an in-flight probe that finishes stale schedules no\n // re-entry, so returning without clearing ran the interval for the rest\n // of the page's life.\n if (!current()) { clearInterval(tick); return; }\n landTracker.last = Date.now();\n const target = m.querySelector('img.comp') || img;\n target.src = probe.src;\n target.hidden = false;\n settle();\n };\n probe.onerror = () => {\n if (!current()) { clearInterval(tick); return; }\n const quiet = Date.now() - landTracker.last > 240000;\n if (Date.now() - started > 240000 && quiet && fallback()) return;\n setTimeout(tryLoad, m.classList.contains('stand-in') ? 5000 : 2500);\n };\n probe.src = url + (url.includes('?') ? '&' : '?') + 't=' + Date.now();\n };\n tryLoad();\n };\n document.querySelectorAll('.media.comp-pending').forEach(pollComp);\n\n // HTML sketches stream in like comps: poll each slot until the server has\n // this hand's file, load it into the frame, and reveal it once the\n // skeleton pass inside reports ready (or a few seconds after load, so a\n // sketch whose script never runs still shows). The frame is scaled to the\n // slot's width and refits on resize.\n const fitSketch = (m) => { const f = m.querySelector('iframe'); if (f) f.style.transform = 'scale(' + (m.clientWidth / (Number(m.dataset.frameW) || 1440)) + ')'; };\n const sketchFit = 'ResizeObserver' in window ? new ResizeObserver((entries) => entries.forEach((en) => fitSketch(en.target))) : null;\n const revealSketch = (m) => {\n if (!m.classList.contains('html-pending')) return;\n clearInterval(Number(m.dataset.tick));\n m.classList.remove('html-pending');\n m.querySelector('.shimmer')?.remove();\n };\n window.addEventListener('message', (e) => {\n if (!e.data || e.data.impeccableSketch !== 'ready') return;\n document.querySelectorAll('.media.html iframe').forEach((f) => { if (f.contentWindow === e.source) revealSketch(f.closest('.media')); });\n });\n const pollSketch = (m) => {\n const url = m.dataset.html;\n const note = m.querySelector('.comp-note');\n const started = Date.now();\n m.dataset.tick = String(setInterval(() => { if (note) note.textContent = 'sketching · ' + Math.round((Date.now() - started) / 1000) + 's'; }, 1000));\n if (sketchFit) sketchFit.observe(m);\n fitSketch(m);\n // A phone-frame sketch narrows the deck the way a portrait comp does.\n if (m.classList.contains('portrait')) document.querySelector('.grid')?.classList.add('portrait-media');\n const tryLoad = async () => {\n if (!m.isConnected) { clearInterval(Number(m.dataset.tick)); return; }\n let ok = false;\n try { ok = (await fetch(url, { cache: 'no-store' })).ok; } catch { /* server gone; the page says so elsewhere */ }\n if (!ok) { setTimeout(tryLoad, 1500); return; }\n const f = m.querySelector('iframe');\n f.addEventListener('load', () => setTimeout(() => revealSketch(m), 4000), { once: true });\n f.src = url;\n };\n tryLoad();\n };\n document.querySelectorAll('.media.html').forEach(pollSketch);\n // The expanded view of a sketch is the file as written, full size, in its\n // own tab: the skeleton is for choosing, the copy is there for checking.\n const openSketch = (m) => { window.open(m.dataset.html + '?raw=1', '_blank', 'noopener'); };\n\n // Build-path toggle: the default is the round's recorded preference and\n // flipping binds this session only. Flipping code to comp swaps every\n // reserve slot (data-comp-slot) to its shimmer and tells the server, so\n // the waiting agent starts generating; flipping back is free: pending\n // slots return to their wireframes, a comp that already landed stays.\n const bp = document.getElementById('build-path');\n if (bp) {\n const notes = {\n comp: 'An image sets the bar first and the build must match it. Bolder composition; comps render before code.',\n code: 'Code builds directly; the ambition is written into the contract and audited at the finish. Leaner, faster.',\n };\n const noteEl = bp.querySelector('[data-bp-note]');\n let current = bp.dataset.default;\n const set = (value) => {\n current = value;\n bp.querySelectorAll('.bp-opt').forEach(b => {\n const on = b.dataset.bp === value;\n b.classList.toggle('active', on);\n b.setAttribute('aria-checked', String(on));\n });\n if (noteEl) noteEl.textContent = notes[value];\n };\n set(current);\n const INSPO_TITLE = 'Inspiration: the world this direction draws from. Your page will not look like this image.';\n // Every media slot carries the expand affordance. A slot built here after\n // the deal used to ship without one, so a comp the user waited minutes for\n // could not be opened.\n const ensureChips = (m) => {\n if (m.querySelector('.chips')) return;\n const tpl = document.getElementById('tpl-expand-chip');\n if (!tpl) return;\n const chips = document.createElement('div');\n chips.className = 'chips';\n chips.appendChild(tpl.content.cloneNode(true));\n m.appendChild(chips);\n };\n const shimmerHtml = '<div class=\"shimmer\"><span class=\"comp-note\">rendering…</span></div><img class=\"comp\" alt=\"\" hidden>';\n const enterComp = () => {\n document.querySelectorAll('.card[data-comp-slot]').forEach(card => {\n const front = card.querySelector('.face.front');\n if (!front || front.querySelector('.media.comp-pending') || front.querySelector('.media img.comp:not([hidden])')) return;\n // On a code-led card the inspiration IS the face. Comp-first demotes it\n // to the corner, so convert that slot in place rather than inserting a\n // second one: two stacked images say the catalog art and the comp are\n // peers, and the whole point of the corner is that they are not.\n const inspo = front.querySelector('.media:not(.wire):not(.html):not(.comp-pending)');\n let m;\n if (inspo) {\n m = inspo;\n m.dataset.compRestore = 'inspiration';\n m.dataset.comp = card.dataset.compSlot;\n m.classList.add('comp-pending');\n m.removeAttribute('title');\n m.querySelector('.media-label')?.remove();\n const art = m.querySelector(':scope > img');\n if (art) {\n const pip = document.createElement('figure');\n pip.className = 'pip';\n pip.title = INSPO_TITLE;\n const cap = document.createElement('figcaption');\n cap.textContent = 'inspiration';\n pip.append(art, cap);\n m.appendChild(pip);\n }\n m.insertAdjacentHTML('afterbegin', shimmerHtml);\n } else {\n m = document.createElement('div');\n m.className = 'media comp-pending';\n m.dataset.comp = card.dataset.compSlot;\n m.innerHTML = shimmerHtml;\n const wireEl = front.querySelector('.media.wire, .media.html');\n if (wireEl) { wireEl.hidden = true; front.insertBefore(m, wireEl); }\n else { front.classList.remove('text-only'); front.insertBefore(m, front.querySelector('.body')); }\n }\n ensureChips(m);\n pollComp(m);\n });\n };\n const exitComp = () => {\n document.querySelectorAll('.card[data-comp-slot]').forEach(card => {\n const front = card.querySelector('.face.front');\n // A sketch card goes back to its sketch, landed comp or not: code-led\n // means the user chooses from the sketch, and a comp left on the face\n // would be one thing on screen while the answer names another. The\n // comp file stays on disk for the finish review.\n const sketch = front?.querySelector('.media.html');\n if (sketch) {\n front.querySelectorAll('.media[data-comp]:not(.html)').forEach((m) => {\n m.dataset.pollGen = String(Number(m.dataset.pollGen || 0) + 1);\n m.remove();\n });\n sketch.hidden = false;\n return;\n }\n const pending = front?.querySelector('.media.comp-pending');\n if (!pending) return; // landed comps stay; they exist either way\n // A converted slot is restored, not removed: the inspiration goes back\n // to being the face, so flipping back leaves the card as it was dealt.\n if (pending.dataset.compRestore === 'inspiration') {\n // Everything the pending state added has to leave, presentation\n // included: a slot that reached stand-in kept its \"inspiration comp\n // pending\" label beside a fresh one, and a slot whose art had failed\n // came back still marked unavailable.\n pending.classList.remove('comp-pending', 'stand-in');\n delete pending.dataset.compRestore;\n delete pending.dataset.comp;\n pending.dataset.pollGen = String(Number(pending.dataset.pollGen || 0) + 1);\n pending.querySelector('.shimmer')?.remove();\n pending.querySelector('img.comp')?.remove();\n pending.querySelector('.stand-in-label')?.remove();\n pending.querySelectorAll('.media-label').forEach((el) => el.remove());\n const pip = pending.querySelector('.pip');\n const art = pip?.querySelector('img');\n if (art) pending.insertBefore(art, pending.firstChild);\n pip?.remove();\n // No art means the image failed to load before the flip, so hand the\n // slot back to the same honest treatment rather than calling it art.\n const label = document.createElement('p');\n label.className = 'media-label';\n label.textContent = art ? 'inspiration' : 'artwork unavailable';\n pending.insertBefore(label, pending.querySelector('.chips'));\n if (art) pending.title = INSPO_TITLE; else pending.classList.add('unavailable');\n return;\n }\n pending.remove();\n const wireEl = front.querySelector('.media.wire, .media.html');\n if (wireEl) wireEl.hidden = false;\n else if (!front.querySelector('.media')) front.classList.add('text-only');\n });\n };\n const apply = (value) => {\n set(value);\n fetch('/build-path' + keyQ, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ value }) });\n if (value === 'comp') enterComp(); else exitComp();\n };\n // Flipping to comp starts real generation, so it confirms first; the\n // flip back is free and applies immediately.\n const confirm = document.getElementById('bp-confirm');\n const closeConfirm = () => { confirm.classList.remove('open'); confirm.hidden = true; };\n confirm.querySelector('[data-confirm]').addEventListener('click', () => { closeConfirm(); apply('comp'); });\n confirm.querySelector('[data-cancel]').addEventListener('click', closeConfirm);\n confirm.addEventListener('click', (e) => { if (e.target === confirm) closeConfirm(); });\n document.addEventListener('keydown', (e) => { if (e.key === 'Escape' && !confirm.hidden) closeConfirm(); });\n bp.querySelectorAll('.bp-opt').forEach(b => b.addEventListener('click', () => {\n const value = b.dataset.bp;\n if (value === current) return;\n if (value === 'comp') {\n confirm.hidden = false;\n requestAnimationFrame(() => confirm.classList.add('open'));\n return;\n }\n apply(value);\n }));\n }\n\n // A declared image that never loads (missing catalog asset, offline shell)\n // must not sit as a dark void: the slot collapses to the card's own\n // palette, labeled honestly, and the card competes on its facts. Sketch\n // slots are excluded; their polling owns the wait.\n const artFailed = (img) => {\n const m = img.closest('.media');\n if (!m || m.classList.contains('comp-pending') || m.classList.contains('unavailable')) return;\n m.classList.add('unavailable');\n const colors = [...(img.closest('.card')?.querySelectorAll('.swatches i') || [])].map(i => i.style.background).filter(Boolean);\n if (colors.length) m.style.background = 'linear-gradient(135deg, ' + colors.map((c, i) => c + ' ' + Math.round(i * 100 / colors.length) + '% ' + Math.round((i + 1) * 100 / colors.length) + '%').join(', ') + ')';\n m.querySelector('.media-label')?.remove();\n m.querySelector('.chip.expand')?.remove();\n m.removeAttribute('title');\n img.remove();\n const label = document.createElement('p');\n label.className = 'media-label';\n label.textContent = 'artwork unavailable';\n m.appendChild(label);\n };\n document.querySelectorAll('.media:not(.comp-pending) > img').forEach(img => {\n if (img.complete && img.naturalWidth === 0 && img.getAttribute('src')) artFailed(img);\n else img.addEventListener('error', () => artFailed(img), { once: true });\n });\n // A broken inspiration PIP or thumb just leaves; nothing depends on it.\n document.querySelectorAll('.pip img, .inspo img').forEach(img => {\n const gone = () => img.closest('.pip, .inspo')?.remove();\n if (img.complete && img.naturalWidth === 0) gone();\n else img.addEventListener('error', gone, { once: true });\n });\n\n // Every zoom target resolves in ONE delegated listener, in priority order.\n // Delegation is what lets a slot built by a build-path flip work at all, and\n // a single listener is what keeps the targets from fighting: stopPropagation\n // ends bubbling, not other listeners on the same target, so split across two\n // handlers a click on the corner inspiration opened the inspiration and then\n // the comp overwrote it in the lightbox. Per-element handlers elsewhere (the\n // flip chip, the raise cycler) still stop bubbling before the event lands\n // here, so they keep their own behavior.\n document.addEventListener('click', (e) => {\n const target = e.target;\n if (!target || !target.closest) return;\n // The corner inspiration wins over the slot it sits inside.\n const pip = target.closest('.pip, .inspo');\n if (pip) {\n const art = pip.querySelector('img');\n if (art) openLightbox(art);\n return;\n }\n const chip = target.closest('.chip');\n if (chip) {\n // Only expand zooms. Any other chip owns its click and must not fall\n // through to the media underneath it.\n if (!chip.classList.contains('expand')) return;\n const card = chip.closest('.card');\n const face = card && card.classList.contains('flipped') ? '.face.back' : '.face.front';\n const sketch = card && card.querySelector(face + ' .media.html:not([hidden])');\n if (sketch) { openSketch(sketch); return; }\n const shown = card && card.querySelector(face + ' .media img:not([hidden])');\n if (shown && shown.getAttribute('src')) openLightbox(shown);\n return;\n }\n // The whole image is the zoom target, not just the chip; the chip stays as\n // the visible affordance.\n const media = target.closest('.media');\n if (!media) return;\n if (media.classList.contains('html')) { openSketch(media); return; }\n const art = media.querySelector(':scope > img:not([hidden])');\n if (art && art.getAttribute('src')) openLightbox(art);\n });\n\n // Deck paging: arrows appear only when the deck overflows its axis, page\n // one card at a time, and follow the aspect-ratio flip between row and column.\n const deck = document.querySelector('.grid');\n const prevBtn = document.querySelector('.nav.prev');\n const nextBtn = document.querySelector('.nav.next');\n const vertical = () => matchMedia('(max-aspect-ratio: 1/1)').matches;\n function updateNav() {\n if (!deck || !prevBtn) return;\n const shell = deck.closest('.deck-shell');\n const v = vertical();\n const overflow = v ? deck.scrollHeight > deck.clientHeight + 4 : deck.scrollWidth > deck.clientWidth + 4;\n prevBtn.hidden = nextBtn.hidden = !overflow;\n const pos = v ? deck.scrollTop : deck.scrollLeft;\n const max = v ? deck.scrollHeight - deck.clientHeight : deck.scrollWidth - deck.clientWidth;\n const canPrev = overflow && pos > 2;\n const canNext = overflow && pos < max - 2;\n prevBtn.toggleAttribute('disabled', !canPrev);\n nextBtn.toggleAttribute('disabled', !canNext);\n shell?.classList.toggle('can-prev', canPrev);\n shell?.classList.toggle('can-next', canNext);\n }\n function pageDeck(dir) {\n const card = deck.querySelector('.card');\n if (!card) return;\n const r = card.getBoundingClientRect();\n const step = (vertical() ? r.height : r.width) + 26;\n deck.scrollBy(vertical() ? { top: dir * step, behavior: 'smooth' } : { left: dir * step, behavior: 'smooth' });\n }\n prevBtn?.addEventListener('click', () => pageDeck(-1));\n nextBtn?.addEventListener('click', () => pageDeck(1));\n deck?.addEventListener('scroll', updateNav, { passive: true });\n addEventListener('resize', updateNav);\n updateNav();\n\n // Ambient: the hovered card's visible art bleeds into the page ground.\n const ambient = document.getElementById('ambient');\n document.querySelectorAll('.card').forEach(card => {\n card.addEventListener('mouseenter', () => {\n const art = card.querySelector('.face.front .media img:not([hidden])') || card.querySelector('.face.front .pip img') || card.querySelector('.face.front .inspo img');\n if (!art || !art.getAttribute('src')) return;\n ambient.style.backgroundImage = 'url(\"' + art.getAttribute('src') + '\")'; ambient.style.opacity = '1';\n });\n card.addEventListener('mouseleave', () => { ambient.style.opacity = '0'; });\n });\n\n // Expand: lightbox for whichever face is showing.\n const lightbox = document.getElementById('lightbox');\n const lightboxImg = lightbox.querySelector('img');\n // Declared, not assigned to a const, so the delegated handlers above can call\n // it wherever they sit in this file.\n function openLightbox(img) {\n lightboxImg.src = img.getAttribute('src');\n lightbox.hidden = false;\n requestAnimationFrame(() => lightbox.classList.add('open'));\n }\n // Portrait art (native / mobile-first surfaces): the slot takes the\n // image's own ratio so nothing crops, and the whole deck narrows so\n // portrait cards sit side by side. Load events don't bubble; capture.\n document.addEventListener('load', (e) => {\n const img = e.target;\n if (!(img instanceof HTMLImageElement) || !img.matches('.media > img')) return;\n if (img.naturalHeight > img.naturalWidth * 1.05) {\n const m = img.closest('.media');\n m.classList.add('portrait');\n m.style.aspectRatio = img.naturalWidth + ' / ' + img.naturalHeight;\n document.querySelector('.grid')?.classList.add('portrait-media');\n }\n }, true);\n const closeLightbox = () => { lightbox.classList.remove('open'); setTimeout(() => { lightbox.hidden = true; }, 250); };\n lightbox.addEventListener('click', closeLightbox);\n document.addEventListener('keydown', (e) => { if (e.key === 'Escape' && !lightbox.hidden) closeLightbox(); });\n document.getElementById('canon')?.addEventListener('click', () => answer('canon'));\n const dealAgain = async (register) => {\n // Quiet at the click, not after the fly-out: the POST round-trip plus\n // the 700ms animation was a window where a second click posted another\n // re-roll and renewed the delivery deadline.\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n try {\n await fetch('/answer' + keyQ, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ optionId: 'reroll', steer: steer(), ...(register ? { register } : {}) }) });\n } catch {\n document.body.innerHTML = '<div class=\"done\">The question server went away before this choice could land.<br>Tell the agent your pick in the chat instead.</div>';\n return;\n }\n await awaitNextRound(true);\n };\n async function awaitNextRound(animate, budgetMs = @@13@@) {\n const grid = document.querySelector('.grid');\n let poll;\n let misses = 0;\n const shuffleStart = Date.now();\n const stall = (message) => {\n clearInterval(poll);\n // A stalled page is an abandoned flow: keep heartbeating and the\n // daemon never reaches its idle grace, so --wait spins on WAITING\n // forever. Go silent and let the server reclaim itself. Reload must\n // not undo that silence: an unconditional reload re-serves the same\n // unresolved round and its fresh page beats again, so check for a\n // delivered hand first and only reload when one exists. The re-roll\n // buttons and the canon exit go too: a stalled page served already\n // expired never disabled them, a re-roll would renew the deadline the\n // stall just enforced, and a canon pick would overwrite a re-roll\n // --wait already collected, closing the table under the agent.\n clearInterval(beatTimer);\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n // Silence is for heartbeats only: a hand delivered after the deadline\n // must still land without a click, so a beat-free watch keeps checking\n // and reloads into it. /next-status never beats, so the daemon's idle\n // grace still reclaims a flow nobody resumes.\n const watch = setInterval(async () => {\n try { if ((await (await fetch('/next-status')).json()).ready) { clearInterval(watch); location.reload(); } } catch { /* server gone; the screen already says so */ }\n }, 1500);\n grid.innerHTML = '<div class=\"stall\"><p>' + message + '</p><button type=\"button\" class=\"choose\">Reload</button></div>';\n grid.querySelector('.stall .choose').addEventListener('click', async () => {\n try {\n if ((await (await fetch('/next-status')).json()).ready) { location.reload(); return; }\n grid.querySelector('.stall p').textContent = 'Still nothing to deal. Check the agent session, or answer in the chat instead.';\n } catch {\n grid.querySelector('.stall p').textContent = 'The question server went away. Ask the agent to restart it, or answer in the chat instead.';\n }\n });\n };\n // A refresh that lands after the delivery deadline has nothing left to\n // wait for: stall before the heartbeat timer's first tick can fire, so\n // the served page stays silent.\n if (budgetMs <= 0) { stall('The next hand never arrived. Check the agent session, then reload.'); return; }\n const cardsNow = [...grid.querySelectorAll('.card')];\n if (animate && !matchMedia('(prefers-reduced-motion: reduce)').matches) {\n const g = grid.getBoundingClientRect();\n const cx = g.left + g.width / 2, cy = g.top + g.height / 2;\n cardsNow.forEach((card, i) => {\n const r = card.getBoundingClientRect();\n card.style.transition = 'transform .5s cubic-bezier(.5,0,.75,0) ' + (i * 60) + 'ms, opacity .4s ease ' + (i * 60 + 120) + 'ms, filter .45s ease ' + (i * 60) + 'ms';\n card.style.transform = 'translate(' + (cx - (r.left + r.width / 2)) + 'px,' + (cy - (r.top + r.height / 2) + 14) + 'px) rotate(' + (i % 2 ? 6 : -5) + 'deg) scale(.9)';\n card.style.opacity = '0';\n card.style.filter = 'blur(8px)';\n });\n await new Promise(r => setTimeout(r, 700));\n }\n const cardHeight = cardsNow[0] ? cardsNow[0].getBoundingClientRect().height : 0;\n grid.innerHTML = cardsNow.map(() => '<article class=\"card skeleton\"' + (cardHeight ? ' style=\"height:' + cardHeight + 'px\"' : '') + '><div class=\"card-inner\"><div class=\"face front\"><div class=\"media\"><div class=\"shimmer\"></div></div><div class=\"body\"><div class=\"line tier w40\"></div><div class=\"line title w70\"></div><div class=\"line w90\"></div><div class=\"line w80\"></div><div class=\"line w60\"></div><div class=\"line button\"></div></div></div></div></article>').join('');\n // Canon goes quiet with the re-roll buttons: a pick posted mid-wait can\n // never be collected once --wait has the re-roll, only close the table.\n document.querySelectorAll('.reroll-btn, #canon').forEach(b => b.setAttribute('disabled', ''));\n // The wait must be able to end: a dead server rejects every tick and a\n // round nobody delivers stays ready:false forever, and both used to spin\n // the skeletons indefinitely. Distinguish them, say so, and offer a way\n // out. The delivery deadline is the server's own idle grace, so the page\n // never gives up on a server that would still accept the hand.\n poll = setInterval(async () => {\n try {\n const status = await (await fetch('/next-status')).json();\n misses = 0;\n if (status.ready) { clearInterval(poll); location.reload(); }\n else if (Date.now() - shuffleStart > budgetMs) stall('The next hand never arrived. Check the agent session, then reload.');\n } catch {\n misses += 1;\n if (misses >= 8) stall('The question server went away. Ask the agent to restart it, or answer in the chat instead.');\n }\n }, 1200);\n }\n document.getElementById('reroll')?.addEventListener('click', () => dealAgain());\n document.getElementById('reroll-safer')?.addEventListener('click', () => dealAgain('safer'));\n document.getElementById('reroll-bolder')?.addEventListener('click', () => dealAgain('bolder'));\n // A native refresh must not resurrect an answered round: while the server\n // holds a collected re-roll or followup pick with no replacement delivered,\n // it serves the page in waiting mode and the refresh re-enters the same\n // bounded wait, with only the time the original deadline has left, instead\n // of showing dead cards whose heartbeat props the daemon forever.\n @@14@@\n</script>";/// The JS expressions, in order, for reference.pub const PAGE_EXPRS: &[&str] = &[diff --git a/crates/context/src/seed_text.rs b/crates/context/src/seed_text.rsindex 43344f4de..ba8f1ef0f 100644--- a/crates/context/src/seed_text.rs+++ b/crates/context/src/seed_text.rs@@ -3,7 +3,7 @@pub const PROMOTED_DIRECTION: &str = "After ordering the grounded directions by resonance, build candidate\n @@BUILDINDEX@@ of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.";-pub const PROMOTED_SURFACE: &str = "After ordering the task's grounded structural candidates by resonance,\n deal candidates @@DEALT_INDICES@@ of your own grounded list to the\n table; index @@BUILDINDEX@@ leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.";+pub const PROMOTED_SURFACE: &str = "After ordering the task's grounded structural candidates by resonance,\n deal candidates @@DEALT_INDICES@@ of your own grounded list to the\n table; index @@BUILDINDEX@@ leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.";pub const CHALLENGER_DIRECTION: &str = "Fuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.";@@ -80,13 +80,13 @@ pub const PRESENT_WAIT: &str = "- @@WHEN@@ hold `@@SQ@@ --wait --key <key>`. Ifpub const COMPS_DIRECTION: &str = "- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).";-pub const COMPS_DIRECTION_CODE: &str = "- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).";+pub const COMPS_DIRECTION_CODE: &str = "- Code-led round: every card but the declined challengers carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands. With image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).";pub const COMPS_DIRECTION_DEGRADED: &str = "- This degraded hand goes on the page as a single text-only card with re-roll; it declares no comp.";-pub const COMPS_SURFACE: &str = "- With image generation, each dealt card declares a comp under .impeccable/mocks/decision/; serve first, then generate them in reading order, lead first, each with its prompt sidecar (a.png gets a.png.json). Without image generation, each card carries a wireframe instead (shape in --schema). Surface rounds have no pick card and no canon card.";+pub const COMPS_SURFACE: &str = "- With image generation, each dealt card declares a comp under .impeccable/mocks/decision/; serve first, then generate them in reading order, lead first, each with its prompt sidecar (a.png gets a.png.json). Without image generation, each card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). Surface rounds have no pick card and no canon card.";-pub const COMPS_SURFACE_CODE: &str = "- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.";+pub const COMPS_SURFACE_CODE: &str = "- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.";pub const BUILD_PATH_RECORDED: &str = "- Build path: recorded default @@VALUE@@ (from @@SOURCE@@). With image generation, put \"buildPath\": {\"value\": \"@@VALUE@@\", \"toggle\": true} in the payload; without it there is no toggle and the build is code-led. Never ask the user about the build path.";@@ -94,7 +94,9 @@ pub const BUILD_PATH_MODE: &str = "- Build path: code-led. A surface in @@MODE@@pub const BUILD_PATH_NONE: &str = "- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.";-pub const WAIT_AFTER_COMPS: &str = "After the last comp lands (at once when this round generates none),";+pub const WAIT_AFTER_COMPS: &str = "After the last comp or sketch lands (at once when this round makes none),";++pub const WAIT_AFTER_SKETCHES: &str = "After the last sketch lands,";pub const WAIT_NOW: &str = "Right after serving, with no comp to generate first,";diff --git a/crates/context/src/serve_question.rs b/crates/context/src/serve_question.rsindex b9e5badea..f40d84dcc 100644--- a/crates/context/src/serve_question.rs+++ b/crates/context/src/serve_question.rs@@ -134,6 +134,9 @@ fn print_answer(io: &mut Io, raw: &str, served: &[String]) {} else if truthy("comp") {io.out("CHOSEN COMP: the decision comp at that path is compositional option one. On a comp-led build pass it to build-phase start as --decision-comp <that path>, and the comp round adds two variations beside it where it stands; on a code-led build it returns at the finish review as the critique reference. Never regenerate it from scratch.\n");}+ if truthy("html") {+ io.out("CHOSEN SKETCH: the HTML sketch at that path is the composition the user picked. Build the real surface to match its arrangement, palette, type and density, lifting markup where it fits; it is a fixed first-viewport thumbnail, so the build owes the responsive page, the content below the fold and every state it skipped. The finish review audits the build against it.\n");+ }let option_id = a.get("optionId").and_then(|v| v.as_str());if option_id == Some("canon") {io.out("CANON CHOSEN: the user picked the category standard on purpose. Ask once for two or three products this should sit alongside; their craft level becomes the quality bar. Execute the canon at full commitment, conventions embraced without irony or smuggled quirk.\n");@@ -185,6 +188,26 @@ fn declared_comps(payload: &Value) -> Vec<String> {out}+/// Local HTML sketch paths a round declares, in card order: every option's+/// `html` and the canon card's. A sketch is one first-viewport HTML file the+/// page draws as a skeleton; URLs are left out, a sketch is always written+/// into the project.+fn declared_html(payload: &Value) -> Vec<String> {+ let mut cards: Vec<&Value> = payload.get("options").and_then(Value::as_array).map(|o| o.iter().collect()).unwrap_or_default();+ if let Some(c) = payload.get("canonCard").filter(|c| c.is_object()) {+ cards.push(c);+ }+ let mut out: Vec<String> = Vec::new();+ for card in cards {+ let Some(s) = card.get("html").filter(|v| crate::staleness::js_truthy(v)).map(js_str) else { continue };+ if s.starts_with("http://") || s.starts_with("https://") || out.contains(&s) {+ continue;+ }+ out.push(s);+ }+ out+}+/// Whether a card declares a decision comp: a truthy `comp`, or the legacy/// `sketch` (a URL counts).fn card_has_comp(card: &Value) -> bool {@@ -650,7 +673,9 @@ fn new_hand(cwd: &str, payload: &Value) -> Map<String, Value> {fn new_hand_dealt(cwd: &str, payload: &Value, worlds: &[Value]) -> Map<String, Value> {let comps = declared_comps(payload);let mut pre = Map::new();- for c in &comps {+ // Sketches share the comps' staleness rule: a re-roll that reuses a card+ // id must not show the sketch the last hand left at that path.+ for c in comps.iter().chain(declared_html(payload).iter()) {if let Some(fp) = file_fingerprint(&jsp::resolve(cwd, &[c.as_str()])) {pre.insert(c.clone(), Value::String(fp));}@@ -662,7 +687,12 @@ fn new_hand_dealt(cwd: &str, payload: &Value, worlds: &[Value]) -> Map<String, Vm.insert("id".into(), Value::String(hand_digest(&json!([hand_digest(payload), nonce.to_string(), std::process::id()]))));m.insert("digest".into(), Value::String(hand_digest(payload)));m.insert("comps".into(), json!(comps));+ let sketches = declared_html(payload);+ if !sketches.is_empty() {+ m.insert("sketches".into(), json!(sketches));+ }m.insert("pre".into(), Value::Object(pre));+ m.insert("startedAt".into(), Value::from(now_ms() as i64));if !worlds.is_empty() {m.insert("worlds".into(), Value::Array(worlds.to_vec()));}@@ -752,6 +782,34 @@ fn comp_is_this_hands(cwd: &str, comp: &str, hand: Option<&Map<String, Value>>)}}+/// A declared sketch is this hand's when its file exists and was written after+/// the hand began, or differs from the file that sat there then. The write+/// time is what lets an identical rewrite count: a sketch has no generated+/// marker the way a comp from generate-image does.+fn sketch_is_this_hands(cwd: &str, path: &str, hand: Option<&Map<String, Value>>) -> bool {+ let abs = jsp::resolve(cwd, &[path]);+ if !exists(&abs) {+ return false;+ }+ let Some(h) = hand else { return true };+ let written = std::fs::metadata(&abs).and_then(|m| m.modified()).ok().and_then(|t| t.duration_since(std::time::UNIX_EPOCH).ok()).map(|d| d.as_millis() as f64);+ let began = h.get("startedAt").and_then(Value::as_f64);+ if let (Some(w), Some(b)) = (written, began) {+ if w > b {+ return true;+ }+ }+ comp_is_this_hands(cwd, path, hand)+}++/// Declared sketches whose file is still the one an earlier round left; the+/// page keeps waiting on them.+fn stale_sketches(cwd: &str, hand: Option<&Map<String, Value>>) -> Vec<String> {+ let Some(h) = hand else { return vec![] };+ let declared: Vec<String> = h.get("sketches").and_then(Value::as_array).map(|a| a.iter().filter_map(|v| v.as_str().map(str::to_string)).collect()).unwrap_or_default();+ declared.into_iter().filter(|p| exists(&jsp::resolve(cwd, &[p.as_str()])) && !sketch_is_this_hands(cwd, p, hand)).collect()+}+/// Declared comps whose file is still the one an earlier round left.fn stale_comps(cwd: &str, comps: &[String], hand: Option<&Map<String, Value>>) -> Vec<String> {comps.iter().filter(|c| exists(&jsp::resolve(cwd, &[c.as_str()])) && !comp_is_this_hands(cwd, c, hand)).cloned().collect()@@ -894,7 +952,7 @@ fn schema_json() -> Value {})}-const SCHEMA_NOTE: &str = "\nOption ids return verbatim in ANSWER; \"reroll\" and \"canon\" are reserved. hero/board/comp accept URLs or local paths; comp slots may point at files that do not exist yet (serve first, generate after; the page polls until they land, so never block serving on generation). hero on a challenger is the inspiration it draws from and renders picture-in-picture beside the comp, never as the promise of the build. verdict routes rendering: \"wins\" and \"competitive\" challengers keep full cards, \"declined\" ones render demoted after them (narrow, quiet, art as a labeled thumb, \"Adopt anyway\"), with their kept line on the front; the page reorders declined cards to the end on its own. raised on the assigned card renders each donation as a named raise line. Salience parity: when the assigned card declares no comp (no image generation this round), catalog art on every card demotes to a labeled thumb, so what looks important is the verdict’s call, never rendering luck. canonCard renders the standing exit as a subordinate card with the same anatomy; without it, canon stays a quiet footer action. Include canon only for visual-direction rounds; never present it as your own recommendation. The pick card is a kicker convention, not a field: kicker \"IMPECCABLE’S PICK\" on your top-ranked grounded candidate, one at most, never in the lead slot. Every card gets the full anatomy, challengers, canon, and declined included: thesis, palette, materials, viewport, risk; the seed already hands you each challenger’s system rules, so a card with no palette chips is an authoring gap, not a data gap. Keep thesis and each fact to one short sentence: the card front shows thesis, identity, and a two-line risk, while first viewport and the case read on the card back behind the Details chip, so long facts cost the reader a flip, not the page its scanability. A card with no imagery at all has no back; its full read renders on the front, so a text-only round loses nothing. A card may instead declare \"wireframe\" ({\"cols\":12,\"rows\":10,\"regions\":[{\"label\":\"nav rail\",\"x\":0,\"y\":0,\"w\":3,\"h\":10,\"accent\":true}]}): the page draws it as a layout schematic in the media slot; surface-scope rounds use it on code-led builds, it never counts toward salience, and the card keeps its full read on the front. The comp slot carries the card’s full-fidelity direction comp (the legacy key \"sketch\" is accepted as an alias). Comp aspect follows the surface: portrait at device viewport for native or mobile-first surfaces, landscape otherwise; the page adapts its cards to either. reroll accepts true or { \"registers\": [\"safer\", \"bolder\"] }: the register buttons steer the next hand along the familiar-to-bold axis, the answer carries \"register\", and you re-run concept-seed with --register <value> for the next round; offer the registers on direction rounds, and never pre-select one. buildPath rides the payload as { \"value\": \"comp\"|\"code\", \"toggle\": true }: the value is the recorded default (.impeccable/config.json buildPath, or .impeccable/config.local.json where one machine differs) and the toggle renders a footer switch whose flip binds that session only; the ANSWER then carries buildPath plus buildPathFlipped. On a code-led round each card still declares its comp path as a flip reserve: wireframes render, and a flip to comp makes --wait return once with BUILD PATH FLIPPED so you generate the comps into the declared slots while the round stays open; a flip back to code is free, and a comp that already landed stays as the critique reference. The toggle may only be offered when image generation exists: a harness with no image tool and no API key never sets toggle: true, so the choice never renders where comps cannot be made, and code-led simply rides as the untoggleable value. followup: true keeps the table open after a pick for a second round via --update; send the next payload immediately, the page is waiting on it.";+const SCHEMA_NOTE: &str = "\nOption ids return verbatim in ANSWER; \"reroll\" and \"canon\" are reserved. hero/board/comp accept URLs or local paths; comp slots may point at files that do not exist yet (serve first, generate after; the page polls until they land, so never block serving on generation). hero on a challenger is the inspiration it draws from and renders picture-in-picture beside the comp, never as the promise of the build. verdict routes rendering: \"wins\" and \"competitive\" challengers keep full cards, \"declined\" ones render demoted after them (narrow, quiet, art as a labeled thumb, \"Adopt anyway\"), with their kept line on the front; the page reorders declined cards to the end on its own. raised on the assigned card renders each donation as a named raise line. Salience parity: when the assigned card declares no comp (no image generation this round), catalog art on every card demotes to a labeled thumb, so what looks important is the verdict’s call, never rendering luck. canonCard renders the standing exit as a subordinate card with the same anatomy; without it, canon stays a quiet footer action. Include canon only for visual-direction rounds; never present it as your own recommendation. The pick card is a kicker convention, not a field: kicker \"IMPECCABLE’S PICK\" on your top-ranked grounded candidate, one at most, never in the lead slot. Every card gets the full anatomy, challengers, canon, and declined included: thesis, palette, materials, viewport, risk; the seed already hands you each challenger’s system rules, so a card with no palette chips is an authoring gap, not a data gap. Keep thesis and each fact to one short sentence: the card front shows thesis, identity, and a two-line risk, while first viewport and the case read on the card back behind the Details chip, so long facts cost the reader a flip, not the page its scanability. A card with no imagery at all has no back; its full read renders on the front, so a text-only round loses nothing. A card may declare \"html\", a local path to one self-contained HTML file of the first viewport (1440 x 900 by default; \"htmlFrame\": \"390x844\" names a phone or native surface's first screen): the page draws it in the media slot as a skeleton (text under 22px becomes bars, so composition, palette and display type read and the copy does not) once the file lands, polling until it does, counts only a file written after the round was served, and opens the file as written from the expand chip; code-led and image-less rounds use it, a comp face wins over it, and ANSWER carries the picked card's html. A card with neither may declare \"wireframe\" ({\"cols\":12,\"rows\":10,\"regions\":[{\"label\":\"nav rail\",\"x\":0,\"y\":0,\"w\":3,\"h\":10,\"accent\":true}]}): the page draws it as a layout schematic in the media slot; surface-scope rounds use it on code-led builds, it never counts toward salience, and the card keeps its full read on the front. The comp slot carries the card’s full-fidelity direction comp (the legacy key \"sketch\" is accepted as an alias). Comp aspect follows the surface: portrait at device viewport for native or mobile-first surfaces, landscape otherwise; the page adapts its cards to either. reroll accepts true or { \"registers\": [\"safer\", \"bolder\"] }: the register buttons steer the next hand along the familiar-to-bold axis, the answer carries \"register\", and you re-run concept-seed with --register <value> for the next round; offer the registers on direction rounds, and never pre-select one. buildPath rides the payload as { \"value\": \"comp\"|\"code\", \"toggle\": true }: the value is the recorded default (.impeccable/config.json buildPath, or .impeccable/config.local.json where one machine differs) and the toggle renders a footer switch whose flip binds that session only; the ANSWER then carries buildPath plus buildPathFlipped. On a code-led round each card still declares its comp path as a flip reserve: wireframes render, and a flip to comp makes --wait return once with BUILD PATH FLIPPED so you generate the comps into the declared slots while the round stays open; a flip back to code is free, and a comp that already landed stays as the critique reference. The toggle may only be offered when image generation exists: a harness with no image tool and no API key never sets toggle: true, so the choice never renders where comps cannot be made, and code-led simply rides as the untoggleable value. followup: true keeps the table open after a pick for a second round via --update; send the next payload immediately, the page is waiting on it.";/// JS: Number(arg('timeout','900')) etc.fn js_number_arg(a: &Args, name: &str, fallback: &str) -> f64 {@@ -998,6 +1056,7 @@ pub fn run(argv: &[String], io: &mut Io) -> i32 {}// Read before the answer path may delete the state file.let hand = read_hand(&qdir, &key);+ let stale_sketch = stale_sketches(&cwd, hand.as_ref());let (missing, stale, landed, served) = {let comps = round_comps(hand.as_ref(), read_state(&qdir, &key).as_ref());(comps_missing_sidecar(&cwd, &comps, hand.as_ref()), stale_comps(&cwd, &comps, hand.as_ref()), landed_decision_comps(&cwd, &comps, hand.as_ref()), comps)@@ -1012,6 +1071,9 @@ pub fn run(argv: &[String], io: &mut Io) -> i32 {if !stale.is_empty() {io.out(&stale_comps_line(&env, &cwd, &stale));}+ if !stale_sketch.is_empty() {+ io.out(&format!("SKETCH STALE: these sketch files predate this round, so the page is still waiting on them: {}. Rewrite each now; the page shows a sketch only once it is written after the round was served.\n", stale_sketch.join(", ")));+ }if landed && render_check_due(&qdir, &key, hand.as_ref()) {io.out(&render_check_line(&env, &cwd));}@@ -1383,6 +1445,35 @@ pub fn run(argv: &[String], io: &mut Io) -> i32 {continue;}}+ if method == "GET" && path.starts_with("/sketch/") {+ let idx: Option<usize> = path[8..].parse().ok();+ let hand = st.detached_key.as_deref().and_then(|k| read_hand(&st.qdir, k));+ let landed = idx.and_then(|i| st.local_sketches.get(i).cloned()).filter(|(rel, abs)| !is_dir(abs) && sketch_is_this_hands(&st.cwd, rel, hand.as_ref()));+ match landed.and_then(|(_, abs)| safe_read(&abs)) {+ Some(text) => {+ // A sketch is agent-written HTML served on the page's own+ // origin, so it never gets that origin: the CSP sandboxes it+ // and closes every network path but its fonts. The skeleton+ // view runs the injected pass; the raw view runs nothing.+ let raw = query_param(&query, "raw").is_some();+ let body = if raw { text } else { with_skeleton(&text) };+ let csp = format!(+ "default-src 'none'; style-src 'unsafe-inline' https://fonts.googleapis.com; font-src https://fonts.gstatic.com data:; img-src data: blob:; script-src {}; connect-src 'none'; base-uri 'none'; form-action 'none'; {}; frame-ancestors 'self'",+ if raw { "'none'" } else { "'unsafe-inline'" },+ if raw { "sandbox" } else { "sandbox allow-scripts" }+ );+ let mut resp = tiny_http::Response::from_string(body);+ for (k, v) in [("content-type", "text/html; charset=utf-8"), ("cache-control", "no-store"), ("x-content-type-options", "nosniff"), ("referrer-policy", "no-referrer"), ("content-security-policy", csp.as_str())] {+ resp = resp.with_header(tiny_http::Header::from_bytes(k, v).unwrap());+ }+ let _ = request.respond(resp);+ }+ None => {+ let _ = request.respond(tiny_http::Response::empty(404));+ }+ }+ continue;+ }if method == "POST" && (path == "/build-path" || path == "/answer") {// JS: both handlers start with rejectDetachedPost (the /answer gate// from #555, the /build-path gate from the follow-up commit).@@ -1442,6 +1533,15 @@ pub fn run(argv: &[String], io: &mut Io) -> i32 {ans.insert("hero".into(), c.get("hero").cloned().filter(|v| !v.is_null()).unwrap_or(Value::Null));ans.insert("board".into(), c.get("board").cloned().filter(|v| !v.is_null()).unwrap_or(Value::Null));}+ // The sketch rides the answer only when it is what the user+ // chose from: this hand's file, on a card the comp face did not+ // replace after a flip.+ if let Some(h) = c.get("html").filter(|v| crate::staleness::js_truthy(v)) {+ let hand = st.detached_key.as_deref().and_then(|k| read_hand(&st.qdir, k));+ if st.live_build_path.as_deref() != Some("comp") && sketch_is_this_hands(&st.cwd, &js_str(h), hand.as_ref()) {+ ans.insert("html".into(), h.clone());+ }+ }let comp = c.get("comp").filter(|v| !v.is_null()).or_else(|| c.get("sketch").filter(|v| !v.is_null()));if let Some(cv) = comp.filter(|v| crate::staleness::js_truthy(v)) {ans.insert("comp".into(), cv.clone());@@ -1633,6 +1733,8 @@ struct ServerState {payload: Value,options: Vec<Value>,local_images: Vec<String>,+ /// Declared sketches as (path as written, absolute path), served at /sketch/<n>.+ local_sketches: Vec<(String, String)>,build_path_default: Option<(String, bool)>,live_build_path: Option<String>,awaiting_next: bool,@@ -1642,6 +1744,34 @@ struct ServerState {last_claim_at: f64,}+/// The skeleton treatment the decision page draws a sketch in: once fonts and+/// layout settle, text under 22px becomes a bar of its own width and colour,+/// so the composition, palette, display type and headline numbers read and the+/// copy does not invite proofreading. `?raw=1` serves the file as written.+const SKETCH_SKELETON: &str = "<script>(()=>{const run=()=>{const w=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);const ns=[];while(w.nextNode()){const n=w.currentNode;if(n.textContent.trim()&&!n.parentElement.closest('script,style,svg,title'))ns.push(n);}for(const n of ns){const el=n.parentElement;const cs=getComputedStyle(el);const fs=parseFloat(cs.fontSize)||14;if(fs>=22)continue;const r=document.createRange();r.selectNodeContents(n);const rects=[...r.getClientRects()].filter(x=>x.width>0);if(!rects.length)continue;const f=document.createDocumentFragment();for(const x of rects){const s=document.createElement('span');s.style.cssText='display:inline-block;vertical-align:middle;width:'+Math.max(6,x.width*.92)+'px;height:'+Math.max(4,fs*.5)+'px;border-radius:99px;background:currentColor;opacity:.32;margin-right:'+(x.width*.08)+'px';f.appendChild(s);}n.replaceWith(f);}parent.postMessage({impeccableSketch:'ready'},'*');};const go=()=>Promise.race([document.fonts?document.fonts.ready:null,new Promise(r=>setTimeout(r,2500))].filter(Boolean)).then(run,run);if(document.readyState==='complete')go();else addEventListener('load',go,{once:true});})();</script>";++/// A sketch's frame from its card's `htmlFrame` ("390x844" or [390, 844]):+/// the device's first screen for a phone or native surface; 1440 x 900, a+/// desktop first viewport, when absent or unreadable.+fn sketch_frame(o: &Value) -> (u32, u32) {+ let pair = match o.get("htmlFrame") {+ Some(Value::String(t)) => t.split_once(['x', 'X', '×']).and_then(|(w, h)| Some((w.trim().parse::<f64>().ok()?, h.trim().parse::<f64>().ok()?))),+ Some(Value::Array(a)) if a.len() == 2 => a[0].as_f64().zip(a[1].as_f64()),+ _ => None,+ };+ match pair {+ Some((w, h)) if (200.0..=4000.0).contains(&w) && (200.0..=4000.0).contains(&h) => (w.round() as u32, h.round() as u32),+ _ => (1440, 900),+ }+}++fn with_skeleton(html: &str) -> String {+ match html.to_ascii_lowercase().rfind("</body>") {+ Some(i) => format!("{}{}{}", &html[..i], SKETCH_SKELETON, &html[i..]),+ None => format!("{}{}", html, SKETCH_SKELETON),+ }+}+fn esc(v: &Value) -> String {let s = match v {Value::Null => String::new(),@@ -1675,6 +1805,7 @@ impl ServerState {payload: Value::Null,options: vec![],local_images: vec![],+ local_sketches: vec![],build_path_default: None,live_build_path: None,awaiting_next: false,@@ -1697,6 +1828,7 @@ impl ServerState {return Err("payload needs an options array".into());}let mut local_images: Vec<String> = Vec::new();+ let mut local_sketches: Vec<(String, String)> = Vec::new();let cwd = self.cwd.clone();let is_url = |s: &str| s.starts_with("http://") || s.starts_with("https://");fn image_src(cwd: &str, local_images: &mut Vec<String>, value: Option<&Value>) -> Value {@@ -1732,6 +1864,14 @@ impl ServerState {}}};+ let html = match option.get("html").filter(|v| crate::staleness::js_truthy(v)).map(js_str) {+ Some(s) if !is_url(&s) => {+ local_sketches.push((s.clone(), jsp::resolve(&cwd, &[&s])));+ Value::String(format!("/sketch/{}", local_sketches.len() - 1))+ }+ _ => Value::Null,+ };+ m.insert("htmlSrc".into(), html);m.insert("heroSrc".into(), hero);m.insert("boardSrc".into(), board);m.insert("compSrc".into(), comp);@@ -1757,6 +1897,7 @@ impl ServerState {self.payload = parsed.clone();self.options = options;self.local_images = local_images;+ self.local_sketches = local_sketches;self.build_path_default = parsed.get("buildPath").filter(|b| crate::staleness::js_truthy(b)).and_then(|b| {let v = b.get("value").and_then(|x| x.as_str())?;if v == "comp" || v == "code" {@@ -1787,8 +1928,11 @@ impl ServerState {let has = |o: &Value, k: &str| truthy(o, k);let identity_round = !(self.options.first().map(|o| has(o, "compSrc") || has(o, "heroSrc") || has(o, "boardSrc")).unwrap_or(false));let face_comp = |o: &Value| -> Option<String> { if demoted(o) || code_led { None } else { str_of(o, "compSrc") } };- let thumb_only = |o: &Value| face_comp(o).is_none() && (has(o, "heroSrc") || has(o, "boardSrc")) && (demoted(o) || identity_round);- let has_media = |o: &Value| face_comp(o).is_some() || ((has(o, "heroSrc") || has(o, "boardSrc")) && !thumb_only(o));+ // An HTML sketch is the face wherever no comp is: a code-led round, or+ // a round without image generation. A comp, when one is the face, wins.+ let face_html = |o: &Value| -> Option<String> { if demoted(o) || face_comp(o).is_some() { None } else { str_of(o, "htmlSrc") } };+ let thumb_only = |o: &Value| face_comp(o).is_none() && face_html(o).is_none() && (has(o, "heroSrc") || has(o, "boardSrc")) && (demoted(o) || identity_round);+ let has_media = |o: &Value| face_comp(o).is_some() || face_html(o).is_some() || ((has(o, "heroSrc") || has(o, "boardSrc")) && !thumb_only(o));let has_back = |o: &Value| has_media(o) && (has(o, "viewport") || has(o, "case") || (has(o, "boardSrc") && has(o, "heroSrc")));let options = &self.options;let anatomy = |o: &Value| -> String {@@ -1892,6 +2036,23 @@ impl ServerState {details);}+ if let Some(src) = face_html(o) {+ let (fw, fh) = sketch_frame(o);+ let portrait = if f64::from(fh) > f64::from(fw) * 1.05 { " portrait" } else { "" };+ return format!(+ "<div class=\"media html html-pending{}\" data-html=\"{}\" data-frame-w=\"{}\" style=\"aspect-ratio: {} / {}\">\n <div class=\"shimmer\"><span class=\"comp-note\">sketching…</span></div>\n <div class=\"sketch-frame\"><iframe sandbox=\"allow-scripts\" tabindex=\"-1\" aria-hidden=\"true\" title=\"Sketch\" style=\"width:{}px;height:{}px\"></iframe></div>\n {}\n <p class=\"media-label\">sketch</p>\n <div class=\"chips\">{}{}</div>\n </div>",+ portrait,+ esc_s(&src),+ fw,+ fw,+ fh,+ fw,+ fh,+ inspiration,+ expand_chip,+ details+ );+ }if has(o, "heroSrc") || has(o, "boardSrc") {return format!("<div class=\"media\" title=\"Inspiration: the world this direction draws from. Your page will not look like this image.\">\n <img src=\"{}\" alt=\"\">\n <p class=\"media-label\">inspiration</p>\n <div class=\"chips\">{}{}</div>\n </div>",@@ -2169,6 +2330,67 @@ mod tests {let _ = std::fs::remove_dir_all(&dir);}+ #[test]+ fn declared_html_reads_options_and_canon_and_leaves_urls_and_repeats_out() {+ let payload = json!({+ "options": [+ { "id": "a", "html": ".impeccable/mocks/decision/a.html" },+ { "id": "b", "html": "https://example.com/b.html" },+ { "id": "c", "html": ".impeccable/mocks/decision/a.html" },+ { "id": "d" }+ ],+ "canonCard": { "html": ".impeccable/mocks/decision/canon.html" }+ });+ assert_eq!(declared_html(&payload), vec![".impeccable/mocks/decision/a.html".to_string(), ".impeccable/mocks/decision/canon.html".to_string()]);+ // A sketch is no comp: it never makes a round owe one.+ assert!(declared_comps(&payload).is_empty());+ }++ #[test]+ fn a_sketch_left_by_an_earlier_hand_is_not_served_until_rewritten() {+ let dir = temp_project("sketch-provenance");+ let cwd = dir.to_string_lossy().into_owned();+ let slot = ".impeccable/mocks/decision/assigned.html";+ let payload = json!({ "options": [{ "id": "assigned", "html": slot }] });+ write_file(&dir.join(slot), b"<p>last round</p>");+ let hand = new_hand(&cwd, &payload);+ assert!(hand.get("pre").and_then(|p| p.get(slot)).is_some());+ assert!(!sketch_is_this_hands(&cwd, slot, Some(&hand)));+ assert_eq!(stale_sketches(&cwd, Some(&hand)), vec![slot.to_string()]);+ // Identical bytes written after the hand began still count: the write+ // time decides where the fingerprint cannot.+ std::thread::sleep(std::time::Duration::from_millis(20));+ write_file(&dir.join(slot), b"<p>last round</p>");+ assert!(sketch_is_this_hands(&cwd, slot, Some(&hand)));+ assert!(stale_sketches(&cwd, Some(&hand)).is_empty());+ // A hand recorded before startedAt existed falls back to the fingerprint.+ let mut old_hand = hand.clone();+ old_hand.remove("startedAt");+ assert!(!sketch_is_this_hands(&cwd, slot, Some(&old_hand)));+ write_file(&dir.join(slot), b"<p>this round</p>");+ assert!(sketch_is_this_hands(&cwd, slot, Some(&old_hand)));+ let _ = std::fs::remove_dir_all(&dir);+ }++ #[test]+ fn a_sketch_frame_reads_a_device_screen_and_defaults_to_desktop() {+ assert_eq!(sketch_frame(&json!({})), (1440, 900));+ assert_eq!(sketch_frame(&json!({ "htmlFrame": "390x844" })), (390, 844));+ assert_eq!(sketch_frame(&json!({ "htmlFrame": "390 × 844" })), (390, 844));+ assert_eq!(sketch_frame(&json!({ "htmlFrame": [834, 1194] })), (834, 1194));+ assert_eq!(sketch_frame(&json!({ "htmlFrame": "tiny" })), (1440, 900));+ assert_eq!(sketch_frame(&json!({ "htmlFrame": "10x10" })), (1440, 900));+ }++ #[test]+ fn the_skeleton_pass_lands_before_the_body_closes() {+ let out = with_skeleton("<html><body><p>x</p></BODY></html>");+ assert!(out.starts_with("<html><body><p>x</p><script>"), "{out}");+ assert!(out.ends_with("</script></BODY></html>"), "{out}");+ // A fragment with no body still gets the pass, at the end.+ assert!(with_skeleton("<p>x</p>").starts_with("<p>x</p><script>"));+ }+#[test]fn a_comp_counts_for_the_hand_only_when_its_bytes_changed_since_the_hand_began() {let dir = temp_project("provenance");diff --git a/docs/CLI-CONTRACT.md b/docs/CLI-CONTRACT.mdindex 4af505de8..089743e1f 100644--- a/docs/CLI-CONTRACT.md+++ b/docs/CLI-CONTRACT.md@@ -492,12 +492,13 @@ retain their local-development trust behavior. See [bundle signing](BUNDLE-SIGNI- `NEXT read ${skillDir}/reference/visualize.md now, before writing any decision comp prompt; it and the MODE RULES block concept-seed printed for this surface govern every card's image. Then generate each declared comp into its slot, lead first, and record the exact prompt in its sidecar, the image's full file name plus .json (a.png gets a.png.json).` The path is the provider's skill dir (`IMPECCABLE_SKILL_DIR`, else the one found beside the binary); with neither it reads `reference/visualize.md`. Printed by `--start` between the `Open the URL` line and the `Then collect` line, and by `--update` after `next round delivered`, when `buildPath.value` is not `code` (a code-led round's slots are a flip reserve) and some declared comp is not this hand's yet; and by `--wait` right after `BUILD PATH FLIPPED`, when the state has no `comps` or one of them is not this hand's. The engine cannot see a harness-native image tool, so a slot without this hand's comp is the signal that comps are about to be written. So a fresh decision round (serve first, generate after) gets the line even when an earlier round left files at its slots; a restart of the same hand after its comps landed does not; a re-roll through `--update` that reuses slot paths does, and so does a restart of that re-roll before its comps land; the comp round, whose comps sit directly in `mocks/`, does not.- **World cards** (engine addition): when the hand was dealt catalog worlds, that same `NEXT` line continues, before its newline, with ` The catalog worlds dealt in this roll have card images, listed at the end of this line: when a card's direction builds on one of these worlds, attach that world's board and hero as reference images to that card's comp (the harness image tool's input images, or \`${impeccable} generate-image --ref <board> --ref <hero>\`${unfetched}), as style inspiration only, never to copy layout or content; a card for a direction you invented yourself has no card images and gets none. WORLD CARDS: ${worlds joined by " | "}` where each world is `${id} board ${board} hero ${hero}` and `${unfetched}` is `; any image listed as a URL could not be fetched, so download it into the workspace first when the tool takes files` when some image is named by URL, else empty. The list closes the line so no path or URL touches sentence punctuation. Models skip the prose rule that says to open the card images and follow an engine line, and a harness image tool takes reference images only as workspace files, so the engine fetches them. **Which worlds**: a new hand copies the roll record's `worlds` (**Roll record** under concept-seed; the record text read once before the gate, since the page then removes it) when the payload carries a non-null `buildPath` (the page that takes the roll), the record parses, its `scope` is `"direction"`, and its `at` is less than one hour old. A surface roll hands over none: its challengers change topology under an identity already committed. An entry is kept only when its `id` is 1 to 120 characters of `[A-Za-z0-9._-]` not starting with a dot (it becomes a file name) and `board` and `hero` are `http://` or `https://` URLs of at most 500 characters with no whitespace, control character, `|` or backtick. The payload is never consulted for which card builds on which world (its `hero` / `board` fields are model-authored and optional), so every dealt world is listed once. The worlds live in the hand file, so a `--start` restart of the same hand and the `--wait` flip line name them too. **Fetching**: right before the line prints, each listed world's board and hero go to `.impeccable/mocks/worlds/<id>-board.<ext>` and `<id>-hero.<ext>` (`<ext>` is `webp`, `png` or `jpg`, from the fetched bytes' signature, so a later `--ref` of the path sends the right type). A file already there under `webp`, `png`, `jpg` or `jpeg` (looked for in that order) is kept and not requested. The rest download in parallel, each one GET under an 8 s timeout through the shared agent (OS trust store, env proxies), following no redirect, accepted like a `generate-image --ref` URL (2xx, non-empty, at most 30 MB, a PNG, WebP or JPEG by signature, so an HTML page served at a card URL is never kept as a card), written to a temp file and renamed. **Which URLs the engine requests unasked**: the record is a project file, so a crafted one must not turn `--start` into a probe of loopback, link-local or private services. A URL is requested only when it starts with the configured card base plus `/` (`IMPECCABLE_CARD_BASE`, else `https://impeccable.style/worlds/cards`), or is `https` to a named host with a dot in it whose last label is letters only or punycode (so no IP address in any spelling: `127.0.0.1`, `127.1`, `0x7f.1`, a bracketed IPv6), carries no userinfo, and is not `localhost` or under `.localhost`, `.local`, `.internal`, `.lan` or `.home.arpa`. Any other URL is never requested and is listed by URL. (`generate-image --ref <url>` is an explicit request and stays unrestricted.) Best effort: a failed, blocked or refused download changes no exit code and prints nothing; that image is named by its URL instead of its path. With `IMPECCABLE_IMAGE_GEN_FAKE` set no request is made: files already there are named by path, the rest by URL. With no world to list (no roll record, an unreadable or expired one, a surface or degraded roll, a page without `buildPath`) the line is exactly the one above and nothing is fetched or created.- `COMP SIDECAR MISSING: ${paths joined by ", "} landed with no prompt sidecar. Every decision comp records the exact prompt that produced it in its sidecar, the image's full file name plus .json (a.png gets a.png.json), as {"prompt": "..."} (generate-image writes it itself, a harness image tool does not), and that prompt is written under the comp rules in ${visualize path}. Write each missing sidecar now, and read that file before the next comp prompt if you have not.` Printed by `--wait` as the last line of a WAITING (exit 3) or answered (exit 0) return when a state `comps` path is this hand's comp and has no `<path>.json`. Comps that have not landed, and stale files, are skipped. It is a warning: exit codes and the answer are unchanged, because the user is mid-decision in the browser and blocking `--wait` would strand their answer.+ - `SKETCH STALE: these sketch files predate this round, so the page is still waiting on them: ${paths joined by ", "}. Rewrite each now; the page shows a sketch only once it is written after the round was served.` Printed by a WAITING return for every path in the hand's `sketches` that exists and is not this hand's (written after the hand's `startedAt`, or differing from its `pre` fingerprint).- `COMP STALE: files left from an earlier round sit at this hand's slots, and the page is showing them: ${paths joined by ", "}. Regenerate each into its slot now under the comp rules in ${visualize path}, with its prompt sidecar, before the user decides.` Printed by `--wait` as the last line of a WAITING return (after `COMP SIDECAR MISSING` when both apply) when a state `comps` path is stale. Never on an answered return: once the user picks, the image they saw is the one they chose.- `NEXT open each decision comp once and run ${visualize path}'s render checks (shipped screen, one dominant move); regenerate any that fail before the user answers.` Printed by `--wait` as the last line of a WAITING return (after `COMP SIDECAR MISSING` and `COMP STALE` when they apply) when at least one state `comps` path outside `.impeccable/mocks/` itself (a decision comp, not a comp-round comp) is this hand's comp and has its `<path>.json` sidecar. Once per hand: the first such return writes the hand's `id` (else its `digest`, else the empty string with no hand file) to `<key>.render-check`, and a later return finds that id there and stays quiet; a new hand carries a new id, so its round prints the line again. A code-led round's slots stay empty or stale until a flip to comp, so it gets no line. Never on an answered return. `--stop` and a closing answer remove `<key>.render-check` with the hand file.-- **Payload processing** (`loadRound`): options decorated with `heroSrc`/`boardSrc` (http(s) URL passthrough; local path must exist → `/img/<i>`), `compSrc` (`comp` or legacy `sketch`; local path registered even if missing); `verdict==='declined'` cards moved to the end; `canonCard` appended as `{...card, id:'canon', isCanon:true}` before declined; `buildPath` `{value:'comp'|'code', toggle:bool}`.-- **HTTP routes**: `GET /` → HTML page (claims `<key>.next.json` if present, stamps `claimedAt`); `POST /heartbeat` → 204, updates `lastBeat` in state at most every 4 s; `GET /next-status` → `{"ready":bool}`; `GET /img/<n>` → local file stream (content-type by ext: webp/png/svg+xml/gif, else jpeg; 404 if missing); `POST /build-path` `{value}` → `{"ok":true}`, writes `<key>.flip.json` `{"buildPath":"comp"}` on a flip to comp; `POST /answer` `{optionId, steer, register?}` → `{"ok":true}` and answer JSON `{optionId, steer, [register], [followup:true], [hero, board], [comp], [buildPath, buildPathFlipped]}` written to answer file (detached) or printed; process exits 150 ms later unless reroll/followup in detached mode; else 404.-- **Page** (server-rendered HTML; `<title>${payload.title || 'impeccable · decision'}</title>`, `<h1>` payload.title or `Choose a direction`): cards with kicker, media (comp with shimmer + polling until `/img/<n>` returns 200; hero/board inspiration; wireframe grid), thesis, palette swatches (≤6), material tags (≤4), raise lines, facts, `Build this` / `Adopt anyway` (declined) / `Play it straight` (canon) buttons; optional `#steer` input (placeholder `Optional steer: what should be different or kept?`), `Re-roll` button with optional safer/bolder register buttons, `#canon` footer button when `canon && !canonCard`, build-path toggle. Client heartbeats every 5000 ms via `navigator.sendBeacon('/heartbeat')`; posts `/answer`; after reroll/followup polls `/next-status` and reloads.-- **printAnswer**: `ANSWER: ${raw}` then conditional directive lines `CHOSEN CARD: ...`, `CHOSEN COMP: ...` (or, engine addition, `APPROVED COMP: the user picked this composition in the comp round, so it is the approved comp. Set "approved": true in its prompt sidecar, the image's full file name plus .json (a.png gets a.png.json), record its path in the surface brief, then close the comps phase with build-phase advance. Build from it as it stands; never regenerate it.` in its place when the answer's `comp` sits directly in `.impeccable/mocks/`, where the comp round writes, or is the `decisionComp` that `.impeccable/build/state.json` records while its phase is `comps` and the page also serves a comp directly in `.impeccable/mocks/` (the comp round; under the same condition that comp counts as the served hand's own, so serving it prints no `NEXT read` and no `COMP STALE` for it, while a direction round reusing its slot still flags it stale); other decision comps under `.impeccable/mocks/decision/` and any other path keep `CHOSEN COMP`, whose comp-led clause names the flag: `On a comp-led build pass it to build-phase start as --decision-comp <that path>, and the comp round adds two variations beside it where it stands;`), `CANON CHOSEN: ...`, `REGISTER: ...`, `FOLLOWUP OPEN: ...`, `BUILD PATH: ${value} (${origin}). ...` (verbatim in source lines 152-190).+- **Payload processing** (`loadRound`): options decorated with `heroSrc`/`boardSrc` (http(s) URL passthrough; local path must exist → `/img/<i>`), `htmlSrc` (`html`, a local path only, registered even if missing → `/sketch/<i>`; URLs ignored), `compSrc` (`comp` or legacy `sketch`; local path registered even if missing); `verdict==='declined'` cards moved to the end; `canonCard` appended as `{...card, id:'canon', isCanon:true}` before declined; `buildPath` `{value:'comp'|'code', toggle:bool}`.+- **HTTP routes**: `GET /` → HTML page (claims `<key>.next.json` if present, stamps `claimedAt`); `POST /heartbeat` → 204, updates `lastBeat` in state at most every 4 s; `GET /next-status` → `{"ready":bool}`; `GET /sketch/<n>` → the declared HTML sketch as `text/html` with `cache-control: no-store`, `nosniff`, `referrer-policy: no-referrer` and a CSP that sandboxes it and allows only inline styles, Google Fonts and data/blob images (`script-src 'unsafe-inline'` with `sandbox allow-scripts` for the skeleton view, `script-src 'none'` with `sandbox` for raw) and the skeleton script injected before `</body>` (`?raw=1` serves the file as written), 404 until the file exists and is this hand's (written after the hand began, the comps' fingerprint rule; with no hand, existence decides); `GET /img/<n>` → local file stream (content-type by ext: webp/png/svg+xml/gif, else jpeg; 404 if missing); `POST /build-path` `{value}` → `{"ok":true}`, writes `<key>.flip.json` `{"buildPath":"comp"}` on a flip to comp; `POST /answer` `{optionId, steer, register?}` → `{"ok":true}` and answer JSON `{optionId, steer, [register], [followup:true], [hero, board], [html], [comp], [buildPath, buildPathFlipped]}` (`html` only when the picked card's sketch is this hand's file and the live build path is not `comp`) ` written to answer file (detached) or printed; process exits 150 ms later unless reroll/followup in detached mode; else 404.+- **Page** (server-rendered HTML; `<title>${payload.title || 'impeccable · decision'}</title>`, `<h1>` payload.title or `Choose a direction`): cards with kicker, media (comp with shimmer + polling until `/img/<n>` returns 200; hero/board inspiration; HTML sketch (a sandboxed `allow-scripts` iframe at the card's `htmlFrame`, 1440 × 900 by default, scaled to the slot, whose aspect ratio follows the frame and turns portrait like a portrait comp, shimmer and polling until `/sketch/<n>` returns 200, revealed when the skeleton pass posts `{impeccableSketch:'ready'}` or 4 s after load; the expand chip and a click on the slot open `/sketch/<n>?raw=1` in a new tab; a comp face wins over it); wireframe grid), thesis, palette swatches (≤6), material tags (≤4), raise lines, facts, `Build this` / `Adopt anyway` (declined) / `Play it straight` (canon) buttons; optional `#steer` input (placeholder `Optional steer: what should be different or kept?`), `Re-roll` button with optional safer/bolder register buttons, `#canon` footer button when `canon && !canonCard`, build-path toggle. Client heartbeats every 5000 ms via `navigator.sendBeacon('/heartbeat')`; posts `/answer`; after reroll/followup polls `/next-status` and reloads.+- **printAnswer**: `ANSWER: ${raw}` then conditional directive lines `CHOSEN CARD: ...`, `CHOSEN SKETCH: the HTML sketch at that path is the composition the user picked. ...` (when the answer carries `html`), `CHOSEN COMP: ...` (or, engine addition, `APPROVED COMP: the user picked this composition in the comp round, so it is the approved comp. Set "approved": true in its prompt sidecar, the image's full file name plus .json (a.png gets a.png.json), record its path in the surface brief, then close the comps phase with build-phase advance. Build from it as it stands; never regenerate it.` in its place when the answer's `comp` sits directly in `.impeccable/mocks/`, where the comp round writes, or is the `decisionComp` that `.impeccable/build/state.json` records while its phase is `comps` and the page also serves a comp directly in `.impeccable/mocks/` (the comp round; under the same condition that comp counts as the served hand's own, so serving it prints no `NEXT read` and no `COMP STALE` for it, while a direction round reusing its slot still flags it stale); other decision comps under `.impeccable/mocks/decision/` and any other path keep `CHOSEN COMP`, whose comp-led clause names the flag: `On a comp-led build pass it to build-phase start as --decision-comp <that path>, and the comp round adds two variations beside it where it stands;`), `CANON CHOSEN: ...`, `REGISTER: ...`, `FOLLOWUP OPEN: ...`, `BUILD PATH: ${value} (${origin}). ...` (verbatim in source lines 152-190).- **Lifetime**: no page ever beat → exit 2 `serve-question: timed out with no answer` after `--timeout` (unless 0); after beats, silence > idle-grace (with 10 s claim window for a delivered next hand) → exit 2 `serve-question: the page stopped beating and never came back; exiting`.- **Browser opener** (`lib/open-system-browser.mjs`): darwin `open <url>`; win32 `${ComSpec||COMSPEC||'cmd.exe'} /c start "" <url>`; else `xdg-open <url>`; spawned `detached, stdio:'ignore'`, `unref`, errors swallowed; returns true/false.- Tests: `tests/serve-question.test.mjs` (opener commands, blocking answer, reroll, start/wait cycle, headless gating, empty payload, heartbeat/timeouts, refresh semantics, --update, comps streaming), `tests/new-work-e2e.test.mjs`.diff --git a/skill/reference/new-work.md b/skill/reference/new-work.mdindex aa136def9..2b10d6cb3 100644--- a/skill/reference/new-work.md+++ b/skill/reference/new-work.md@@ -38,7 +38,7 @@ Keep the visual system fixed. Derive five to seven materially different structur`{{scripts_path}}/impeccable concept-seed --scope surface --mode <mode>`-The script deals three of your structures; the dice pick which three reach the user, breaking the ranking rut while the user keeps a real choice. Present them on the decision page as full cards of equal salience, the dealt lead under kicker THE ROLL, with steer and re-roll; the user locks one. No canon card and no pick card at surface scope: the world is settled, so every card visualizes composition, not identity. With image generation and a comp-led build path (the path the PRESENTATION block printed for this surface; the build-path paragraph below), each card declares a `comp` under `.impeccable/mocks/decision/`, generated after serving, in reading order, under [visualize.md](visualize.md)'s comp discipline and the MODE RULES block concept-seed printed for this surface. Anchor each comp on the established identity: pass a screenshot of a representative existing page as a reference image (the harness image tool's input image, or `impeccable generate-image --ref`) with a short prompt in visualize.md's shape; prose paraphrases of a design system drift, pixel references do not. Without image generation, or under a code-led default, each card carries a `wireframe` schematic (`impeccable serve-question --schema`) the page draws itself. Locking a card is the approval and sets the build path: a locked comp builds comp-led with that comp as the approved comp, discharging [visualize.md](visualize.md)'s three-option round with no second approval point; a locked wireframe builds code-led, its ambition carried by the direction contract. Never run the script for a local extension or a precisely specified narrow request; shape those directly.+The script deals three of your structures; the dice pick which three reach the user, breaking the ranking rut while the user keeps a real choice. Present them on the decision page as full cards of equal salience, the dealt lead under kicker THE ROLL, with steer and re-roll; the user locks one. No canon card and no pick card at surface scope: the world is settled, so every card visualizes composition, not identity. With image generation and a comp-led build path (the path the PRESENTATION block printed for this surface; the build-path paragraph below), each card declares a `comp` under `.impeccable/mocks/decision/`, generated after serving, in reading order, under [visualize.md](visualize.md)'s comp discipline and the MODE RULES block concept-seed printed for this surface. Anchor each comp on the established identity: pass a screenshot of a representative existing page as a reference image (the harness image tool's input image, or `impeccable generate-image --ref`) with a short prompt in visualize.md's shape; prose paraphrases of a design system drift, pixel references do not. Without image generation, or on a code-led round, each card carries an HTML sketch of the first viewport, declared as its `html`, which the page draws as a skeleton; the PRESENTATION block names its shape, and a card without one falls back to a `wireframe` schematic (`impeccable serve-question --schema`). Locking a card is the approval and sets the build path: a locked comp builds comp-led with that comp as the approved comp, discharging [visualize.md](visualize.md)'s three-option round with no second approval point; a locked sketch or wireframe builds code-led, its ambition carried by the direction contract, and a locked sketch is the composition the build matches. Never run the script for a local extension or a precisely specified narrow request; shape those directly.### Create or replace the visual world@@ -52,7 +52,7 @@ The standing exit: every direction round offers one quiet, permanent alternativeWhen image generation exists, every card also declares a `comp` path under `.impeccable/mocks/decision/`, the canon card included. Where the harness sandboxes its shell, start the page through the least-sandboxed command path it offers: a sandboxed shell cannot bind the board's port, and the first-attempt failure costs a retry every session. Serve the page first, then produce the comps; the page shimmer-waits per slot and the user may answer before they land. Load [visualize.md](visualize.md) before writing the first decision comp prompt, not at the comp round: each card's image is that direction's north-star comp at full fidelity under its comp discipline and the MODE RULES block concept-seed printed, and a prompt written before reading them misses every rule there: the requested surface as the real page, its first viewport and the start of the section below it, held like every comp to visualize.md's rule that a template skeleton stays the template whatever world paints it (your own pick included: a safe layout under a world skin is the template), a short prompt in visualize.md's shape, real product name and real content, no invented commercial claims, in that card's own palette, type character, and material world, committed all the way. Once a round declares comps it has not generated yet, `impeccable serve-question --start` (and `--update`, and a flip to comp) prints a `NEXT read <path>/visualize.md` line; read that file then, before the first prompt. `--wait` prints `COMP SIDECAR MISSING` for any landed decision comp with no prompt sidecar (the image's full file name plus `.json`: `a.png` gets `a.png.json`); write the missing sidecar before you continue. `COMP STALE` names a file an earlier round left at one of this hand's slots; regenerate it there. Generation takes the same time at any fidelity, so an unfinished draft pays comp cost for draft quality; fairness between cards is equal fidelity in each card's own grammar, one surface, one aspect, never shared unfinishedness. The frame's aspect is the surface's own: portrait at device viewport for a native app or mobile-first surface, landscape for desktop web; the decision page adapts to either, and a phone screen comped landscape is a broken frame, not a neutral default. Produce in reading order, the assigned card, then the pick, then the full-card hand, then canon, each file written with its prompt sidecar the moment it is done, so a re-roll's spend front-loads onto the cards read first; declined challengers get no comp, their catalog thumb is their face. With parallel subagents, fan out one agent per card: each spawn is the shipped asset producer with a single-comp packet, that card's fields, its world's card images when the NEXT line names them, PRODUCT.md, the shared frame, the path to visualize.md for its comp discipline, the COMPS section of the MODE RULES block copied verbatim (the subagent never sees the roll's output), and the card's declared path, up to four in flight. Regenerate inline any slot still empty when its agent returns; drop without ceremony any slot still empty when the user answers. No other supervision is owed. Without parallel subagents, generate in the main thread after serving, same order, and let the harness's own generation display carry the progress; the wait for the answer follows the last file. The chosen card's comp is not spent by the choice: comp-led, it enters the comp round as compositional option one; code-led, it returns at the finish review as the critique reference, what the image dared that the build did not. Unchosen comps stay in `.impeccable/mocks/decision/` as the round's spent hand; they carry no approval and imply none. With no image generation, cards carry their identity in palette chips and facts, and that page is complete, not a lesser version; the page then also demotes every challenger's catalog art to a labeled thumbnail on its own, because salience must encode the verdict, never the accident of which cards have images. <!-- rule:skill-decision-comps-full-fidelity --> <!-- rule:skill-salience-parity -->-The execution contract, comp-led or code-led, is never asked inside a round; the page's toggle handles the exception. An Operate or Read surface is code-led whatever the project records: working screens and documents come out better built than pictured. A Persuade or Experience surface takes the recorded default: read it from `.impeccable/config.json` (`buildPath`), the gitignored `.impeccable/config.local.json` winning where one machine differs from the team's committed value; with neither, comp-led is the default whenever image generation exists. concept-seed's PRESENTATION block prints the path for the surface in hand; follow that line. Author every direction and surface payload with `buildPath: { "value": <default>, "toggle": true }`; the page renders a footer toggle with the trade stated beside it, and the ANSWER returns `buildPath` plus `buildPathFlipped`. A flipped value binds that session only and is never written back, with one exception, the only question this preference ever earns inside a round (init records it up front on projects that get the chance): when `buildPathFlipped` comes back true on a Persuade or Experience surface in a project that records no `buildPath` at all, ask once after the round closes whether to keep it as the standing default; a flip on an Operate or Read surface is one round's choice and is never offered for recording. Either answer writes `.impeccable/config.json`; the answer picks the value, never whether to record one. Yes writes the flipped value; "no, just this once" writes the value they flipped away from, the standing default they just confirmed by declining. Ask on the flip, never on the untouched default: a user who left the toggle alone told you nothing. A declined offer nothing writes down is an offer the next session makes again. When the user asks in words to change the standing default, update the file without asking. **Comp-led**: the chosen card's comp is law, generated before building when it does not yet exist, and the finish review audits the build against it; boldest composition on the table, fix rounds expected, and the comp is non-optional, no silent skipping. **Code-led**: no comp of this page and no apology for it; the QUALITY BAR boards still calibrate finish, and the ambition moves into the written contract, the FIRST VIEWPORT block plus a named signature interaction and motion grammar, which the finish reviewer audits in behavior; code-led is not a discount on commitment. A code-led round still declares each card's comp path as a flip reserve: when the user flips the toggle to comp mid-round, `--wait` returns once with BUILD PATH FLIPPED while the page shimmers the slots; generate each open card's comp into its declared path then, lead first, and wait again. The flip back is free, and a comp that already rendered rides at the finish review as the critique reference. Without image generation there is no toggle and no choice: code-led is the only path, stated in one line rather than asked. The structured-tool fallback has no toggle either: it builds on the path the PRESENTATION block printed for the surface and asks nothing about the build path. The old two-card execution-contract round is retired; `followup: true` remains the general mechanism for delivering any later round over the same table via `--update`. <!-- rule:skill-build-path-round -->+The execution contract, comp-led or code-led, is never asked inside a round; the page's toggle handles the exception. An Operate or Read surface is code-led whatever the project records: working screens and documents come out better built than pictured. A Persuade or Experience surface takes the recorded default: read it from `.impeccable/config.json` (`buildPath`), the gitignored `.impeccable/config.local.json` winning where one machine differs from the team's committed value; with neither, comp-led is the default whenever image generation exists. concept-seed's PRESENTATION block prints the path for the surface in hand; follow that line. Author every direction and surface payload with `buildPath: { "value": <default>, "toggle": true }`; the page renders a footer toggle with the trade stated beside it, and the ANSWER returns `buildPath` plus `buildPathFlipped`. A flipped value binds that session only and is never written back, with one exception, the only question this preference ever earns inside a round (init records it up front on projects that get the chance): when `buildPathFlipped` comes back true on a Persuade or Experience surface in a project that records no `buildPath` at all, ask once after the round closes whether to keep it as the standing default; a flip on an Operate or Read surface is one round's choice and is never offered for recording. Either answer writes `.impeccable/config.json`; the answer picks the value, never whether to record one. Yes writes the flipped value; "no, just this once" writes the value they flipped away from, the standing default they just confirmed by declining. Ask on the flip, never on the untouched default: a user who left the toggle alone told you nothing. A declined offer nothing writes down is an offer the next session makes again. When the user asks in words to change the standing default, update the file without asking. **Comp-led**: the chosen card's comp is law, generated before building when it does not yet exist, and the finish review audits the build against it; boldest composition on the table, fix rounds expected, and the comp is non-optional, no silent skipping. **Code-led**: no comp of this page and no apology for it; each card's HTML sketch is what the user chooses from, and the picked one is the composition the build matches and the finish review audits; the QUALITY BAR boards still calibrate finish, and the ambition moves into the written contract, the FIRST VIEWPORT block plus a named signature interaction and motion grammar, which the finish reviewer audits in behavior; code-led is not a discount on commitment. A code-led round still declares each card's comp path as a flip reserve: when the user flips the toggle to comp mid-round, `--wait` returns once with BUILD PATH FLIPPED while the page shimmers the slots; generate each open card's comp into its declared path then, lead first, and wait again. The flip back is free, and a comp that already rendered rides at the finish review as the critique reference. Without image generation there is no toggle and no choice: code-led is the only path, stated in one line rather than asked. The structured-tool fallback has no toggle either: it builds on the path the PRESENTATION block printed for the surface and asks nothing about the build path. The old two-card execution-contract round is retired; `followup: true` remains the general mechanism for delivering any later round over the same table via `--update`. <!-- rule:skill-build-path-round -->Catalog worlds are working systems, not mood references. When one survives, carry its palette and material, type and composition, topology, controls and state, and responsive rules into the product, as far as the surface's mode allows. How far a source that is itself an interface language may carry its grammar is the mode's call, in the MODE RULES block. Open the QUALITY BAR board and hero for the world you build the moment the choice lands, even if you viewed another card earlier; the ANSWER line names the chosen card's images (when the harness only reads files or runs sandboxed, download them into the workspace and open the relative path; sandboxed viewers reject absolute paths outside it). They set the craft level the build must reach, a rendered reference's finish, commitment, and art direction, never the composition; your surface serves this product.diff --git a/tests/new-work-e2e.test.mjs b/tests/new-work-e2e.test.mjsindex 3da10c746..98334cbfd 100644--- a/tests/new-work-e2e.test.mjs+++ b/tests/new-work-e2e.test.mjs@@ -686,6 +686,116 @@ describe('new-work-e2e: serve-question decision page', () => {}});+ // HTML sketches: the code-led card face. The agent writes one first-viewport+ // file per card after serving; the page draws it as a skeleton, shows only+ // files written for this hand, opens the file as written on expand, and the+ // picked sketch rides the answer as the composition to build.+ const sketchHtml = (headline, copy) => `<!doctype html><html><head><meta charset="utf-8"><style>body{margin:0;height:900px;overflow:hidden;font-family:system-ui;background:#10161c;color:#edf1f4}h1{font-size:56px;margin:40px}p{font-size:15px;margin:0 40px}</style></head><body><h1>${headline}</h1><p>${copy}</p></body></html>`;+ const decisionDir = (cwd) => { const d = path.join(cwd, '.impeccable', 'mocks', 'decision'); mkdirSync(d, { recursive: true }); return d; };++ it('(s1) sketches land as skeletons, a stale one waits for its rewrite, expand opens the raw file, and the pick carries it', async () => {+ const cwd = makeWorkspace();+ const key = 'sketches';+ const dir = decisionDir(cwd);+ // Left by an earlier round at a reused slot: the page must not show it.+ writeFileSync(path.join(dir, 'assigned.html'), sketchHtml('Last round', 'Old copy that must never show.'));+ const payload = {+ title: 'Choose the structure',+ buildPath: { value: 'code', toggle: true },+ options: [+ { id: 'assigned', label: 'Night timetable', kicker: 'THE ROLL', html: '.impeccable/mocks/decision/assigned.html', comp: '.impeccable/mocks/decision/assigned.webp' },+ { id: 'phone', label: 'Pocket ledger', html: '.impeccable/mocks/decision/phone.html', htmlFrame: '390x844' },+ ],+ };+ const { url } = await startDaemon(cwd, payload, key);+ try {+ const context = await browser.newContext();+ const page = await context.newPage();+ await page.goto(url, { waitUntil: 'load' });+ assert.equal(await page.$$eval('.media.html', (els) => els.length), 2, 'both cards carry a sketch slot');+ assert.equal(await page.$('.media.wire'), null, 'a sketch replaces the wireframe');+ assert.ok(await page.$('.card[data-id="phone"] .media.html.portrait'), 'a phone frame turns the slot portrait');+ const waiting = await run(['--wait', '--key', key, '--poll', '1'], cwd);+ assert.equal(waiting.code, 3, waiting.out);+ assert.match(waiting.out, /SKETCH STALE: [^\n]*assigned\.html/, 'the stale sketch is named');+ assert.ok(await page.$('.card[data-id="assigned"] .media.html-pending'), 'the stale sketch is not shown');+ writeFileSync(path.join(dir, 'assigned.html'), sketchHtml('Fleet overview', 'Body copy that becomes a bar.'));+ writeFileSync(path.join(dir, 'phone.html'), sketchHtml('Ledger', 'Phone copy.'));+ await page.waitForFunction(() => document.querySelectorAll('.media.html-pending').length === 0, null, { timeout: 20000 });+ const frame = page.frames().find((f) => f.url().endsWith('/sketch/0'));+ assert.ok(frame, 'the sketch loads in its frame');+ const drawn = await frame.evaluate(() => ({ text: document.body.innerText, bars: document.querySelectorAll('span[style*="border-radius"]').length }));+ assert.match(drawn.text, /Fleet overview/, 'display type stays type');+ assert.doesNotMatch(drawn.text, /Body copy/, 'small copy becomes bars');+ assert.ok(drawn.bars > 0, 'the skeleton pass drew bars');+ const raw = await context.request.get(new URL('/sketch/0?raw=1', url).href);+ assert.match(await raw.text(), /Body copy that becomes a bar/, 'raw serves the file as written');+ assert.match(raw.headers()['content-security-policy'], /script-src 'none'/, 'raw runs no script');+ const popup = context.waitForEvent('page');+ await page.click('.card[data-id="assigned"] .media.html');+ assert.match((await popup).url(), /\/sketch\/0\?raw=1$/, 'a click on the sketch opens it as written');+ await page.click('.card[data-id="assigned"] .face.front button.choose');+ const collected = await waitLoop(cwd, key, { poll: 10 });+ await context.close();+ assert.equal(collected.code, 0, collected.out);+ const answer = JSON.parse(collected.out.match(/ANSWER: (\{.*\})/)[1]);+ assert.equal(answer.html, '.impeccable/mocks/decision/assigned.html', 'the answer carries the picked sketch');+ assert.match(collected.out, /CHOSEN SKETCH:/, 'the sketch is named as the composition to build');+ } finally {+ await stopDaemon(cwd, key);+ rmSync(cwd, { recursive: true, force: true });+ }+ });++ it('(s2) a flip to comp hides the sketch and leaves it out of the answer', async () => {+ const cwd = makeWorkspace();+ const key = 'sketchflip';+ const dir = decisionDir(cwd);+ const payload = {+ title: 'Choose the structure',+ buildPath: { value: 'code', toggle: true },+ options: [{ id: 'assigned', label: 'Night timetable', kicker: 'THE ROLL', html: '.impeccable/mocks/decision/assigned.html', comp: '.impeccable/mocks/decision/assigned.webp' }],+ };+ const { url } = await startDaemon(cwd, payload, key);+ try {+ writeFileSync(path.join(dir, 'assigned.html'), sketchHtml('Fleet overview', 'Body copy.'));+ const context = await browser.newContext();+ const page = await context.newPage();+ await page.goto(url, { waitUntil: 'load' });+ await page.waitForSelector('.media.html:not(.html-pending)', { timeout: 20000 });+ await page.click('.bp-opt[data-bp="comp"]');+ await page.waitForSelector('#bp-confirm:not([hidden])');+ await page.click('#bp-confirm [data-confirm]');+ await page.waitForSelector('.media.comp-pending');+ assert.ok(await page.$('.media.html[hidden]'), 'the flip hides the sketch slot');+ const flipped = await waitLoop(cwd, key, { poll: 10 });+ assert.match(flipped.out, /BUILD PATH FLIPPED: comp/);+ makeFakeImage(dir, 'timetable comp', 'assigned.webp');+ await page.waitForSelector('.card[data-id="assigned"] .media img.comp:not([hidden])', { timeout: 15000 });+ // Back to code with the comp landed: the sketch is the face again and+ // the comp leaves the card, so screen and answer agree.+ await page.click('.bp-opt[data-bp="code"]');+ await page.waitForSelector('.card[data-id="assigned"] .media.html:not([hidden])');+ assert.equal(await page.$('.card[data-id="assigned"] .media img.comp'), null, 'the landed comp leaves the face');+ // And to comp again: the landed comp is back and the sketch hides.+ await page.click('.bp-opt[data-bp="comp"]');+ await page.waitForSelector('#bp-confirm:not([hidden])');+ await page.click('#bp-confirm [data-confirm]');+ await page.waitForSelector('.card[data-id="assigned"] .media img.comp:not([hidden])', { timeout: 15000 });+ assert.ok(await page.$('.media.html[hidden]'), 'comp hides the sketch again');+ await page.click('.card[data-id="assigned"] .face.front button.choose');+ const collected = await waitLoop(cwd, key, { poll: 10 });+ await context.close();+ const answer = JSON.parse(collected.out.match(/ANSWER: (\{.*\})/)[1]);+ assert.equal(answer.html, undefined, 'a sketch the comp replaced is not the pick');+ assert.doesNotMatch(collected.out, /CHOSEN SKETCH:/);+ assert.match(collected.out, /CHOSEN COMP:/);+ } finally {+ await stopDaemon(cwd, key);+ rmSync(cwd, { recursive: true, force: true });+ }+ });+// The flip used to be tested only on a wireframe card, where the schematic// is hidden and a fresh slot inserted. A card carrying catalog art instead// took the other branch: the inspiration stayed the face and the comp slotdiff --git a/tests/oracle/DELTAS.md b/tests/oracle/DELTAS.mdindex e2fff412a..1ddee7356 100644--- a/tests/oracle/DELTAS.md+++ b/tests/oracle/DELTAS.md@@ -7021,3 +7021,12 @@ Product decision (maintainer, 2026-10-07/08). Blind ratings put image comps of wRe-recorded from the binary and reviewed by hand, 20 goldens. The nine seed cases that roll in operate or read mode (`seed-mode-rules-operate`, `-read`, `-missing-file`, `-missing-section`, `seed-surface-local`, `-default-scope`, `-grain-flow`, `seed-degraded-surface`, `seed-presentation-build-path-local`) change only those PRESENTATION lines. The seven context cases that print the directive (`context-full`, its four `-target-*` cases, `context-build-path-local-over-shared`, `context-build-path-invalid-ignored`) change only by the added sentence. Four more goldens were stale behind this file's exemption (a case named here is skipped when it differs) and are re-recorded so they match the binary again: `seed-direction-local-operate` and `seed-direction-local-count-5` (operate direction rolls) and `question-start-surface-missing-comps` and `question-update-surface-missing-comps` (their operate surface roll step); in all four only the same PRESENTATION lines move, and the missing-comp refusal itself is unchanged.Review round, same day, 17 of those goldens plus `context-build-path-unset-with-surfaces` and the two `seed-surface-local-compositions` / `-card-base` cases re-recorded, one line each. The `BUILD_PATH_DEFAULT` directive now scopes its authoring instruction to Persuade and Experience rounds and states the Operate and Read rule beside it, where the first wording told the agent to author every round with the recorded value and contradicted itself a sentence later. The surface roll body says "a comp-led build path (the PRESENTATION block below names the path for this surface)" where it said "a comp-led default (.impeccable/config.json buildPath)", which sent Operate and Read surface rolls back to the recorded value. The `config-build-path-unset` staleness finding names Persuade and Experience rounds and says what the choice covers.++## Recorded 2026-10-09: decision cards carry HTML sketches on code-led and image-less rounds++Product decision (maintainer, 2026-10-08). Code-led cards showed a box wireframe the maintainer found too thin to choose from; HTML sketches of the first viewport, one model call per card, took 44 to 112 s for three in parallel across four models, and of four page treatments the maintainer picked skeleton text. A card may now declare `html`; `serve-question` serves it at `/sketch/<n>` with a skeleton pass injected, tracks it per hand like comps, and carries it in ANSWER with a CHOSEN SKETCH line. The wireframe stays the fallback.++Re-recorded from the binary and reviewed by hand, 28 goldens, one or two lines each. Every code-led PRESENTATION block (`seed-*` cases rolling in operate or read mode, under a recorded `code`, or with the code path printed) swaps its wireframe line for the sketch line and waits "After the last sketch lands" instead of "Right after serving"; the image-less surface sentence names the sketch; every other block's wait reads "After the last comp or sketch lands (at once when this round makes none)". `question-schema` gains the `html` sentence in its note. Eight of them (`seed-direction-local`, `-count-5`, `-operate`, `seed-surface-local`, `seed-roll-record-worlds`, `question-update-world-cards`, `question-start-surface-missing-comps`, `question-update-surface-missing-comps`) sit behind earlier entries here and were re-recorded so they match the binary again.++Review round, same day, 19 goldens re-recorded. The surface roll body (`PROMOTED_SURFACE`) asks for each card's HTML sketch with the wireframe as the fallback, where it still asked for the wireframe outright; the sketch line names `htmlFrame` for phone and native surfaces; `question-schema` documents `htmlFrame`. A hand now records `startedAt` (normalized to `<EPOCH>`) and, when the round declares any, `sketches`, which moves `question-update-comps-next`'s hand file by that one key.+diff --git a/tests/oracle/golden/question-schema.json b/tests/oracle/golden/question-schema.jsonindex dc3c112b6..34d60abd8 100644--- a/tests/oracle/golden/question-schema.json+++ b/tests/oracle/golden/question-schema.json@@ -1,5 +1,5 @@{- "stdout": "{\n \"title\": \"Choose the visual world\",\n \"question\": \"The roll assigned Fillmore Handbill. Keep it, take an alternate, or re-roll.\",\n \"options\": [\n {\n \"id\": \"assigned\",\n \"label\": \"Fillmore Handbill\",\n \"kicker\": \"THE ROLL\",\n \"lineage\": \"1966-71 Fillmore psychedelic handbills\",\n \"thesis\": \"The gig poster that treats every release like a one-night stand.\",\n \"palette\": [\n \"#e8452c\",\n \"#f5d64c\",\n \"#1b2a52\",\n \"#f3ead8\"\n ],\n \"materials\": [\n \"letterpress\",\n \"split-fountain ink\"\n ],\n \"viewport\": \"A full-bleed dated bill with the product name in warped display type.\",\n \"risk\": \"Reads nostalgic when the type is set timidly.\",\n \"raised\": [\n {\n \"from\": \"challenger-microfiche\",\n \"raise\": \"The bill now owns its whole viewport as one continuous printed sheet.\"\n }\n ],\n \"comp\": \".impeccable/mocks/decision/assigned.webp\",\n \"hero\": \"https://impeccable.style/worlds/cards/posters-covers-sleeves-fillmore-handbill-hero.webp\",\n \"board\": \"https://impeccable.style/worlds/cards/posters-covers-sleeves-fillmore-handbill.webp\"\n },\n {\n \"id\": \"model-pick\",\n \"label\": \"The Broadside Ballad\",\n \"kicker\": \"IMPECCABLE’S PICK\",\n \"lineage\": \"street-sold ballad sheets\",\n \"thesis\": \"Every release printed as the day’s ballad sheet.\",\n \"palette\": [\n \"#1f1c18\",\n \"#efe5d0\",\n \"#a33327\"\n ],\n \"materials\": [\n \"woodcut\",\n \"rag paper\"\n ],\n \"viewport\": \"One tall sheet, the newest release as today’s ballad.\",\n \"risk\": \"Also the direction most runs in this category land on.\",\n \"comp\": \".impeccable/mocks/decision/model-pick.webp\"\n },\n {\n \"id\": \"challenger-teletext\",\n \"label\": \"Teletext Service\",\n \"verdict\": \"competitive\",\n \"lineage\": \"broadcast teletext magazines\",\n \"thesis\": \"The catalog as a broadcast index: pages, not sections.\",\n \"palette\": [\n \"#0000c0\",\n \"#ffff00\",\n \"#00c000\",\n \"#ffffff\"\n ],\n \"materials\": [\n \"block mosaic\",\n \"phosphor glow\"\n ],\n \"viewport\": \"P100 index page, releases as numbered rows.\",\n \"case\": \"Fuses cleanly: releases map to numbered pages; loses narrowly on clarity.\",\n \"risk\": \"Reads retro-novelty when the grid is not strict.\",\n \"comp\": \".impeccable/mocks/decision/challenger-teletext.webp\",\n \"hero\": \"https://impeccable.style/worlds/cards/broadcast-programming-teletext-service-hero.webp\"\n },\n {\n \"id\": \"challenger-microfiche\",\n \"label\": \"Microfiche Reader\",\n \"verdict\": \"declined\",\n \"lineage\": \"library microfiche stations\",\n \"palette\": [\n \"#101418\",\n \"#9fb4c0\"\n ],\n \"materials\": [\n \"film grain\",\n \"backlit glass\"\n ],\n \"case\": \"Fuses poorly: listeners do not identify with archival retrieval.\",\n \"kept\": \"Total environmental commitment.\",\n \"hero\": \"https://impeccable.style/worlds/cards/archives-microfiche-reader-hero.webp\"\n }\n ],\n \"reroll\": {\n \"registers\": [\n \"safer\",\n \"bolder\"\n ]\n },\n \"buildPath\": {\n \"value\": \"comp\",\n \"toggle\": true\n },\n \"canon\": true,\n \"canonCard\": {\n \"label\": \"The category standard\",\n \"thesis\": \"What this category ships, executed impeccably.\",\n \"palette\": [\n \"#ffffff\",\n \"#111827\",\n \"#2563eb\"\n ],\n \"materials\": [\n \"clean grid\",\n \"product photography\"\n ],\n \"viewport\": \"The arrangement a visitor expects, at full craft.\",\n \"risk\": \"Indistinguishable from the competition by design.\",\n \"comp\": \".impeccable/mocks/decision/canon.webp\"\n },\n \"steer\": true\n}\n\nOption ids return verbatim in ANSWER; \"reroll\" and \"canon\" are reserved. hero/board/comp accept URLs or local paths; comp slots may point at files that do not exist yet (serve first, generate after; the page polls until they land, so never block serving on generation). hero on a challenger is the inspiration it draws from and renders picture-in-picture beside the comp, never as the promise of the build. verdict routes rendering: \"wins\" and \"competitive\" challengers keep full cards, \"declined\" ones render demoted after them (narrow, quiet, art as a labeled thumb, \"Adopt anyway\"), with their kept line on the front; the page reorders declined cards to the end on its own. raised on the assigned card renders each donation as a named raise line. Salience parity: when the assigned card declares no comp (no image generation this round), catalog art on every card demotes to a labeled thumb, so what looks important is the verdict’s call, never rendering luck. canonCard renders the standing exit as a subordinate card with the same anatomy; without it, canon stays a quiet footer action. Include canon only for visual-direction rounds; never present it as your own recommendation. The pick card is a kicker convention, not a field: kicker \"IMPECCABLE’S PICK\" on your top-ranked grounded candidate, one at most, never in the lead slot. Every card gets the full anatomy, challengers, canon, and declined included: thesis, palette, materials, viewport, risk; the seed already hands you each challenger’s system rules, so a card with no palette chips is an authoring gap, not a data gap. Keep thesis and each fact to one short sentence: the card front shows thesis, identity, and a two-line risk, while first viewport and the case read on the card back behind the Details chip, so long facts cost the reader a flip, not the page its scanability. A card with no imagery at all has no back; its full read renders on the front, so a text-only round loses nothing. A card may instead declare \"wireframe\" ({\"cols\":12,\"rows\":10,\"regions\":[{\"label\":\"nav rail\",\"x\":0,\"y\":0,\"w\":3,\"h\":10,\"accent\":true}]}): the page draws it as a layout schematic in the media slot; surface-scope rounds use it on code-led builds, it never counts toward salience, and the card keeps its full read on the front. The comp slot carries the card’s full-fidelity direction comp (the legacy key \"sketch\" is accepted as an alias). Comp aspect follows the surface: portrait at device viewport for native or mobile-first surfaces, landscape otherwise; the page adapts its cards to either. reroll accepts true or { \"registers\": [\"safer\", \"bolder\"] }: the register buttons steer the next hand along the familiar-to-bold axis, the answer carries \"register\", and you re-run concept-seed with --register <value> for the next round; offer the registers on direction rounds, and never pre-select one. buildPath rides the payload as { \"value\": \"comp\"|\"code\", \"toggle\": true }: the value is the recorded default (.impeccable/config.json buildPath, or .impeccable/config.local.json where one machine differs) and the toggle renders a footer switch whose flip binds that session only; the ANSWER then carries buildPath plus buildPathFlipped. On a code-led round each card still declares its comp path as a flip reserve: wireframes render, and a flip to comp makes --wait return once with BUILD PATH FLIPPED so you generate the comps into the declared slots while the round stays open; a flip back to code is free, and a comp that already landed stays as the critique reference. The toggle may only be offered when image generation exists: a harness with no image tool and no API key never sets toggle: true, so the choice never renders where comps cannot be made, and code-led simply rides as the untoggleable value. followup: true keeps the table open after a pick for a second round via --update; send the next payload immediately, the page is waiting on it.\n",+ "stdout": "{\n \"title\": \"Choose the visual world\",\n \"question\": \"The roll assigned Fillmore Handbill. Keep it, take an alternate, or re-roll.\",\n \"options\": [\n {\n \"id\": \"assigned\",\n \"label\": \"Fillmore Handbill\",\n \"kicker\": \"THE ROLL\",\n \"lineage\": \"1966-71 Fillmore psychedelic handbills\",\n \"thesis\": \"The gig poster that treats every release like a one-night stand.\",\n \"palette\": [\n \"#e8452c\",\n \"#f5d64c\",\n \"#1b2a52\",\n \"#f3ead8\"\n ],\n \"materials\": [\n \"letterpress\",\n \"split-fountain ink\"\n ],\n \"viewport\": \"A full-bleed dated bill with the product name in warped display type.\",\n \"risk\": \"Reads nostalgic when the type is set timidly.\",\n \"raised\": [\n {\n \"from\": \"challenger-microfiche\",\n \"raise\": \"The bill now owns its whole viewport as one continuous printed sheet.\"\n }\n ],\n \"comp\": \".impeccable/mocks/decision/assigned.webp\",\n \"hero\": \"https://impeccable.style/worlds/cards/posters-covers-sleeves-fillmore-handbill-hero.webp\",\n \"board\": \"https://impeccable.style/worlds/cards/posters-covers-sleeves-fillmore-handbill.webp\"\n },\n {\n \"id\": \"model-pick\",\n \"label\": \"The Broadside Ballad\",\n \"kicker\": \"IMPECCABLE’S PICK\",\n \"lineage\": \"street-sold ballad sheets\",\n \"thesis\": \"Every release printed as the day’s ballad sheet.\",\n \"palette\": [\n \"#1f1c18\",\n \"#efe5d0\",\n \"#a33327\"\n ],\n \"materials\": [\n \"woodcut\",\n \"rag paper\"\n ],\n \"viewport\": \"One tall sheet, the newest release as today’s ballad.\",\n \"risk\": \"Also the direction most runs in this category land on.\",\n \"comp\": \".impeccable/mocks/decision/model-pick.webp\"\n },\n {\n \"id\": \"challenger-teletext\",\n \"label\": \"Teletext Service\",\n \"verdict\": \"competitive\",\n \"lineage\": \"broadcast teletext magazines\",\n \"thesis\": \"The catalog as a broadcast index: pages, not sections.\",\n \"palette\": [\n \"#0000c0\",\n \"#ffff00\",\n \"#00c000\",\n \"#ffffff\"\n ],\n \"materials\": [\n \"block mosaic\",\n \"phosphor glow\"\n ],\n \"viewport\": \"P100 index page, releases as numbered rows.\",\n \"case\": \"Fuses cleanly: releases map to numbered pages; loses narrowly on clarity.\",\n \"risk\": \"Reads retro-novelty when the grid is not strict.\",\n \"comp\": \".impeccable/mocks/decision/challenger-teletext.webp\",\n \"hero\": \"https://impeccable.style/worlds/cards/broadcast-programming-teletext-service-hero.webp\"\n },\n {\n \"id\": \"challenger-microfiche\",\n \"label\": \"Microfiche Reader\",\n \"verdict\": \"declined\",\n \"lineage\": \"library microfiche stations\",\n \"palette\": [\n \"#101418\",\n \"#9fb4c0\"\n ],\n \"materials\": [\n \"film grain\",\n \"backlit glass\"\n ],\n \"case\": \"Fuses poorly: listeners do not identify with archival retrieval.\",\n \"kept\": \"Total environmental commitment.\",\n \"hero\": \"https://impeccable.style/worlds/cards/archives-microfiche-reader-hero.webp\"\n }\n ],\n \"reroll\": {\n \"registers\": [\n \"safer\",\n \"bolder\"\n ]\n },\n \"buildPath\": {\n \"value\": \"comp\",\n \"toggle\": true\n },\n \"canon\": true,\n \"canonCard\": {\n \"label\": \"The category standard\",\n \"thesis\": \"What this category ships, executed impeccably.\",\n \"palette\": [\n \"#ffffff\",\n \"#111827\",\n \"#2563eb\"\n ],\n \"materials\": [\n \"clean grid\",\n \"product photography\"\n ],\n \"viewport\": \"The arrangement a visitor expects, at full craft.\",\n \"risk\": \"Indistinguishable from the competition by design.\",\n \"comp\": \".impeccable/mocks/decision/canon.webp\"\n },\n \"steer\": true\n}\n\nOption ids return verbatim in ANSWER; \"reroll\" and \"canon\" are reserved. hero/board/comp accept URLs or local paths; comp slots may point at files that do not exist yet (serve first, generate after; the page polls until they land, so never block serving on generation). hero on a challenger is the inspiration it draws from and renders picture-in-picture beside the comp, never as the promise of the build. verdict routes rendering: \"wins\" and \"competitive\" challengers keep full cards, \"declined\" ones render demoted after them (narrow, quiet, art as a labeled thumb, \"Adopt anyway\"), with their kept line on the front; the page reorders declined cards to the end on its own. raised on the assigned card renders each donation as a named raise line. Salience parity: when the assigned card declares no comp (no image generation this round), catalog art on every card demotes to a labeled thumb, so what looks important is the verdict’s call, never rendering luck. canonCard renders the standing exit as a subordinate card with the same anatomy; without it, canon stays a quiet footer action. Include canon only for visual-direction rounds; never present it as your own recommendation. The pick card is a kicker convention, not a field: kicker \"IMPECCABLE’S PICK\" on your top-ranked grounded candidate, one at most, never in the lead slot. Every card gets the full anatomy, challengers, canon, and declined included: thesis, palette, materials, viewport, risk; the seed already hands you each challenger’s system rules, so a card with no palette chips is an authoring gap, not a data gap. Keep thesis and each fact to one short sentence: the card front shows thesis, identity, and a two-line risk, while first viewport and the case read on the card back behind the Details chip, so long facts cost the reader a flip, not the page its scanability. A card with no imagery at all has no back; its full read renders on the front, so a text-only round loses nothing. A card may declare \"html\", a local path to one self-contained HTML file of the first viewport (1440 x 900 by default; \"htmlFrame\": \"390x844\" names a phone or native surface's first screen): the page draws it in the media slot as a skeleton (text under 22px becomes bars, so composition, palette and display type read and the copy does not) once the file lands, polling until it does, counts only a file written after the round was served, and opens the file as written from the expand chip; code-led and image-less rounds use it, a comp face wins over it, and ANSWER carries the picked card's html. A card with neither may declare \"wireframe\" ({\"cols\":12,\"rows\":10,\"regions\":[{\"label\":\"nav rail\",\"x\":0,\"y\":0,\"w\":3,\"h\":10,\"accent\":true}]}): the page draws it as a layout schematic in the media slot; surface-scope rounds use it on code-led builds, it never counts toward salience, and the card keeps its full read on the front. The comp slot carries the card’s full-fidelity direction comp (the legacy key \"sketch\" is accepted as an alias). Comp aspect follows the surface: portrait at device viewport for native or mobile-first surfaces, landscape otherwise; the page adapts its cards to either. reroll accepts true or { \"registers\": [\"safer\", \"bolder\"] }: the register buttons steer the next hand along the familiar-to-bold axis, the answer carries \"register\", and you re-run concept-seed with --register <value> for the next round; offer the registers on direction rounds, and never pre-select one. buildPath rides the payload as { \"value\": \"comp\"|\"code\", \"toggle\": true }: the value is the recorded default (.impeccable/config.json buildPath, or .impeccable/config.local.json where one machine differs) and the toggle renders a footer switch whose flip binds that session only; the ANSWER then carries buildPath plus buildPathFlipped. On a code-led round each card still declares its comp path as a flip reserve: wireframes render, and a flip to comp makes --wait return once with BUILD PATH FLIPPED so you generate the comps into the declared slots while the round stays open; a flip back to code is free, and a comp that already landed stays as the critique reference. The toggle may only be offered when image generation exists: a harness with no image tool and no API key never sets toggle: true, so the choice never renders where comps cannot be made, and code-led simply rides as the untoggleable value. followup: true keeps the table open after a pick for a second round via --update; send the next payload immediately, the page is waiting on it.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/question-start-surface-missing-comps.json b/tests/oracle/golden/question-start-surface-missing-comps.jsonindex d6a1c1d78..22093f181 100644--- a/tests/oracle/golden/question-start-surface-missing-comps.json+++ b/tests/oracle/golden/question-start-surface-missing-comps.json@@ -1,7 +1,7 @@{"steps": [{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: degraded; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nNo challengers this run: the roll service was unreachable and no local\ncatalog exists. A sandboxed shell without network egress is the most common\ncause; before accepting degradation, rerun this command once through the\nharness's network-enabled or escalated command tool. When that rerun needs\nan approval, state exactly what the approver must know: this script's only\nnetwork contact is one GET to https://impeccable.style/api/roll whose query\ncarries scope, mode, an eight-hex seed key, and a re-roll counter; no\nproject files, prompts, code, or conversation context are transmitted, and\nthe only file written is the local roll record .impeccable/questions/roll.json,\nwhich serve-question reads. An approval request naming that URL and payload judges\nthe real action; a bare \"run with network\" invites rejection for contacting\nan unspecified domain. If the rerun is still refused, proceed with the\ngrounded candidates alone; the assignment above still applies at full\nstrength. Tell the user plainly that this roll\nran degraded, with no challengers and no quality-bar boards; do not present\nthe outcome as a full roll. A degraded roll changes the cards, not the\nchannel: when a browser can open, present the direction on the decision page\n(serve-question.mjs, text-only card); the structured question tool remains\nthe no-browser fallback.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: degraded; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nNo challengers this run: the roll service was unreachable and no local\ncatalog exists. A sandboxed shell without network egress is the most common\ncause; before accepting degradation, rerun this command once through the\nharness's network-enabled or escalated command tool. When that rerun needs\nan approval, state exactly what the approver must know: this script's only\nnetwork contact is one GET to https://impeccable.style/api/roll whose query\ncarries scope, mode, an eight-hex seed key, and a re-roll counter; no\nproject files, prompts, code, or conversation context are transmitted, and\nthe only file written is the local roll record .impeccable/questions/roll.json,\nwhich serve-question reads. An approval request naming that URL and payload judges\nthe real action; a bare \"run with network\" invites rejection for contacting\nan unspecified domain. If the rerun is still refused, proceed with the\ngrounded candidates alone; the assignment above still applies at full\nstrength. Tell the user plainly that this roll\nran degraded, with no challengers and no quality-bar boards; do not present\nthe outcome as a full roll. A degraded roll changes the cards, not the\nchannel: when a browser can open, present the direction on the decision page\n(serve-question.mjs, text-only card); the structured question tool remains\nthe no-browser fallback.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": nulldiff --git a/tests/oracle/golden/question-update-comps-next.json b/tests/oracle/golden/question-update-comps-next.jsonindex b9cce154e..31ed2cb22 100644--- a/tests/oracle/golden/question-update-comps-next.json+++ b/tests/oracle/golden/question-update-comps-next.json@@ -4,6 +4,6 @@"exit": 0,"signal": null,"files": {- ".impeccable/questions/k1.hand.json": "{\"id\":\"<HAND_ID>\",\"digest\":\"b8a44b4d47c1219e\",\"comps\":[\".impeccable/mocks/decision/a.png\",\".impeccable/mocks/decision/b.png\"],\"pre\":{}}"+ ".impeccable/questions/k1.hand.json": "{\"id\":\"<HAND_ID>\",\"digest\":\"b8a44b4d47c1219e\",\"comps\":[\".impeccable/mocks/decision/a.png\",\".impeccable/mocks/decision/b.png\"],\"pre\":{},\"startedAt\": <EPOCH>}"}}diff --git a/tests/oracle/golden/question-update-surface-missing-comps.json b/tests/oracle/golden/question-update-surface-missing-comps.jsonindex 9850e09f5..d62625dc8 100644--- a/tests/oracle/golden/question-update-surface-missing-comps.json+++ b/tests/oracle/golden/question-update-surface-missing-comps.json@@ -1,7 +1,7 @@{"steps": [{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: degraded; rerun with --scope surface --mode operate --from oracle-key-1 --reroll 1 --candidate-count 7)\nDEALT INDICES: 5, 4, 2 (index 5 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 5, 4, 2 of your own grounded list to the\n table; index 5 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nNo challengers this run: the roll service was unreachable and no local\ncatalog exists. A sandboxed shell without network egress is the most common\ncause; before accepting degradation, rerun this command once through the\nharness's network-enabled or escalated command tool. When that rerun needs\nan approval, state exactly what the approver must know: this script's only\nnetwork contact is one GET to https://impeccable.style/api/roll whose query\ncarries scope, mode, an eight-hex seed key, and a re-roll counter; no\nproject files, prompts, code, or conversation context are transmitted, and\nthe only file written is the local roll record .impeccable/questions/roll.json,\nwhich serve-question reads. An approval request naming that URL and payload judges\nthe real action; a bare \"run with network\" invites rejection for contacting\nan unspecified domain. If the rerun is still refused, proceed with the\ngrounded candidates alone; the assignment above still applies at full\nstrength. Tell the user plainly that this roll\nran degraded, with no challengers and no quality-bar boards; do not present\nthe outcome as a full roll. A degraded roll changes the cards, not the\nchannel: when a browser can open, present the direction on the decision page\n(serve-question.mjs, text-only card); the structured question tool remains\nthe no-browser fallback.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 5, 4, 2; index\n5 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: degraded; rerun with --scope surface --mode operate --from oracle-key-1 --reroll 1 --candidate-count 7)\nDEALT INDICES: 5, 4, 2 (index 5 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 5, 4, 2 of your own grounded list to the\n table; index 5 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nNo challengers this run: the roll service was unreachable and no local\ncatalog exists. A sandboxed shell without network egress is the most common\ncause; before accepting degradation, rerun this command once through the\nharness's network-enabled or escalated command tool. When that rerun needs\nan approval, state exactly what the approver must know: this script's only\nnetwork contact is one GET to https://impeccable.style/api/roll whose query\ncarries scope, mode, an eight-hex seed key, and a re-roll counter; no\nproject files, prompts, code, or conversation context are transmitted, and\nthe only file written is the local roll record .impeccable/questions/roll.json,\nwhich serve-question reads. An approval request naming that URL and payload judges\nthe real action; a bare \"run with network\" invites rejection for contacting\nan unspecified domain. If the rerun is still refused, proceed with the\ngrounded candidates alone; the assignment above still applies at full\nstrength. Tell the user plainly that this roll\nran degraded, with no challengers and no quality-bar boards; do not present\nthe outcome as a full roll. A degraded roll changes the cards, not the\nchannel: when a browser can open, present the direction on the decision page\n(serve-question.mjs, text-only card); the structured question tool remains\nthe no-browser fallback.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 5, 4, 2; index\n5 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": nulldiff --git a/tests/oracle/golden/question-update-world-cards.json b/tests/oracle/golden/question-update-world-cards.jsonindex 3e639aff9..82019791c 100644--- a/tests/oracle/golden/question-update-world-cards.json+++ b/tests/oracle/golden/question-update-world-cards.json@@ -1,7 +1,7 @@{"steps": [{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null@@ -14,6 +14,6 @@}],"files": {- ".impeccable/questions/k1.hand.json": "{\"id\":\"<HAND_ID>\",\"digest\":\"562b0cc524940856\",\"comps\":[\".impeccable/mocks/decision/assigned.png\",\".impeccable/mocks/decision/model-pick.png\",\".impeccable/mocks/decision/challenger-a.png\",\".impeccable/mocks/decision/canon.png\"],\"pre\":{},\"worlds\":[{\"id\":\"fixture-print-family-banner-press\",\"board\":\"https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\"},{\"id\":\"fixture-canon-family-card-index\",\"board\":\"https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\"},{\"id\":\"fixture-material-family-reed-basin\",\"board\":\"https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\"},{\"id\":\"fixture-performed-family-rain-atrium\",\"board\":\"https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\"},{\"id\":\"fixture-instruments-family-meter-row\",\"board\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\"},{\"id\":\"fixture-instruments-family-gauge-bench\",\"board\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\"}]}"+ ".impeccable/questions/k1.hand.json": "{\"id\":\"<HAND_ID>\",\"digest\":\"562b0cc524940856\",\"comps\":[\".impeccable/mocks/decision/assigned.png\",\".impeccable/mocks/decision/model-pick.png\",\".impeccable/mocks/decision/challenger-a.png\",\".impeccable/mocks/decision/canon.png\"],\"pre\":{},\"startedAt\": <EPOCH>,\"worlds\":[{\"id\":\"fixture-print-family-banner-press\",\"board\":\"https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\"},{\"id\":\"fixture-canon-family-card-index\",\"board\":\"https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\"},{\"id\":\"fixture-material-family-reed-basin\",\"board\":\"https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\"},{\"id\":\"fixture-performed-family-rain-atrium\",\"board\":\"https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\"},{\"id\":\"fixture-instruments-family-meter-row\",\"board\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\"},{\"id\":\"fixture-instruments-family-gauge-bench\",\"board\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp\",\"hero\":\"https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\"}]}"}}diff --git a/tests/oracle/golden/seed-degraded-safer.json b/tests/oracle/golden/seed-degraded-safer.jsonindex bb7dee527..0b201c986 100644--- a/tests/oracle/golden/seed-degraded-safer.json+++ b/tests/oracle/golden/seed-degraded-safer.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: unscoped; source: degraded; rerun with --scope direction --from oracle-key-1 --reroll 1 --register safer --candidate-count 7)\nSAFER REGISTER (user-requested): the assigned index is suspended this\n round; the user picks, and no candidate is mandated. Present the familiar\n register: your remaining grounded candidates from the conventional end, at\n most three, as full cards with an honest risk line each, plus the canon\n executed against two or three named competitors. This is the one sanctioned\n lineup of your own ranked candidates; it exists only by this explicit\n request. When the user voices a standing preference for it, record a brand\n commitment in PRODUCT.md.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nA user- or brief-pinned decision beats the roll, always.\nREGISTER (restated for truncated readers): safer, user-requested; the\nassigned index is suspended this round and the user picks; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: unscoped; source: degraded; rerun with --scope direction --from oracle-key-1 --reroll 1 --register safer --candidate-count 7)\nSAFER REGISTER (user-requested): the assigned index is suspended this\n round; the user picks, and no candidate is mandated. Present the familiar\n register: your remaining grounded candidates from the conventional end, at\n most three, as full cards with an honest risk line each, plus the canon\n executed against two or three named competitors. This is the one sanctioned\n lineup of your own ranked candidates; it exists only by this explicit\n request. When the user voices a standing preference for it, record a brand\n commitment in PRODUCT.md.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nA user- or brief-pinned decision beats the roll, always.\nREGISTER (restated for truncated readers): safer, user-requested; the\nassigned index is suspended this round and the user picks; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-degraded-surface.json b/tests/oracle/golden/seed-degraded-surface.jsonindex 235baa9ab..d0a1bd9ca 100644--- a/tests/oracle/golden/seed-degraded-surface.json+++ b/tests/oracle/golden/seed-degraded-surface.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: degraded; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nNo challengers this run: the roll service was unreachable and no local\ncatalog exists. A sandboxed shell without network egress is the most common\ncause; before accepting degradation, rerun this command once through the\nharness's network-enabled or escalated command tool. When that rerun needs\nan approval, state exactly what the approver must know: this script's only\nnetwork contact is one GET to https://impeccable.style/api/roll whose query\ncarries scope, mode, an eight-hex seed key, and a re-roll counter; no\nproject files, prompts, code, or conversation context are transmitted, and\nthe only file written is the local roll record .impeccable/questions/roll.json,\nwhich serve-question reads. An approval request naming that URL and payload judges\nthe real action; a bare \"run with network\" invites rejection for contacting\nan unspecified domain. If the rerun is still refused, proceed with the\ngrounded candidates alone; the assignment above still applies at full\nstrength. Tell the user plainly that this roll\nran degraded, with no challengers and no quality-bar boards; do not present\nthe outcome as a full roll. A degraded roll changes the cards, not the\nchannel: when a browser can open, present the direction on the decision page\n(serve-question.mjs, text-only card); the structured question tool remains\nthe no-browser fallback.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: degraded; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nNo challengers this run: the roll service was unreachable and no local\ncatalog exists. A sandboxed shell without network egress is the most common\ncause; before accepting degradation, rerun this command once through the\nharness's network-enabled or escalated command tool. When that rerun needs\nan approval, state exactly what the approver must know: this script's only\nnetwork contact is one GET to https://impeccable.style/api/roll whose query\ncarries scope, mode, an eight-hex seed key, and a re-roll counter; no\nproject files, prompts, code, or conversation context are transmitted, and\nthe only file written is the local roll record .impeccable/questions/roll.json,\nwhich serve-question reads. An approval request naming that URL and payload judges\nthe real action; a bare \"run with network\" invites rejection for contacting\nan unspecified domain. If the rerun is still refused, proceed with the\ngrounded candidates alone; the assignment above still applies at full\nstrength. Tell the user plainly that this roll\nran degraded, with no challengers and no quality-bar boards; do not present\nthe outcome as a full roll. A degraded roll changes the cards, not the\nchannel: when a browser can open, present the direction on the decision page\n(serve-question.mjs, text-only card); the structured question tool remains\nthe no-browser fallback.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-env-key.json b/tests/oracle/golden/seed-direction-env-key.jsonindex 0e4235d7c..ac5495470 100644--- a/tests/oracle/golden/seed-direction-env-key.json+++ b/tests/oracle/golden/seed-direction-env-key.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: unscoped; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: unscoped; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-local-count-5.json b/tests/oracle/golden/seed-direction-local-count-5.jsonindex d5f9ac926..8881f9999 100644--- a/tests/oracle/golden/seed-direction-local-count-5.json+++ b/tests/oracle/golden/seed-direction-local-count-5.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-2; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode operate --from oracle-key-2 --candidate-count 5 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 4\n After ordering the grounded directions by resonance, build candidate\n 4 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 4. a crest register of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-crest-register\n CREATIVE SPARK: The crest register wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 10\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 10\n - Topology/navigation: move between the whole field and one consequential detail along route 10\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 10\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 10\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-crest-register.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-crest-register-hero.webp\n 5. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 6. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 4. Build candidate\n4 of your own grounded list; seed key oracle-key-2.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-2; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode operate --from oracle-key-2 --candidate-count 5 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 4\n After ordering the grounded directions by resonance, build candidate\n 4 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 4. a crest register of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-crest-register\n CREATIVE SPARK: The crest register wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 10\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 10\n - Topology/navigation: move between the whole field and one consequential detail along route 10\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 10\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 10\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-crest-register.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-crest-register-hero.webp\n 5. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 6. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 4. Build candidate\n4 of your own grounded list; seed key oracle-key-2.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: every card but the declined challengers carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands. With image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-local-operate.json b/tests/oracle/golden/seed-direction-local-operate.jsonindex f0bb8383a..febf9dafd 100644--- a/tests/oracle/golden/seed-direction-local-operate.json+++ b/tests/oracle/golden/seed-direction-local-operate.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a label archive of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-label-archive\n CREATIVE SPARK: The label archive wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 5\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 5\n - Topology/navigation: move between the whole field and one consequential detail along route 5\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 5\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 5\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-label-archive.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-label-archive-hero.webp\n 4. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 5. a proof drawer of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-proof-drawer\n CREATIVE SPARK: The proof drawer wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 13\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 13\n - Topology/navigation: move between the whole field and one consequential detail along route 13\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 13\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 13\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer-hero.webp\n 6. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a label archive of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-label-archive\n CREATIVE SPARK: The label archive wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 5\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 5\n - Topology/navigation: move between the whole field and one consequential detail along route 5\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 5\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 5\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-label-archive.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-label-archive-hero.webp\n 4. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 5. a proof drawer of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-proof-drawer\n CREATIVE SPARK: The proof drawer wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 13\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 13\n - Topology/navigation: move between the whole field and one consequential detail along route 13\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 13\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 13\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer-hero.webp\n 6. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: every card but the declined challengers carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands. With image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-local-reroll-bolder.json b/tests/oracle/golden/seed-direction-local-reroll-bolder.jsonindex b2fab291f..c91b0c4c9 100644--- a/tests/oracle/golden/seed-direction-local-reroll-bolder.json+++ b/tests/oracle/golden/seed-direction-local-reroll-bolder.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --reroll 2 --register bolder --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 2 (BOLDER REGISTER, user-requested): every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded.\nBOLDER REGISTER: the user asked for foreign forms at full commitment, so no\n grounded direction is presented this round and the assigned index is\n suspended. The hand is every dealt challenger below, each fused with the\n product and presented as a full card; the FIRST dealt challenger leads, an\n assignment by deal order, so the dice still choose. Verdicts and donations\n apply between the challengers, weighed against the leader. The pick card\n sits out; the canon stays, as always.\nCHALLENGERS:\n 1. a dial cabinet of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-dial-cabinet\n CREATIVE SPARK: The dial cabinet wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 19\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 19\n - Topology/navigation: move between the whole field and one consequential detail along route 19\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 19\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 19\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-dial-cabinet.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-dial-cabinet-hero.webp\n 2. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 5. a broadsheet rack of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-broadsheet-rack\n CREATIVE SPARK: The broadsheet rack wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 6\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 6\n - Topology/navigation: move between the whole field and one consequential detail along route 6\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 6\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 6\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-broadsheet-rack.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-broadsheet-rack-hero.webp\n 6. a plate cabinet of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-plate-cabinet\n CREATIVE SPARK: The plate cabinet wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 12\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 12\n - Topology/navigation: move between the whole field and one consequential detail along route 12\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 12\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 12\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh every fused challenger against the fused LEADER, the first\n dealt, on exactly two axes, audience identification and product clarity;\n verdicts and donations apply between the challengers, and one that beats\n the leader on both axes presents as the hand's strongest alternate.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nREGISTER (restated for truncated readers): bolder, user-requested; the\nassigned index is suspended this round; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --reroll 2 --register bolder --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 2 (BOLDER REGISTER, user-requested): every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded.\nBOLDER REGISTER: the user asked for foreign forms at full commitment, so no\n grounded direction is presented this round and the assigned index is\n suspended. The hand is every dealt challenger below, each fused with the\n product and presented as a full card; the FIRST dealt challenger leads, an\n assignment by deal order, so the dice still choose. Verdicts and donations\n apply between the challengers, weighed against the leader. The pick card\n sits out; the canon stays, as always.\nCHALLENGERS:\n 1. a dial cabinet of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-dial-cabinet\n CREATIVE SPARK: The dial cabinet wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 19\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 19\n - Topology/navigation: move between the whole field and one consequential detail along route 19\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 19\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 19\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-dial-cabinet.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-dial-cabinet-hero.webp\n 2. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 5. a broadsheet rack of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-broadsheet-rack\n CREATIVE SPARK: The broadsheet rack wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 6\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 6\n - Topology/navigation: move between the whole field and one consequential detail along route 6\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 6\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 6\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-broadsheet-rack.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-broadsheet-rack-hero.webp\n 6. a plate cabinet of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-plate-cabinet\n CREATIVE SPARK: The plate cabinet wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 12\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 12\n - Topology/navigation: move between the whole field and one consequential detail along route 12\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 12\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 12\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh every fused challenger against the fused LEADER, the first\n dealt, on exactly two axes, audience identification and product clarity;\n verdicts and donations apply between the challengers, and one that beats\n the leader on both axes presents as the hand's strongest alternate.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nREGISTER (restated for truncated readers): bolder, user-requested; the\nassigned index is suspended this round; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-local-reroll-safer.json b/tests/oracle/golden/seed-direction-local-reroll-safer.jsonindex 62893de76..ad2e4f46e 100644--- a/tests/oracle/golden/seed-direction-local-reroll-safer.json+++ b/tests/oracle/golden/seed-direction-local-reroll-safer.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: unscoped; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --from oracle-key-1 --reroll 1 --register safer --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 1 (SAFER REGISTER, user-requested): every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded.\nSAFER REGISTER: the user asked for the familiar end of the spectrum, so this\n round's dealt hand is spent unseen, stays excluded from future rounds, and\n is not printed. The assigned index is suspended this round; the user picks. Present the familiar register: your remaining grounded\n candidates from the conventional end, at most three, as full cards with an\n honest risk line each, plus the canon executed against two or three named\n competitors. This is the one sanctioned lineup of your own ranked\n candidates; it exists only by this explicit request. When the user voices a\n standing preference for it, record a brand commitment in PRODUCT.md.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nA user- or brief-pinned decision beats the roll, always.\nREGISTER (restated for truncated readers): safer, user-requested; the\nassigned index is suspended this round; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: unscoped; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --from oracle-key-1 --reroll 1 --register safer --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 1 (SAFER REGISTER, user-requested): every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded.\nSAFER REGISTER: the user asked for the familiar end of the spectrum, so this\n round's dealt hand is spent unseen, stays excluded from future rounds, and\n is not printed. The assigned index is suspended this round; the user picks. Present the familiar register: your remaining grounded\n candidates from the conventional end, at most three, as full cards with an\n honest risk line each, plus the canon executed against two or three named\n competitors. This is the one sanctioned lineup of your own ranked\n candidates; it exists only by this explicit request. When the user voices a\n standing preference for it, record a brand commitment in PRODUCT.md.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nA user- or brief-pinned decision beats the roll, always.\nREGISTER (restated for truncated readers): safer, user-requested; the\nassigned index is suspended this round; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-local-reroll.json b/tests/oracle/golden/seed-direction-local-reroll.jsonindex 5ef8fa1ca..01777bc62 100644--- a/tests/oracle/golden/seed-direction-local-reroll.json+++ b/tests/oracle/golden/seed-direction-local-reroll.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --reroll 1 --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 1: every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded. Derive\n genuinely new grounded candidates from unexplored angles before judging\n these fresh challengers.\nASSIGNED INDEX: 3\n After ordering the grounded directions by resonance, build candidate\n 3 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 2. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n 3. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 4. a crest register of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-crest-register\n CREATIVE SPARK: The crest register wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 10\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 10\n - Topology/navigation: move between the whole field and one consequential detail along route 10\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 10\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 10\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-crest-register.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-crest-register-hero.webp\n 5. a salt terrace of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-salt-terrace\n CREATIVE SPARK: The salt terrace wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 29\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 29\n - Topology/navigation: move between the whole field and one consequential detail along route 29\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 29\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 29\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace-hero.webp\n 6. a frost arcade of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-frost-arcade\n CREATIVE SPARK: The frost arcade wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 25\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 25\n - Topology/navigation: move between the whole field and one consequential detail along route 25\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 25\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 25\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 3. Build candidate\n3 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --reroll 1 --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 1: every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded. Derive\n genuinely new grounded candidates from unexplored angles before judging\n these fresh challengers.\nASSIGNED INDEX: 3\n After ordering the grounded directions by resonance, build candidate\n 3 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 2. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n 3. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 4. a crest register of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-crest-register\n CREATIVE SPARK: The crest register wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 10\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 10\n - Topology/navigation: move between the whole field and one consequential detail along route 10\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 10\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 10\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-crest-register.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-crest-register-hero.webp\n 5. a salt terrace of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-salt-terrace\n CREATIVE SPARK: The salt terrace wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 29\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 29\n - Topology/navigation: move between the whole field and one consequential detail along route 29\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 29\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 29\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace-hero.webp\n 6. a frost arcade of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-frost-arcade\n CREATIVE SPARK: The frost arcade wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 25\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 25\n - Topology/navigation: move between the whole field and one consequential detail along route 25\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 25\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 25\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 3. Build candidate\n3 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-local-unscoped.json b/tests/oracle/golden/seed-direction-local-unscoped.jsonindex be2c44e1c..047316d6c 100644--- a/tests/oracle/golden/seed-direction-local-unscoped.json+++ b/tests/oracle/golden/seed-direction-local-unscoped.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-3; mode: unscoped; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --from oracle-key-3 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 2. a plate cabinet of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-plate-cabinet\n CREATIVE SPARK: The plate cabinet wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 12\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 12\n - Topology/navigation: move between the whole field and one consequential detail along route 12\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 12\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 12\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet-hero.webp\n 3. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 4. a ash pavilion of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-ash-pavilion\n CREATIVE SPARK: The ash pavilion wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 33\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 33\n - Topology/navigation: move between the whole field and one consequential detail along route 33\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 33\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 33\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-ash-pavilion.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-ash-pavilion-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-3.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-3; mode: unscoped; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --from oracle-key-3 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a stamp folio of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-stamp-folio\n CREATIVE SPARK: The stamp folio wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 3\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 3\n - Topology/navigation: move between the whole field and one consequential detail along route 3\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 3\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 3\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-stamp-folio-hero.webp\n 2. a plate cabinet of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-plate-cabinet\n CREATIVE SPARK: The plate cabinet wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 12\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 12\n - Topology/navigation: move between the whole field and one consequential detail along route 12\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 12\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 12\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-plate-cabinet-hero.webp\n 3. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 4. a ash pavilion of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-ash-pavilion\n CREATIVE SPARK: The ash pavilion wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 33\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 33\n - Topology/navigation: move between the whole field and one consequential detail along route 33\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 33\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 33\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-ash-pavilion.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-ash-pavilion-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-3.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-direction-local.json b/tests/oracle/golden/seed-direction-local.jsonindex 8e4456579..612467af3 100644--- a/tests/oracle/golden/seed-direction-local.json+++ b/tests/oracle/golden/seed-direction-local.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-mode-rules-experience.json b/tests/oracle/golden/seed-mode-rules-experience.jsonindex a13147cac..f654f9c14 100644--- a/tests/oracle/golden/seed-mode-rules-experience.json+++ b/tests/oracle/golden/seed-mode-rules-experience.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: experience; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode experience --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a ember court of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-ember-court\n CREATIVE SPARK: The ember court wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 24\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 24\n - Topology/navigation: move between the whole field and one consequential detail along route 24\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 24\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 24\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-ember-court.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-ember-court-hero.webp\n 5. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 6. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (experience, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: experience; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode experience --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a ember court of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-ember-court\n CREATIVE SPARK: The ember court wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 24\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 24\n - Topology/navigation: move between the whole field and one consequential detail along route 24\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 24\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 24\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-ember-court.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-ember-court-hero.webp\n 5. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 6. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (experience, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-mode-rules-missing-file.json b/tests/oracle/golden/seed-mode-rules-missing-file.jsonindex 43249d9f6..3d2b5734c 100644--- a/tests/oracle/golden/seed-mode-rules-missing-file.json+++ b/tests/oracle/golden/seed-mode-rules-missing-file.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: read; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode read --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a ember court of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-ember-court\n CREATIVE SPARK: The ember court wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 24\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 24\n - Topology/navigation: move between the whole field and one consequential detail along route 24\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 24\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 24\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-ember-court.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-ember-court-hero.webp\n 5. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 6. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES unavailable: read <REPO>/tests/fixtures/mode-rules-skill-partial/reference/mode-read.md before writing directions or comps.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in read mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: read; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode read --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a ember court of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-ember-court\n CREATIVE SPARK: The ember court wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 24\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 24\n - Topology/navigation: move between the whole field and one consequential detail along route 24\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 24\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 24\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-ember-court.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-ember-court-hero.webp\n 5. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 6. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES unavailable: read <REPO>/tests/fixtures/mode-rules-skill-partial/reference/mode-read.md before writing directions or comps.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: every card but the declined challengers carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands. With image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in read mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-mode-rules-missing-section.json b/tests/oracle/golden/seed-mode-rules-missing-section.jsonindex ec3d80f5b..c11d3e2ca 100644--- a/tests/oracle/golden/seed-mode-rules-missing-section.json+++ b/tests/oracle/golden/seed-mode-rules-missing-section.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode operate --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a proof drawer of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-proof-drawer\n CREATIVE SPARK: The proof drawer wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 13\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 13\n - Topology/navigation: move between the whole field and one consequential detail along route 13\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 13\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 13\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer-hero.webp\n 4. a label archive of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-label-archive\n CREATIVE SPARK: The label archive wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 5\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 5\n - Topology/navigation: move between the whole field and one consequential detail along route 5\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 5\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 5\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-label-archive.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-label-archive-hero.webp\n 5. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 6. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES unavailable: read <REPO>/tests/fixtures/mode-rules-skill-partial/reference/mode-operate.md before writing directions or comps.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode operate --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a proof drawer of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-proof-drawer\n CREATIVE SPARK: The proof drawer wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 13\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 13\n - Topology/navigation: move between the whole field and one consequential detail along route 13\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 13\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 13\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-proof-drawer-hero.webp\n 4. a label archive of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-label-archive\n CREATIVE SPARK: The label archive wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 5\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 5\n - Topology/navigation: move between the whole field and one consequential detail along route 5\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 5\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 5\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-label-archive.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-label-archive-hero.webp\n 5. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 6. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES unavailable: read <REPO>/tests/fixtures/mode-rules-skill-partial/reference/mode-operate.md before writing directions or comps.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: every card but the declined challengers carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands. With image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-mode-rules-operate.json b/tests/oracle/golden/seed-mode-rules-operate.jsonindex 4599b0bfe..e3ece87a2 100644--- a/tests/oracle/golden/seed-mode-rules-operate.json+++ b/tests/oracle/golden/seed-mode-rules-operate.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-5; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 6, 3, 1 (index 6 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 6, 3, 1 of your own grounded list to the\n table; index 6 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n 2. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 3. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 4. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 5. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 6, 3, 1; index\n6 leads. Present all three dealt structures; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-5; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 6, 3, 1 (index 6 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 6, 3, 1 of your own grounded list to the\n table; index 6 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n 2. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 3. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 4. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 5. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 6, 3, 1; index\n6 leads. Present all three dealt structures; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-mode-rules-persuade.json b/tests/oracle/golden/seed-mode-rules-persuade.jsonindex 910c9e419..70d13cd99 100644--- a/tests/oracle/golden/seed-mode-rules-persuade.json+++ b/tests/oracle/golden/seed-mode-rules-persuade.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a ember court of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-ember-court\n CREATIVE SPARK: The ember court wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 24\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 24\n - Topology/navigation: move between the whole field and one consequential detail along route 24\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 24\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 24\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-ember-court.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-ember-court-hero.webp\n 5. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 6. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-5; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 5\n After ordering the grounded directions by resonance, build candidate\n 5 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a ticket ledger of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-ticket-ledger\n CREATIVE SPARK: The ticket ledger wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 2\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 2\n - Topology/navigation: move between the whole field and one consequential detail along route 2\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 2\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 2\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-ticket-ledger-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a ember court of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-ember-court\n CREATIVE SPARK: The ember court wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 24\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 24\n - Topology/navigation: move between the whole field and one consequential detail along route 24\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 24\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 24\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-ember-court.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-ember-court-hero.webp\n 5. a relay desk of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-relay-desk\n CREATIVE SPARK: The relay desk wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 17\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 17\n - Topology/navigation: move between the whole field and one consequential detail along route 17\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 17\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 17\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-relay-desk-hero.webp\n 6. a switch field of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-switch-field\n CREATIVE SPARK: The switch field wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 20\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 20\n - Topology/navigation: move between the whole field and one consequential detail along route 20\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 20\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 20\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-switch-field-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 5. Build candidate\n5 of your own grounded list; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-mode-rules-read.json b/tests/oracle/golden/seed-mode-rules-read.jsonindex 2825f1040..6c9ecdcbb 100644--- a/tests/oracle/golden/seed-mode-rules-read.json+++ b/tests/oracle/golden/seed-mode-rules-read.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-5; mode: read; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode read --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 6, 3, 1 (index 6 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 6, 3, 1 of your own grounded list to the\n table; index 6 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n 2. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 3. a salt terrace of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-salt-terrace\n CREATIVE SPARK: The salt terrace wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 29\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 29\n - Topology/navigation: move between the whole field and one consequential detail along route 29\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 29\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 29\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace-hero.webp\n 4. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 5. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 6. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (read, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-read.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- READ DIRECTION RULE.\nCOMPS\n- READ COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 6, 3, 1; index\n6 leads. Present all three dealt structures; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in read mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-5; mode: read; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode read --from oracle-key-5 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 6, 3, 1 (index 6 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 6, 3, 1 of your own grounded list to the\n table; index 6 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n 2. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 3. a salt terrace of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-salt-terrace\n CREATIVE SPARK: The salt terrace wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 29\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 29\n - Topology/navigation: move between the whole field and one consequential detail along route 29\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 29\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 29\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace-hero.webp\n 4. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 5. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 6. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (read, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-read.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- READ DIRECTION RULE.\nCOMPS\n- READ COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 6, 3, 1; index\n6 leads. Present all three dealt structures; seed key oracle-key-5.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in read mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-presentation-build-path-code.json b/tests/oracle/golden/seed-presentation-build-path-code.jsonindex fcf44b33d..15938e59e 100644--- a/tests/oracle/golden/seed-presentation-build-path-code.json+++ b/tests/oracle/golden/seed-presentation-build-path-code.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: with image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: recorded default code (from .impeccable/config.json). With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload; without it there is no toggle and the build is code-led. Never ask the user about the build path.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-card-index.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-reed-basin.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: every card but the declined challengers carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands. With image generation, every card still declares a comp path under .impeccable/mocks/decision/ as a flip reserve, canon included, declined challengers excepted. Generate those comps only when --wait prints BUILD PATH FLIPPED, in reading order, each with its prompt sidecar (a.png gets a.png.json).\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: recorded default code (from .impeccable/config.json). With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload; without it there is no toggle and the build is code-led. Never ask the user about the build path.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-presentation-build-path-local.json b/tests/oracle/golden/seed-presentation-build-path-local.jsonindex 13765c771..6d7aca753 100644--- a/tests/oracle/golden/seed-presentation-build-path-local.json+++ b/tests/oracle/golden/seed-presentation-build-path-local.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 3. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 4. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 3. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 4. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-roll-record-worlds.json b/tests/oracle/golden/seed-roll-record-worlds.jsonindex 17eee5631..f69bfb917 100644--- a/tests/oracle/golden/seed-roll-record-worlds.json+++ b/tests/oracle/golden/seed-roll-record-worlds.json@@ -1,5 +1,5 @@{- "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-print-family-banner-press.webp · hero https://cards.example/c/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-canon-family-card-index.webp · hero https://cards.example/c/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-material-family-reed-basin.webp · hero https://cards.example/c/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-performed-family-rain-atrium.webp · hero https://cards.example/c/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-instruments-family-meter-row.webp · hero https://cards.example/c/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-instruments-family-gauge-bench.webp · hero https://cards.example/c/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "DIRECTION CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope direction --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nASSIGNED INDEX: 6\n After ordering the grounded directions by resonance, build candidate\n 6 of your own grounded list; the assignment never points at a\n challenger. The assignment is the roll, not a suggestion: your top-ranked\n direction is what every run would ship, so the script decides which grounded\n direction gets built. Each direction joins a durable visual system to a\n concrete expression for the requested first surface, decided as one. It must\n survive the current task plus navigation, quiet and dense content,\n interaction and state, and a substantially different future surface. In an\n attended run, present the assigned direction fully committed and offer\n re-roll. You may add ONE card for your top-ranked grounded candidate when\n it is not the assigned direction, kicker IMPECCABLE’S PICK, with an honest risk line\n naming its familiarity; one pick card, never a ranked lineup, and the pick\n never takes the lead position. When the assignment IS your top candidate,\n there is no pick card. Re-roll yourself only\n on named factual grounds, when the assignment cannot carry the product's\n truth or task; taste is never grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-print-family-banner-press.webp · hero https://cards.example/c/fixture-print-family-banner-press-hero.webp\n 2. a card index of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-card-index\n CREATIVE SPARK: The card index wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 9\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 9\n - Topology/navigation: move between the whole field and one consequential detail along route 9\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 9\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 9\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-canon-family-card-index.webp · hero https://cards.example/c/fixture-canon-family-card-index-hero.webp\n 3. a reed basin of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-reed-basin\n CREATIVE SPARK: The reed basin wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 26\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 26\n - Topology/navigation: move between the whole field and one consequential detail along route 26\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 26\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 26\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-material-family-reed-basin.webp · hero https://cards.example/c/fixture-material-family-reed-basin-hero.webp\n 4. a rain atrium of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-rain-atrium\n CREATIVE SPARK: The rain atrium wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 30\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 30\n - Topology/navigation: move between the whole field and one consequential detail along route 30\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 30\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 30\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-performed-family-rain-atrium.webp · hero https://cards.example/c/fixture-performed-family-rain-atrium-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-instruments-family-meter-row.webp · hero https://cards.example/c/fixture-instruments-family-meter-row-hero.webp\n 6. a gauge bench of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-gauge-bench\n CREATIVE SPARK: The gauge bench wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 16\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 16\n - Topology/navigation: move between the whole field and one consequential detail along route 16\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 16\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 16\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/c/fixture-instruments-family-gauge-bench.webp · hero https://cards.example/c/fixture-instruments-family-gauge-bench-hero.webp\nFuse each challenger before judging it: the challenger supplies the form\n and its system grammar, the product supplies every fact, and clarity wins\n conflicts. Weigh the fused result against the assigned direction on exactly\n two axes, audience identification and product clarity. Losing to strong\n grounded material is a valid outcome; beating a thin or tool-monoculture\n list is the point. A fused challenger that wins both axes becomes the build.\n Close the weighing with a verdict per challenger, decided before any\n borrowing is considered: wins (beats the assigned direction on both axes),\n competitive (holds one axis), or declined (loses both). A declined\n challenger is not spent: name the one discipline of its system the assigned\n direction lacks, and raise the assigned direction to match before\n presenting it. A donation transfers ambition and system discipline, never\n the challenger's clothes. A component treatment, such as a button's shadow\n or a display face, is clothes, not discipline; one world owns the page.\n Write each raise as its own named line on the presented direction, and\n carry every verdict, kept line, and raise into the decision page payload.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and explicit incumbent brand commitments constrain every direction.\nThe seed never chooses exact colors, fonts, tokens, or a user preference, and\nit never permits the world and first surface to be selected independently.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nASSIGNED INDEX (restated for truncated readers): 6. Build candidate\n6 of your own grounded list; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, every card declares a comp under .impeccable/mocks/decision/, canon included, declined challengers excepted. Serve first, then generate each comp in reading order (assigned, pick, full-card hand, canon), writing its prompt sidecar as it lands (a.png gets a.png.json).\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-surface-local-card-base.json b/tests/oracle/golden/seed-surface-local-card-base.jsonindex 0c39575ab..01145ef5d 100644--- a/tests/oracle/golden/seed-surface-local-card-base.json+++ b/tests/oracle/golden/seed-surface-local-card-base.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-4; mode: experience; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode experience --from oracle-key-4 --reroll 1 --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 1: every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded. Derive\n genuinely new grounded candidates from unexplored angles before judging\n these fresh challengers.\nDEALT INDICES: 7, 3, 6 (index 7 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 7, 3, 6 of your own grounded list to the\n table; index 7 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-instruments-family-meter-row.webp · hero https://cards.example/base//fixture-instruments-family-meter-row-hero.webp\n 2. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-instruments-family-signal-tower.webp · hero https://cards.example/base//fixture-instruments-family-signal-tower-hero.webp\n 3. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-material-family-tide-hall.webp · hero https://cards.example/base//fixture-material-family-tide-hall-hero.webp\n 4. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-performed-family-wind-rotunda.webp · hero https://cards.example/base//fixture-performed-family-wind-rotunda-hero.webp\n 5. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-canon-family-folio-stand.webp · hero https://cards.example/base//fixture-canon-family-folio-stand-hero.webp\n 6. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-print-family-poster-wall.webp · hero https://cards.example/base//fixture-print-family-poster-wall-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (experience, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 7, 3, 6; index\n7 leads. Present all three dealt structures; seed key oracle-key-4.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, each dealt card declares a comp under .impeccable/mocks/decision/; serve first, then generate them in reading order, lead first, each with its prompt sidecar (a.png gets a.png.json). Without image generation, each card carries a wireframe instead (shape in --schema). Surface rounds have no pick card and no canon card.\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-4; mode: experience; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode experience --from oracle-key-4 --reroll 1 --candidate-count 7 to reproduce this roll against this catalog revision)\nRE-ROLL ROUND 1: every candidate presented in earlier rounds, grounded\n and challenger alike, is eliminated and may not return reworded. Derive\n genuinely new grounded candidates from unexplored angles before judging\n these fresh challengers.\nDEALT INDICES: 7, 3, 6 (index 7 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 7, 3, 6 of your own grounded list to the\n table; index 7 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-instruments-family-meter-row.webp · hero https://cards.example/base//fixture-instruments-family-meter-row-hero.webp\n 2. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-instruments-family-signal-tower.webp · hero https://cards.example/base//fixture-instruments-family-signal-tower-hero.webp\n 3. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-material-family-tide-hall.webp · hero https://cards.example/base//fixture-material-family-tide-hall-hero.webp\n 4. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-performed-family-wind-rotunda.webp · hero https://cards.example/base//fixture-performed-family-wind-rotunda-hero.webp\n 5. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-canon-family-folio-stand.webp · hero https://cards.example/base//fixture-canon-family-folio-stand-hero.webp\n 6. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://cards.example/base//fixture-print-family-poster-wall.webp · hero https://cards.example/base//fixture-print-family-poster-wall-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (experience, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 7, 3, 6; index\n7 leads. Present all three dealt structures; seed key oracle-key-4.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Re-roll round: while the page is open on a key, deliver this hand to it with `<IMPECCABLE> serve-question --update --key <same key> --payload <file>` and never --start a second server. A re-roll made before any page opened starts one with `<IMPECCABLE> serve-question --start --payload <file>`; a round already on the structured-tool fallback stays there.\n- With image generation, each dealt card declares a comp under .impeccable/mocks/decision/; serve first, then generate them in reading order, lead first, each with its prompt sidecar (a.png gets a.png.json). Without image generation, each card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). Surface rounds have no pick card and no canon card.\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-surface-local-compositions.json b/tests/oracle/golden/seed-surface-local-compositions.jsonindex 022ddc394..cd8bddb73 100644--- a/tests/oracle/golden/seed-surface-local-compositions.json+++ b/tests/oracle/golden/seed-surface-local-compositions.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a frost arcade of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-frost-arcade\n CREATIVE SPARK: The frost arcade wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 25\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 25\n - Topology/navigation: move between the whole field and one consequential detail along route 25\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 25\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 25\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade-hero.webp\n 2. a salt terrace of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-salt-terrace\n CREATIVE SPARK: The salt terrace wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 29\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 29\n - Topology/navigation: move between the whole field and one consequential detail along route 29\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 29\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 29\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace-hero.webp\n 3. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 4. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n\nCOMPOSITION CHALLENGERS (identity-free; dress them in the committed visual identity before judging):\n 1. a fixture surface staged as ranked plates case 2, where one live register receives whichever plate the visitor promotes and rank stays legible throughout\n SOURCE ID: fixture-stagings-case-2\n SPARK: You promote the third plate and the live register accepts it with the whole rank sliding one notch to make room, case 2 holding steady.\n COMPOSITION GRAMMAR:\n - Staging/hierarchy: one working field owns the page and ranked plates order everything else for case 2\n - Sequence/attention: attention walks the ranked plates in order and lands on the single live register for case 2\n - Controls/state: selecting a plate promotes it to the live register while the rest hold their rank for case 2\n - Adaptation: narrow screens stack the plates into one column and selection alone advances the sequence for case 2\n WEB LEVERAGE: View transitions between plate ranks with a keyboard-promotable live register\n 2. a fixture surface staged as ranked plates case 1, where one live register receives whichever plate the visitor promotes and rank stays legible throughout\n SOURCE ID: fixture-stagings-case-1\n SPARK: You promote the third plate and the live register accepts it with the whole rank sliding one notch to make room, case 1 holding steady.\n COMPOSITION GRAMMAR:\n - Staging/hierarchy: one working field owns the page and ranked plates order everything else for case 1\n - Sequence/attention: attention walks the ranked plates in order and lands on the single live register for case 1\n - Controls/state: selecting a plate promotes it to the live register while the rest hold their rank for case 1\n - Adaptation: narrow screens stack the plates into one column and selection alone advances the sequence for case 1\n WEB LEVERAGE: View transitions between plate ranks with a keyboard-promotable live register\nEach one asks the same question of this build: what is the cleverest way to\npresent, organize, or make interactive the problem in front of you? They carry\nstructure only, never a palette, typeface, or material. Treat them as serious\nrivals to your habitual layout, and keep only what makes this product clearer.\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, each dealt card declares a comp under .impeccable/mocks/decision/; serve first, then generate them in reading order, lead first, each with its prompt sidecar (a.png gets a.png.json). Without image generation, each card carries a wireframe instead (shape in --schema). Surface rounds have no pick card and no canon card.\n- After the last comp lands (at once when this round generates none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: persuade; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode persuade --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a frost arcade of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-frost-arcade\n CREATIVE SPARK: The frost arcade wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 25\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 25\n - Topology/navigation: move between the whole field and one consequential detail along route 25\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 25\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 25\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-frost-arcade-hero.webp\n 2. a salt terrace of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-salt-terrace\n CREATIVE SPARK: The salt terrace wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 29\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 29\n - Topology/navigation: move between the whole field and one consequential detail along route 29\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 29\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 29\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-salt-terrace-hero.webp\n 3. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 4. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\n\nCOMPOSITION CHALLENGERS (identity-free; dress them in the committed visual identity before judging):\n 1. a fixture surface staged as ranked plates case 2, where one live register receives whichever plate the visitor promotes and rank stays legible throughout\n SOURCE ID: fixture-stagings-case-2\n SPARK: You promote the third plate and the live register accepts it with the whole rank sliding one notch to make room, case 2 holding steady.\n COMPOSITION GRAMMAR:\n - Staging/hierarchy: one working field owns the page and ranked plates order everything else for case 2\n - Sequence/attention: attention walks the ranked plates in order and lands on the single live register for case 2\n - Controls/state: selecting a plate promotes it to the live register while the rest hold their rank for case 2\n - Adaptation: narrow screens stack the plates into one column and selection alone advances the sequence for case 2\n WEB LEVERAGE: View transitions between plate ranks with a keyboard-promotable live register\n 2. a fixture surface staged as ranked plates case 1, where one live register receives whichever plate the visitor promotes and rank stays legible throughout\n SOURCE ID: fixture-stagings-case-1\n SPARK: You promote the third plate and the live register accepts it with the whole rank sliding one notch to make room, case 1 holding steady.\n COMPOSITION GRAMMAR:\n - Staging/hierarchy: one working field owns the page and ranked plates order everything else for case 1\n - Sequence/attention: attention walks the ranked plates in order and lands on the single live register for case 1\n - Controls/state: selecting a plate promotes it to the live register while the rest hold their rank for case 1\n - Adaptation: narrow screens stack the plates into one column and selection alone advances the sequence for case 1\n WEB LEVERAGE: View transitions between plate ranks with a keyboard-promotable live register\nEach one asks the same question of this build: what is the cleverest way to\npresent, organize, or make interactive the problem in front of you? They carry\nstructure only, never a palette, typeface, or material. Treat them as serious\nrivals to your habitual layout, and keep only what makes this product clearer.\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (persuade, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-persuade.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- PERSUADE DIRECTION RULE ONE.\n- PERSUADE DIRECTION RULE TWO.\nCOMPS\n- PERSUADE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- With image generation, each dealt card declares a comp under .impeccable/mocks/decision/; serve first, then generate them in reading order, lead first, each with its prompt sidecar (a.png gets a.png.json). Without image generation, each card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). Surface rounds have no pick card and no canon card.\n- After the last comp or sketch lands (at once when this round makes none), hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: none recorded in .impeccable/config.json or .impeccable/config.local.json, so comp-led whenever image generation exists. Then put \"buildPath\": {\"value\": \"comp\", \"toggle\": true} in the payload; without image generation there is no toggle and the build is code-led. Never ask about the build path during the round; only when the ANSWER returns buildPathFlipped: true, offer once afterwards to keep the flipped value as the default.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-surface-local-default-scope.json b/tests/oracle/golden/seed-surface-local-default-scope.jsonindex 13765c771..6d7aca753 100644--- a/tests/oracle/golden/seed-surface-local-default-scope.json+++ b/tests/oracle/golden/seed-surface-local-default-scope.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 3. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 4. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 3. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 4. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-surface-local-grain-flow.json b/tests/oracle/golden/seed-surface-local-grain-flow.jsonindex 4c5ab3141..d2f1eb07d 100644--- a/tests/oracle/golden/seed-surface-local-grain-flow.json+++ b/tests/oracle/golden/seed-surface-local-grain-flow.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-2; mode: read; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode read --from oracle-key-2 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 5, 3, 7 (index 5 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 5, 3, 7 of your own grounded list to the\n table; index 5 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (read, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-read.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- READ DIRECTION RULE.\nCOMPS\n- READ COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 5, 3, 7; index\n5 leads. Present all three dealt structures; seed key oracle-key-2.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in read mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-2; mode: read; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode read --from oracle-key-2 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 5, 3, 7 (index 5 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 5, 3, 7 of your own grounded list to the\n table; index 5 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 2. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 3. a wind rotunda of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-performed-family-wind-rotunda\n CREATIVE SPARK: The wind rotunda wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 32\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 32\n - Topology/navigation: move between the whole field and one consequential detail along route 32\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 32\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 32\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda.webp · hero https://impeccable.style/worlds/cards/fixture-performed-family-wind-rotunda-hero.webp\n 4. a tide hall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-material-family-tide-hall\n CREATIVE SPARK: The tide hall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 22\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 22\n - Topology/navigation: move between the whole field and one consequential detail along route 22\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 22\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 22\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-material-family-tide-hall.webp · hero https://impeccable.style/worlds/cards/fixture-material-family-tide-hall-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\n 6. a signal tower of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-signal-tower\n CREATIVE SPARK: The signal tower wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 15\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 15\n - Topology/navigation: move between the whole field and one consequential detail along route 15\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 15\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 15\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-signal-tower-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (read, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-read.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- READ DIRECTION RULE.\nCOMPS\n- READ COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 5, 3, 7; index\n5 leads. Present all three dealt structures; seed key oracle-key-2.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in read mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,diff --git a/tests/oracle/golden/seed-surface-local.json b/tests/oracle/golden/seed-surface-local.jsonindex 13765c771..6d7aca753 100644--- a/tests/oracle/golden/seed-surface-local.json+++ b/tests/oracle/golden/seed-surface-local.json@@ -1,5 +1,5 @@{- "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's wireframe field (see\n serve-question --schema) and the page draws the schematic. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 3. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 4. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries a wireframe (shape in --schema) and, with image generation, declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- Right after serving, with no comp to generate first, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n",+ "stdout": "SURFACE CONCEPT SEED (key: oracle-key-1; mode: operate; source: local; approved pool: 6c20a02b6dc4; 30/35 human-approved; rerun with --scope surface --mode operate --from oracle-key-1 --candidate-count 7 to reproduce this roll against this catalog revision)\nDEALT INDICES: 4, 6, 7 (index 4 leads)\n After ordering the task's grounded structural candidates by resonance,\n deal candidates 4, 6, 7 of your own grounded list to the\n table; index 4 leads, and the deal never points at a challenger.\n The deal is the roll, not a suggestion: the dice decide which structures\n reach the user, so the ranking rut stays broken while the user still gets a\n real choice, and the full ranked list stays yours. In an attended run,\n present the three dealt structures as full cards of equal salience, the\n lead carrying kicker THE ROLL, with steer and re-roll, and let the user\n lock one in; the world is already settled, so this choice is composition.\n Visualize every dealt card: with image generation available and a\n comp-led build path (the PRESENTATION block below names the path for\n this surface; the page toggle handles the exception), declare a comp per card and generate after\n serving, lead first; otherwise author each card's HTML sketch (shape in\n the PRESENTATION block below; a wireframe field from serve-question\n --schema only as the fallback) and the page draws it. Carry that\n path in the payload as buildPath with toggle: true. Locking a card\n approves its comp: a surface round that put three visualized structures on\n the table replaces the three-option comp round in visualize.md. Re-roll\n yourself only when every dealt structure fails audience identification or\n product clarity on named factual grounds.\n The assignment exists to refuse the model's ranking rut, never to outrank\n the user or the brief. Never expose assignment metadata in user-facing labels.\nCHALLENGERS:\n 1. a placard row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-placard-row\n CREATIVE SPARK: The placard row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 8\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 8\n - Topology/navigation: move between the whole field and one consequential detail along route 8\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 8\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 8\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-placard-row.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-placard-row-hero.webp\n 2. a poster wall of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-poster-wall\n CREATIVE SPARK: The poster wall wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 1\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 1\n - Topology/navigation: move between the whole field and one consequential detail along route 1\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 1\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 1\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-poster-wall.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-poster-wall-hero.webp\n 3. a folio stand of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-canon-family-folio-stand\n CREATIVE SPARK: The folio stand wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 11\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 11\n - Topology/navigation: move between the whole field and one consequential detail along route 11\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 11\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 11\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand.webp · hero https://impeccable.style/worlds/cards/fixture-canon-family-folio-stand-hero.webp\n 4. a banner press of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-print-family-banner-press\n CREATIVE SPARK: The banner press wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 4\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 4\n - Topology/navigation: move between the whole field and one consequential detail along route 4\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 4\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 4\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-print-family-banner-press.webp · hero https://impeccable.style/worlds/cards/fixture-print-family-banner-press-hero.webp\n 5. a meter row of the fixture canon, where ranked plates, shutters, and registers stage attention across one continuous working field\n SOURCE ID: fixture-instruments-family-meter-row\n CREATIVE SPARK: The meter row wakes as its plates roll over one by one, every register finding its rank while a single saturated signal tracks the decision you have not made yet.\n SYSTEM GRAMMAR:\n - Palette/material: ink-dark ground, unbleached paper field, and one saturated signal color reserved for the active decision in zone 18\n - Type/composition: compact grotesk labels over generous editorial serif, ranked on a strict modular grid of order 18\n - Topology/navigation: move between the whole field and one consequential detail along route 18\n - Controls/state: reveal, compare, and preserve every meaningful authored state in register 18\n - Responsive/motion: recompose the spatial law while retaining orientation across breakpoint 18\n WEB LEVERAGE: CSS grid plate choreography with a keyboard-readable register index and scroll-driven rank reveal\n QUALITY BAR: board https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row.webp · hero https://impeccable.style/worlds/cards/fixture-instruments-family-meter-row-hero.webp\nA challenger wins only when its fused result beats the grounded list on\n audience identification and product clarity. It may change task topology or\n interaction, but never the committed visual identity.\nWhen you can view images, open the QUALITY BAR board and hero for any\nchallenger you weigh seriously and for the world you build. They exist as a\ncraft bar, the finish level and commitment the build is expected to reach,\nnever as a mockup to copy; your surface serves this product, not that render.\nPRODUCT.md and DESIGN.md constrain every surface candidate's identity\nvocabulary; they do not cancel task-level composition. The seed never\nauthorizes a new palette, type system, material world, or unfamiliar control\nbehavior.\nThe CREATIVE SPARK is a complete visual system, not a theme or decorative\nreference. Translate every supplied system rule into the product: palette and\nmaterial, type and composition, topology, controls and states, and adaptation.\nKeep the source's visible character, scale, rhythm, and interaction instead of\nreducing vivid grammar to generic nouns. Keep a literal carrier only when it\nbecomes functional.\nAmbitious motion, spatial media, or interaction is welcome when it strengthens\nthe product without weakening semantics, performance, or fallback behavior.\nMODE RULES (operate, from <REPO>/tests/fixtures/mode-rules-skill/reference/mode-operate.md). They govern this surface's directions and every comp you write or judge for it, the decision comps included; where shared guidance conflicts, these win.\nDIRECTIONS\n- OPERATE DIRECTION RULE.\n\n### Nested heading stays in the body\n\n- OPERATE DIRECTION SUB RULE.\nCOMPS\n- OPERATE COMP RULE.\nA user- or brief-pinned decision beats the roll, always.\nDEALT INDICES (restated for truncated readers): 4, 6, 7; index\n4 leads. Present all three dealt structures; seed key oracle-key-1.\nPRESENTATION (the decision round, condensed from new-work.md; follow it even when your read of that file came back cut):\n- Present this hand on the decision page: write the options payload (`<IMPECCABLE> serve-question --schema` prints its shape), run `<IMPECCABLE> serve-question --start --payload <file>`, and open the URL it prints for the user.\n- Code-led round: each dealt card carries an HTML sketch: one self-contained file of the first viewport only (1440 x 900 for a desktop surface; a phone or native surface sketches the device's first screen and declares it as htmlFrame, e.g. \"390x844\"; fixed height, overflow hidden) at .impeccable/mocks/decision/<card id>.html, declared as the card's html, with real content from the product, inline CSS, no JavaScript, nothing fetched but Google Fonts, under 200 lines. Serve first, then write the sketches, in parallel subagents where your harness has them; the page draws each as a skeleton as it lands; a card without one falls back to a wireframe (shape in --schema). With image generation, each card also declares a comp path under .impeccable/mocks/decision/ as a flip reserve; generate those comps only when --wait prints BUILD PATH FLIPPED, lead first, each with its prompt sidecar (a.png gets a.png.json). Surface rounds have no pick card and no canon card.\n- After the last sketch lands, hold `<IMPECCABLE> serve-question --wait --key <key>`. If your shell hands back a session before --wait exits, keep polling that session until it exits; rerun --wait only after it exits 3 with no answer.\n- Build path: code-led. A surface in operate mode builds in code whatever the project records. With image generation, put \"buildPath\": {\"value\": \"code\", \"toggle\": true} in the payload, so the user can still flip this one round to comp; without it there is no toggle. Never ask the user about the build path, and never offer to record a flip made on this surface.\n- The structured question tool is the fallback, never the first channel: take it when --start exits 2, when --wait exits 4 after the page closed unanswered, or when your harness cannot hold a blocking --wait at all (say so in your first reply). It carries the same options and asks nothing about the build path.\n","stderr": "","exit": 0,"signal": null,