diff --git a/scripts/optimize-opening-assets.ts b/scripts/optimize-opening-assets.ts new file mode 100644 index 0000000..378356f --- /dev/null +++ b/scripts/optimize-opening-assets.ts @@ -0,0 +1,136 @@ +import assert from "node:assert/strict"; +import { createHash } from "node:crypto"; +import { copyFile, mkdir, mkdtemp, readdir, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join, resolve } from "node:path"; +import { WRENS_LIGHT_SCENES } from "../web/src/opening/wrens-light/wrens-light-scenes"; + +// Delivery derivatives only; generation and documented normalization happen before this script. +const project = resolve(import.meta.dir, ".."); +const source = join(project, "web/assets/source/opening"); +const target = join(project, "web/public/assets/opening"); +const delivery = { + portrait: { width: 780, height: 1688, maxBytes: 1_250_000, firstMaxBytes: 200_000 }, + landscape: { width: 1728, height: 1080, maxBytes: 1_800_000, firstMaxBytes: 300_000 }, + landscapeRetina: { width: 2880, height: 1800, maxBytes: 3_200_000, firstMaxBytes: 500_000 }, +} as const; +const quality = 87; +const placeholderTarget = "web/src/opening/wrens-light/opening-placeholder.ts"; +const names = WRENS_LIGHT_SCENES.flatMap(scene => [scene.id, `${scene.id}-landscape`]).sort(); +const actual = (await readdir(source)).filter(name => name.endsWith(".png")).map(name => name.slice(0, -4)).sort(); +assert.deepEqual(actual, names, "Each of the seven scenes needs a portrait and a landscape master"); + +type Size = { width: number; height: number }; +type ArtRecord = { + prompt: string; sourceSha256: string; styleReferences: (string | { path: string; use: string })[]; + native?: Size & { path: string; sha256: string }; + generatedSource?: string; generatedSize?: Size; generatedSha256?: string; +}; +type ArtRecords = { created: string; generator: { tool: string; requestedModel: string; model?: string }; files: Record }; +const record = await Bun.file(join(source, "provenance.json")).json() as ArtRecords; +assert(/^\d{4}-\d{2}-\d{2}$/.test(record.created), "Art record needs its actual creation date"); +assert(record.generator?.tool, "Art record needs its actual generator tool"); +assert.equal(record.generator.requestedModel, "gpt-6-astra", "Record the requested model without claiming the unexposed backend"); +assert.deepEqual(Object.keys(record.files).sort(), names.map(name => `${name}.png`).sort(), "Every scene needs exactly one generation record"); + +const hash = (bytes: Uint8Array) => createHash("sha256").update(bytes).digest("hex"); +function run(command: string[]) { + const result = Bun.spawnSync(command); + assert.equal(result.exitCode, 0, `${command[0]} failed: ${result.stderr.toString()}`); + return result.stdout.toString().trim(); +} +function pixelSize(path: string) { + const [width, height] = run(["magick", "identify", "-format", "%w %h", path]).split(" ").map(Number); + assert(Number.isInteger(width) && width > 0 && Number.isInteger(height) && height > 0, `Invalid image dimensions: ${path}`); + return { width, height }; +} +const publicValue = (key: string, value: unknown) => key === "originalGeneratedPath" + || typeof value === "string" && /^\/(Users|private|tmp)\//.test(value) ? undefined : value; +assert.equal(JSON.stringify({ nested: { originalGeneratedPath: "/Users/local.png", path: "web/assets/source/opening/storm.png" }, local: "/tmp/local.png" }, publicValue), + '{"nested":{"path":"web/assets/source/opening/storm.png"}}', "Public metadata removes private paths recursively"); + +const work = await mkdtemp(join(tmpdir(), "opening-art-")); +const files = [], provenance: Record = {}; +const placeholders: { orientation: "portrait" | "landscape"; source: string; sourceSha256: string; sha256: string; bytes: number; dataUriBytes: number; width: number; height: number }[] = []; +const inline: Record = {}, finalInline: Record = {}; +try { + for (const name of names) { + const master = join(source, `${name}.png`), stripped = join(work, `${name}.png`); + const before = await Bun.file(master).bytes(); + const art = record.files[`${name}.png`]; + assert.equal(hash(before), art.sourceSha256, `Source differs from its verified generation record: ${name}`); + const landscape = name.endsWith("-landscape"), orientation = landscape ? "landscape" : "portrait"; + const expectedSize = landscape ? { width: 2304, height: 1440 } : { width: 1170, height: 2532 }; + const native = art.native ?? { path: art.generatedSource, sha256: art.generatedSha256, ...art.generatedSize }; + assert(typeof native.path === "string" && native.path.startsWith("web/assets/source/opening/generated/") && !native.path.split("/").includes(".."), `Missing preserved native image: ${name}`); + const nativePath = join(project, native.path), nativeBytes = await Bun.file(nativePath).bytes(); + assert.equal(hash(nativeBytes), native.sha256, `Native generation differs from its provenance: ${name}`); + assert.deepEqual(pixelSize(nativePath), { width: native.width, height: native.height }, `Native dimensions differ from provenance: ${name}`); + try { + const sourceSize = pixelSize(master); + assert.deepEqual(sourceSize, expectedSize, `Master needs the authored ${orientation} delivery canvas: ${name}`); + assert.equal(run(["magick", nativePath, "-format", "%[opaque]", "info:"]).toLowerCase(), "true", `Native scene must be opaque: ${name}`); + assert.equal(run(["magick", master, "-format", "%[opaque]", "info:"]).toLowerCase(), "true", `Opening scene must be opaque: ${name}`); + assert(typeof art.prompt === "string" && art.prompt.length > 0, `Missing prompt: ${name}`); + assert(Array.isArray(art.styleReferences) && art.styleReferences.every(ref => { + const path = typeof ref === "string" ? ref : ref.path; + return typeof path === "string" && path.startsWith("web/assets/source/") && !path.split("/").includes(".."); + }), `References must use repository-relative master paths: ${name}`); + for (const tier of landscape ? ["landscape", "landscapeRetina"] as const : ["portrait"] as const) { + const size = delivery[tier], outputName = `${name}${tier === "landscapeRetina" ? "-2880" : ""}.webp`; + const output = join(work, outputName); + run(["magick", master, "-filter", "Lanczos", "-resize", `${size.width}x${size.height}`, "-strip", stripped]); + run(["cwebp", "-quiet", "-q", String(quality), "-m", "6", "-sharp_yuv", stripped, "-o", output]); + const after = await Bun.file(output).bytes(), outputSize = pixelSize(output); + assert.deepEqual(outputSize, { width: size.width, height: size.height }, `Runtime must preserve the authored aspect ratio: ${name}`); + assert.equal(run(["magick", output, "-format", "%[opaque]", "info:"]).toLowerCase(), "true", `Output must stay opaque: ${name}`); + files.push({ source: `web/assets/source/opening/${name}.png`, output: `web/public/assets/opening/${outputName}`, + orientation, tier, sourceSha256: hash(before), sha256: hash(after), sourceBytes: before.length, bytes: after.length, sourceSize, outputSize, + native: { path: native.path, sha256: native.sha256, width: native.width, height: native.height, bytes: nativeBytes.length } }); + provenance[outputName] = { master: `web/assets/source/opening/${name}.png`, created: record.created, + generator: record.generator, ...art, delivery: { operation: `Proportional Lanczos ${tier === "landscapeRetina" ? "upsample from approved master; no new native detail" : "downsample"}; no crop or repaint`, quality, outputSize, sha256: hash(after), bytes: after.length } }; + if (name === "storm" || name === "storm-landscape") { + assert(after.length <= size.firstMaxBytes, `First ${tier} scene exceeds its cold-load budget`); + } + } + if (["storm", "storm-landscape", "mochi-quay", "mochi-quay-landscape"].includes(name)) { + const poster = join(work, `${name}-poster.png`), encoded = join(work, `${name}-poster.webp`); + run(["magick", master, "-filter", "Lanczos", "-resize", landscape ? "96x60" : "60x130", "-strip", poster]); + run(["cwebp", "-quiet", "-q", "55", "-m", "6", poster, "-o", encoded]); + const bytes = await Bun.file(encoded).bytes(); + const posters = name.startsWith("storm") ? inline : finalInline; + posters[orientation] = `data:image/webp;base64,${Buffer.from(bytes).toString("base64")}`; + assert(posters[orientation].length <= 2500, `Inline ${name} poster must stay tiny`); + placeholders.push({ orientation, source: `web/assets/source/opening/${name}.png`, sourceSha256: hash(before), + sha256: hash(bytes), bytes: bytes.length, dataUriBytes: posters[orientation].length, ...pixelSize(encoded) }); + } + } finally { + assert.equal(hash(await Bun.file(master).bytes()), hash(before), `Master must stay byte-identical: ${name}.png`); + } + } + const totalBytes = files.reduce((total, file) => total + file.bytes, 0); + const bytesByOrientation: Record = { portrait: 0, landscape: 0 }; + const bytesByDelivery = { portrait: 0, landscape: 0, landscapeRetina: 0 }; + for (const file of files) { + bytesByOrientation[file.orientation] += file.bytes; + bytesByDelivery[file.tier] += file.bytes; + } + for (const tier of ["portrait", "landscape", "landscapeRetina"] as const) assert(bytesByDelivery[tier] <= delivery[tier].maxBytes, `${tier} film exceeds its delivery budget`); + assert.deepEqual(Object.keys(inline).sort(), ["landscape", "portrait"], "Both first-scene orientations need an inline poster"); + assert.deepEqual(Object.keys(finalInline).sort(), ["landscape", "portrait"], "Both final-scene orientations need an inline poster"); + const placeholderModule = `// Generated by scripts/optimize-opening-assets.ts from the approved first and final plates.\nexport const OPENING_PLACEHOLDER = ${JSON.stringify(inline, null, 2)} as const;\nexport const FINAL_OPENING_PLACEHOLDER = ${JSON.stringify(finalInline, null, 2)} as const;\n`; + const manifest = { purpose: "Keep Wren’s Light opening; seven authored portrait and landscape pairs with responsive desktop delivery", encoder: `ImageMagick Lanczos proportional resize + metadata strip; cwebp quality${quality} method6 sharp_yuv`, + budget: { ...delivery, inlinePostersMaxBytes: 10000, note: "Portrait is unchanged at 2x the 390x844 phone. Landscape candidates are 1728 and 2880 pixels wide; the latter is resampled from the approved 2304px master, not newly generated detail. Each delivery tier has its own budget; rotating or resizing may fetch more than one tier. Native outputs and source masters remain unchanged." }, + totalBytes, bytesByOrientation, bytesByDelivery, inlinePosters: { module: placeholderTarget, moduleBytes: Buffer.byteLength(placeholderModule), files: placeholders }, files }; + const publicProvenance = { purpose: "Authored opening scenes for Familiar", delivery: "Native generator outputs and full-resolution masters remain separately preserved and hashed. Delivery WebPs use proportional Lanczos resizing to portrait780x1688 and landscape1728x1080 or landscape2880x1800, encoded at quality87, method6, sharp_yuv. The 2880px candidate resamples the approved 2304px master and adds no native detail; preserved landscape generator outputs are approximately 1586px wide. No crops or repaints. Tiny first- and final-scene WebP posters (quality55) are inlined in code for immediate paint. All text is rendered in code.", inlinePosters: placeholders, files: provenance }; + const metadata = JSON.stringify(publicProvenance, publicValue, 2) + "\n"; + assert(!metadata.includes("/Users/") && !metadata.includes("/private/") && !metadata.includes("/tmp/"), "Public provenance must not contain private local paths"); + await mkdir(target, { recursive: true }); + for (const file of files) await copyFile(join(work, file.output.split("/").at(-1)!), join(project, file.output)); + await Bun.write(join(target, "manifest.json"), JSON.stringify(manifest, null, 2) + "\n"); + await Bun.write(join(target, "provenance.json"), metadata); + await Bun.write(join(project, placeholderTarget), placeholderModule); + console.log(JSON.stringify(manifest, null, 2)); +} finally { + await rm(work, { recursive: true, force: true }); +} diff --git a/web/assets/source/opening/art-arrival-prompts.json b/web/assets/source/opening/art-arrival-prompts.json new file mode 100644 index 0000000..aa77ed0 --- /dev/null +++ b/web/assets/source/opening/art-arrival-prompts.json @@ -0,0 +1,80 @@ +{ + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "actualModel": "not exposed by the built-in tool" + }, + "files": { + "mochi-quay.png": { + "prompt": "Use case: identity-preserve / illustration-story. Recompose reference image 1, the canonical Familiar Mochi arrival scene, into a true tall 390:844 portrait composition, intended output1170x2532. Reference image2 is the house harbor materials and geography. Preserve ONE Mochi exactly: orange felt tabby, three forehead stripes, cream muzzle and paws, two dark whiskers per cheek, brown eyes, red scarf and stitched brown satchel. Same curious capable three-quarter head tilt and standing pose, unchanged character proportions. At logical390x844, place her complete silhouette including tail within x95-264/y290-540, feet at y540 and eyeline around y365. She is a nearby companion; leave clear low-detail open space to her left for a later Bram entrance. Lighthouse is behind her on the right: entire red cap, dark glass lantern room and wooden balcony must stay within x262-344/y155-285 with ≥24px right clearance; tower and base within x250-358/y260-425. Unlit beacon, no beam. Soft peach dawn, lilac cloud undersides, blue-green harbor, tactile sandstone, miniature trees, cottage terracotta and brass. Keep x20-190/y14-75 quiet subdued dawn sky or dark low-detail foliage behind future native wordmark. All quay posts and ropes above y555. Reserve x26-364/y600-744 and y760-824 for quiet low-contrast gently shaded stone, with no flowers, strong bright joints, posts or rope crossing this region. No baked caption gradients. Full tall authored painting, no letterbox, no stretched or cropped inset. No new accessories, no redesign, no second cat or enlarged background face, no Wren, no added Bram, no new plot evidence, text, logos, interface or borders. This is a provisional FILM staging target, not a claim to match an unavailable live prologue.", + "styleReferences": [ + "web/assets/source/opening/generated/mochi-quay-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "sourceSha256": "00e75b1464b4bbbecc40b6e1064121a8df3df74f8a1ddbce8a8cd237e883f760", + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay.png", + "width": 852, + "height": 1846, + "sha256": "50279475395149dd3838cc9f92da387c1e1cece19912347a8fdd4e5f2364efde" + }, + "delivery": { + "width": 1170, + "height": 2532, + "method": "ImageMagick proportional resize to cover, centered extent; less than 4 delivery pixels removed vertically; no stretching or subject crop." + }, + "registration": "Film target only. No captured live Slice B prologue exists in accessible worktrees; cross-scene match remains unverified.", + "styleReferenceHashes": { + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920", + "web/assets/source/opening/generated/mochi-quay-reference.png": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + "referenceHashes": [ + { + "path": "web/assets/source/opening/generated/mochi-quay-reference.png", + "sha256": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + } + ] + }, + "mochi-quay-landscape.png": { + "prompt": "Use case: identity-preserve / illustration-story. Create one beautiful premium handcrafted Familiar landscape film plate, exactly 16:10 composition, intended 2304x1440. Image 1 is the canonical Mochi arrival character and dawn scene: preserve Mochi's orange felt tabby identity, three forehead stripes, cream muzzle and paws, two dark whiskers per cheek, brown eyes, red scarf, and stitched brown satchel, her curious capable expression and current standing pose. Image 2 is the house harbor material and geography reference. Compose a single spatially coherent landscape view of this harbor at warm peach and lilac dawn. Place ONE complete Mochi in the right half, full silhouette at logical x875-1140/y330-665 on a 1440x900 canvas; feet around y665, eyeline around y425, nearby companion scale. Place the complete dark beacon including red cap, lantern room, wooden balcony, tower and base behind her toward logical x1170-1340/y145-510, at least 70 pixels from right edge. The beacon remains unlit. Naturally extend actual water, sky and wet sandstone toward the left with continuous miniature perspective; left x50-570/y540-850 is quiet softly shaded low-detail stone for future native captions and buttons. Top-left x30-260/y20-95 quiet dark foliage or subdued dawn sky for a future wordmark. Keep posts and rope out of the reading column. Preserve Familiar rounded cream sandstone, terracotta roof, imperfect clay masonry, felt textures, brass, wood, subtle miniature greenery. Warm luminous morning everywhere except naturally shaded left stone. No gradients painted for captions. No second Mochi, no enlarged background face, no portrait panel, no seam, no mirroring, no blurred filler, no Wren, no Bram added, no new accessories or narrative elements, no text or interface anywhere.", + "styleReferences": [ + "web/assets/source/opening/generated/mochi-quay-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay-landscape.png", + "width": 1586, + "height": 992, + "sha256": "9cb9de8e64629b9972568b52c278fe835574f7dac5909ff09bf6f9afbdf0b265" + }, + "delivery": { + "width": 2304, + "height": 1440, + "method": "ImageMagick proportional resize to cover, centered extent; less than 2 delivery pixels removed vertically; no stretching or subject crop." + }, + "registration": "Film target only, no live prologue registration reference available.", + "styleReferenceHashes": { + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920", + "web/assets/source/opening/generated/mochi-quay-reference.png": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + "referenceHashes": [ + { + "path": "web/assets/source/opening/generated/mochi-quay-reference.png", + "sha256": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + } + ] + } + } +} diff --git a/web/assets/source/opening/art-harbor-prompts.json b/web/assets/source/opening/art-harbor-prompts.json new file mode 100644 index 0000000..27a5d9b --- /dev/null +++ b/web/assets/source/opening/art-harbor-prompts.json @@ -0,0 +1,131 @@ +{ + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "files": { + "boats-home.png": { + "prompt": "Use case: precise-object-edit. Edit ONLY three fishing boat placements in supplied approved Familiar portrait. Keep EXACT1170x2532 canvas390:844 aspect, all lighthouse, cottages, clouds, rocks, foliage, shoreline, posts and paving pixel positions, colors, beautiful tactile material. All THREE complete boats must stay visible. Scale the group of three boats to90percent current size and shift that whole group left by30 logical CSS pixels (90pixels on1170 canvas), without changing y center or boat designs. Rightmost stern/bow must be LEFT of logical x326 (978pixels on1170canvas), left boat entirely beyond x62, all hulls remain betweeny385-520. Maintain distinct separated hulls with coherent wakes and lantern reflections. Fill vacated sea naturally. The full dark beacon and lovely calm foreground remain unchanged. No Wren/rowboat/new characters, no text/interface/border/baked gradient.", + "initialPrompt": "Use case: lighting-weather. Recompose reference1 approved Familiar storm portrait as same precise1170x2532 aspect390:844 camera and architecture, using reference2 for three fishing boat identities and reference3 as canonical house style. Storm eases into blue-violet predawn, small rose opening on horizon. Lighthouse remains DARK. Preserve full red cap, dark lantern room, balcony at logicalx248-344/y175-305, same tower/base and cottages as reference1. THREE distinct working fishing boats return safely toward quay, all three COMPLETE hulls plus masts/bows/sterns within logicalx62-326/y385-520. No hull cropped or behind another hull, stagger depth in gentle sheltered teal water, coherent warm timber hulls and modest cabin lanterns. Narrow boat sizes fit visibly. No Wren or rowboat, no evidence of her return or abandonment. Reference2 supplies boat designs only, DO NOT copy its framing. Keep headerx20-190/y14-75 quiet low detail. All posts/rope above y550; lower y600-844 calm low-contrast damp sandstone with no foliage/posts/bright joints. Lovely restrained relief, tactile miniature rounded clay architecture, warm windows, dusky lilac shadows. No text/UI/logos/borders/baked gradients. Exact portrait aspect390:844.", + "styleReferences": [ + "web/assets/source/opening/generated/boats-home-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm.png", + "web/assets/source/opening/generated/boats-home-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 2, + "native": { + "path": "web/assets/source/opening/generated/boats-home.png", + "width": 852, + "height": 1846, + "sha256": "54be661bcc9416331b23b9ad033911d3e254857c0aa1e8c1e3c1cd62fd199b07" + }, + "sourceSha256": "8b403856f058f5dd25d9b515b758ead9f2640f106dd41f17ea41dd08e4423841", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/boats-home-layout.png": "9c5cb7df9aa367c3447a4df86fdefc0b8cfdd9f88286a13a31543eb119745206" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "harbor-dawn.png": { + "prompt": "Use case: lighting-weather. Edit supplied approved boats-home portrait into next morning, at EXACT same camera and390:844 aspect1170x2532. Preserve every architecture position, lighthouse scale, perspective, clay sandstone and miniature material. Change blue-violet predawn to luminous gentle PEACH DAWN, lilac cloud undersides, soft blue-green sea, restrained warm reflections; joyful quiet morning not bright noon. Lighthouse upper lantern room remains unmistakably DARK/unlit, whole red cap, balcony, tower unchanged. All THREE fishing boats have berthed outside frame: remove them cleanly and continue natural water; do not leave rowboat, no Wren or new characters. One delicate chimney wisp and opened cottage shutter suggest waking. Turn off cottage night lights. Keep header low-detail and quiet. All foreground posts/rope stay ABOVE logical y550; x26-364 y600-744 quiet softly shaded taupe paving without bright seams, flowers, posts, high contrast reflections, and y760-824 quiet. Preserve warm colors everywhere else, do not darken painting. Authentic premium clay/felt/wood/brass house art, no plastic gloss or flat illustration. No text/UI/borders/lettering/baked caption gradients.", + "styleReferences": [ + "web/assets/source/opening/boats-home.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn.png", + "width": 852, + "height": 1846, + "sha256": "44f4487a44c1fe7a1b46a539ccfc53d3d73427cba59cceb0a32d27dedd1683f6" + }, + "sourceSha256": "7de5a0da3cefd24afbc4ad0fe70825e5050ee0547c5ad2f162e27a367b310b6b", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/boats-home.png": "8b403856f058f5dd25d9b515b758ead9f2640f106dd41f17ea41dd08e4423841" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "boats-home-landscape.png": { + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: compositing. Create ONE landscape16:10 2304x1440 Familiar boats-home scene. Image1 governs three boat designs/narrative and lilac predawn colors. Image2 is exact approved landscape storm geography/camera. Preserve image2 single coherent harbor: FULL red capped lighthouse on island at right; small cream/terracotta cottages in middle distance center-right; wide sheltered water toward left; broad calm stone foreground. Lighthouse upper room remains DARK. Storm has eased, violet-blue predawn with restrained rose horizon; THREE complete small fishing boats returning toward quay with modest warm lamps, staggered, distinct readable coherent timber hulls, all hulls/masts/bows/sterns in right half logicalx800-1280 y430-620. No Wren, rowboat, abandonment, new people or celebration. Keep top-left dark quiet sky for wordmark. Foreground railing and posts must be at y480-530 MAXIMUM, not through caption field; broad uninterrupted calm low-contrast stone x50-570 y540-850. Quiet control area at lower left. Natural continuous environment across entire canvas, never repeated background or inset portrait, seams or blurred filler. Rich handcrafted miniatures same tactile materials. No text/logos/interface/borders/baked vignette or gradients.", + "styleReferences": [ + "web/assets/source/opening/generated/boats-home-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/boats-home.png", + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "attempts": 2, + "native": { + "path": "web/assets/source/opening/generated/boats-home-landscape.png", + "width": 1586, + "height": 992, + "sha256": "bdcb5b80a1fb6bec81c60e189d5c5f31d3fc7c2d01eb23d192aaa76a4f008f67" + }, + "sourceSha256": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/boats-home-landscape-layout.png": "7d8a93874a87227984d1d63c4d03dad9df0d212d18a1376bf4dfd8820ad00ea8" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "harbor-dawn-landscape.png": { + "prompt": "Use case: lighting-weather. Edit supplied approved Familiar boats-home landscape at EXACT identical16:10/2304x1440 canvas/camera/perspective/object positions. This is NEXT MORNING. Remove all three fishing boats entirely and fill natural sheltered blue-green water; they berthed outside view, no rowboat or people. Replace blue-violet night/predawn light with luminous soft peach dawn, lilac clouds, muted teal water and warm clay sandstone. Keep full lighthouse cap, lantern room, balcony, tower, island exact position/scale; upper glass stays DARK/unlit, no amber beam. Turn off night lamps/windows; tiny chimney wisp suggests waking. IMPORTANT keep left reading region clear as in supplied image: NO posts/rope/flowers in left half; soft calm water/stone at x50-570 y540-850, low contrast paving with no bright seams. Right rail may remain. Quiet low-detail top-left sky for native wordmark. Preserve beautiful tactile tiny handmade clay/wood/foliage surfaces, sophisticated morning color, no whole-scene darkening. One coherent full-bleed authored painting, no duplicate layers or blurred filler. No new narrative objects, Wren, cats, text/UI/logos/borders/baked vignette.", + "styleReferences": [ + "web/assets/source/opening/boats-home-landscape.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn-landscape.png", + "width": 1586, + "height": 992, + "sha256": "173a90806f2a29171979c0ed5bd4c2b5cada5f2c0e7690027c96658bc39d69d9" + }, + "sourceSha256": "4bdac4da6e9b308b1d1d82a003fbf9c4a13a376515243042ee9e94cd5829587a", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/boats-home-landscape.png": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + } + } +} diff --git a/web/assets/source/opening/art-storm-prompts.json b/web/assets/source/opening/art-storm-prompts.json new file mode 100644 index 0000000..be09462 --- /dev/null +++ b/web/assets/source/opening/art-storm-prompts.json @@ -0,0 +1,136 @@ +{ + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "files": { + "storm.png": { + "prompt": "Use case: stylized-concept. Recompose reference 1 (existing storm) with materials and harbor architecture locked to reference 2 (canonical house harbor) into a premium handcrafted cozy game painting. EXACT very tall 390:844 portrait aspect, output 1170x2532 pixels. This is a new camera composition, not a crop of a 2:3 image. Tiny clay sandstone cottages, terracotta roofs, tactile rounded imperfect masonry, miniature timber, twisted rope, soft clustered foliage. Night rain crosses petrol-teal water under muted slate-violet clouds. FULL red capped lighthouse, complete lantern room AND balcony entirely inside logical x248-344 y175-305, tower/base inside x234-360 y290-445. Use these logical coordinates on 390x844 canvas, multiply by3 for output. Keep >=24 logical pixels to right of balcony. Restrained amber beacon beam crosses sea leftward. Warm cottage windows imply shelter. Quiet dark sky at x20-190 y14-75 behind future native wordmark. All foreground posts/rope above y550. Lower third (y600-844) natural low-detail damp softly shaded sandstone quay, subtle broad reflections, absolutely no large flowers/posts/ropes or high-contrast paving seams here. Reserve calm caption area x26-364 y600-744 and controls y760-824. Sophisticated stop-motion materials, intimate lovely miniature light, no shiny plastic, no photographic storm spectacle. No characters, cats, damage, lightning, text, logos, UI, borders, or baked gradients. Preserve charming warm shelter amid rain and full architecture; beautiful production art.", + "styleReferences": [ + "web/assets/source/opening/generated/storm-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 1, + "normalization": { + "operation": "Crop surplus upper sky and lower foreground (798x1727+0+200), then resize to1170x2532. Subpixel aspect rounding only; no subject cropping.", + "upscaled": true + }, + "native": { + "path": "web/assets/source/opening/generated/storm.png", + "width": 798, + "height": 1972, + "sha256": "f2dcf51a97984e0740b521eb5321721f73db3acac82d5ea76544944cdf1ae58a" + }, + "sourceSha256": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/storm-reference.png": "0ad423df4331fe6eb71121bda74f21e724984c30f56cd2d4171e30bed907e566", + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "beacon-dark.png": { + "prompt": "Use case: lighting-weather. Edit only the light in supplied approved Familiar storm plate. Keep EXACT1170x2532 canvas aspect390:844, camera, geometry and every object pixel-position; no zoom, no crop, no recomposition. Extinguish ONLY upper lighthouse lantern room and amber beam and corresponding amber sea reflection. Keep warm cottage windows and little tower stair windows. Glass is dark cool blue transparent glass, not black hole. Keep red cap, balcony, clouds, rain, waves, cottage, tiny foliage, stone quay and foreground all precisely registered. Entire lighthouse top-right stays in same coordinates. Absolutely no additional damage, people, Wren, cats, cause for failure, text, UI, symbols or gradients. Faithful high-quality localized lighting edit for matched dissolve.", + "styleReferences": [ + "web/assets/source/opening/storm.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/beacon-dark.png", + "width": 852, + "height": 1846, + "sha256": "8fb9f2798bb795343fa9dd4e987dc7adee0f7a8cb6841720009a0ccd46672aa4" + }, + "sourceSha256": "bb5dc1091803367023bfb1be2ca0278a3846056511402c05240a66817e92b301", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/storm.png": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "storm-landscape.png": { + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: stylized-concept. Create ONE spatially coherent landscape composition16:10,2304x1440, adapting supplied APPROVED Familiar storm portrait and house harbor reference. Exact same storm narrative, handmade clay sandstone, rounded cream cottages/terracotta roofs, tactile wood/brass/foliage. Complete lighthouse RED CAP, glowing upper lantern room, balcony, tower and island in right half logical x1000-1310 y150-580 on1440x900 canvas. Warm restrained amber beam reaches left across petrol-teal sea. Cottage, tiny quay, quiet practical lights to left of lighthouse in mid-distance. Large atmospheric slate violet storm cloud sky, rain, sheltered harbor; gentle courage not disaster. Foreground natural continuous broad damp sandstone quay. Calm low-detail darker area logical x50-570/y540-850 for native captions; no detailed flowers, bright stone seams or poles here. All railings/posts above y520. Keep top-left x35-230/y20-90 quiet dark sky; top-right clear for Skip. Full bleed environment reaches every edge. NO duplicate background layer, no inset portrait, seam, mirrored scene, blurred filler, vignette, people, cats, text/UI/baked gradients. Beautiful premium handcrafted miniature stop-motion world; preserve all architecture identity and refined warm/cool lighting.", + "refinementPrompts": [ + "Use case: precise-object-edit. Recompose supplied landscape Familiar storm painting at EXACT16:10 aspect2304x1440. Preserve this exquisite handmade clay sandstone, warm shelter, purple rainy sky and lantern glow. Preserve the complete lighthouse location and scale in right half. IMPORTANT IMPROVEMENT: relocate the large foreground cottage, its tree and all left-side architecture up and away into the middle distance so all cottages fit within logical x650-1030/y240-480 on1440x900 canvas. Left x0-600 now looks out across open soft rainy sky, quiet teal sheltered water, and uncluttered low-contrast damp quay. Quay railings/posts ALL above logical y500; broad continuous paving from y520 to900, with no flower clusters, tall posts or bright seams in x40-600. Left reading column x50-570/y540-850 must be utterly calm soft shaded stone. Top-left x20-230/y14-90 quiet dark sky. No recognizable foreground cottage competing behind caption. Full coherent perspective throughout, naturally receding harbor village beside beacon to right. ONE image not panels, no repeated or mirrored subjects or filler strips, no blur gradient or vignette. Keep full red cap/lantern/balcony/tower/island, beam leftward, warm windows. No people/cats/text/UI/borders. Highest quality cinematic world. Reposition architecture, never just darken it.", + "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders." + ], + "styleReferences": [ + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 3, + "native": { + "path": "web/assets/source/opening/generated/storm-landscape.png", + "width": 1586, + "height": 992, + "sha256": "3b2f6c82a2de66acb578e3e8c1a8518f91fc16a3222a85af175aeeafa817676f" + }, + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/storm-landscape-layout.png": "bd614e24c45067fed06c5ae49c8a4b01994c8dc4652ae5b6371c22e38f50b1ca" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "beacon-dark-landscape.png": { + "prompt": "Use case: lighting-weather. Localized light cleanup only, preserve exact16:10 canvas and ALL object geometry/pixel positions of supplied dark-beacon landscape. The UPPER BEACON IS OFF. REMOVE the large broad bright GOLDEN VERTICAL REFLECTION STRIP beneath the lighthouse on the RIGHT, both on SEA below island and on wet foreground stone below/right rail. This gold strip is residual light from failed upper beacon and must disappear. Replace those golden pixels with cool petrol teal/blue sea and dim taupe wet paving continuous with neighbors. Keep cottage-window golden reflections in middle x700-1000logical. Lighthouse SMALL stair windows may remain tiny warm lights, but their small dim reflections cannot form a wide bright stripe or spotlight on paving. Upper lantern room dark cool glass, absolutely no glow/beam. Preserve lighthouse cap/tower/island, cottages, rain/clouds, waves, clean left caption area and every post/rope location unchanged. No damage/characters/text/UI/gradients. The only change is removing physically incorrect broad right gold reflections; faithful miniature night mood.", + "initialPrompt": "Use case: lighting-weather. Edit supplied approved landscape storm plate at exact same16:10/2304x1440. Preserve EXACT camera, scale, geometry, clouds, rain, sea wave shapes, all houses, trees, full lighthouse red cap/balcony/tower/island and foreground railings/paving. Change ONLY lighthouse upper lantern-room illumination: turn it off, remove leftward amber beam and its sea reflection. Keep all cottage and tower stair window warm lights intact. Lantern room remains recognizable dark cool glass, not black hole or boarded up. Keep every object registered for a matched dissolve. No text/UI/logos/borders/gradients, no characters or damage.", + "styleReferences": [ + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm-landscape.png" + ], + "attempts": 3, + "refinement": "Cleared desktop reading field by re-deriving dark plate from approved storm, then removed residual beacon-derived amber sea/stone reflection.", + "native": { + "path": "web/assets/source/opening/generated/beacon-dark-landscape.png", + "width": 1586, + "height": 992, + "sha256": "ab91a3b7a407ed6881bfd468b7c28cf2b777de62bb932ee2c7272bb726bd1d67" + }, + "sourceSha256": "b79e1c684d6e78325020e1df607b69b514532e548b4529a9fd6f1e1063596f3d", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png": "b14e2e09b5a79f3d0447fa290efeb0f991785d74b676102624baa8d1f6295ad4" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + } + } +} diff --git a/web/assets/source/opening/art-wren-prompts.json b/web/assets/source/opening/art-wren-prompts.json new file mode 100644 index 0000000..eccea50 --- /dev/null +++ b/web/assets/source/opening/art-wren-prompts.json @@ -0,0 +1,197 @@ +{ + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen (built-in)", + "requestedModel": "gpt-6-astra", + "imageModel": "Not exposed by built-in tool", + "modelVerified": false + }, + "files": { + "wrens-lantern.png": { + "prompt": "Use case: precise-object-edit. This is the approved Wren's lantern miniature painting. Deliver a revised composition with an EXACT 390:844 width:height aspect ratio (approximately 0.462085:1), at 1170×2532 pixels if supported. It must be slightly WIDER relative to its height than the supplied 798×1972 image. Extend the actual harbor scene coherently at both sides; do not stretch the lantern or crop the top or bottom. Preserve the supplied lovely brass, rain, boat, intimate amber light and handcrafted clay/timber house style. Place the complete lantern at logical x130–260, y220–425 in 390×844 coordinates. Quiet top-left sky for native wordmark. Improve bottom caption field: from y600 to744 keep only softly shaded stone with very subtle joints; remove the foreground flowers. Reduce golden reflection detail beneath y550. Oar remains naturally resting inside the rowboat, never moved into caption field. No text, graphics, logos, borders, inset, duplicate or baked gradients. The aspect ratio is the essential edit. Requested model gpt-6-astra.", + "initialPrompt": "Use case: compositing. Recompose image 1, Wren's lantern, into a premium handcrafted Familiar game illustration at exactly 1170x2532, TRUE 390:844 narrow portrait aspect. Image 2 is the house material reference only. Preserve image 1's beautiful hammered warm brass lantern, coherent clinker-built walnut rowboat seat, one resting oar, rope coil, rain and tactile miniature setting. The lantern glows on the SEAT OF THE ROWBOAT beside the quay. The complete lantern silhouette, from curved handle to brass base, must lie within logical x110-285/y205-435 on the 390x844 layout. Complete boat gunwales may frame it at y330-530. Camera is an intimate three-quarter view with strong tactile brass, dark damp timber grain and lovely reflected amber glow, but no plastic shine. Small softly focused cream clay cottages with terracotta roofs and amber windows occupy upper-left middle distance, muted slate-violet rainy sky above, dark petrol teal water behind. Quiet low-detail DARK sky at x20-190/y14-75 for future wordmark; nothing drawn there. All bright ropes, planks, reflections and boat edge accents end ABOVE y550. Bottom third is quiet dim low-contrast damp stone quay and soft water shadow, with subtle believable perspective and very little joint contrast, especially x26-364/y600-744 and y760-824 where native captions and controls will go. Keep warm amber focal light and cool teal/lilac air, generous breathing room and premium stop-motion miniature craftsmanship. Full bleed single coherent painting, no poster framing, borders, inset panel, duplicate lantern, person, animal, text, logo, UI, letters, numbers, baked vignette or caption gradient. Requested model: gpt-6-astra.", + "refinement": "Widened composition to requested aspect; removed flowers and reduced foreground reflections.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-90bac117-7c45-4967-a76a-8609893c0ff8.png", + "attempts": 2, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/wrens-lantern.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern-initial.png" + ], + "visualReview": "Complete brass lantern on boat seat; quiet header and dim stone caption field.", + "generatedSize": { + "width": 853, + "height": 1844 + }, + "generatedSha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "sourceSha256": "197ffa858d1304933fe19b0fab6607823c2f50a2ebabfba0d34a3104d23a1e64", + "sourceBytes": 2989937, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 1170, + "height": 2532 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/wrens-lantern-initial.png", + "sha256": "3456b2ad18ca8ae4a6063e0ee48e35fea8477bb1b3c331cb29e9484c989187fe" + } + ], + "initialStyleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern-reference.png" + ] + }, + "wrens-lantern-landscape.png": { + "prompt": "Use case: compositing. Create the single coherent LANDSCAPE adaptation of the approved Wren's lantern painting, EXACT width:height 16:10, intended delivery 2304×1440 for 1440×900 logical layout. Image 1 is the approved lantern scene; image 2 is house materials only. Preserve brass lantern design, timber boat, restrained rain, violet night sky, cream clay cottages with terracotta roofs and amber windows, petrol-teal water. Compose the complete lantern in the RIGHT half, logical x1010–1200/y235–530, standing securely on the broad rowboat seat. Boat and oar coherent in right half. Cottages sit in upper middle distance behind the boat. Left half extends actual quiet harbor water and softly shaded damp stone quay with continuous perspective; x50–570/y540–850 must be calm low-contrast environmental space for native captions and controls, with no ropes/posts/bright joints/flowers there. Top-left and top-right sky quiet. One gorgeous authored miniature environment, emotionally intimate practical amber glow, rounded brass and clay and soft worn wood, full-bleed. No duplicate lantern, repeated background, mirrored architecture, giant blurred subject, panel seam, inset, picture border, characters, text, logos, UI or baked caption gradient. Requested model gpt-6-astra.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-22c6841c-0830-4df9-a11d-d8c8f46d7b5c.png", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern.png" + ], + "visualReview": "Single coherent landscape harbor; complete lantern at right, quiet left water and stone.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "012402a6315d00f19d745c2bfed6218270ac777282f7e38a7ed6bcfb1197a952", + "sourceBytes": 3955526, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/wrens-lantern.png", + "sha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00" + } + ] + }, + "rowing-out.png": { + "prompt": "Use case: compositing. Recompose image 1, Wren rowing out, into a finished premium handcrafted Familiar game illustration. EXACT 390:844 width:height ratio (0.462085:1), intended delivery1170×2532. Image 2 establishes clay/felt/timber house material language. Preserve the anonymous adult keeper seen only from BEHIND in the modest moss-green felt hood/cape, TWO anatomical hands, TWO continuous wooden oars passing through proper oarlocks with TWO COMPLETE blades, coherent clinker walnut hull and one warm brass lantern secured at the bow. No face. Strong beautiful miniature craft, tiny wet wood grain and worn brass, soft imperfect clay forms, never glossy plastic or realistic human drama. Boat points toward the upper-center bay. Place ENTIRE rowboat, keeper, lantern, both oars and splash assembly inside logical x54–336/y300–505; each blade has at least40px horizontal edge clearance. Warm lantern focal point near x215/y320; caped back near x195/y375. Three very distant small working fishing boats with restrained amber cabin lights sit near the horizon at y245, all hulls readable. A small piece of harbor wall upper left around y255–350 establishes leaving shore. Rain and muted slate-violet clouds, softly rolling deep petrol-teal water, tender courage and practical care. x20–190/y14–75 quiet low-detail dark sky for the native wordmark; lower third y575–844 quiet water with low-contrast texture and no bright reflection or foam behind x26–364/y600–744 captions or y760–824 controls. The boat must remain above this lower text area. Full bleed, single coherent camera, no inset, no border, no text/logos/UI/letters/numbers, no extra oars or limbs, no wreckage, no lightning, no animal, no cause of failure, no implication of Wren's fate. Requested model gpt-6-astra.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-95d3c5d9-7af6-4c99-a290-8071fc9d4f6c.png", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/rowing-out.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/rowing-out-reference.png" + ], + "visualReview": "Anonymous rear view; two hands, two complete oars and coherent hull, quiet dark caption water.", + "generatedSize": { + "width": 852, + "height": 1846 + }, + "generatedSha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "sourceSha256": "04d2190648c0edca9a6295c79e0bbba9fd6219511915977c34759ba5eefebb7c", + "sourceBytes": 3296206, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 1170, + "height": 2532 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/rowing-out-reference.png", + "sha256": "20d3c7e97ecb8efb419348e795e27872b75b8dcd8bf5f736413f73a2c04f3f94" + } + ] + }, + "rowing-out-landscape.png": { + "prompt": "Use case: compositing. Create one authored LANDSCAPE adaptation of image1, Wren rowing out, EXACT width:height 16:10, intended2304×1440 pixels for1440×900. Image2 is house material reference. Keep anonymous ADULT Wren solely from the BACK, moss-green felt cape hood concealing face, two anatomical hands, one coherent walnut clinker-built rowboat with two oarlocks, TWO continuous shafts and TWO complete wooden blades, one warm brass lantern at bow. Compose the whole boat/keeper/lantern/oars assembly in the RIGHT half, logically x760–1320/y330–650; every blade clear of every viewport edge by at least70px. The boat points away toward three distant working fishing boats near horizon y275, small warm cabin lamps. A fragment of cream sandstone harbor wall may occupy far upper-left. Rich handcrafted stop-motion miniature materials: felt weave, damp walnut grain, softly imperfect clay stone, muted purple slate storm sky, deep petrol teal softly sculpted waves with restrained bright crests. Preserve quiet courage, not peril. The LEFT lower half x50–570/y540–850 is naturally calm dark teal water with subtle texture and no foam/rope/bright reflections behind native captions and controls. Continuous perspective across entire landscape, no fake filler, no duplicate subject, no repeated background, no seam, no inset panel, no blur strip, no vignette. Quiet upper-left and upper-right sky for future controls. No face, animals, text, UI, letters, logos, borders, lightning, wreckage or implication about Wren's fate. Requested model gpt-6-astra.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-0d1ac5b9-5c8c-4806-8bdf-b7fbe3365b5d.png", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/rowing-out-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/rowing-out.png" + ], + "visualReview": "Single coherent landscape; full oars and boat at right, quiet lower-left water.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "1f7d8c0ac00612b44712f348b688b2f68543e088b39d61d13f7a75c370432697", + "sourceBytes": 3627804, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/rowing-out.png", + "sha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d" + } + ] + } + }, + "rejectedTakes": [ + { + "path": "web/assets/source/opening/generated/wrens-lantern-initial.png", + "reason": "Native798×1972 aspect too narrow; flowers and stronger reflection texture competed with captions.", + "prompt": "Use case: compositing. Recompose image 1, Wren's lantern, into a premium handcrafted Familiar game illustration at exactly 1170x2532, TRUE 390:844 narrow portrait aspect. Image 2 is the house material reference only. Preserve image 1's beautiful hammered warm brass lantern, coherent clinker-built walnut rowboat seat, one resting oar, rope coil, rain and tactile miniature setting. The lantern glows on the SEAT OF THE ROWBOAT beside the quay. The complete lantern silhouette, from curved handle to brass base, must lie within logical x110-285/y205-435 on the 390x844 layout. Complete boat gunwales may frame it at y330-530. Camera is an intimate three-quarter view with strong tactile brass, dark damp timber grain and lovely reflected amber glow, but no plastic shine. Small softly focused cream clay cottages with terracotta roofs and amber windows occupy upper-left middle distance, muted slate-violet rainy sky above, dark petrol teal water behind. Quiet low-detail DARK sky at x20-190/y14-75 for future wordmark; nothing drawn there. All bright ropes, planks, reflections and boat edge accents end ABOVE y550. Bottom third is quiet dim low-contrast damp stone quay and soft water shadow, with subtle believable perspective and very little joint contrast, especially x26-364/y600-744 and y760-824 where native captions and controls will go. Keep warm amber focal light and cool teal/lilac air, generous breathing room and premium stop-motion miniature craftsmanship. Full bleed single coherent painting, no poster framing, borders, inset panel, duplicate lantern, person, animal, text, logo, UI, letters, numbers, baked vignette or caption gradient. Requested model: gpt-6-astra.", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern-reference.png" + ], + "inputReferenceSha256": "9981bbbdd597beae28c7070955e429754818c6b6b05b61f969d6aa213374bdae" + } + ] +} diff --git a/web/assets/source/opening/beacon-dark-landscape.png b/web/assets/source/opening/beacon-dark-landscape.png new file mode 100644 index 0000000..bba7b44 Binary files /dev/null and b/web/assets/source/opening/beacon-dark-landscape.png differ diff --git a/web/assets/source/opening/beacon-dark.png b/web/assets/source/opening/beacon-dark.png new file mode 100644 index 0000000..6e7f71a Binary files /dev/null and b/web/assets/source/opening/beacon-dark.png differ diff --git a/web/assets/source/opening/boats-home-landscape.png b/web/assets/source/opening/boats-home-landscape.png new file mode 100644 index 0000000..d7d5031 Binary files /dev/null and b/web/assets/source/opening/boats-home-landscape.png differ diff --git a/web/assets/source/opening/boats-home.png b/web/assets/source/opening/boats-home.png new file mode 100644 index 0000000..f9df711 Binary files /dev/null and b/web/assets/source/opening/boats-home.png differ diff --git a/web/assets/source/opening/generated/beacon-dark-landscape-lighting.png b/web/assets/source/opening/generated/beacon-dark-landscape-lighting.png new file mode 100644 index 0000000..b018ced Binary files /dev/null and b/web/assets/source/opening/generated/beacon-dark-landscape-lighting.png differ diff --git a/web/assets/source/opening/generated/beacon-dark-landscape.png b/web/assets/source/opening/generated/beacon-dark-landscape.png new file mode 100644 index 0000000..8d6c057 Binary files /dev/null and b/web/assets/source/opening/generated/beacon-dark-landscape.png differ diff --git a/web/assets/source/opening/generated/beacon-dark-reference.png b/web/assets/source/opening/generated/beacon-dark-reference.png new file mode 100644 index 0000000..8e19044 Binary files /dev/null and b/web/assets/source/opening/generated/beacon-dark-reference.png differ diff --git a/web/assets/source/opening/generated/beacon-dark.png b/web/assets/source/opening/generated/beacon-dark.png new file mode 100644 index 0000000..294b840 Binary files /dev/null and b/web/assets/source/opening/generated/beacon-dark.png differ diff --git a/web/assets/source/opening/generated/boats-home-landscape-layout.png b/web/assets/source/opening/generated/boats-home-landscape-layout.png new file mode 100644 index 0000000..746040c Binary files /dev/null and b/web/assets/source/opening/generated/boats-home-landscape-layout.png differ diff --git a/web/assets/source/opening/generated/boats-home-landscape.png b/web/assets/source/opening/generated/boats-home-landscape.png new file mode 100644 index 0000000..e7e00a7 Binary files /dev/null and b/web/assets/source/opening/generated/boats-home-landscape.png differ diff --git a/web/assets/source/opening/generated/boats-home-layout.png b/web/assets/source/opening/generated/boats-home-layout.png new file mode 100644 index 0000000..63702e5 Binary files /dev/null and b/web/assets/source/opening/generated/boats-home-layout.png differ diff --git a/web/assets/source/opening/generated/boats-home-reference.png b/web/assets/source/opening/generated/boats-home-reference.png new file mode 100644 index 0000000..bb03e03 Binary files /dev/null and b/web/assets/source/opening/generated/boats-home-reference.png differ diff --git a/web/assets/source/opening/generated/boats-home.png b/web/assets/source/opening/generated/boats-home.png new file mode 100644 index 0000000..1cac334 Binary files /dev/null and b/web/assets/source/opening/generated/boats-home.png differ diff --git a/web/assets/source/opening/generated/harbor-dawn-landscape.png b/web/assets/source/opening/generated/harbor-dawn-landscape.png new file mode 100644 index 0000000..400b170 Binary files /dev/null and b/web/assets/source/opening/generated/harbor-dawn-landscape.png differ diff --git a/web/assets/source/opening/generated/harbor-dawn-reference.png b/web/assets/source/opening/generated/harbor-dawn-reference.png new file mode 100644 index 0000000..3d03180 Binary files /dev/null and b/web/assets/source/opening/generated/harbor-dawn-reference.png differ diff --git a/web/assets/source/opening/generated/harbor-dawn.png b/web/assets/source/opening/generated/harbor-dawn.png new file mode 100644 index 0000000..7cbc0e4 Binary files /dev/null and b/web/assets/source/opening/generated/harbor-dawn.png differ diff --git a/web/assets/source/opening/generated/mochi-quay-landscape.png b/web/assets/source/opening/generated/mochi-quay-landscape.png new file mode 100644 index 0000000..1858d86 Binary files /dev/null and b/web/assets/source/opening/generated/mochi-quay-landscape.png differ diff --git a/web/assets/source/opening/generated/mochi-quay-reference.png b/web/assets/source/opening/generated/mochi-quay-reference.png new file mode 100644 index 0000000..7428246 Binary files /dev/null and b/web/assets/source/opening/generated/mochi-quay-reference.png differ diff --git a/web/assets/source/opening/generated/mochi-quay.png b/web/assets/source/opening/generated/mochi-quay.png new file mode 100644 index 0000000..761b508 Binary files /dev/null and b/web/assets/source/opening/generated/mochi-quay.png differ diff --git a/web/assets/source/opening/generated/rowing-out-landscape.png b/web/assets/source/opening/generated/rowing-out-landscape.png new file mode 100644 index 0000000..19705bd Binary files /dev/null and b/web/assets/source/opening/generated/rowing-out-landscape.png differ diff --git a/web/assets/source/opening/generated/rowing-out-reference.png b/web/assets/source/opening/generated/rowing-out-reference.png new file mode 100644 index 0000000..d61b963 Binary files /dev/null and b/web/assets/source/opening/generated/rowing-out-reference.png differ diff --git a/web/assets/source/opening/generated/rowing-out.png b/web/assets/source/opening/generated/rowing-out.png new file mode 100644 index 0000000..62a4568 Binary files /dev/null and b/web/assets/source/opening/generated/rowing-out.png differ diff --git a/web/assets/source/opening/generated/storm-landscape-layout.png b/web/assets/source/opening/generated/storm-landscape-layout.png new file mode 100644 index 0000000..2f92b53 Binary files /dev/null and b/web/assets/source/opening/generated/storm-landscape-layout.png differ diff --git a/web/assets/source/opening/generated/storm-landscape.png b/web/assets/source/opening/generated/storm-landscape.png new file mode 100644 index 0000000..6a8b29a Binary files /dev/null and b/web/assets/source/opening/generated/storm-landscape.png differ diff --git a/web/assets/source/opening/generated/storm-reference.png b/web/assets/source/opening/generated/storm-reference.png new file mode 100644 index 0000000..05c63f5 Binary files /dev/null and b/web/assets/source/opening/generated/storm-reference.png differ diff --git a/web/assets/source/opening/generated/storm.png b/web/assets/source/opening/generated/storm.png new file mode 100644 index 0000000..64ae90d Binary files /dev/null and b/web/assets/source/opening/generated/storm.png differ diff --git a/web/assets/source/opening/generated/wrens-lantern-initial.png b/web/assets/source/opening/generated/wrens-lantern-initial.png new file mode 100644 index 0000000..bfe4a16 Binary files /dev/null and b/web/assets/source/opening/generated/wrens-lantern-initial.png differ diff --git a/web/assets/source/opening/generated/wrens-lantern-landscape.png b/web/assets/source/opening/generated/wrens-lantern-landscape.png new file mode 100644 index 0000000..1203c8d Binary files /dev/null and b/web/assets/source/opening/generated/wrens-lantern-landscape.png differ diff --git a/web/assets/source/opening/generated/wrens-lantern-reference.png b/web/assets/source/opening/generated/wrens-lantern-reference.png new file mode 100644 index 0000000..e0896fd Binary files /dev/null and b/web/assets/source/opening/generated/wrens-lantern-reference.png differ diff --git a/web/assets/source/opening/generated/wrens-lantern.png b/web/assets/source/opening/generated/wrens-lantern.png new file mode 100644 index 0000000..4b5fec0 Binary files /dev/null and b/web/assets/source/opening/generated/wrens-lantern.png differ diff --git a/web/assets/source/opening/harbor-dawn-landscape.png b/web/assets/source/opening/harbor-dawn-landscape.png new file mode 100644 index 0000000..7e229e3 Binary files /dev/null and b/web/assets/source/opening/harbor-dawn-landscape.png differ diff --git a/web/assets/source/opening/harbor-dawn.png b/web/assets/source/opening/harbor-dawn.png new file mode 100644 index 0000000..8a3a49f Binary files /dev/null and b/web/assets/source/opening/harbor-dawn.png differ diff --git a/web/assets/source/opening/mochi-quay-landscape.png b/web/assets/source/opening/mochi-quay-landscape.png new file mode 100644 index 0000000..9c21d67 Binary files /dev/null and b/web/assets/source/opening/mochi-quay-landscape.png differ diff --git a/web/assets/source/opening/mochi-quay.png b/web/assets/source/opening/mochi-quay.png new file mode 100644 index 0000000..b41aa69 Binary files /dev/null and b/web/assets/source/opening/mochi-quay.png differ diff --git a/web/assets/source/opening/provenance.json b/web/assets/source/opening/provenance.json new file mode 100644 index 0000000..88bb412 --- /dev/null +++ b/web/assets/source/opening/provenance.json @@ -0,0 +1,524 @@ +{ + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "delivery": "Seven portrait1170x2532 and seven single-composition landscape2304x1440 masters remain unchanged. Native generated rasters are preserved separately; exact master sizes are disclosed proportional derivatives. Runtime delivery uses proportional Lanczos downsampling to 780x1688 portrait (2x390x844) and 1728x1080 landscape, WebP quality87 method6 sharp_yuv; no runtime crops or repaints. First-scene low-resolution WebP posters (quality55) are generated from the storm masters and inlined in TypeScript. No image lettering. Final live prologue registration remains unverified.", + "files": { + "storm.png": { + "prompt": "Use case: stylized-concept. Recompose reference 1 (existing storm) with materials and harbor architecture locked to reference 2 (canonical house harbor) into a premium handcrafted cozy game painting. EXACT very tall 390:844 portrait aspect, output 1170x2532 pixels. This is a new camera composition, not a crop of a 2:3 image. Tiny clay sandstone cottages, terracotta roofs, tactile rounded imperfect masonry, miniature timber, twisted rope, soft clustered foliage. Night rain crosses petrol-teal water under muted slate-violet clouds. FULL red capped lighthouse, complete lantern room AND balcony entirely inside logical x248-344 y175-305, tower/base inside x234-360 y290-445. Use these logical coordinates on 390x844 canvas, multiply by3 for output. Keep >=24 logical pixels to right of balcony. Restrained amber beacon beam crosses sea leftward. Warm cottage windows imply shelter. Quiet dark sky at x20-190 y14-75 behind future native wordmark. All foreground posts/rope above y550. Lower third (y600-844) natural low-detail damp softly shaded sandstone quay, subtle broad reflections, absolutely no large flowers/posts/ropes or high-contrast paving seams here. Reserve calm caption area x26-364 y600-744 and controls y760-824. Sophisticated stop-motion materials, intimate lovely miniature light, no shiny plastic, no photographic storm spectacle. No characters, cats, damage, lightning, text, logos, UI, borders, or baked gradients. Preserve charming warm shelter amid rain and full architecture; beautiful production art.", + "styleReferences": [ + "web/assets/source/opening/generated/storm-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 1, + "normalization": { + "operation": "Crop surplus upper sky and lower foreground (798x1727+0+200), then resize to1170x2532. Subpixel aspect rounding only; no subject cropping.", + "upscaled": true + }, + "native": { + "path": "web/assets/source/opening/generated/storm.png", + "width": 798, + "height": 1972, + "sha256": "f2dcf51a97984e0740b521eb5321721f73db3acac82d5ea76544944cdf1ae58a" + }, + "sourceSha256": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/storm-reference.png": "0ad423df4331fe6eb71121bda74f21e724984c30f56cd2d4171e30bed907e566", + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "beacon-dark.png": { + "prompt": "Use case: lighting-weather. Edit only the light in supplied approved Familiar storm plate. Keep EXACT1170x2532 canvas aspect390:844, camera, geometry and every object pixel-position; no zoom, no crop, no recomposition. Extinguish ONLY upper lighthouse lantern room and amber beam and corresponding amber sea reflection. Keep warm cottage windows and little tower stair windows. Glass is dark cool blue transparent glass, not black hole. Keep red cap, balcony, clouds, rain, waves, cottage, tiny foliage, stone quay and foreground all precisely registered. Entire lighthouse top-right stays in same coordinates. Absolutely no additional damage, people, Wren, cats, cause for failure, text, UI, symbols or gradients. Faithful high-quality localized lighting edit for matched dissolve.", + "styleReferences": [ + "web/assets/source/opening/storm.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/beacon-dark.png", + "width": 852, + "height": 1846, + "sha256": "8fb9f2798bb795343fa9dd4e987dc7adee0f7a8cb6841720009a0ccd46672aa4" + }, + "sourceSha256": "bb5dc1091803367023bfb1be2ca0278a3846056511402c05240a66817e92b301", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/storm.png": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "storm-landscape.png": { + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: stylized-concept. Create ONE spatially coherent landscape composition16:10,2304x1440, adapting supplied APPROVED Familiar storm portrait and house harbor reference. Exact same storm narrative, handmade clay sandstone, rounded cream cottages/terracotta roofs, tactile wood/brass/foliage. Complete lighthouse RED CAP, glowing upper lantern room, balcony, tower and island in right half logical x1000-1310 y150-580 on1440x900 canvas. Warm restrained amber beam reaches left across petrol-teal sea. Cottage, tiny quay, quiet practical lights to left of lighthouse in mid-distance. Large atmospheric slate violet storm cloud sky, rain, sheltered harbor; gentle courage not disaster. Foreground natural continuous broad damp sandstone quay. Calm low-detail darker area logical x50-570/y540-850 for native captions; no detailed flowers, bright stone seams or poles here. All railings/posts above y520. Keep top-left x35-230/y20-90 quiet dark sky; top-right clear for Skip. Full bleed environment reaches every edge. NO duplicate background layer, no inset portrait, seam, mirrored scene, blurred filler, vignette, people, cats, text/UI/baked gradients. Beautiful premium handcrafted miniature stop-motion world; preserve all architecture identity and refined warm/cool lighting.", + "refinementPrompts": [ + "Use case: precise-object-edit. Recompose supplied landscape Familiar storm painting at EXACT16:10 aspect2304x1440. Preserve this exquisite handmade clay sandstone, warm shelter, purple rainy sky and lantern glow. Preserve the complete lighthouse location and scale in right half. IMPORTANT IMPROVEMENT: relocate the large foreground cottage, its tree and all left-side architecture up and away into the middle distance so all cottages fit within logical x650-1030/y240-480 on1440x900 canvas. Left x0-600 now looks out across open soft rainy sky, quiet teal sheltered water, and uncluttered low-contrast damp quay. Quay railings/posts ALL above logical y500; broad continuous paving from y520 to900, with no flower clusters, tall posts or bright seams in x40-600. Left reading column x50-570/y540-850 must be utterly calm soft shaded stone. Top-left x20-230/y14-90 quiet dark sky. No recognizable foreground cottage competing behind caption. Full coherent perspective throughout, naturally receding harbor village beside beacon to right. ONE image not panels, no repeated or mirrored subjects or filler strips, no blur gradient or vignette. Keep full red cap/lantern/balcony/tower/island, beam leftward, warm windows. No people/cats/text/UI/borders. Highest quality cinematic world. Reposition architecture, never just darken it.", + "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders." + ], + "styleReferences": [ + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 3, + "native": { + "path": "web/assets/source/opening/generated/storm-landscape.png", + "width": 1586, + "height": 992, + "sha256": "3b2f6c82a2de66acb578e3e8c1a8518f91fc16a3222a85af175aeeafa817676f" + }, + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/storm-landscape-layout.png": "bd614e24c45067fed06c5ae49c8a4b01994c8dc4652ae5b6371c22e38f50b1ca" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "beacon-dark-landscape.png": { + "prompt": "Use case: lighting-weather. Localized light cleanup only, preserve exact16:10 canvas and ALL object geometry/pixel positions of supplied dark-beacon landscape. The UPPER BEACON IS OFF. REMOVE the large broad bright GOLDEN VERTICAL REFLECTION STRIP beneath the lighthouse on the RIGHT, both on SEA below island and on wet foreground stone below/right rail. This gold strip is residual light from failed upper beacon and must disappear. Replace those golden pixels with cool petrol teal/blue sea and dim taupe wet paving continuous with neighbors. Keep cottage-window golden reflections in middle x700-1000logical. Lighthouse SMALL stair windows may remain tiny warm lights, but their small dim reflections cannot form a wide bright stripe or spotlight on paving. Upper lantern room dark cool glass, absolutely no glow/beam. Preserve lighthouse cap/tower/island, cottages, rain/clouds, waves, clean left caption area and every post/rope location unchanged. No damage/characters/text/UI/gradients. The only change is removing physically incorrect broad right gold reflections; faithful miniature night mood.", + "initialPrompt": "Use case: lighting-weather. Edit supplied approved landscape storm plate at exact same16:10/2304x1440. Preserve EXACT camera, scale, geometry, clouds, rain, sea wave shapes, all houses, trees, full lighthouse red cap/balcony/tower/island and foreground railings/paving. Change ONLY lighthouse upper lantern-room illumination: turn it off, remove leftward amber beam and its sea reflection. Keep all cottage and tower stair window warm lights intact. Lantern room remains recognizable dark cool glass, not black hole or boarded up. Keep every object registered for a matched dissolve. No text/UI/logos/borders/gradients, no characters or damage.", + "styleReferences": [ + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm-landscape.png" + ], + "attempts": 3, + "refinement": "Cleared desktop reading field by re-deriving dark plate from approved storm, then removed residual beacon-derived amber sea/stone reflection.", + "native": { + "path": "web/assets/source/opening/generated/beacon-dark-landscape.png", + "width": 1586, + "height": 992, + "sha256": "ab91a3b7a407ed6881bfd468b7c28cf2b777de62bb932ee2c7272bb726bd1d67" + }, + "sourceSha256": "b79e1c684d6e78325020e1df607b69b514532e548b4529a9fd6f1e1063596f3d", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png": "b14e2e09b5a79f3d0447fa290efeb0f991785d74b676102624baa8d1f6295ad4" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "boats-home.png": { + "prompt": "Use case: precise-object-edit. Edit ONLY three fishing boat placements in supplied approved Familiar portrait. Keep EXACT1170x2532 canvas390:844 aspect, all lighthouse, cottages, clouds, rocks, foliage, shoreline, posts and paving pixel positions, colors, beautiful tactile material. All THREE complete boats must stay visible. Scale the group of three boats to90percent current size and shift that whole group left by30 logical CSS pixels (90pixels on1170 canvas), without changing y center or boat designs. Rightmost stern/bow must be LEFT of logical x326 (978pixels on1170canvas), left boat entirely beyond x62, all hulls remain betweeny385-520. Maintain distinct separated hulls with coherent wakes and lantern reflections. Fill vacated sea naturally. The full dark beacon and lovely calm foreground remain unchanged. No Wren/rowboat/new characters, no text/interface/border/baked gradient.", + "initialPrompt": "Use case: lighting-weather. Recompose reference1 approved Familiar storm portrait as same precise1170x2532 aspect390:844 camera and architecture, using reference2 for three fishing boat identities and reference3 as canonical house style. Storm eases into blue-violet predawn, small rose opening on horizon. Lighthouse remains DARK. Preserve full red cap, dark lantern room, balcony at logicalx248-344/y175-305, same tower/base and cottages as reference1. THREE distinct working fishing boats return safely toward quay, all three COMPLETE hulls plus masts/bows/sterns within logicalx62-326/y385-520. No hull cropped or behind another hull, stagger depth in gentle sheltered teal water, coherent warm timber hulls and modest cabin lanterns. Narrow boat sizes fit visibly. No Wren or rowboat, no evidence of her return or abandonment. Reference2 supplies boat designs only, DO NOT copy its framing. Keep headerx20-190/y14-75 quiet low detail. All posts/rope above y550; lower y600-844 calm low-contrast damp sandstone with no foliage/posts/bright joints. Lovely restrained relief, tactile miniature rounded clay architecture, warm windows, dusky lilac shadows. No text/UI/logos/borders/baked gradients. Exact portrait aspect390:844.", + "styleReferences": [ + "web/assets/source/opening/generated/boats-home-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm.png", + "web/assets/source/opening/generated/boats-home-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 2, + "native": { + "path": "web/assets/source/opening/generated/boats-home.png", + "width": 852, + "height": 1846, + "sha256": "54be661bcc9416331b23b9ad033911d3e254857c0aa1e8c1e3c1cd62fd199b07" + }, + "sourceSha256": "8b403856f058f5dd25d9b515b758ead9f2640f106dd41f17ea41dd08e4423841", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/boats-home-layout.png": "9c5cb7df9aa367c3447a4df86fdefc0b8cfdd9f88286a13a31543eb119745206" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "harbor-dawn.png": { + "prompt": "Use case: lighting-weather. Edit supplied approved boats-home portrait into next morning, at EXACT same camera and390:844 aspect1170x2532. Preserve every architecture position, lighthouse scale, perspective, clay sandstone and miniature material. Change blue-violet predawn to luminous gentle PEACH DAWN, lilac cloud undersides, soft blue-green sea, restrained warm reflections; joyful quiet morning not bright noon. Lighthouse upper lantern room remains unmistakably DARK/unlit, whole red cap, balcony, tower unchanged. All THREE fishing boats have berthed outside frame: remove them cleanly and continue natural water; do not leave rowboat, no Wren or new characters. One delicate chimney wisp and opened cottage shutter suggest waking. Turn off cottage night lights. Keep header low-detail and quiet. All foreground posts/rope stay ABOVE logical y550; x26-364 y600-744 quiet softly shaded taupe paving without bright seams, flowers, posts, high contrast reflections, and y760-824 quiet. Preserve warm colors everywhere else, do not darken painting. Authentic premium clay/felt/wood/brass house art, no plastic gloss or flat illustration. No text/UI/borders/lettering/baked caption gradients.", + "styleReferences": [ + "web/assets/source/opening/boats-home.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn.png", + "width": 852, + "height": 1846, + "sha256": "44f4487a44c1fe7a1b46a539ccfc53d3d73427cba59cceb0a32d27dedd1683f6" + }, + "sourceSha256": "7de5a0da3cefd24afbc4ad0fe70825e5050ee0547c5ad2f162e27a367b310b6b", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/boats-home.png": "8b403856f058f5dd25d9b515b758ead9f2640f106dd41f17ea41dd08e4423841" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "boats-home-landscape.png": { + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: compositing. Create ONE landscape16:10 2304x1440 Familiar boats-home scene. Image1 governs three boat designs/narrative and lilac predawn colors. Image2 is exact approved landscape storm geography/camera. Preserve image2 single coherent harbor: FULL red capped lighthouse on island at right; small cream/terracotta cottages in middle distance center-right; wide sheltered water toward left; broad calm stone foreground. Lighthouse upper room remains DARK. Storm has eased, violet-blue predawn with restrained rose horizon; THREE complete small fishing boats returning toward quay with modest warm lamps, staggered, distinct readable coherent timber hulls, all hulls/masts/bows/sterns in right half logicalx800-1280 y430-620. No Wren, rowboat, abandonment, new people or celebration. Keep top-left dark quiet sky for wordmark. Foreground railing and posts must be at y480-530 MAXIMUM, not through caption field; broad uninterrupted calm low-contrast stone x50-570 y540-850. Quiet control area at lower left. Natural continuous environment across entire canvas, never repeated background or inset portrait, seams or blurred filler. Rich handcrafted miniatures same tactile materials. No text/logos/interface/borders/baked vignette or gradients.", + "styleReferences": [ + "web/assets/source/opening/generated/boats-home-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/boats-home.png", + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "attempts": 2, + "native": { + "path": "web/assets/source/opening/generated/boats-home-landscape.png", + "width": 1586, + "height": 992, + "sha256": "bdcb5b80a1fb6bec81c60e189d5c5f31d3fc7c2d01eb23d192aaa76a4f008f67" + }, + "sourceSha256": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/boats-home-landscape-layout.png": "7d8a93874a87227984d1d63c4d03dad9df0d212d18a1376bf4dfd8820ad00ea8" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "harbor-dawn-landscape.png": { + "prompt": "Use case: lighting-weather. Edit supplied approved Familiar boats-home landscape at EXACT identical16:10/2304x1440 canvas/camera/perspective/object positions. This is NEXT MORNING. Remove all three fishing boats entirely and fill natural sheltered blue-green water; they berthed outside view, no rowboat or people. Replace blue-violet night/predawn light with luminous soft peach dawn, lilac clouds, muted teal water and warm clay sandstone. Keep full lighthouse cap, lantern room, balcony, tower, island exact position/scale; upper glass stays DARK/unlit, no amber beam. Turn off night lamps/windows; tiny chimney wisp suggests waking. IMPORTANT keep left reading region clear as in supplied image: NO posts/rope/flowers in left half; soft calm water/stone at x50-570 y540-850, low contrast paving with no bright seams. Right rail may remain. Quiet low-detail top-left sky for native wordmark. Preserve beautiful tactile tiny handmade clay/wood/foliage surfaces, sophisticated morning color, no whole-scene darkening. One coherent full-bleed authored painting, no duplicate layers or blurred filler. No new narrative objects, Wren, cats, text/UI/logos/borders/baked vignette.", + "styleReferences": [ + "web/assets/source/opening/boats-home-landscape.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn-landscape.png", + "width": 1586, + "height": 992, + "sha256": "173a90806f2a29171979c0ed5bd4c2b5cada5f2c0e7690027c96658bc39d69d9" + }, + "sourceSha256": "4bdac4da6e9b308b1d1d82a003fbf9c4a13a376515243042ee9e94cd5829587a", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/boats-home-landscape.png": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false + }, + "wrens-lantern.png": { + "prompt": "Use case: precise-object-edit. This is the approved Wren's lantern miniature painting. Deliver a revised composition with an EXACT 390:844 width:height aspect ratio (approximately 0.462085:1), at 1170×2532 pixels if supported. It must be slightly WIDER relative to its height than the supplied 798×1972 image. Extend the actual harbor scene coherently at both sides; do not stretch the lantern or crop the top or bottom. Preserve the supplied lovely brass, rain, boat, intimate amber light and handcrafted clay/timber house style. Place the complete lantern at logical x130–260, y220–425 in 390×844 coordinates. Quiet top-left sky for native wordmark. Improve bottom caption field: from y600 to744 keep only softly shaded stone with very subtle joints; remove the foreground flowers. Reduce golden reflection detail beneath y550. Oar remains naturally resting inside the rowboat, never moved into caption field. No text, graphics, logos, borders, inset, duplicate or baked gradients. The aspect ratio is the essential edit. Requested model gpt-6-astra.", + "initialPrompt": "Use case: compositing. Recompose image 1, Wren's lantern, into a premium handcrafted Familiar game illustration at exactly 1170x2532, TRUE 390:844 narrow portrait aspect. Image 2 is the house material reference only. Preserve image 1's beautiful hammered warm brass lantern, coherent clinker-built walnut rowboat seat, one resting oar, rope coil, rain and tactile miniature setting. The lantern glows on the SEAT OF THE ROWBOAT beside the quay. The complete lantern silhouette, from curved handle to brass base, must lie within logical x110-285/y205-435 on the 390x844 layout. Complete boat gunwales may frame it at y330-530. Camera is an intimate three-quarter view with strong tactile brass, dark damp timber grain and lovely reflected amber glow, but no plastic shine. Small softly focused cream clay cottages with terracotta roofs and amber windows occupy upper-left middle distance, muted slate-violet rainy sky above, dark petrol teal water behind. Quiet low-detail DARK sky at x20-190/y14-75 for future wordmark; nothing drawn there. All bright ropes, planks, reflections and boat edge accents end ABOVE y550. Bottom third is quiet dim low-contrast damp stone quay and soft water shadow, with subtle believable perspective and very little joint contrast, especially x26-364/y600-744 and y760-824 where native captions and controls will go. Keep warm amber focal light and cool teal/lilac air, generous breathing room and premium stop-motion miniature craftsmanship. Full bleed single coherent painting, no poster framing, borders, inset panel, duplicate lantern, person, animal, text, logo, UI, letters, numbers, baked vignette or caption gradient. Requested model: gpt-6-astra.", + "refinement": "Widened composition to requested aspect; removed flowers and reduced foreground reflections.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-90bac117-7c45-4967-a76a-8609893c0ff8.png", + "attempts": 2, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/wrens-lantern.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern-initial.png" + ], + "visualReview": "Complete brass lantern on boat seat; quiet header and dim stone caption field.", + "generatedSize": { + "width": 853, + "height": 1844 + }, + "generatedSha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "sourceSha256": "197ffa858d1304933fe19b0fab6607823c2f50a2ebabfba0d34a3104d23a1e64", + "sourceBytes": 2989937, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 1170, + "height": 2532 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/wrens-lantern-initial.png", + "sha256": "3456b2ad18ca8ae4a6063e0ee48e35fea8477bb1b3c331cb29e9484c989187fe" + } + ], + "initialStyleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern-reference.png" + ], + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern.png", + "width": 853, + "height": 1844, + "sha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00" + } + }, + "wrens-lantern-landscape.png": { + "prompt": "Use case: compositing. Create the single coherent LANDSCAPE adaptation of the approved Wren's lantern painting, EXACT width:height 16:10, intended delivery 2304×1440 for 1440×900 logical layout. Image 1 is the approved lantern scene; image 2 is house materials only. Preserve brass lantern design, timber boat, restrained rain, violet night sky, cream clay cottages with terracotta roofs and amber windows, petrol-teal water. Compose the complete lantern in the RIGHT half, logical x1010–1200/y235–530, standing securely on the broad rowboat seat. Boat and oar coherent in right half. Cottages sit in upper middle distance behind the boat. Left half extends actual quiet harbor water and softly shaded damp stone quay with continuous perspective; x50–570/y540–850 must be calm low-contrast environmental space for native captions and controls, with no ropes/posts/bright joints/flowers there. Top-left and top-right sky quiet. One gorgeous authored miniature environment, emotionally intimate practical amber glow, rounded brass and clay and soft worn wood, full-bleed. No duplicate lantern, repeated background, mirrored architecture, giant blurred subject, panel seam, inset, picture border, characters, text, logos, UI or baked caption gradient. Requested model gpt-6-astra.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-22c6841c-0830-4df9-a11d-d8c8f46d7b5c.png", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern.png" + ], + "visualReview": "Single coherent landscape harbor; complete lantern at right, quiet left water and stone.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "012402a6315d00f19d745c2bfed6218270ac777282f7e38a7ed6bcfb1197a952", + "sourceBytes": 3955526, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/wrens-lantern.png", + "sha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00" + } + ], + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "width": 1586, + "height": 992, + "sha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3" + } + }, + "rowing-out.png": { + "prompt": "Use case: compositing. Recompose image 1, Wren rowing out, into a finished premium handcrafted Familiar game illustration. EXACT 390:844 width:height ratio (0.462085:1), intended delivery1170×2532. Image 2 establishes clay/felt/timber house material language. Preserve the anonymous adult keeper seen only from BEHIND in the modest moss-green felt hood/cape, TWO anatomical hands, TWO continuous wooden oars passing through proper oarlocks with TWO COMPLETE blades, coherent clinker walnut hull and one warm brass lantern secured at the bow. No face. Strong beautiful miniature craft, tiny wet wood grain and worn brass, soft imperfect clay forms, never glossy plastic or realistic human drama. Boat points toward the upper-center bay. Place ENTIRE rowboat, keeper, lantern, both oars and splash assembly inside logical x54–336/y300–505; each blade has at least40px horizontal edge clearance. Warm lantern focal point near x215/y320; caped back near x195/y375. Three very distant small working fishing boats with restrained amber cabin lights sit near the horizon at y245, all hulls readable. A small piece of harbor wall upper left around y255–350 establishes leaving shore. Rain and muted slate-violet clouds, softly rolling deep petrol-teal water, tender courage and practical care. x20–190/y14–75 quiet low-detail dark sky for the native wordmark; lower third y575–844 quiet water with low-contrast texture and no bright reflection or foam behind x26–364/y600–744 captions or y760–824 controls. The boat must remain above this lower text area. Full bleed, single coherent camera, no inset, no border, no text/logos/UI/letters/numbers, no extra oars or limbs, no wreckage, no lightning, no animal, no cause of failure, no implication of Wren's fate. Requested model gpt-6-astra.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-95d3c5d9-7af6-4c99-a290-8071fc9d4f6c.png", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/rowing-out.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/rowing-out-reference.png" + ], + "visualReview": "Anonymous rear view; two hands, two complete oars and coherent hull, quiet dark caption water.", + "generatedSize": { + "width": 852, + "height": 1846 + }, + "generatedSha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "sourceSha256": "04d2190648c0edca9a6295c79e0bbba9fd6219511915977c34759ba5eefebb7c", + "sourceBytes": 3296206, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 1170, + "height": 2532 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/rowing-out-reference.png", + "sha256": "20d3c7e97ecb8efb419348e795e27872b75b8dcd8bf5f736413f73a2c04f3f94" + } + ], + "native": { + "path": "web/assets/source/opening/generated/rowing-out.png", + "width": 852, + "height": 1846, + "sha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d" + } + }, + "rowing-out-landscape.png": { + "prompt": "Use case: compositing. Create one authored LANDSCAPE adaptation of image1, Wren rowing out, EXACT width:height 16:10, intended2304×1440 pixels for1440×900. Image2 is house material reference. Keep anonymous ADULT Wren solely from the BACK, moss-green felt cape hood concealing face, two anatomical hands, one coherent walnut clinker-built rowboat with two oarlocks, TWO continuous shafts and TWO complete wooden blades, one warm brass lantern at bow. Compose the whole boat/keeper/lantern/oars assembly in the RIGHT half, logically x760–1320/y330–650; every blade clear of every viewport edge by at least70px. The boat points away toward three distant working fishing boats near horizon y275, small warm cabin lamps. A fragment of cream sandstone harbor wall may occupy far upper-left. Rich handcrafted stop-motion miniature materials: felt weave, damp walnut grain, softly imperfect clay stone, muted purple slate storm sky, deep petrol teal softly sculpted waves with restrained bright crests. Preserve quiet courage, not peril. The LEFT lower half x50–570/y540–850 is naturally calm dark teal water with subtle texture and no foam/rope/bright reflections behind native captions and controls. Continuous perspective across entire landscape, no fake filler, no duplicate subject, no repeated background, no seam, no inset panel, no blur strip, no vignette. Quiet upper-left and upper-right sky for future controls. No face, animals, text, UI, letters, logos, borders, lightning, wreckage or implication about Wren's fate. Requested model gpt-6-astra.", + "originalGeneratedPath": "/Users/dadadave/.codex/generated_images/01a1dbf0-87bf-73f0-bd1c-1edbbf05208e/exec-0d1ac5b9-5c8c-4806-8bdf-b7fbe3365b5d.png", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/rowing-out-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/rowing-out.png" + ], + "visualReview": "Single coherent landscape; full oars and boat at right, quiet lower-left water.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "1f7d8c0ac00612b44712f348b688b2f68543e088b39d61d13f7a75c370432697", + "sourceBytes": 3627804, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/rowing-out.png", + "sha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d" + } + ], + "native": { + "path": "web/assets/source/opening/generated/rowing-out-landscape.png", + "width": 1586, + "height": 992, + "sha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee" + } + }, + "mochi-quay.png": { + "prompt": "Use case: identity-preserve / illustration-story. Recompose reference image 1, the canonical Familiar Mochi arrival scene, into a true tall 390:844 portrait composition, intended output1170x2532. Reference image2 is the house harbor materials and geography. Preserve ONE Mochi exactly: orange felt tabby, three forehead stripes, cream muzzle and paws, two dark whiskers per cheek, brown eyes, red scarf and stitched brown satchel. Same curious capable three-quarter head tilt and standing pose, unchanged character proportions. At logical390x844, place her complete silhouette including tail within x95-264/y290-540, feet at y540 and eyeline around y365. She is a nearby companion; leave clear low-detail open space to her left for a later Bram entrance. Lighthouse is behind her on the right: entire red cap, dark glass lantern room and wooden balcony must stay within x262-344/y155-285 with ≥24px right clearance; tower and base within x250-358/y260-425. Unlit beacon, no beam. Soft peach dawn, lilac cloud undersides, blue-green harbor, tactile sandstone, miniature trees, cottage terracotta and brass. Keep x20-190/y14-75 quiet subdued dawn sky or dark low-detail foliage behind future native wordmark. All quay posts and ropes above y555. Reserve x26-364/y600-744 and y760-824 for quiet low-contrast gently shaded stone, with no flowers, strong bright joints, posts or rope crossing this region. No baked caption gradients. Full tall authored painting, no letterbox, no stretched or cropped inset. No new accessories, no redesign, no second cat or enlarged background face, no Wren, no added Bram, no new plot evidence, text, logos, interface or borders. This is a provisional FILM staging target, not a claim to match an unavailable live prologue.", + "styleReferences": [ + "web/assets/source/opening/generated/mochi-quay-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "sourceSha256": "00e75b1464b4bbbecc40b6e1064121a8df3df74f8a1ddbce8a8cd237e883f760", + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay.png", + "width": 852, + "height": 1846, + "sha256": "50279475395149dd3838cc9f92da387c1e1cece19912347a8fdd4e5f2364efde" + }, + "delivery": { + "width": 1170, + "height": 2532, + "method": "ImageMagick proportional resize to cover, centered extent; less than 4 delivery pixels removed vertically; no stretching or subject crop." + }, + "registration": "Film target only. No captured live Slice B prologue exists in accessible worktrees; cross-scene match remains unverified.", + "styleReferenceHashes": { + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920", + "web/assets/source/opening/generated/mochi-quay-reference.png": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + "referenceHashes": [ + { + "path": "web/assets/source/opening/generated/mochi-quay-reference.png", + "sha256": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + } + ] + }, + "mochi-quay-landscape.png": { + "prompt": "Use case: identity-preserve / illustration-story. Create one beautiful premium handcrafted Familiar landscape film plate, exactly 16:10 composition, intended 2304x1440. Image 1 is the canonical Mochi arrival character and dawn scene: preserve Mochi's orange felt tabby identity, three forehead stripes, cream muzzle and paws, two dark whiskers per cheek, brown eyes, red scarf, and stitched brown satchel, her curious capable expression and current standing pose. Image 2 is the house harbor material and geography reference. Compose a single spatially coherent landscape view of this harbor at warm peach and lilac dawn. Place ONE complete Mochi in the right half, full silhouette at logical x875-1140/y330-665 on a 1440x900 canvas; feet around y665, eyeline around y425, nearby companion scale. Place the complete dark beacon including red cap, lantern room, wooden balcony, tower and base behind her toward logical x1170-1340/y145-510, at least 70 pixels from right edge. The beacon remains unlit. Naturally extend actual water, sky and wet sandstone toward the left with continuous miniature perspective; left x50-570/y540-850 is quiet softly shaded low-detail stone for future native captions and buttons. Top-left x30-260/y20-95 quiet dark foliage or subdued dawn sky for a future wordmark. Keep posts and rope out of the reading column. Preserve Familiar rounded cream sandstone, terracotta roof, imperfect clay masonry, felt textures, brass, wood, subtle miniature greenery. Warm luminous morning everywhere except naturally shaded left stone. No gradients painted for captions. No second Mochi, no enlarged background face, no portrait panel, no seam, no mirroring, no blurred filler, no Wren, no Bram added, no new accessories or narrative elements, no text or interface anywhere.", + "styleReferences": [ + "web/assets/source/opening/generated/mochi-quay-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay-landscape.png", + "width": 1586, + "height": 992, + "sha256": "9cb9de8e64629b9972568b52c278fe835574f7dac5909ff09bf6f9afbdf0b265" + }, + "delivery": { + "width": 2304, + "height": 1440, + "method": "ImageMagick proportional resize to cover, centered extent; less than 2 delivery pixels removed vertically; no stretching or subject crop." + }, + "registration": "Film target only, no live prologue registration reference available.", + "styleReferenceHashes": { + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920", + "web/assets/source/opening/generated/mochi-quay-reference.png": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + "referenceHashes": [ + { + "path": "web/assets/source/opening/generated/mochi-quay-reference.png", + "sha256": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + } + ] + } + } +} diff --git a/web/assets/source/opening/rowing-out-landscape.png b/web/assets/source/opening/rowing-out-landscape.png new file mode 100644 index 0000000..09b74df Binary files /dev/null and b/web/assets/source/opening/rowing-out-landscape.png differ diff --git a/web/assets/source/opening/rowing-out.png b/web/assets/source/opening/rowing-out.png new file mode 100644 index 0000000..f5618a2 Binary files /dev/null and b/web/assets/source/opening/rowing-out.png differ diff --git a/web/assets/source/opening/storm-landscape.png b/web/assets/source/opening/storm-landscape.png new file mode 100644 index 0000000..fd8062a Binary files /dev/null and b/web/assets/source/opening/storm-landscape.png differ diff --git a/web/assets/source/opening/storm.png b/web/assets/source/opening/storm.png new file mode 100644 index 0000000..c0ba890 Binary files /dev/null and b/web/assets/source/opening/storm.png differ diff --git a/web/assets/source/opening/wrens-lantern-landscape.png b/web/assets/source/opening/wrens-lantern-landscape.png new file mode 100644 index 0000000..3fa8860 Binary files /dev/null and b/web/assets/source/opening/wrens-lantern-landscape.png differ diff --git a/web/assets/source/opening/wrens-lantern.png b/web/assets/source/opening/wrens-lantern.png new file mode 100644 index 0000000..0d4866c Binary files /dev/null and b/web/assets/source/opening/wrens-lantern.png differ diff --git a/web/public/assets/opening/beacon-dark-landscape-2880.webp b/web/public/assets/opening/beacon-dark-landscape-2880.webp new file mode 100644 index 0000000..1860c1e Binary files /dev/null and b/web/public/assets/opening/beacon-dark-landscape-2880.webp differ diff --git a/web/public/assets/opening/beacon-dark-landscape.webp b/web/public/assets/opening/beacon-dark-landscape.webp new file mode 100644 index 0000000..0a59284 Binary files /dev/null and b/web/public/assets/opening/beacon-dark-landscape.webp differ diff --git a/web/public/assets/opening/beacon-dark.webp b/web/public/assets/opening/beacon-dark.webp new file mode 100644 index 0000000..11d7803 Binary files /dev/null and b/web/public/assets/opening/beacon-dark.webp differ diff --git a/web/public/assets/opening/boats-home-landscape-2880.webp b/web/public/assets/opening/boats-home-landscape-2880.webp new file mode 100644 index 0000000..dfccee5 Binary files /dev/null and b/web/public/assets/opening/boats-home-landscape-2880.webp differ diff --git a/web/public/assets/opening/boats-home-landscape.webp b/web/public/assets/opening/boats-home-landscape.webp new file mode 100644 index 0000000..172aafa Binary files /dev/null and b/web/public/assets/opening/boats-home-landscape.webp differ diff --git a/web/public/assets/opening/boats-home.webp b/web/public/assets/opening/boats-home.webp new file mode 100644 index 0000000..b3bea5a Binary files /dev/null and b/web/public/assets/opening/boats-home.webp differ diff --git a/web/public/assets/opening/harbor-dawn-landscape-2880.webp b/web/public/assets/opening/harbor-dawn-landscape-2880.webp new file mode 100644 index 0000000..98456c1 Binary files /dev/null and b/web/public/assets/opening/harbor-dawn-landscape-2880.webp differ diff --git a/web/public/assets/opening/harbor-dawn-landscape.webp b/web/public/assets/opening/harbor-dawn-landscape.webp new file mode 100644 index 0000000..9b0f1c6 Binary files /dev/null and b/web/public/assets/opening/harbor-dawn-landscape.webp differ diff --git a/web/public/assets/opening/harbor-dawn.webp b/web/public/assets/opening/harbor-dawn.webp new file mode 100644 index 0000000..dac610e Binary files /dev/null and b/web/public/assets/opening/harbor-dawn.webp differ diff --git a/web/public/assets/opening/manifest.json b/web/public/assets/opening/manifest.json new file mode 100644 index 0000000..a2977a4 --- /dev/null +++ b/web/public/assets/opening/manifest.json @@ -0,0 +1,609 @@ +{ + "purpose": "Keep Wren’s Light opening; seven authored portrait and landscape pairs with responsive desktop delivery", + "encoder": "ImageMagick Lanczos proportional resize + metadata strip; cwebp quality87 method6 sharp_yuv", + "budget": { + "portrait": { + "width": 780, + "height": 1688, + "maxBytes": 1250000, + "firstMaxBytes": 200000 + }, + "landscape": { + "width": 1728, + "height": 1080, + "maxBytes": 1800000, + "firstMaxBytes": 300000 + }, + "landscapeRetina": { + "width": 2880, + "height": 1800, + "maxBytes": 3200000, + "firstMaxBytes": 500000 + }, + "inlinePostersMaxBytes": 10000, + "note": "Portrait is unchanged at 2x the 390x844 phone. Landscape candidates are 1728 and 2880 pixels wide; the latter is resampled from the approved 2304px master, not newly generated detail. Each delivery tier has its own budget; rotating or resizing may fetch more than one tier. Native outputs and source masters remain unchanged." + }, + "totalBytes": 4975080, + "bytesByOrientation": { + "portrait": 1035864, + "landscape": 3939216 + }, + "bytesByDelivery": { + "portrait": 1035864, + "landscape": 1399252, + "landscapeRetina": 2539964 + }, + "inlinePosters": { + "module": "web/src/opening/wrens-light/opening-placeholder.ts", + "moduleBytes": 6573, + "files": [ + { + "orientation": "portrait", + "source": "web/assets/source/opening/mochi-quay.png", + "sourceSha256": "00e75b1464b4bbbecc40b6e1064121a8df3df74f8a1ddbce8a8cd237e883f760", + "sha256": "b9bb0d687802766b7ad6098dc719649db154d39b40c2b0d97f6f2d30804018c3", + "bytes": 1274, + "dataUriBytes": 1723, + "width": 60, + "height": 130 + }, + { + "orientation": "landscape", + "source": "web/assets/source/opening/mochi-quay-landscape.png", + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "sha256": "cd996d96a1e2c86af398a654e56d2e17ff271a8d0b37ef12956077c4c28a5345", + "bytes": 1316, + "dataUriBytes": 1779, + "width": 96, + "height": 60 + }, + { + "orientation": "portrait", + "source": "web/assets/source/opening/storm.png", + "sourceSha256": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4", + "sha256": "d226fef0cc4b6ecb009f3958bee8a52bbdb3ecc7c94be25569b46a1f28fd80c0", + "bytes": 1170, + "dataUriBytes": 1583, + "width": 60, + "height": 130 + }, + { + "orientation": "landscape", + "source": "web/assets/source/opening/storm-landscape.png", + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sha256": "eb59c7255d55fc711ef58b97cdcf0bb8ec3cd9f900db762c134a178663d9d288", + "bytes": 896, + "dataUriBytes": 1219, + "width": 96, + "height": 60 + } + ] + }, + "files": [ + { + "source": "web/assets/source/opening/beacon-dark.png", + "output": "web/public/assets/opening/beacon-dark.webp", + "orientation": "portrait", + "tier": "portrait", + "sourceSha256": "bb5dc1091803367023bfb1be2ca0278a3846056511402c05240a66817e92b301", + "sha256": "dd0f4527d0cfb3ad9becbb6eadbfdffd3a625d3db2b795afcf8691d1cc14cf53", + "sourceBytes": 2942147, + "bytes": 147218, + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "outputSize": { + "width": 780, + "height": 1688 + }, + "native": { + "path": "web/assets/source/opening/generated/beacon-dark.png", + "sha256": "8fb9f2798bb795343fa9dd4e987dc7adee0f7a8cb6841720009a0ccd46672aa4", + "width": 852, + "height": 1846, + "bytes": 2098382 + } + }, + { + "source": "web/assets/source/opening/beacon-dark-landscape.png", + "output": "web/public/assets/opening/beacon-dark-landscape.webp", + "orientation": "landscape", + "tier": "landscape", + "sourceSha256": "b79e1c684d6e78325020e1df607b69b514532e548b4529a9fd6f1e1063596f3d", + "sha256": "379b5ed44e3f47f954aa131a7b383f2a31f3a0624ba99c7321bc419b327500dd", + "sourceBytes": 3088467, + "bytes": 161958, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "native": { + "path": "web/assets/source/opening/generated/beacon-dark-landscape.png", + "sha256": "ab91a3b7a407ed6881bfd468b7c28cf2b777de62bb932ee2c7272bb726bd1d67", + "width": 1586, + "height": 992, + "bytes": 2021773 + } + }, + { + "source": "web/assets/source/opening/beacon-dark-landscape.png", + "output": "web/public/assets/opening/beacon-dark-landscape-2880.webp", + "orientation": "landscape", + "tier": "landscapeRetina", + "sourceSha256": "b79e1c684d6e78325020e1df607b69b514532e548b4529a9fd6f1e1063596f3d", + "sha256": "cfbe66c75b6780ed6470ec111c4bd5b0b2ea4e46f3ba0b708bc7a3dfaa13671d", + "sourceBytes": 3088467, + "bytes": 304218, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "native": { + "path": "web/assets/source/opening/generated/beacon-dark-landscape.png", + "sha256": "ab91a3b7a407ed6881bfd468b7c28cf2b777de62bb932ee2c7272bb726bd1d67", + "width": 1586, + "height": 992, + "bytes": 2021773 + } + }, + { + "source": "web/assets/source/opening/boats-home.png", + "output": "web/public/assets/opening/boats-home.webp", + "orientation": "portrait", + "tier": "portrait", + "sourceSha256": "8b403856f058f5dd25d9b515b758ead9f2640f106dd41f17ea41dd08e4423841", + "sha256": "d0c13ea762a83492adfbf211dca8349c2083bb6702c3b802a7bc89c5451c65af", + "sourceBytes": 2773635, + "bytes": 130534, + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "outputSize": { + "width": 780, + "height": 1688 + }, + "native": { + "path": "web/assets/source/opening/generated/boats-home.png", + "sha256": "54be661bcc9416331b23b9ad033911d3e254857c0aa1e8c1e3c1cd62fd199b07", + "width": 852, + "height": 1846, + "bytes": 1965376 + } + }, + { + "source": "web/assets/source/opening/boats-home-landscape.png", + "output": "web/public/assets/opening/boats-home-landscape.webp", + "orientation": "landscape", + "tier": "landscape", + "sourceSha256": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba", + "sha256": "c81403d5f5b130041b1b9e048da48a94a149a531a88810cbebee237ddeb59f4d", + "sourceBytes": 2966497, + "bytes": 150112, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "native": { + "path": "web/assets/source/opening/generated/boats-home-landscape.png", + "sha256": "bdcb5b80a1fb6bec81c60e189d5c5f31d3fc7c2d01eb23d192aaa76a4f008f67", + "width": 1586, + "height": 992, + "bytes": 1943481 + } + }, + { + "source": "web/assets/source/opening/boats-home-landscape.png", + "output": "web/public/assets/opening/boats-home-landscape-2880.webp", + "orientation": "landscape", + "tier": "landscapeRetina", + "sourceSha256": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba", + "sha256": "01d1e240165bfbf7b10084937eeaaed06679b582f4ffcd166f9169d0f55fe0d0", + "sourceBytes": 2966497, + "bytes": 269048, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "native": { + "path": "web/assets/source/opening/generated/boats-home-landscape.png", + "sha256": "bdcb5b80a1fb6bec81c60e189d5c5f31d3fc7c2d01eb23d192aaa76a4f008f67", + "width": 1586, + "height": 992, + "bytes": 1943481 + } + }, + { + "source": "web/assets/source/opening/harbor-dawn.png", + "output": "web/public/assets/opening/harbor-dawn.webp", + "orientation": "portrait", + "tier": "portrait", + "sourceSha256": "7de5a0da3cefd24afbc4ad0fe70825e5050ee0547c5ad2f162e27a367b310b6b", + "sha256": "b4914ee3b07db3573da6bfbd36762d6e805fad8d7e6c59f2a4af48cc47557fd4", + "sourceBytes": 2856906, + "bytes": 136722, + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "outputSize": { + "width": 780, + "height": 1688 + }, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn.png", + "sha256": "44f4487a44c1fe7a1b46a539ccfc53d3d73427cba59cceb0a32d27dedd1683f6", + "width": 852, + "height": 1846, + "bytes": 2064594 + } + }, + { + "source": "web/assets/source/opening/harbor-dawn-landscape.png", + "output": "web/public/assets/opening/harbor-dawn-landscape.webp", + "orientation": "landscape", + "tier": "landscape", + "sourceSha256": "4bdac4da6e9b308b1d1d82a003fbf9c4a13a376515243042ee9e94cd5829587a", + "sha256": "32d003f5f1ca55c06d1b15e5700383a0b526eaba458123cee8182e491bbba1a5", + "sourceBytes": 3122260, + "bytes": 167334, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn-landscape.png", + "sha256": "173a90806f2a29171979c0ed5bd4c2b5cada5f2c0e7690027c96658bc39d69d9", + "width": 1586, + "height": 992, + "bytes": 2057307 + } + }, + { + "source": "web/assets/source/opening/harbor-dawn-landscape.png", + "output": "web/public/assets/opening/harbor-dawn-landscape-2880.webp", + "orientation": "landscape", + "tier": "landscapeRetina", + "sourceSha256": "4bdac4da6e9b308b1d1d82a003fbf9c4a13a376515243042ee9e94cd5829587a", + "sha256": "2bd741c8d006ee2a3ea3035cd575d969197af02b64f2e97c8f8f44768796b3b8", + "sourceBytes": 3122260, + "bytes": 308574, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn-landscape.png", + "sha256": "173a90806f2a29171979c0ed5bd4c2b5cada5f2c0e7690027c96658bc39d69d9", + "width": 1586, + "height": 992, + "bytes": 2057307 + } + }, + { + "source": "web/assets/source/opening/mochi-quay.png", + "output": "web/public/assets/opening/mochi-quay.webp", + "orientation": "portrait", + "tier": "portrait", + "sourceSha256": "00e75b1464b4bbbecc40b6e1064121a8df3df74f8a1ddbce8a8cd237e883f760", + "sha256": "32a6b19c24e609013b9bc3f8de4789edecef9bfe5597bcf0ddf48ba9466d3b15", + "sourceBytes": 3395868, + "bytes": 199102, + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "outputSize": { + "width": 780, + "height": 1688 + }, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay.png", + "sha256": "50279475395149dd3838cc9f92da387c1e1cece19912347a8fdd4e5f2364efde", + "width": 852, + "height": 1846, + "bytes": 2401491 + } + }, + { + "source": "web/assets/source/opening/mochi-quay-landscape.png", + "output": "web/public/assets/opening/mochi-quay-landscape.webp", + "orientation": "landscape", + "tier": "landscape", + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "sha256": "a2605b9648d82e407ac7290e1312deabcda2d8b026750a4c98b15f60474ab076", + "sourceBytes": 4314063, + "bytes": 333838, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay-landscape.png", + "sha256": "9cb9de8e64629b9972568b52c278fe835574f7dac5909ff09bf6f9afbdf0b265", + "width": 1586, + "height": 992, + "bytes": 2716810 + } + }, + { + "source": "web/assets/source/opening/mochi-quay-landscape.png", + "output": "web/public/assets/opening/mochi-quay-landscape-2880.webp", + "orientation": "landscape", + "tier": "landscapeRetina", + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "sha256": "6f0e79667653888d3a3e70fc753016510e14116dcafc0850201dd99ac75d8475", + "sourceBytes": 4314063, + "bytes": 569410, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay-landscape.png", + "sha256": "9cb9de8e64629b9972568b52c278fe835574f7dac5909ff09bf6f9afbdf0b265", + "width": 1586, + "height": 992, + "bytes": 2716810 + } + }, + { + "source": "web/assets/source/opening/rowing-out.png", + "output": "web/public/assets/opening/rowing-out.webp", + "orientation": "portrait", + "tier": "portrait", + "sourceSha256": "04d2190648c0edca9a6295c79e0bbba9fd6219511915977c34759ba5eefebb7c", + "sha256": "e8478515bc423a3af6fa6a9d1e0ca853a34aafa1ffb6789734d6f5f058519264", + "sourceBytes": 3296206, + "bytes": 131104, + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "outputSize": { + "width": 780, + "height": 1688 + }, + "native": { + "path": "web/assets/source/opening/generated/rowing-out.png", + "sha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d", + "width": 852, + "height": 1846, + "bytes": 2228364 + } + }, + { + "source": "web/assets/source/opening/rowing-out-landscape.png", + "output": "web/public/assets/opening/rowing-out-landscape.webp", + "orientation": "landscape", + "tier": "landscape", + "sourceSha256": "1f7d8c0ac00612b44712f348b688b2f68543e088b39d61d13f7a75c370432697", + "sha256": "cf232506715a68d389d65506c0eeaf9bd8bf65e91de79be52e3bcf599544c42e", + "sourceBytes": 3627804, + "bytes": 161668, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "native": { + "path": "web/assets/source/opening/generated/rowing-out-landscape.png", + "sha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee", + "width": 1586, + "height": 992, + "bytes": 2200077 + } + }, + { + "source": "web/assets/source/opening/rowing-out-landscape.png", + "output": "web/public/assets/opening/rowing-out-landscape-2880.webp", + "orientation": "landscape", + "tier": "landscapeRetina", + "sourceSha256": "1f7d8c0ac00612b44712f348b688b2f68543e088b39d61d13f7a75c370432697", + "sha256": "813f9c5fe58576973ea8150448bbfa1fa34f2a4d8e82e40f46fff468f90da755", + "sourceBytes": 3627804, + "bytes": 315080, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "native": { + "path": "web/assets/source/opening/generated/rowing-out-landscape.png", + "sha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee", + "width": 1586, + "height": 992, + "bytes": 2200077 + } + }, + { + "source": "web/assets/source/opening/storm.png", + "output": "web/public/assets/opening/storm.webp", + "orientation": "portrait", + "tier": "portrait", + "sourceSha256": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4", + "sha256": "6a3171d5a6f1af933a8de7ddf92c2cf0cf995b0d0284d88cefcbf97401b53a47", + "sourceBytes": 3171366, + "bytes": 172552, + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "outputSize": { + "width": 780, + "height": 1688 + }, + "native": { + "path": "web/assets/source/opening/generated/storm.png", + "sha256": "f2dcf51a97984e0740b521eb5321721f73db3acac82d5ea76544944cdf1ae58a", + "width": 798, + "height": 1972, + "bytes": 2284393 + } + }, + { + "source": "web/assets/source/opening/storm-landscape.png", + "output": "web/public/assets/opening/storm-landscape.webp", + "orientation": "landscape", + "tier": "landscape", + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sha256": "b2450eef469ca64f7b1a1e5e8b22899e401c568dedd3a99d22e685cc167c5e08", + "sourceBytes": 3194173, + "bytes": 184376, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "native": { + "path": "web/assets/source/opening/generated/storm-landscape.png", + "sha256": "3b2f6c82a2de66acb578e3e8c1a8518f91fc16a3222a85af175aeeafa817676f", + "width": 1586, + "height": 992, + "bytes": 2092094 + } + }, + { + "source": "web/assets/source/opening/storm-landscape.png", + "output": "web/public/assets/opening/storm-landscape-2880.webp", + "orientation": "landscape", + "tier": "landscapeRetina", + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sha256": "7b93373c60e26108a13720300b9a6ac252aacfb7c3109c85040397577ea01c33", + "sourceBytes": 3194173, + "bytes": 330610, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "native": { + "path": "web/assets/source/opening/generated/storm-landscape.png", + "sha256": "3b2f6c82a2de66acb578e3e8c1a8518f91fc16a3222a85af175aeeafa817676f", + "width": 1586, + "height": 992, + "bytes": 2092094 + } + }, + { + "source": "web/assets/source/opening/wrens-lantern.png", + "output": "web/public/assets/opening/wrens-lantern.webp", + "orientation": "portrait", + "tier": "portrait", + "sourceSha256": "197ffa858d1304933fe19b0fab6607823c2f50a2ebabfba0d34a3104d23a1e64", + "sha256": "5d5348460e9da41196a8e4e161b0548ce84207a5da164fc689fc3d6a7ea8c171", + "sourceBytes": 2989937, + "bytes": 118632, + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "outputSize": { + "width": 780, + "height": 1688 + }, + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern.png", + "sha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00", + "width": 853, + "height": 1844, + "bytes": 2003568 + } + }, + { + "source": "web/assets/source/opening/wrens-lantern-landscape.png", + "output": "web/public/assets/opening/wrens-lantern-landscape.webp", + "orientation": "landscape", + "tier": "landscape", + "sourceSha256": "012402a6315d00f19d745c2bfed6218270ac777282f7e38a7ed6bcfb1197a952", + "sha256": "1fc1020eb3a14e452a287f9cb1882b9294351a5db3470db6cf34ded8cb955b7a", + "sourceBytes": 3955526, + "bytes": 239966, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "sha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3", + "width": 1586, + "height": 992, + "bytes": 2326770 + } + }, + { + "source": "web/assets/source/opening/wrens-lantern-landscape.png", + "output": "web/public/assets/opening/wrens-lantern-landscape-2880.webp", + "orientation": "landscape", + "tier": "landscapeRetina", + "sourceSha256": "012402a6315d00f19d745c2bfed6218270ac777282f7e38a7ed6bcfb1197a952", + "sha256": "5dea3130cf83e6e44b4bb069538ae5b4ab58723ec9f0bf48c62639a2779b1625", + "sourceBytes": 3955526, + "bytes": 443024, + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "sha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3", + "width": 1586, + "height": 992, + "bytes": 2326770 + } + } + ] +} diff --git a/web/public/assets/opening/mochi-quay-landscape-2880.webp b/web/public/assets/opening/mochi-quay-landscape-2880.webp new file mode 100644 index 0000000..defea4c Binary files /dev/null and b/web/public/assets/opening/mochi-quay-landscape-2880.webp differ diff --git a/web/public/assets/opening/mochi-quay-landscape.webp b/web/public/assets/opening/mochi-quay-landscape.webp new file mode 100644 index 0000000..8b62755 Binary files /dev/null and b/web/public/assets/opening/mochi-quay-landscape.webp differ diff --git a/web/public/assets/opening/mochi-quay.webp b/web/public/assets/opening/mochi-quay.webp new file mode 100644 index 0000000..b7caf64 Binary files /dev/null and b/web/public/assets/opening/mochi-quay.webp differ diff --git a/web/public/assets/opening/provenance.json b/web/public/assets/opening/provenance.json new file mode 100644 index 0000000..b9b2cca --- /dev/null +++ b/web/public/assets/opening/provenance.json @@ -0,0 +1,1195 @@ +{ + "purpose": "Authored opening scenes for Familiar", + "delivery": "Native generator outputs and full-resolution masters remain separately preserved and hashed. Delivery WebPs use proportional Lanczos resizing to portrait780x1688 and landscape1728x1080 or landscape2880x1800, encoded at quality87, method6, sharp_yuv. The 2880px candidate resamples the approved 2304px master and adds no native detail; preserved landscape generator outputs are approximately 1586px wide. No crops or repaints. Tiny first- and final-scene WebP posters (quality55) are inlined in code for immediate paint. All text is rendered in code.", + "inlinePosters": [ + { + "orientation": "portrait", + "source": "web/assets/source/opening/mochi-quay.png", + "sourceSha256": "00e75b1464b4bbbecc40b6e1064121a8df3df74f8a1ddbce8a8cd237e883f760", + "sha256": "b9bb0d687802766b7ad6098dc719649db154d39b40c2b0d97f6f2d30804018c3", + "bytes": 1274, + "dataUriBytes": 1723, + "width": 60, + "height": 130 + }, + { + "orientation": "landscape", + "source": "web/assets/source/opening/mochi-quay-landscape.png", + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "sha256": "cd996d96a1e2c86af398a654e56d2e17ff271a8d0b37ef12956077c4c28a5345", + "bytes": 1316, + "dataUriBytes": 1779, + "width": 96, + "height": 60 + }, + { + "orientation": "portrait", + "source": "web/assets/source/opening/storm.png", + "sourceSha256": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4", + "sha256": "d226fef0cc4b6ecb009f3958bee8a52bbdb3ecc7c94be25569b46a1f28fd80c0", + "bytes": 1170, + "dataUriBytes": 1583, + "width": 60, + "height": 130 + }, + { + "orientation": "landscape", + "source": "web/assets/source/opening/storm-landscape.png", + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sha256": "eb59c7255d55fc711ef58b97cdcf0bb8ec3cd9f900db762c134a178663d9d288", + "bytes": 896, + "dataUriBytes": 1219, + "width": 96, + "height": 60 + } + ], + "files": { + "beacon-dark.webp": { + "master": "web/assets/source/opening/beacon-dark.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: lighting-weather. Edit only the light in supplied approved Familiar storm plate. Keep EXACT1170x2532 canvas aspect390:844, camera, geometry and every object pixel-position; no zoom, no crop, no recomposition. Extinguish ONLY upper lighthouse lantern room and amber beam and corresponding amber sea reflection. Keep warm cottage windows and little tower stair windows. Glass is dark cool blue transparent glass, not black hole. Keep red cap, balcony, clouds, rain, waves, cottage, tiny foliage, stone quay and foreground all precisely registered. Entire lighthouse top-right stays in same coordinates. Absolutely no additional damage, people, Wren, cats, cause for failure, text, UI, symbols or gradients. Faithful high-quality localized lighting edit for matched dissolve.", + "styleReferences": [ + "web/assets/source/opening/storm.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/beacon-dark.png", + "width": 852, + "height": 1846, + "sha256": "8fb9f2798bb795343fa9dd4e987dc7adee0f7a8cb6841720009a0ccd46672aa4" + }, + "sourceSha256": "bb5dc1091803367023bfb1be2ca0278a3846056511402c05240a66817e92b301", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/storm.png": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 780, + "height": 1688 + }, + "sha256": "dd0f4527d0cfb3ad9becbb6eadbfdffd3a625d3db2b795afcf8691d1cc14cf53", + "bytes": 147218 + } + }, + "beacon-dark-landscape.webp": { + "master": "web/assets/source/opening/beacon-dark-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: lighting-weather. Localized light cleanup only, preserve exact16:10 canvas and ALL object geometry/pixel positions of supplied dark-beacon landscape. The UPPER BEACON IS OFF. REMOVE the large broad bright GOLDEN VERTICAL REFLECTION STRIP beneath the lighthouse on the RIGHT, both on SEA below island and on wet foreground stone below/right rail. This gold strip is residual light from failed upper beacon and must disappear. Replace those golden pixels with cool petrol teal/blue sea and dim taupe wet paving continuous with neighbors. Keep cottage-window golden reflections in middle x700-1000logical. Lighthouse SMALL stair windows may remain tiny warm lights, but their small dim reflections cannot form a wide bright stripe or spotlight on paving. Upper lantern room dark cool glass, absolutely no glow/beam. Preserve lighthouse cap/tower/island, cottages, rain/clouds, waves, clean left caption area and every post/rope location unchanged. No damage/characters/text/UI/gradients. The only change is removing physically incorrect broad right gold reflections; faithful miniature night mood.", + "initialPrompt": "Use case: lighting-weather. Edit supplied approved landscape storm plate at exact same16:10/2304x1440. Preserve EXACT camera, scale, geometry, clouds, rain, sea wave shapes, all houses, trees, full lighthouse red cap/balcony/tower/island and foreground railings/paving. Change ONLY lighthouse upper lantern-room illumination: turn it off, remove leftward amber beam and its sea reflection. Keep all cottage and tower stair window warm lights intact. Lantern room remains recognizable dark cool glass, not black hole or boarded up. Keep every object registered for a matched dissolve. No text/UI/logos/borders/gradients, no characters or damage.", + "styleReferences": [ + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm-landscape.png" + ], + "attempts": 3, + "refinement": "Cleared desktop reading field by re-deriving dark plate from approved storm, then removed residual beacon-derived amber sea/stone reflection.", + "native": { + "path": "web/assets/source/opening/generated/beacon-dark-landscape.png", + "width": 1586, + "height": 992, + "sha256": "ab91a3b7a407ed6881bfd468b7c28cf2b777de62bb932ee2c7272bb726bd1d67" + }, + "sourceSha256": "b79e1c684d6e78325020e1df607b69b514532e548b4529a9fd6f1e1063596f3d", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png": "b14e2e09b5a79f3d0447fa290efeb0f991785d74b676102624baa8d1f6295ad4" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "sha256": "379b5ed44e3f47f954aa131a7b383f2a31f3a0624ba99c7321bc419b327500dd", + "bytes": 161958 + } + }, + "beacon-dark-landscape-2880.webp": { + "master": "web/assets/source/opening/beacon-dark-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: lighting-weather. Localized light cleanup only, preserve exact16:10 canvas and ALL object geometry/pixel positions of supplied dark-beacon landscape. The UPPER BEACON IS OFF. REMOVE the large broad bright GOLDEN VERTICAL REFLECTION STRIP beneath the lighthouse on the RIGHT, both on SEA below island and on wet foreground stone below/right rail. This gold strip is residual light from failed upper beacon and must disappear. Replace those golden pixels with cool petrol teal/blue sea and dim taupe wet paving continuous with neighbors. Keep cottage-window golden reflections in middle x700-1000logical. Lighthouse SMALL stair windows may remain tiny warm lights, but their small dim reflections cannot form a wide bright stripe or spotlight on paving. Upper lantern room dark cool glass, absolutely no glow/beam. Preserve lighthouse cap/tower/island, cottages, rain/clouds, waves, clean left caption area and every post/rope location unchanged. No damage/characters/text/UI/gradients. The only change is removing physically incorrect broad right gold reflections; faithful miniature night mood.", + "initialPrompt": "Use case: lighting-weather. Edit supplied approved landscape storm plate at exact same16:10/2304x1440. Preserve EXACT camera, scale, geometry, clouds, rain, sea wave shapes, all houses, trees, full lighthouse red cap/balcony/tower/island and foreground railings/paving. Change ONLY lighthouse upper lantern-room illumination: turn it off, remove leftward amber beam and its sea reflection. Keep all cottage and tower stair window warm lights intact. Lantern room remains recognizable dark cool glass, not black hole or boarded up. Keep every object registered for a matched dissolve. No text/UI/logos/borders/gradients, no characters or damage.", + "styleReferences": [ + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm-landscape.png" + ], + "attempts": 3, + "refinement": "Cleared desktop reading field by re-deriving dark plate from approved storm, then removed residual beacon-derived amber sea/stone reflection.", + "native": { + "path": "web/assets/source/opening/generated/beacon-dark-landscape.png", + "width": 1586, + "height": 992, + "sha256": "ab91a3b7a407ed6881bfd468b7c28cf2b777de62bb932ee2c7272bb726bd1d67" + }, + "sourceSha256": "b79e1c684d6e78325020e1df607b69b514532e548b4529a9fd6f1e1063596f3d", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/beacon-dark-landscape-lighting.png": "b14e2e09b5a79f3d0447fa290efeb0f991785d74b676102624baa8d1f6295ad4" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos upsample from approved master; no new native detail; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "sha256": "cfbe66c75b6780ed6470ec111c4bd5b0b2ea4e46f3ba0b708bc7a3dfaa13671d", + "bytes": 304218 + } + }, + "boats-home.webp": { + "master": "web/assets/source/opening/boats-home.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: precise-object-edit. Edit ONLY three fishing boat placements in supplied approved Familiar portrait. Keep EXACT1170x2532 canvas390:844 aspect, all lighthouse, cottages, clouds, rocks, foliage, shoreline, posts and paving pixel positions, colors, beautiful tactile material. All THREE complete boats must stay visible. Scale the group of three boats to90percent current size and shift that whole group left by30 logical CSS pixels (90pixels on1170 canvas), without changing y center or boat designs. Rightmost stern/bow must be LEFT of logical x326 (978pixels on1170canvas), left boat entirely beyond x62, all hulls remain betweeny385-520. Maintain distinct separated hulls with coherent wakes and lantern reflections. Fill vacated sea naturally. The full dark beacon and lovely calm foreground remain unchanged. No Wren/rowboat/new characters, no text/interface/border/baked gradient.", + "initialPrompt": "Use case: lighting-weather. Recompose reference1 approved Familiar storm portrait as same precise1170x2532 aspect390:844 camera and architecture, using reference2 for three fishing boat identities and reference3 as canonical house style. Storm eases into blue-violet predawn, small rose opening on horizon. Lighthouse remains DARK. Preserve full red cap, dark lantern room, balcony at logicalx248-344/y175-305, same tower/base and cottages as reference1. THREE distinct working fishing boats return safely toward quay, all three COMPLETE hulls plus masts/bows/sterns within logicalx62-326/y385-520. No hull cropped or behind another hull, stagger depth in gentle sheltered teal water, coherent warm timber hulls and modest cabin lanterns. Narrow boat sizes fit visibly. No Wren or rowboat, no evidence of her return or abandonment. Reference2 supplies boat designs only, DO NOT copy its framing. Keep headerx20-190/y14-75 quiet low detail. All posts/rope above y550; lower y600-844 calm low-contrast damp sandstone with no foliage/posts/bright joints. Lovely restrained relief, tactile miniature rounded clay architecture, warm windows, dusky lilac shadows. No text/UI/logos/borders/baked gradients. Exact portrait aspect390:844.", + "styleReferences": [ + "web/assets/source/opening/generated/boats-home-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm.png", + "web/assets/source/opening/generated/boats-home-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 2, + "native": { + "path": "web/assets/source/opening/generated/boats-home.png", + "width": 852, + "height": 1846, + "sha256": "54be661bcc9416331b23b9ad033911d3e254857c0aa1e8c1e3c1cd62fd199b07" + }, + "sourceSha256": "8b403856f058f5dd25d9b515b758ead9f2640f106dd41f17ea41dd08e4423841", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/boats-home-layout.png": "9c5cb7df9aa367c3447a4df86fdefc0b8cfdd9f88286a13a31543eb119745206" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 780, + "height": 1688 + }, + "sha256": "d0c13ea762a83492adfbf211dca8349c2083bb6702c3b802a7bc89c5451c65af", + "bytes": 130534 + } + }, + "boats-home-landscape.webp": { + "master": "web/assets/source/opening/boats-home-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: compositing. Create ONE landscape16:10 2304x1440 Familiar boats-home scene. Image1 governs three boat designs/narrative and lilac predawn colors. Image2 is exact approved landscape storm geography/camera. Preserve image2 single coherent harbor: FULL red capped lighthouse on island at right; small cream/terracotta cottages in middle distance center-right; wide sheltered water toward left; broad calm stone foreground. Lighthouse upper room remains DARK. Storm has eased, violet-blue predawn with restrained rose horizon; THREE complete small fishing boats returning toward quay with modest warm lamps, staggered, distinct readable coherent timber hulls, all hulls/masts/bows/sterns in right half logicalx800-1280 y430-620. No Wren, rowboat, abandonment, new people or celebration. Keep top-left dark quiet sky for wordmark. Foreground railing and posts must be at y480-530 MAXIMUM, not through caption field; broad uninterrupted calm low-contrast stone x50-570 y540-850. Quiet control area at lower left. Natural continuous environment across entire canvas, never repeated background or inset portrait, seams or blurred filler. Rich handcrafted miniatures same tactile materials. No text/logos/interface/borders/baked vignette or gradients.", + "styleReferences": [ + "web/assets/source/opening/generated/boats-home-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/boats-home.png", + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "attempts": 2, + "native": { + "path": "web/assets/source/opening/generated/boats-home-landscape.png", + "width": 1586, + "height": 992, + "sha256": "bdcb5b80a1fb6bec81c60e189d5c5f31d3fc7c2d01eb23d192aaa76a4f008f67" + }, + "sourceSha256": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/boats-home-landscape-layout.png": "7d8a93874a87227984d1d63c4d03dad9df0d212d18a1376bf4dfd8820ad00ea8" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "sha256": "c81403d5f5b130041b1b9e048da48a94a149a531a88810cbebee237ddeb59f4d", + "bytes": 150112 + } + }, + "boats-home-landscape-2880.webp": { + "master": "web/assets/source/opening/boats-home-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: compositing. Create ONE landscape16:10 2304x1440 Familiar boats-home scene. Image1 governs three boat designs/narrative and lilac predawn colors. Image2 is exact approved landscape storm geography/camera. Preserve image2 single coherent harbor: FULL red capped lighthouse on island at right; small cream/terracotta cottages in middle distance center-right; wide sheltered water toward left; broad calm stone foreground. Lighthouse upper room remains DARK. Storm has eased, violet-blue predawn with restrained rose horizon; THREE complete small fishing boats returning toward quay with modest warm lamps, staggered, distinct readable coherent timber hulls, all hulls/masts/bows/sterns in right half logicalx800-1280 y430-620. No Wren, rowboat, abandonment, new people or celebration. Keep top-left dark quiet sky for wordmark. Foreground railing and posts must be at y480-530 MAXIMUM, not through caption field; broad uninterrupted calm low-contrast stone x50-570 y540-850. Quiet control area at lower left. Natural continuous environment across entire canvas, never repeated background or inset portrait, seams or blurred filler. Rich handcrafted miniatures same tactile materials. No text/logos/interface/borders/baked vignette or gradients.", + "styleReferences": [ + "web/assets/source/opening/generated/boats-home-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/boats-home.png", + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "attempts": 2, + "native": { + "path": "web/assets/source/opening/generated/boats-home-landscape.png", + "width": 1586, + "height": 992, + "sha256": "bdcb5b80a1fb6bec81c60e189d5c5f31d3fc7c2d01eb23d192aaa76a4f008f67" + }, + "sourceSha256": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/boats-home-landscape-layout.png": "7d8a93874a87227984d1d63c4d03dad9df0d212d18a1376bf4dfd8820ad00ea8" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos upsample from approved master; no new native detail; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "sha256": "01d1e240165bfbf7b10084937eeaaed06679b582f4ffcd166f9169d0f55fe0d0", + "bytes": 269048 + } + }, + "harbor-dawn.webp": { + "master": "web/assets/source/opening/harbor-dawn.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: lighting-weather. Edit supplied approved boats-home portrait into next morning, at EXACT same camera and390:844 aspect1170x2532. Preserve every architecture position, lighthouse scale, perspective, clay sandstone and miniature material. Change blue-violet predawn to luminous gentle PEACH DAWN, lilac cloud undersides, soft blue-green sea, restrained warm reflections; joyful quiet morning not bright noon. Lighthouse upper lantern room remains unmistakably DARK/unlit, whole red cap, balcony, tower unchanged. All THREE fishing boats have berthed outside frame: remove them cleanly and continue natural water; do not leave rowboat, no Wren or new characters. One delicate chimney wisp and opened cottage shutter suggest waking. Turn off cottage night lights. Keep header low-detail and quiet. All foreground posts/rope stay ABOVE logical y550; x26-364 y600-744 quiet softly shaded taupe paving without bright seams, flowers, posts, high contrast reflections, and y760-824 quiet. Preserve warm colors everywhere else, do not darken painting. Authentic premium clay/felt/wood/brass house art, no plastic gloss or flat illustration. No text/UI/borders/lettering/baked caption gradients.", + "styleReferences": [ + "web/assets/source/opening/boats-home.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn.png", + "width": 852, + "height": 1846, + "sha256": "44f4487a44c1fe7a1b46a539ccfc53d3d73427cba59cceb0a32d27dedd1683f6" + }, + "sourceSha256": "7de5a0da3cefd24afbc4ad0fe70825e5050ee0547c5ad2f162e27a367b310b6b", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/boats-home.png": "8b403856f058f5dd25d9b515b758ead9f2640f106dd41f17ea41dd08e4423841" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 780, + "height": 1688 + }, + "sha256": "b4914ee3b07db3573da6bfbd36762d6e805fad8d7e6c59f2a4af48cc47557fd4", + "bytes": 136722 + } + }, + "harbor-dawn-landscape.webp": { + "master": "web/assets/source/opening/harbor-dawn-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: lighting-weather. Edit supplied approved Familiar boats-home landscape at EXACT identical16:10/2304x1440 canvas/camera/perspective/object positions. This is NEXT MORNING. Remove all three fishing boats entirely and fill natural sheltered blue-green water; they berthed outside view, no rowboat or people. Replace blue-violet night/predawn light with luminous soft peach dawn, lilac clouds, muted teal water and warm clay sandstone. Keep full lighthouse cap, lantern room, balcony, tower, island exact position/scale; upper glass stays DARK/unlit, no amber beam. Turn off night lamps/windows; tiny chimney wisp suggests waking. IMPORTANT keep left reading region clear as in supplied image: NO posts/rope/flowers in left half; soft calm water/stone at x50-570 y540-850, low contrast paving with no bright seams. Right rail may remain. Quiet low-detail top-left sky for native wordmark. Preserve beautiful tactile tiny handmade clay/wood/foliage surfaces, sophisticated morning color, no whole-scene darkening. One coherent full-bleed authored painting, no duplicate layers or blurred filler. No new narrative objects, Wren, cats, text/UI/logos/borders/baked vignette.", + "styleReferences": [ + "web/assets/source/opening/boats-home-landscape.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn-landscape.png", + "width": 1586, + "height": 992, + "sha256": "173a90806f2a29171979c0ed5bd4c2b5cada5f2c0e7690027c96658bc39d69d9" + }, + "sourceSha256": "4bdac4da6e9b308b1d1d82a003fbf9c4a13a376515243042ee9e94cd5829587a", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/boats-home-landscape.png": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "sha256": "32d003f5f1ca55c06d1b15e5700383a0b526eaba458123cee8182e491bbba1a5", + "bytes": 167334 + } + }, + "harbor-dawn-landscape-2880.webp": { + "master": "web/assets/source/opening/harbor-dawn-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: lighting-weather. Edit supplied approved Familiar boats-home landscape at EXACT identical16:10/2304x1440 canvas/camera/perspective/object positions. This is NEXT MORNING. Remove all three fishing boats entirely and fill natural sheltered blue-green water; they berthed outside view, no rowboat or people. Replace blue-violet night/predawn light with luminous soft peach dawn, lilac clouds, muted teal water and warm clay sandstone. Keep full lighthouse cap, lantern room, balcony, tower, island exact position/scale; upper glass stays DARK/unlit, no amber beam. Turn off night lamps/windows; tiny chimney wisp suggests waking. IMPORTANT keep left reading region clear as in supplied image: NO posts/rope/flowers in left half; soft calm water/stone at x50-570 y540-850, low contrast paving with no bright seams. Right rail may remain. Quiet low-detail top-left sky for native wordmark. Preserve beautiful tactile tiny handmade clay/wood/foliage surfaces, sophisticated morning color, no whole-scene darkening. One coherent full-bleed authored painting, no duplicate layers or blurred filler. No new narrative objects, Wren, cats, text/UI/logos/borders/baked vignette.", + "styleReferences": [ + "web/assets/source/opening/boats-home-landscape.png" + ], + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/harbor-dawn-landscape.png", + "width": 1586, + "height": 992, + "sha256": "173a90806f2a29171979c0ed5bd4c2b5cada5f2c0e7690027c96658bc39d69d9" + }, + "sourceSha256": "4bdac4da6e9b308b1d1d82a003fbf9c4a13a376515243042ee9e94cd5829587a", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/boats-home-landscape.png": "7cdf050b05cf4fcf31bd7e3e8fc641a38c238769628002e8e08cdd45d537acba" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos upsample from approved master; no new native detail; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "sha256": "2bd741c8d006ee2a3ea3035cd575d969197af02b64f2e97c8f8f44768796b3b8", + "bytes": 308574 + } + }, + "mochi-quay.webp": { + "master": "web/assets/source/opening/mochi-quay.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: identity-preserve / illustration-story. Recompose reference image 1, the canonical Familiar Mochi arrival scene, into a true tall 390:844 portrait composition, intended output1170x2532. Reference image2 is the house harbor materials and geography. Preserve ONE Mochi exactly: orange felt tabby, three forehead stripes, cream muzzle and paws, two dark whiskers per cheek, brown eyes, red scarf and stitched brown satchel. Same curious capable three-quarter head tilt and standing pose, unchanged character proportions. At logical390x844, place her complete silhouette including tail within x95-264/y290-540, feet at y540 and eyeline around y365. She is a nearby companion; leave clear low-detail open space to her left for a later Bram entrance. Lighthouse is behind her on the right: entire red cap, dark glass lantern room and wooden balcony must stay within x262-344/y155-285 with ≥24px right clearance; tower and base within x250-358/y260-425. Unlit beacon, no beam. Soft peach dawn, lilac cloud undersides, blue-green harbor, tactile sandstone, miniature trees, cottage terracotta and brass. Keep x20-190/y14-75 quiet subdued dawn sky or dark low-detail foliage behind future native wordmark. All quay posts and ropes above y555. Reserve x26-364/y600-744 and y760-824 for quiet low-contrast gently shaded stone, with no flowers, strong bright joints, posts or rope crossing this region. No baked caption gradients. Full tall authored painting, no letterbox, no stretched or cropped inset. No new accessories, no redesign, no second cat or enlarged background face, no Wren, no added Bram, no new plot evidence, text, logos, interface or borders. This is a provisional FILM staging target, not a claim to match an unavailable live prologue.", + "styleReferences": [ + "web/assets/source/opening/generated/mochi-quay-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "sourceSha256": "00e75b1464b4bbbecc40b6e1064121a8df3df74f8a1ddbce8a8cd237e883f760", + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay.png", + "width": 852, + "height": 1846, + "sha256": "50279475395149dd3838cc9f92da387c1e1cece19912347a8fdd4e5f2364efde" + }, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 780, + "height": 1688 + }, + "sha256": "32a6b19c24e609013b9bc3f8de4789edecef9bfe5597bcf0ddf48ba9466d3b15", + "bytes": 199102 + }, + "registration": "Film target only. No captured live Slice B prologue exists in accessible worktrees; cross-scene match remains unverified.", + "styleReferenceHashes": { + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920", + "web/assets/source/opening/generated/mochi-quay-reference.png": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + "referenceHashes": [ + { + "path": "web/assets/source/opening/generated/mochi-quay-reference.png", + "sha256": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + } + ] + }, + "mochi-quay-landscape.webp": { + "master": "web/assets/source/opening/mochi-quay-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: identity-preserve / illustration-story. Create one beautiful premium handcrafted Familiar landscape film plate, exactly 16:10 composition, intended 2304x1440. Image 1 is the canonical Mochi arrival character and dawn scene: preserve Mochi's orange felt tabby identity, three forehead stripes, cream muzzle and paws, two dark whiskers per cheek, brown eyes, red scarf, and stitched brown satchel, her curious capable expression and current standing pose. Image 2 is the house harbor material and geography reference. Compose a single spatially coherent landscape view of this harbor at warm peach and lilac dawn. Place ONE complete Mochi in the right half, full silhouette at logical x875-1140/y330-665 on a 1440x900 canvas; feet around y665, eyeline around y425, nearby companion scale. Place the complete dark beacon including red cap, lantern room, wooden balcony, tower and base behind her toward logical x1170-1340/y145-510, at least 70 pixels from right edge. The beacon remains unlit. Naturally extend actual water, sky and wet sandstone toward the left with continuous miniature perspective; left x50-570/y540-850 is quiet softly shaded low-detail stone for future native captions and buttons. Top-left x30-260/y20-95 quiet dark foliage or subdued dawn sky for a future wordmark. Keep posts and rope out of the reading column. Preserve Familiar rounded cream sandstone, terracotta roof, imperfect clay masonry, felt textures, brass, wood, subtle miniature greenery. Warm luminous morning everywhere except naturally shaded left stone. No gradients painted for captions. No second Mochi, no enlarged background face, no portrait panel, no seam, no mirroring, no blurred filler, no Wren, no Bram added, no new accessories or narrative elements, no text or interface anywhere.", + "styleReferences": [ + "web/assets/source/opening/generated/mochi-quay-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay-landscape.png", + "width": 1586, + "height": 992, + "sha256": "9cb9de8e64629b9972568b52c278fe835574f7dac5909ff09bf6f9afbdf0b265" + }, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "sha256": "a2605b9648d82e407ac7290e1312deabcda2d8b026750a4c98b15f60474ab076", + "bytes": 333838 + }, + "registration": "Film target only, no live prologue registration reference available.", + "styleReferenceHashes": { + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920", + "web/assets/source/opening/generated/mochi-quay-reference.png": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + "referenceHashes": [ + { + "path": "web/assets/source/opening/generated/mochi-quay-reference.png", + "sha256": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + } + ] + }, + "mochi-quay-landscape-2880.webp": { + "master": "web/assets/source/opening/mochi-quay-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: identity-preserve / illustration-story. Create one beautiful premium handcrafted Familiar landscape film plate, exactly 16:10 composition, intended 2304x1440. Image 1 is the canonical Mochi arrival character and dawn scene: preserve Mochi's orange felt tabby identity, three forehead stripes, cream muzzle and paws, two dark whiskers per cheek, brown eyes, red scarf, and stitched brown satchel, her curious capable expression and current standing pose. Image 2 is the house harbor material and geography reference. Compose a single spatially coherent landscape view of this harbor at warm peach and lilac dawn. Place ONE complete Mochi in the right half, full silhouette at logical x875-1140/y330-665 on a 1440x900 canvas; feet around y665, eyeline around y425, nearby companion scale. Place the complete dark beacon including red cap, lantern room, wooden balcony, tower and base behind her toward logical x1170-1340/y145-510, at least 70 pixels from right edge. The beacon remains unlit. Naturally extend actual water, sky and wet sandstone toward the left with continuous miniature perspective; left x50-570/y540-850 is quiet softly shaded low-detail stone for future native captions and buttons. Top-left x30-260/y20-95 quiet dark foliage or subdued dawn sky for a future wordmark. Keep posts and rope out of the reading column. Preserve Familiar rounded cream sandstone, terracotta roof, imperfect clay masonry, felt textures, brass, wood, subtle miniature greenery. Warm luminous morning everywhere except naturally shaded left stone. No gradients painted for captions. No second Mochi, no enlarged background face, no portrait panel, no seam, no mirroring, no blurred filler, no Wren, no Bram added, no new accessories or narrative elements, no text or interface anywhere.", + "styleReferences": [ + "web/assets/source/opening/generated/mochi-quay-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "sourceSha256": "356ae00ca91d9147ce02bd294879939a2744ec615069079bd70200e300ed97c5", + "attempts": 1, + "native": { + "path": "web/assets/source/opening/generated/mochi-quay-landscape.png", + "width": 1586, + "height": 992, + "sha256": "9cb9de8e64629b9972568b52c278fe835574f7dac5909ff09bf6f9afbdf0b265" + }, + "delivery": { + "operation": "Proportional Lanczos upsample from approved master; no new native detail; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "sha256": "6f0e79667653888d3a3e70fc753016510e14116dcafc0850201dd99ac75d8475", + "bytes": 569410 + }, + "registration": "Film target only, no live prologue registration reference available.", + "styleReferenceHashes": { + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920", + "web/assets/source/opening/generated/mochi-quay-reference.png": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + "referenceHashes": [ + { + "path": "web/assets/source/opening/generated/mochi-quay-reference.png", + "sha256": "17f4f3694f84b9d915b410901ac4018bcacad557e0229f1024db87e93cbf0e66" + }, + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + } + ] + }, + "rowing-out.webp": { + "master": "web/assets/source/opening/rowing-out.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: compositing. Recompose image 1, Wren rowing out, into a finished premium handcrafted Familiar game illustration. EXACT 390:844 width:height ratio (0.462085:1), intended delivery1170×2532. Image 2 establishes clay/felt/timber house material language. Preserve the anonymous adult keeper seen only from BEHIND in the modest moss-green felt hood/cape, TWO anatomical hands, TWO continuous wooden oars passing through proper oarlocks with TWO COMPLETE blades, coherent clinker walnut hull and one warm brass lantern secured at the bow. No face. Strong beautiful miniature craft, tiny wet wood grain and worn brass, soft imperfect clay forms, never glossy plastic or realistic human drama. Boat points toward the upper-center bay. Place ENTIRE rowboat, keeper, lantern, both oars and splash assembly inside logical x54–336/y300–505; each blade has at least40px horizontal edge clearance. Warm lantern focal point near x215/y320; caped back near x195/y375. Three very distant small working fishing boats with restrained amber cabin lights sit near the horizon at y245, all hulls readable. A small piece of harbor wall upper left around y255–350 establishes leaving shore. Rain and muted slate-violet clouds, softly rolling deep petrol-teal water, tender courage and practical care. x20–190/y14–75 quiet low-detail dark sky for the native wordmark; lower third y575–844 quiet water with low-contrast texture and no bright reflection or foam behind x26–364/y600–744 captions or y760–824 controls. The boat must remain above this lower text area. Full bleed, single coherent camera, no inset, no border, no text/logos/UI/letters/numbers, no extra oars or limbs, no wreckage, no lightning, no animal, no cause of failure, no implication of Wren's fate. Requested model gpt-6-astra.", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/rowing-out.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/rowing-out-reference.png" + ], + "visualReview": "Anonymous rear view; two hands, two complete oars and coherent hull, quiet dark caption water.", + "generatedSize": { + "width": 852, + "height": 1846 + }, + "generatedSha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "sourceSha256": "04d2190648c0edca9a6295c79e0bbba9fd6219511915977c34759ba5eefebb7c", + "sourceBytes": 3296206, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 1170, + "height": 2532 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/rowing-out-reference.png", + "sha256": "20d3c7e97ecb8efb419348e795e27872b75b8dcd8bf5f736413f73a2c04f3f94" + } + ], + "native": { + "path": "web/assets/source/opening/generated/rowing-out.png", + "width": 852, + "height": 1846, + "sha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d" + }, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 780, + "height": 1688 + }, + "sha256": "e8478515bc423a3af6fa6a9d1e0ca853a34aafa1ffb6789734d6f5f058519264", + "bytes": 131104 + } + }, + "rowing-out-landscape.webp": { + "master": "web/assets/source/opening/rowing-out-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: compositing. Create one authored LANDSCAPE adaptation of image1, Wren rowing out, EXACT width:height 16:10, intended2304×1440 pixels for1440×900. Image2 is house material reference. Keep anonymous ADULT Wren solely from the BACK, moss-green felt cape hood concealing face, two anatomical hands, one coherent walnut clinker-built rowboat with two oarlocks, TWO continuous shafts and TWO complete wooden blades, one warm brass lantern at bow. Compose the whole boat/keeper/lantern/oars assembly in the RIGHT half, logically x760–1320/y330–650; every blade clear of every viewport edge by at least70px. The boat points away toward three distant working fishing boats near horizon y275, small warm cabin lamps. A fragment of cream sandstone harbor wall may occupy far upper-left. Rich handcrafted stop-motion miniature materials: felt weave, damp walnut grain, softly imperfect clay stone, muted purple slate storm sky, deep petrol teal softly sculpted waves with restrained bright crests. Preserve quiet courage, not peril. The LEFT lower half x50–570/y540–850 is naturally calm dark teal water with subtle texture and no foam/rope/bright reflections behind native captions and controls. Continuous perspective across entire landscape, no fake filler, no duplicate subject, no repeated background, no seam, no inset panel, no blur strip, no vignette. Quiet upper-left and upper-right sky for future controls. No face, animals, text, UI, letters, logos, borders, lightning, wreckage or implication about Wren's fate. Requested model gpt-6-astra.", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/rowing-out-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/rowing-out.png" + ], + "visualReview": "Single coherent landscape; full oars and boat at right, quiet lower-left water.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "1f7d8c0ac00612b44712f348b688b2f68543e088b39d61d13f7a75c370432697", + "sourceBytes": 3627804, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/rowing-out.png", + "sha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d" + } + ], + "native": { + "path": "web/assets/source/opening/generated/rowing-out-landscape.png", + "width": 1586, + "height": 992, + "sha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee" + }, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "sha256": "cf232506715a68d389d65506c0eeaf9bd8bf65e91de79be52e3bcf599544c42e", + "bytes": 161668 + } + }, + "rowing-out-landscape-2880.webp": { + "master": "web/assets/source/opening/rowing-out-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: compositing. Create one authored LANDSCAPE adaptation of image1, Wren rowing out, EXACT width:height 16:10, intended2304×1440 pixels for1440×900. Image2 is house material reference. Keep anonymous ADULT Wren solely from the BACK, moss-green felt cape hood concealing face, two anatomical hands, one coherent walnut clinker-built rowboat with two oarlocks, TWO continuous shafts and TWO complete wooden blades, one warm brass lantern at bow. Compose the whole boat/keeper/lantern/oars assembly in the RIGHT half, logically x760–1320/y330–650; every blade clear of every viewport edge by at least70px. The boat points away toward three distant working fishing boats near horizon y275, small warm cabin lamps. A fragment of cream sandstone harbor wall may occupy far upper-left. Rich handcrafted stop-motion miniature materials: felt weave, damp walnut grain, softly imperfect clay stone, muted purple slate storm sky, deep petrol teal softly sculpted waves with restrained bright crests. Preserve quiet courage, not peril. The LEFT lower half x50–570/y540–850 is naturally calm dark teal water with subtle texture and no foam/rope/bright reflections behind native captions and controls. Continuous perspective across entire landscape, no fake filler, no duplicate subject, no repeated background, no seam, no inset panel, no blur strip, no vignette. Quiet upper-left and upper-right sky for future controls. No face, animals, text, UI, letters, logos, borders, lightning, wreckage or implication about Wren's fate. Requested model gpt-6-astra.", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/rowing-out-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/rowing-out.png" + ], + "visualReview": "Single coherent landscape; full oars and boat at right, quiet lower-left water.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "1f7d8c0ac00612b44712f348b688b2f68543e088b39d61d13f7a75c370432697", + "sourceBytes": 3627804, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/rowing-out.png", + "sha256": "3611b40e0d104abbf00cf2027a741a57d699ec4bf02a89af2cf5487dd944899d" + } + ], + "native": { + "path": "web/assets/source/opening/generated/rowing-out-landscape.png", + "width": 1586, + "height": 992, + "sha256": "6000bef6bd636225e7b3daba1f83b2ea32b0042bf61e04c7137f1be4e63893ee" + }, + "delivery": { + "operation": "Proportional Lanczos upsample from approved master; no new native detail; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "sha256": "813f9c5fe58576973ea8150448bbfa1fa34f2a4d8e82e40f46fff468f90da755", + "bytes": 315080 + } + }, + "storm.webp": { + "master": "web/assets/source/opening/storm.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: stylized-concept. Recompose reference 1 (existing storm) with materials and harbor architecture locked to reference 2 (canonical house harbor) into a premium handcrafted cozy game painting. EXACT very tall 390:844 portrait aspect, output 1170x2532 pixels. This is a new camera composition, not a crop of a 2:3 image. Tiny clay sandstone cottages, terracotta roofs, tactile rounded imperfect masonry, miniature timber, twisted rope, soft clustered foliage. Night rain crosses petrol-teal water under muted slate-violet clouds. FULL red capped lighthouse, complete lantern room AND balcony entirely inside logical x248-344 y175-305, tower/base inside x234-360 y290-445. Use these logical coordinates on 390x844 canvas, multiply by3 for output. Keep >=24 logical pixels to right of balcony. Restrained amber beacon beam crosses sea leftward. Warm cottage windows imply shelter. Quiet dark sky at x20-190 y14-75 behind future native wordmark. All foreground posts/rope above y550. Lower third (y600-844) natural low-detail damp softly shaded sandstone quay, subtle broad reflections, absolutely no large flowers/posts/ropes or high-contrast paving seams here. Reserve calm caption area x26-364 y600-744 and controls y760-824. Sophisticated stop-motion materials, intimate lovely miniature light, no shiny plastic, no photographic storm spectacle. No characters, cats, damage, lightning, text, logos, UI, borders, or baked gradients. Preserve charming warm shelter amid rain and full architecture; beautiful production art.", + "styleReferences": [ + "web/assets/source/opening/generated/storm-reference.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 1, + "normalization": { + "operation": "Crop surplus upper sky and lower foreground (798x1727+0+200), then resize to1170x2532. Subpixel aspect rounding only; no subject cropping.", + "upscaled": true + }, + "native": { + "path": "web/assets/source/opening/generated/storm.png", + "width": 798, + "height": 1972, + "sha256": "f2dcf51a97984e0740b521eb5321721f73db3acac82d5ea76544944cdf1ae58a" + }, + "sourceSha256": "06571cc51e50d426045cec796742535395ae96f610bc6545f91071517be378f4", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/storm-reference.png": "0ad423df4331fe6eb71121bda74f21e724984c30f56cd2d4171e30bed907e566", + "web/assets/source/first-light-motion/harbor.png": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 780, + "height": 1688 + }, + "sha256": "6a3171d5a6f1af933a8de7ddf92c2cf0cf995b0d0284d88cefcbf97401b53a47", + "bytes": 172552 + } + }, + "storm-landscape.webp": { + "master": "web/assets/source/opening/storm-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: stylized-concept. Create ONE spatially coherent landscape composition16:10,2304x1440, adapting supplied APPROVED Familiar storm portrait and house harbor reference. Exact same storm narrative, handmade clay sandstone, rounded cream cottages/terracotta roofs, tactile wood/brass/foliage. Complete lighthouse RED CAP, glowing upper lantern room, balcony, tower and island in right half logical x1000-1310 y150-580 on1440x900 canvas. Warm restrained amber beam reaches left across petrol-teal sea. Cottage, tiny quay, quiet practical lights to left of lighthouse in mid-distance. Large atmospheric slate violet storm cloud sky, rain, sheltered harbor; gentle courage not disaster. Foreground natural continuous broad damp sandstone quay. Calm low-detail darker area logical x50-570/y540-850 for native captions; no detailed flowers, bright stone seams or poles here. All railings/posts above y520. Keep top-left x35-230/y20-90 quiet dark sky; top-right clear for Skip. Full bleed environment reaches every edge. NO duplicate background layer, no inset portrait, seam, mirrored scene, blurred filler, vignette, people, cats, text/UI/baked gradients. Beautiful premium handcrafted miniature stop-motion world; preserve all architecture identity and refined warm/cool lighting.", + "refinementPrompts": [ + "Use case: precise-object-edit. Recompose supplied landscape Familiar storm painting at EXACT16:10 aspect2304x1440. Preserve this exquisite handmade clay sandstone, warm shelter, purple rainy sky and lantern glow. Preserve the complete lighthouse location and scale in right half. IMPORTANT IMPROVEMENT: relocate the large foreground cottage, its tree and all left-side architecture up and away into the middle distance so all cottages fit within logical x650-1030/y240-480 on1440x900 canvas. Left x0-600 now looks out across open soft rainy sky, quiet teal sheltered water, and uncluttered low-contrast damp quay. Quay railings/posts ALL above logical y500; broad continuous paving from y520 to900, with no flower clusters, tall posts or bright seams in x40-600. Left reading column x50-570/y540-850 must be utterly calm soft shaded stone. Top-left x20-230/y14-90 quiet dark sky. No recognizable foreground cottage competing behind caption. Full coherent perspective throughout, naturally receding harbor village beside beacon to right. ONE image not panels, no repeated or mirrored subjects or filler strips, no blur gradient or vignette. Keep full red cap/lantern/balcony/tower/island, beam leftward, warm windows. No people/cats/text/UI/borders. Highest quality cinematic world. Reposition architecture, never just darken it.", + "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders." + ], + "styleReferences": [ + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 3, + "native": { + "path": "web/assets/source/opening/generated/storm-landscape.png", + "width": 1586, + "height": 992, + "sha256": "3b2f6c82a2de66acb578e3e8c1a8518f91fc16a3222a85af175aeeafa817676f" + }, + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/storm-landscape-layout.png": "bd614e24c45067fed06c5ae49c8a4b01994c8dc4652ae5b6371c22e38f50b1ca" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "sha256": "b2450eef469ca64f7b1a1e5e8b22899e401c568dedd3a99d22e685cc167c5e08", + "bytes": 184376 + } + }, + "storm-landscape-2880.webp": { + "master": "web/assets/source/opening/storm-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders.", + "initialPrompt": "Use case: stylized-concept. Create ONE spatially coherent landscape composition16:10,2304x1440, adapting supplied APPROVED Familiar storm portrait and house harbor reference. Exact same storm narrative, handmade clay sandstone, rounded cream cottages/terracotta roofs, tactile wood/brass/foliage. Complete lighthouse RED CAP, glowing upper lantern room, balcony, tower and island in right half logical x1000-1310 y150-580 on1440x900 canvas. Warm restrained amber beam reaches left across petrol-teal sea. Cottage, tiny quay, quiet practical lights to left of lighthouse in mid-distance. Large atmospheric slate violet storm cloud sky, rain, sheltered harbor; gentle courage not disaster. Foreground natural continuous broad damp sandstone quay. Calm low-detail darker area logical x50-570/y540-850 for native captions; no detailed flowers, bright stone seams or poles here. All railings/posts above y520. Keep top-left x35-230/y20-90 quiet dark sky; top-right clear for Skip. Full bleed environment reaches every edge. NO duplicate background layer, no inset portrait, seam, mirrored scene, blurred filler, vignette, people, cats, text/UI/baked gradients. Beautiful premium handcrafted miniature stop-motion world; preserve all architecture identity and refined warm/cool lighting.", + "refinementPrompts": [ + "Use case: precise-object-edit. Recompose supplied landscape Familiar storm painting at EXACT16:10 aspect2304x1440. Preserve this exquisite handmade clay sandstone, warm shelter, purple rainy sky and lantern glow. Preserve the complete lighthouse location and scale in right half. IMPORTANT IMPROVEMENT: relocate the large foreground cottage, its tree and all left-side architecture up and away into the middle distance so all cottages fit within logical x650-1030/y240-480 on1440x900 canvas. Left x0-600 now looks out across open soft rainy sky, quiet teal sheltered water, and uncluttered low-contrast damp quay. Quay railings/posts ALL above logical y500; broad continuous paving from y520 to900, with no flower clusters, tall posts or bright seams in x40-600. Left reading column x50-570/y540-850 must be utterly calm soft shaded stone. Top-left x20-230/y14-90 quiet dark sky. No recognizable foreground cottage competing behind caption. Full coherent perspective throughout, naturally receding harbor village beside beacon to right. ONE image not panels, no repeated or mirrored subjects or filler strips, no blur gradient or vignette. Keep full red cap/lantern/balcony/tower/island, beam leftward, warm windows. No people/cats/text/UI/borders. Highest quality cinematic world. Reposition architecture, never just darken it.", + "Use case: precise-object-edit. Make ONE localized compositional cleanup to supplied Familiar landscape painting. Keep EXACT16:10/2304x1440 framing, complete lighthouse and cottages, sky, water, narrative lights and all boat positions if present. REMOVE the foreground wooden posts and connecting rope ONLY from the LEFT half of the painting (logical x0-680 on1440x900). Keep a natural low stone quay edge instead, with soft perspective and unobtrusive low contrast. Remove the bright vertical post silhouettes and scalloped rope that cross the future caption at y540-700. Continue calm water behind them and smooth damp stone before them. The right foreground rail may remain from x760 onward, naturally ending at one right-side post. In left x50-570/y540-850 there must be NO foreground poles, ropes, flowers or bright paving seams: just low contrast water and softly shaded stone. No graphic masks or vignette; physically paint the actual environment. All lighthouse, houses, trees, mountains, clouds and boats retain identical positions/scale. No added objects/text/UI/logos/borders." + ], + "styleReferences": [ + "web/assets/source/opening/generated/storm-landscape-layout.png" + ], + "initialStyleReferences": [ + "web/assets/source/opening/storm.png", + "web/assets/source/first-light-motion/harbor.png" + ], + "attempts": 3, + "native": { + "path": "web/assets/source/opening/generated/storm-landscape.png", + "width": 1586, + "height": 992, + "sha256": "3b2f6c82a2de66acb578e3e8c1a8518f91fc16a3222a85af175aeeafa817676f" + }, + "sourceSha256": "6bb8efb394000432004c255da16fc613fcf12a6734e6b0d4f7dd78e5eee5dbcf", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "normalization": { + "operation": "Proportional Lanczos resize to cover exact delivery canvas; centered subpixel-equivalent edge trim, no stretching or subject cropping.", + "upscaled": true + }, + "styleReferenceHashes": { + "web/assets/source/opening/generated/storm-landscape-layout.png": "bd614e24c45067fed06c5ae49c8a4b01994c8dc4652ae5b6371c22e38f50b1ca" + }, + "modelRequested": "gpt-6-astra", + "modelVerified": false, + "delivery": { + "operation": "Proportional Lanczos upsample from approved master; no new native detail; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "sha256": "7b93373c60e26108a13720300b9a6ac252aacfb7c3109c85040397577ea01c33", + "bytes": 330610 + } + }, + "wrens-lantern.webp": { + "master": "web/assets/source/opening/wrens-lantern.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: precise-object-edit. This is the approved Wren's lantern miniature painting. Deliver a revised composition with an EXACT 390:844 width:height aspect ratio (approximately 0.462085:1), at 1170×2532 pixels if supported. It must be slightly WIDER relative to its height than the supplied 798×1972 image. Extend the actual harbor scene coherently at both sides; do not stretch the lantern or crop the top or bottom. Preserve the supplied lovely brass, rain, boat, intimate amber light and handcrafted clay/timber house style. Place the complete lantern at logical x130–260, y220–425 in 390×844 coordinates. Quiet top-left sky for native wordmark. Improve bottom caption field: from y600 to744 keep only softly shaded stone with very subtle joints; remove the foreground flowers. Reduce golden reflection detail beneath y550. Oar remains naturally resting inside the rowboat, never moved into caption field. No text, graphics, logos, borders, inset, duplicate or baked gradients. The aspect ratio is the essential edit. Requested model gpt-6-astra.", + "initialPrompt": "Use case: compositing. Recompose image 1, Wren's lantern, into a premium handcrafted Familiar game illustration at exactly 1170x2532, TRUE 390:844 narrow portrait aspect. Image 2 is the house material reference only. Preserve image 1's beautiful hammered warm brass lantern, coherent clinker-built walnut rowboat seat, one resting oar, rope coil, rain and tactile miniature setting. The lantern glows on the SEAT OF THE ROWBOAT beside the quay. The complete lantern silhouette, from curved handle to brass base, must lie within logical x110-285/y205-435 on the 390x844 layout. Complete boat gunwales may frame it at y330-530. Camera is an intimate three-quarter view with strong tactile brass, dark damp timber grain and lovely reflected amber glow, but no plastic shine. Small softly focused cream clay cottages with terracotta roofs and amber windows occupy upper-left middle distance, muted slate-violet rainy sky above, dark petrol teal water behind. Quiet low-detail DARK sky at x20-190/y14-75 for future wordmark; nothing drawn there. All bright ropes, planks, reflections and boat edge accents end ABOVE y550. Bottom third is quiet dim low-contrast damp stone quay and soft water shadow, with subtle believable perspective and very little joint contrast, especially x26-364/y600-744 and y760-824 where native captions and controls will go. Keep warm amber focal light and cool teal/lilac air, generous breathing room and premium stop-motion miniature craftsmanship. Full bleed single coherent painting, no poster framing, borders, inset panel, duplicate lantern, person, animal, text, logo, UI, letters, numbers, baked vignette or caption gradient. Requested model: gpt-6-astra.", + "refinement": "Widened composition to requested aspect; removed flowers and reduced foreground reflections.", + "attempts": 2, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/wrens-lantern.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern-initial.png" + ], + "visualReview": "Complete brass lantern on boat seat; quiet header and dim stone caption field.", + "generatedSize": { + "width": 853, + "height": 1844 + }, + "generatedSha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00", + "sourceSize": { + "width": 1170, + "height": 2532 + }, + "sourceSha256": "197ffa858d1304933fe19b0fab6607823c2f50a2ebabfba0d34a3104d23a1e64", + "sourceBytes": 2989937, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 1170, + "height": 2532 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/wrens-lantern-initial.png", + "sha256": "3456b2ad18ca8ae4a6063e0ee48e35fea8477bb1b3c331cb29e9484c989187fe" + } + ], + "initialStyleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern-reference.png" + ], + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern.png", + "width": 853, + "height": 1844, + "sha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00" + }, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 780, + "height": 1688 + }, + "sha256": "5d5348460e9da41196a8e4e161b0548ce84207a5da164fc689fc3d6a7ea8c171", + "bytes": 118632 + } + }, + "wrens-lantern-landscape.webp": { + "master": "web/assets/source/opening/wrens-lantern-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: compositing. Create the single coherent LANDSCAPE adaptation of the approved Wren's lantern painting, EXACT width:height 16:10, intended delivery 2304×1440 for 1440×900 logical layout. Image 1 is the approved lantern scene; image 2 is house materials only. Preserve brass lantern design, timber boat, restrained rain, violet night sky, cream clay cottages with terracotta roofs and amber windows, petrol-teal water. Compose the complete lantern in the RIGHT half, logical x1010–1200/y235–530, standing securely on the broad rowboat seat. Boat and oar coherent in right half. Cottages sit in upper middle distance behind the boat. Left half extends actual quiet harbor water and softly shaded damp stone quay with continuous perspective; x50–570/y540–850 must be calm low-contrast environmental space for native captions and controls, with no ropes/posts/bright joints/flowers there. Top-left and top-right sky quiet. One gorgeous authored miniature environment, emotionally intimate practical amber glow, rounded brass and clay and soft worn wood, full-bleed. No duplicate lantern, repeated background, mirrored architecture, giant blurred subject, panel seam, inset, picture border, characters, text, logos, UI or baked caption gradient. Requested model gpt-6-astra.", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern.png" + ], + "visualReview": "Single coherent landscape harbor; complete lantern at right, quiet left water and stone.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "012402a6315d00f19d745c2bfed6218270ac777282f7e38a7ed6bcfb1197a952", + "sourceBytes": 3955526, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/wrens-lantern.png", + "sha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00" + } + ], + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "width": 1586, + "height": 992, + "sha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3" + }, + "delivery": { + "operation": "Proportional Lanczos downsample; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 1728, + "height": 1080 + }, + "sha256": "1fc1020eb3a14e452a287f9cb1882b9294351a5db3470db6cf34ded8cb955b7a", + "bytes": 239966 + } + }, + "wrens-lantern-landscape-2880.webp": { + "master": "web/assets/source/opening/wrens-lantern-landscape.png", + "created": "2026-11-14", + "generator": { + "tool": "image_gen.imagegen", + "requestedModel": "gpt-6-astra", + "model": "Underlying image model not exposed by tool", + "modelVerified": false, + "imageModelDisclosure": "Requested model is recorded without claiming the built-in tool verified its backend identifier." + }, + "prompt": "Use case: compositing. Create the single coherent LANDSCAPE adaptation of the approved Wren's lantern painting, EXACT width:height 16:10, intended delivery 2304×1440 for 1440×900 logical layout. Image 1 is the approved lantern scene; image 2 is house materials only. Preserve brass lantern design, timber boat, restrained rain, violet night sky, cream clay cottages with terracotta roofs and amber windows, petrol-teal water. Compose the complete lantern in the RIGHT half, logical x1010–1200/y235–530, standing securely on the broad rowboat seat. Boat and oar coherent in right half. Cottages sit in upper middle distance behind the boat. Left half extends actual quiet harbor water and softly shaded damp stone quay with continuous perspective; x50–570/y540–850 must be calm low-contrast environmental space for native captions and controls, with no ropes/posts/bright joints/flowers there. Top-left and top-right sky quiet. One gorgeous authored miniature environment, emotionally intimate practical amber glow, rounded brass and clay and soft worn wood, full-bleed. No duplicate lantern, repeated background, mirrored architecture, giant blurred subject, panel seam, inset, picture border, characters, text, logos, UI or baked caption gradient. Requested model gpt-6-astra.", + "attempts": 1, + "transparentBackground": false, + "generatedSource": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "styleReferences": [ + "web/assets/source/first-light-motion/harbor.png", + "web/assets/source/opening/generated/wrens-lantern.png" + ], + "visualReview": "Single coherent landscape harbor; complete lantern at right, quiet left water and stone.", + "generatedSize": { + "width": 1586, + "height": 992 + }, + "generatedSha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3", + "sourceSize": { + "width": 2304, + "height": 1440 + }, + "sourceSha256": "012402a6315d00f19d745c2bfed6218270ac777282f7e38a7ed6bcfb1197a952", + "sourceBytes": 3955526, + "normalization": { + "operation": "Isotropic Lanczos resize to cover delivery canvas, centered edge crop; no stretching or repainting", + "target": { + "width": 2304, + "height": 1440 + }, + "upscaled": true, + "note": "Built-in generator did not expose resolution control; native generated bytes are preserved separately. Near-matching aspect means at most a few delivery pixels trimmed from edges." + }, + "referenceHashes": [ + { + "path": "web/assets/source/first-light-motion/harbor.png", + "sha256": "2325df200d988554c83d93c37f65219cd5b8ffe8cd1c09089ad03fea783e0920" + }, + { + "path": "web/assets/source/opening/generated/wrens-lantern.png", + "sha256": "97ee244768bfea1b89771ef6e35ab84562c2a5ac83b09b51cfaaf63eb60fcd00" + } + ], + "native": { + "path": "web/assets/source/opening/generated/wrens-lantern-landscape.png", + "width": 1586, + "height": 992, + "sha256": "418620a1baccbd3d5ba8e7c8bc62dfcb871b4ff653dff23dedfeee25d572f9b3" + }, + "delivery": { + "operation": "Proportional Lanczos upsample from approved master; no new native detail; no crop or repaint", + "quality": 87, + "outputSize": { + "width": 2880, + "height": 1800 + }, + "sha256": "5dea3130cf83e6e44b4bb069538ae5b4ab58723ec9f0bf48c62639a2779b1625", + "bytes": 443024 + } + } + } +} diff --git a/web/public/assets/opening/rowing-out-landscape-2880.webp b/web/public/assets/opening/rowing-out-landscape-2880.webp new file mode 100644 index 0000000..24224b4 Binary files /dev/null and b/web/public/assets/opening/rowing-out-landscape-2880.webp differ diff --git a/web/public/assets/opening/rowing-out-landscape.webp b/web/public/assets/opening/rowing-out-landscape.webp new file mode 100644 index 0000000..1f7f847 Binary files /dev/null and b/web/public/assets/opening/rowing-out-landscape.webp differ diff --git a/web/public/assets/opening/rowing-out.webp b/web/public/assets/opening/rowing-out.webp new file mode 100644 index 0000000..6227831 Binary files /dev/null and b/web/public/assets/opening/rowing-out.webp differ diff --git a/web/public/assets/opening/storm-landscape-2880.webp b/web/public/assets/opening/storm-landscape-2880.webp new file mode 100644 index 0000000..a3e8cdd Binary files /dev/null and b/web/public/assets/opening/storm-landscape-2880.webp differ diff --git a/web/public/assets/opening/storm-landscape.webp b/web/public/assets/opening/storm-landscape.webp new file mode 100644 index 0000000..9275bcf Binary files /dev/null and b/web/public/assets/opening/storm-landscape.webp differ diff --git a/web/public/assets/opening/storm.webp b/web/public/assets/opening/storm.webp new file mode 100644 index 0000000..0939083 Binary files /dev/null and b/web/public/assets/opening/storm.webp differ diff --git a/web/public/assets/opening/wrens-lantern-landscape-2880.webp b/web/public/assets/opening/wrens-lantern-landscape-2880.webp new file mode 100644 index 0000000..16bc05b Binary files /dev/null and b/web/public/assets/opening/wrens-lantern-landscape-2880.webp differ diff --git a/web/public/assets/opening/wrens-lantern-landscape.webp b/web/public/assets/opening/wrens-lantern-landscape.webp new file mode 100644 index 0000000..fd73294 Binary files /dev/null and b/web/public/assets/opening/wrens-lantern-landscape.webp differ diff --git a/web/public/assets/opening/wrens-lantern.webp b/web/public/assets/opening/wrens-lantern.webp new file mode 100644 index 0000000..5cbff69 Binary files /dev/null and b/web/public/assets/opening/wrens-lantern.webp differ diff --git a/web/src/opening/Opening.tsx b/web/src/opening/Opening.tsx index 0d6b896..df79b20 100644 --- a/web/src/opening/Opening.tsx +++ b/web/src/opening/Opening.tsx @@ -6,6 +6,11 @@ import "@fontsource-variable/figtree"; import type { HarborAudio, TitleSound } from "../expedition/audio"; import { MOCHI_POSES, type MochiPoseName } from "../motion/mochi"; import "./opening.css"; +import WrensLightPreview from "./wrens-light/Preview"; +import { preloadWrensLight } from "./wrens-light/opening-preload"; + +const wrensLightPreview = Boolean(import.meta.env?.DEV && typeof window !== "undefined" && new URLSearchParams(window.location.search).has("wrens-light")); +if (wrensLightPreview) preloadWrensLight(); const ART = "/assets/expedition/runtime/"; const TITLE = "/assets/title/"; @@ -68,6 +73,8 @@ const GEO = { }; export default class Opening extends Component { + // Temporary preview wiring; integration will replace the old opening separately. + readonly wrensLightPreview = wrensLightPreview; state: State = { prompt: "Press any key", sound: false, scroll: "", music: 4, effects: 5, cap1: "", cap2: "", lane: "" }; root: HTMLDivElement | null = null; readonly hasLitHarbor = litHarbor(); @@ -94,6 +101,7 @@ export default class Opening extends Component { items(): Plank[] { return [this.props.hasSave ? "continue" : "new", "tide", "options", "credits"]; } componentDidMount() { + if (this.wrensLightPreview) return; this.dead = false; this.t = 0; this.moth = { x: 852, y: 444 }; this.rm = matchMedia("(prefers-reduced-motion: reduce)").matches; if (matchMedia("(pointer: coarse)").matches) this.setState({ prompt: "Tap to begin" }); @@ -441,6 +449,7 @@ export default class Opening extends Component { } render() { + if (this.wrensLightPreview) return ; const st = this.state, ids = this.items(); const pegs = (bus: "music" | "effects") => [1, 2, 3, 4, 5].map(n => ( + + } + {!ended && } + ; + } +} diff --git a/web/src/opening/wrens-light/README.md b/web/src/opening/wrens-light/README.md new file mode 100644 index 0000000..e75edfb --- /dev/null +++ b/web/src/opening/wrens-light/README.md @@ -0,0 +1,202 @@ +# Keep Wren’s Light + +A seven-scene, player-paced film for Familiar. It ends before Bram’s Slice B prologue. Every caption, control and the wordmark is native HTML. Wren’s absence remains unexplained; no return, death, rescue promise, court rules or rewards are added. + +## Story and editing + +| Scene | Native caption | Edit into the scene | +| --- | --- | --- | +| `storm` | The storm came in after dusk. | Locked camera. | +| `beacon-dark` | And the beacon went dark. | Registered change of the beacon’s light. | +| `wrens-lantern` | Wren kept the light. / That night, she carried it down to the water. | 400ms dip through harbor ink. | +| `rowing-out` | She rowed out to guide the boats in by hand. | 400ms dip through harbor ink. | +| `boats-home` | The boats came home. | 500ms ink dip; no Wren return implied. | +| `harbor-dawn` | By morning, the harbor was waking. / The beacon was still dark. | 800ms light bloom covering the plate cut. | +| `mochi-quay` | Keep Wren’s Light / Mochi is ready to help. | 600ms light bloom, then hold for the player and destination readiness. | + +There is no automatic advance or looping camera, so no Pause control is needed. The registered storm → dark beacon change dissolves. The three dark cuts fade out by 44%, hold harbor ink, and fade in after 56%. The two warm edits switch plates discretely at 50%, beneath a fully opaque light veil held from 44–56%. Layered ivory, amber and rose cloud gradients give the veil spatial texture; it uses normal compositing and an opaque backing so no boats, cottages or rope posts bleed through. Light rises after 25% and recedes by 75%, leaving those quarter frames clear. One early Continue queues until the edit ends, with **Turning page…** feedback. Reduced motion replaces each picture immediately without the light pass. Reading always waits indefinitely. + +The eleven supplied v4 captures show the feather double exposure, early-Skip caption mismatch, close caption focus ring and cropped desktop flowers. This revision addresses those defects in source and unit checks; it has not been rendered in a browser. + +## First paint and delivery + +The temporary preview starts a high-priority first-image preload at `Opening.tsx` module evaluation, gated to its existing development `?wrens-light` route. Normal title routes do not fetch the film. The integrator can call the small, side-effect-free helper from its entry route before mounting: + +```ts +import { preloadWrensLight } from "./wrens-light/opening-preload"; +preloadWrensLight(); +``` + +For discovery before JavaScript, the integrator must place these exact links in **the film entry’s `index.html` ``**, before its module script. Their media queries are mutually exclusive and match the component’s orientation/desktop rules. Put them only in HTML that actually opens the film; unconditional links in a shared app shell would also fetch the first plate on routes that skip it. `Opening.tsx` still provides only the existing development preview fallback; this revision does not edit app HTML. + +```html + + + +``` + +Keep `imagesrcset` and `imagesizes` aligned with the rendered image and decode request: an uncropped plate at 1440×900 can choose 2880w at 2× DPR and 1728w at 1×. The final Mochi plate uses `openingPictureSizes` with 130vw inside its desktop crop media query; predecode, render and preview share it, and the cache also accounts for the 1.3× enlargement. A 1440px desktop crop therefore offers the 2880w candidate even at1×. `160vh` accounts for cover scaling when the viewport is taller than the plate’s 8:5 ratio. Below 1024 CSS pixels—including a turned 844×390 phone—the larger candidate is not offered at any DPR. Portrait stays at its existing single 780px plate. + +Before decode, a tiny inline storm poster fills the scene with its original painted silhouettes and light, with **Bringing the harbor into view…** beside a quiet gold dot. Continue says **Loading…** and cannot advance or queue a scene. Skip stays usable. The runtime image is inserted only after successful decode, avoiding a spurious portrait fetch on landscape entry. Only then is beacon-dark warmed at low priority. Rotation immediately prioritizes its matching first plate; obsolete completions cannot change the scene. A failed/stalled request resolves after 15 seconds, retains the last valid art (or poster), and offers reading continuation. + +## Slice B integration contract + +`WrensLightSequence` exports these props: + +```ts +onComplete(): void; +onSkip(): void; +destinationReady?: boolean; // false by default +onExited?(reason: "complete" | "skip"): void; +framed?: boolean; // fill a positioned parent instead of the viewport +``` + +`onComplete` or `onSkip` fires exactly once per mounted film. These request destination preparation. While waiting, the film retains its visible plate and that plate’s caption/progress, including after a failed scene image; it never requests final film art to permit exit. **Opening…** and **Leaving…** replace the actionable button labels, with flat busy styling and immediate visible **Opening the harbor…** feedback below the header. A persistent polite status announces the same preparation without moving the caption or focus. The caption retains its DOM identity across page changes. Once `destinationReady` is true, Skip/Escape exits directly, avoiding an unmatched storm-to-Mochi dissolve. Completion dissolves for `WRENS_LIGHT_DISSOLVE_MS` (600ms). `onExited` notifies the owner when to release destination inertness and focus its explicit target. During a completion dissolve, the film is inert and its header/caption/controls leave in the first 180ms. The arrival status remains outside the inert/aria-hidden film. + +Final image decoding belongs to the destination: the preview uses a tiny inline Mochi poster immediately and upgrades only after its full image decodes. A failed network image leaves the poster visible. The real Slice B integration must still establish its own world and focus readiness. Image failures during ordinary reading retain their recovery message; a matched completion dissolve cannot be promised when the final film plate failed to load. + +Implement the owner in this order: + +1. Mount the real harbor/prologue underneath the film, with its enclosing element `inert` and `aria-hidden`. Preserve the chosen sound settings and the validated save/returning-player flow. +2. Wait for actual harbor assets/world readiness **and** the prologue’s first composition and explicit heading ref to exist. Module import completion is insufficient. Keep loading/retry state owned by the integration; do not set `destinationReady` after a rejected load. +3. Stage the destination using the final-frame landmarks below. Keep its background visible under the opaque film so the dissolve can reveal it; hide Bram’s parchment until the film finishes. Keep Mochi and the lantern room unobscured. +4. Set `destinationReady={true}`. Completion keeps both mounted during the 600ms dissolve; Skip exits directly. +5. In `onExited`, remove the film and release the destination’s inertness. In a layout effect **after that React commit**, reveal/focus the prologue heading through its explicit ref. When no prologue applies, use the explicit harbor primary-action ref instead. Do not search for the first heading or button. +6. Reveal Bram’s parchment, then pull back to ordinary harbor framing only after the prologue. The film owns no save flag or onboarding preference. + +The following owner pattern shows the lifecycle. `worldReady`, `prologueReady`, `Prologue`, and `HarborWorld` are integration-owned Slice B inputs/components, not APIs claimed to exist in this branch: + +```tsx +const headingRef = useRef(null); +const primaryActionRef = useRef(null); +const [requested, setRequested] = useState(false); +const [exited, setExited] = useState(false); +const [destinationReady, setDestinationReady] = useState(false); + +useLayoutEffect(() => { + const focusTarget = showPrologue ? headingRef.current : primaryActionRef.current; + setDestinationReady(requested && worldReady && prologueReady && !!focusTarget); +}, [requested, worldReady, prologueReady, showPrologue]); + +useLayoutEffect(() => { + if (!exited) return; + (showPrologue ? headingRef.current : primaryActionRef.current) + ?.focus({ preventScroll: true }); +}, [exited, showPrologue]); + +return <> + {requested &&
+ + +
} + {!exited && setRequested(true)} + onSkip={() => setRequested(true)} + destinationReady={destinationReady} + onExited={() => setExited(true)} + />} +; +``` + +The real prologue heading must have `tabIndex={-1}` and receive `headingRef` directly. It must remain mounted while waiting for readiness; visually hide the parchment without unmounting its heading. If the prologue is bypassed for a returning player, `prologueReady` means the chosen harbor action is mounted instead. + +**Reduced motion:** use the same staged destination and readiness conditions. The film reveals it immediately (0ms) and calls `onExited`; focus still follows the commit that removes inertness. Do not add a delayed parchment entrance or camera pullback animation for this preference. If the preference changes during the dissolve, reveal completion becomes immediate. + +**Film Skip and Escape skip only the film.** Both request the same Slice B destination as completion. They must never write `intro: "skip"` or activate the prologue’s separate **Skip introduction** action. Slice B owns: + +> **Keep Wren’s Light** +> You guide Mochi as a volunteer harbor helper. +> Bram: “I’m Bram. Wren’s beacon helps the boats find harbor. The storm took its lens. Mochi’s ready to fetch it. Will you guide her?” +> Mochi looks from the dark beacon to the water, then waits for your lead. +> **Bring the Beacon Lens home from the left shell.** + +Keep **Help Mochi**, **Skip introduction**, and **Use buttons** in Slice B. The old Court/Rope row is outside this film’s boundary and must be removed from that first-device journey by the integrator. + +## Final-frame registration + +`WRENS_LIGHT_FINAL_COMPOSITION` in `wrens-light-scenes.ts` exposes these approximate **film** landmarks in CSS pixels. Portrait landmarks were manually inspected; desktop values are calculated from the revised crop and await rendered confirmation. They are not a verified live-prologue match. Coordinates use the top-left origin; the silhouette includes the tail. + +| Landmark | Portrait 390×844 | Landscape 1440×900 | +| --- | --- | --- | +| Mochi silhouette x/y/width/height | 145 / 334 / 161 / 188 | 736.8 / 418.6 / 387.4 / 453.7 | +| Foot midpoint x/y | 236 / 520 | 956.5 / 867.1 | +| Eyeline center x/y | 261 / 390 | 1020.2 / 560.3 | +| Beacon cap/lantern/balcony x/y/width/height | 280 / 188 / 73 / 85 | 1198.3 / 136.5 / 192.4 / 217.1 | + +At 1440×900 the 8:5 master already fits exactly, so object-position alone cannot change the corner. The final plate instead uses a 1.3× crop around 75%/0%, restricted to desktop widths ≥1024, heights ≥600 and ratios 8:5 through 16:9. `object-position: center 77%` preserves roughly 28px of ground below Mochi at both ratio endpoints. The film and destination apply the same transform to the final plate and poster. Flower clearance and exact visual balance need browser confirmation. + +Portrait and short landscape framing are unchanged. For the 844×390 landscape view, use the original uncropped 1440×900 landmarks: silhouette 816/322/298/349, foot 985/667, eyeline 1034/431, beacon 1171/105/148/167. With `s = max(viewWidth / 1440, viewHeight / 900)`, map using `x′ = x*s - (1440*s-viewWidth)/2` and `y′ = y*s - (900*s-viewHeight)*0.15`. Other ratios follow CSS cover positioning and need a matching destination transform. + +There was no implemented/captured Slice B prologue in the accessible worktrees on 2026-11-14. Consequently these are **provisional registration targets**. Before accepting a matched dissolve, the integrator must capture the actual destination at all three requested sizes, compare silhouette size, foot, eyeline and beacon, and align to within roughly 4 CSS pixels at each reference size. If the live stage cannot match, regenerate the final plate from that captured reference. A dissolve by itself does not correct a spatial jump. + +## Input, focus and layout + +- The heading receives focus on entry and page changes without a pointer focus ornament. Intentional keyboard navigation reveals a full 3px cream perimeter with 12px clearance, separated from the painting by harbor ink. A permanent 18px scroll gutter contains the ring; detail copy has 20px separation. Focus changes no layout dimensions, and pointer input clears the ornament. Rendered contrast, clipping and forced-colors behavior still need browser verification. Native buttons retain their full visible keyboard focus outline. The reading region is explicitly `tabIndex={-1}`; Arrow Up/Down, Page Up/Down, Home and End scroll its overflowing text from caption focus. +- Forward Tab: caption → Skip film → Continue → Skip film. Reverse Tab from caption goes to Continue. Native buttons retain Enter/Space behavior. Keyboard shortcuts remain scoped to the film. +- Artwork pointer down/up/cancel restores caption focus immediately, before image decoding; dragged, canceled and non-primary gestures do not advance. Reading retains native touch scrolling. +- Progress remains visible on all seven scenes: 8px completed markers, an 18×8px current marker, and “Scene n of 7” associated with the heading. Indicators are not buttons. +- Network-pending advancement says **Preparing…**; a queued scene edit says **Turning page…**, keeping the action footprint stable. Skip remains available. A missing image keeps the previous painting and gives an honest reading-continuation message after the 15-second allowance. +- Rotation selects a newly decoded format before replacing the visible plate. While the portrait/landscape variant loads, the previous valid image stays visible; a failed variant does not erase it. +- Portrait plates reserve the header, lower caption and control regions. Settled desktop uses one coherent landscape painting reaching both edges; there is no repeated background, blurred Mochi, portrait inset or seam. Caption, detail and progress share one left edge. Desktop controls form a group with a 28px gap after the dots; short landscape controls are capped at 310px (right edge 336px at 844×390), clear of the observed oar around x365. Scrims are code-native and concentrated behind text, with lighter treatment for morning scenes. + +## Preview and verification + +The temporary development wiring in `../Opening.tsx` selects `Preview.tsx` at `/outing/?wrens-light`. After Complete or Skip, the preview mounts its inline final poster and inert end card, decodes that local poster, and sets `destinationReady`. Full responsive art loads independently and remains hidden until decoded; failure keeps the poster. Only `onExited` removes the film, reveals the card and focuses its heading. Replay invalidates stale decodes and starts fresh. This demonstrates a film-only destination, not the real prologue. Normal title behavior, `?play`, account state and returning-player eligibility remain integration-owned. + +Run with Bun: + +```sh +bun test web/src/opening +bun run typecheck +bun --no-env-file scripts/optimize-opening-assets.ts +bun --no-env-file web/src/opening/wrens-light/verify-browser.ts +``` + +`verify-browser.ts` separates two kinds of evidence. The isolated contract fixture tests delayed readiness, completion/Skip/Escape, explicit ref focus after reveal, both Tab directions, canceled gestures followed by Enter/Space/Right Arrow, pending images, enlarged text, all scenes and target viewports in Chromium/WebKit. Its destination is explicitly named “Contract destination”; it is **not** evidence that the actual harbor works. Mid-transition captures freeze both JavaScript timers and CSS animation before starting the edit, then save separate 25%, 50% and 75% frames; settled captures resume both and await all film animations, not image opacity alone. Warm cuts also sample 44/49/51/56% to check exclusive plate exposure beneath full light coverage. Additional checks cover 12px focus clearance, unchanged caption/plate during Skip, immediate busy feedback, completion controls gone by exit midpoint, and first-image selection at desktop DPR 1/2 and phone DPR 3. These checks are prepared but were not run. Focus events are not screen-reader announcements. + +After the integrator connects Slice B, run the real first-device journey in an environment that permits a local server: + +```sh +OPENING_INTEGRATION_URL=http://127.0.0.1:5173/outing/?wrens-light bun --no-env-file web/src/opening/wrens-light/verify-browser.ts +``` + +That optional path visits the real app and requires the actual prologue heading to receive focus, with all three approved actions present. It covers completion, Skip and Escape with held cold harbor assets and a warm navigation. Use a URL that explicitly replays the new-device film; it must not be the standalone film-only preview left on this branch. Without the URL it prints **NOT RUN**, not a passing integration result. + +Verification on 2026-11-14: + +| Check | Observed result | +| --- | --- | +| `bun test web/src/opening` | 52 passed, 0 failed, 708 assertions. | +| `bun run typecheck` | Passed after the final code and harness edits. | +| Full `bun run test` | 531 passed, 9 failed, 40,623 assertions; all failures are HTTP fixtures reporting EADDRINUSE while binding port 0 in this sandbox. This is not a passing full-suite claim. | +| Rust contracts | Not rerun in this Bun-only frontend revision; contract files are outside the allowed boundary. | +| Browser journeys / captures | Not run, as instructed. The eleven supplied v4 captures informed these changes; updated checks are prepared for opaque warm midpoints, focus clearance, immediate exit feedback and direct Skip. New bloom/crop appearance is unverified. | + +No physical-phone, WebKit/Chromium rendered-layout, screen-reader, motion-comfort or newcomer-comprehension pass is claimed. The actual Slice B integration and cross-scene registration remain unverified. + +## Art provenance + +Masters, preserved native outputs and exact prompts live under `web/assets/source/opening/`. `provenance.json` consolidates the per-family prompt records, including `art-arrival-prompts.json`. Runtime WebPs, source/output hashes, dimensions and bytes are in `web/public/assets/opening/manifest.json` and `provenance.json`. + +Masters remain **1170×2532 portrait** and **2304×1440 landscape**, unchanged. Runtime WebPs use proportional Lanczos resizing to **780×1688 portrait**, **1728×1080 landscape**, and **2880×1800 desktop**, with WebP quality **87**, method 6, sharp YUV and stripped metadata. No crop or repaint. The 2880px version is an explicit upsample of the approved 2304px master; native generator outputs are approximately 1586px wide landscape. It avoids browser enlargement of the smaller 1728px delivery file, but adds no new native detail. Physical high-DPR sharpness remains unverified. + +| Delivery set | Film bytes | First storm bytes | +| --- | ---: | ---: | +| Portrait, unchanged | 1,035,864 | 172,552 | +| 1728px landscape, unchanged | 1,399,252 | 184,376 | +| 2880px desktop, seven added files | 2,539,964 | 330,610 | + +All 21 WebPs occupy **4,975,080 bytes**; that is an archive total, not a single-visit download. Existing fourteen WebPs remain byte-identical, so phone image bytes do not increase. A desktop browser selects a candidate; resizing/rotation may fetch multiple versions. The two storm posters retain their exact bytes; two added Mochi posters bring the inline total to **6,304 data-URI bytes** in a **6,573-byte** TypeScript module. The optimizer enforces per-film budgets of 1,250,000 / 1,800,000 / 3,200,000 bytes and first-plate budgets of 200,000 / 300,000 / 500,000 bytes, with at most 10,000 inline data-URI bytes. Manifest and provenance include actual dimensions, source/output SHA256 hashes, encoding and the upsample limitation. This revision ran the optimizer and verified all 21 full-size delivery hashes remain unchanged; the four inline posters have individual hashes and source records. No art generation was used; existing approved masters were re-encoded. + +The built-in `image_gen.imagegen` tool generated the plates. `gpt-6-astra` is recorded as the requested model; the tool did not expose its backend model, so actual model identity is unverified. Native generator dimensions differ from the requested delivery size. Provenance records the preserved raw hashes and any proportional normalization; images are never squeezed, text is never painted into them, and the optimizer does not silently crop a subject. + +No commit, push, branch creation, signing, account call or app-file integration is part of this change. diff --git a/web/src/opening/wrens-light/WrensLightSequence.test.tsx b/web/src/opening/wrens-light/WrensLightSequence.test.tsx new file mode 100644 index 0000000..acf5fac --- /dev/null +++ b/web/src/opening/wrens-light/WrensLightSequence.test.tsx @@ -0,0 +1,691 @@ +import { afterEach, expect, test } from "bun:test"; +import type { KeyboardEvent, PointerEvent } from "react"; +import { renderToStaticMarkup } from "react-dom/server"; +import { WrensLightSequence, WRENS_LIGHT_DISSOLVE_MS, type WrensLightSequenceProps } from "./WrensLightSequence"; +import { LANDSCAPE_MEDIA, LARGE_LANDSCAPE_MEDIA, OPENING_LANDSCAPE_SIZES, WRENS_LIGHT_FINAL_COMPOSITION, WRENS_LIGHT_SCENES } from "./wrens-light-scenes"; +import { preloadWrensLight } from "./opening-preload"; + +const originals = new Map(["Image", "document", "matchMedia", "window"].map(key => [key, Object.getOwnPropertyDescriptor(globalThis, key)])); +const created: TestImage[] = []; +const views: WrensLightSequence[] = []; +class TestImage { + onload: (() => void) | null = null; + onerror: (() => void) | null = null; + src = ""; + srcset = ""; + sizes = ""; + fetchPriority = "auto"; + constructor() { created.push(this); } + decode() { return Promise.resolve(); } +} +function opening(props: Partial = {}) { + created.length = 0; + Object.defineProperty(globalThis, "Image", { configurable: true, value: TestImage }); + let completed = 0, skipped = 0, exited = 0; + const view = new WrensLightSequence({ onComplete() { completed++; }, onSkip() { skipped++; }, onExited() { exited++; }, ...props }); + // Most interaction tests begin after the first plate; mount tests exercise the cold state explicitly. + view.state = { ...view.state, loading: false, hasPicture: true }; + views.push(view); + Object.assign(view, { live: true }); + view.setState = (update, callback) => { + const change = typeof update === "function" ? update(view.state, view.props) : update; + if (change) view.state = { ...view.state, ...change }; + view.componentDidUpdate(); + callback?.(); + }; + return { view, counts: () => ({ completed, skipped, exited }) }; +} +const flush = async () => { await Promise.resolve(); await Promise.resolve(); await Promise.resolve(); }; +afterEach(() => { + for (const view of views.splice(0)) view.componentWillUnmount(); + for (const image of created) image.onerror?.(); + for (const [key, descriptor] of originals) { + if (descriptor) Object.defineProperty(globalThis, key, descriptor); + else Reflect.deleteProperty(globalThis, key); + } +}); + +function browser() { + const listeners = new Map void>(); + const motion = { matches: false, addEventListener(_name: string, listener: () => void) { listeners.set("motion", listener); }, removeEventListener() {} }; + const landscape = { matches: false, addEventListener(_name: string, listener: () => void) { listeners.set("landscape", listener); }, removeEventListener() {} }; + const largeLandscape = { matches: false, addEventListener(_name: string, listener: () => void) { listeners.set("largeLandscape", listener); }, removeEventListener() {} }; + const document = { activeElement: null as unknown }; + Object.defineProperty(globalThis, "document", { configurable: true, value: document }); + Object.defineProperty(globalThis, "matchMedia", { configurable: true, value: (query: string) => query === LANDSCAPE_MEDIA ? landscape : query === LARGE_LANDSCAPE_MEDIA ? largeLandscape : motion }); + return { document, motion, landscape, largeLandscape, change: (key: string) => listeners.get(key)?.() }; +} +function key(value: string, options: { button?: boolean; repeat?: boolean; shiftKey?: boolean } = {}) { + let prevented = false; + return { + event: { key: value, ...options, preventDefault() { prevented = true; }, target: { closest() { return options.button ? {} : null; } } } as unknown as KeyboardEvent, + prevented: () => prevented, + }; +} +const pointer = (x: number, y: number, isPrimary = true, pointerId = 1) => ({ + clientX: x, clientY: y, isPrimary, pointerId, button: 0, +} as PointerEvent); + +test("every scene has one code-native caption, persistent orientation and just two native controls", () => { + const { view } = opening(); + for (let scene = 0; scene < WRENS_LIGHT_SCENES.length; scene++) { + view.state = { ...view.state, scene, picture: scene, landscape: true }; + const html = renderToStaticMarkup(view.render()); + expect(html).toContain(WRENS_LIGHT_SCENES[scene].heading); + expect(html.match(/tabindex="-1"/g)?.length).toBe(2); + expect(html).toContain('id="wl-progress"'); + expect(html).toContain(`Scene ${scene + 1} of 7`); + expect(html.match(/wl-page-current/g)?.length).toBe(1); + expect(html).toContain("SkipContinue<"); + expect(html).not.toContain("Help Mochi"); + expect(html.match(/

{ + const { view } = opening(); + browser(); + view.componentDidMount(); + let decode!: () => void; + created[0].decode = () => new Promise(resolve => { decode = resolve; }); + expect(created).toHaveLength(1); + expect(created[0].fetchPriority).toBe("high"); + const loading = renderToStaticMarkup(view.render()); + expect(loading).toContain("data:image/webp;base64,"); + expect(loading).toContain("Bringing the harbor into view…"); + expect(loading).not.toContain('class="wl-picture wl-current"'); + view.advance(); + expect(created).toHaveLength(1); + created[0].onload?.(); + await flush(); + expect(created).toHaveLength(1); + decode(); + await flush(); + await flush(); + expect(view.state.scene).toBe(0); + expect(created[1].src).toBe("/assets/opening/beacon-dark.webp"); + expect(created[1].fetchPriority).toBe("low"); + expect(renderToStaticMarkup(view.render())).toContain('class="wl-picture wl-current"'); + expect(renderToStaticMarkup(view.render())).toContain(">Continue<"); +}); + +test("entry-route preload selects only the first plate in the current orientation and deduplicates", () => { + const fixture = browser(); + const links: HTMLLinkElement[] = []; + Object.assign(fixture.document, { + head: { + querySelector(selector: string) { return links.find(link => selector.includes(`href="${link.href}"`)); }, + append(link: HTMLLinkElement) { links.push(link); }, + }, + createElement: () => ({}), + }); + preloadWrensLight(); + preloadWrensLight(); + expect(links).toHaveLength(1); + expect(links[0]).toMatchObject({ href: "/assets/opening/storm.webp", as: "image", rel: "preload", fetchPriority: "high" }); + fixture.landscape.matches = true; + preloadWrensLight(); + expect(links).toHaveLength(2); + expect(links[1].href).toBe("/assets/opening/storm-landscape.webp"); +}); + +test("failed first image keeps the painted fallback, releases reading and does not warm another image", async () => { + const { view } = opening(); + browser(); + view.componentDidMount(); + created[0].onerror?.(); + await flush(); + expect(created).toHaveLength(1); + expect(view.state.loading).toBe(false); + expect(view.state.hasPicture).toBe(false); + expect(renderToStaticMarkup(view.render())).toContain("You can keep reading."); + view.advance(); + created[1].onload?.(); + await flush(); + expect(view.state.scene).toBe(1); + expect(view.state.hasPicture).toBe(true); + expect(view.state.previous).toBeNull(); +}); + +test("desktop decodes the responsive first plate before warming the next; phones have no srcset", async () => { + const { view } = opening(); + const fixture = browser(); + fixture.landscape.matches = fixture.largeLandscape.matches = true; + view.componentDidMount(); + expect(created).toHaveLength(1); + expect(created[0].srcset).toBe("/assets/opening/storm-landscape.webp 1728w, /assets/opening/storm-landscape-2880.webp 2880w"); + expect(created[0].sizes).toBe(OPENING_LANDSCAPE_SIZES); + expect(created[0].fetchPriority).toBe("high"); + created[0].onload?.(); + await flush(); + expect(created[1].fetchPriority).toBe("low"); + expect(created[1].srcset).toContain("beacon-dark-landscape-2880.webp 2880w"); + expect(renderToStaticMarkup(view.render())).toContain('srcSet="/assets/opening/storm-landscape.webp 1728w'); + fixture.landscape.matches = fixture.largeLandscape.matches = false; + fixture.change("landscape"); + expect(created[2].srcset).toBe(""); + created[2].onload?.(); + await flush(); + expect(renderToStaticMarkup(view.render())).not.toContain("2880.webp"); +}); + +test("desktop breakpoint predecodes a new candidate set even when the base URL is cached", async () => { + const { view } = opening(); + const fixture = browser(); + fixture.landscape.matches = true; + view.componentDidMount(); + created[0].onload?.(); + await flush(); + expect(view.state.largeLandscape).toBe(false); + fixture.largeLandscape.matches = true; + fixture.change("largeLandscape"); + const upgrade = created[2]; + expect(upgrade.src).toBe(created[0].src); + expect(upgrade.srcset).toContain("2880.webp"); + expect(view.state.largeLandscape).toBe(false); + upgrade.onload?.(); + await flush(); + expect(view.state.largeLandscape).toBe(true); +}); + +test("a desktop DPR change redecodes the next scene instead of reusing its smaller prewarm", async () => { + const { view } = opening(); + const fixture = browser(); + const viewport = { innerWidth: 1440, innerHeight: 900, devicePixelRatio: 1 }; + Object.defineProperty(globalThis, "window", { configurable: true, value: viewport }); + fixture.landscape.matches = fixture.largeLandscape.matches = true; + view.componentDidMount(); + created[0].onload?.(); + await flush(); + created[1].onload?.(); + await flush(); + viewport.devicePixelRatio = 2; + view.advance(); + expect(created).toHaveLength(3); + expect(created[2].src).toBe(created[1].src); + expect(created[2].srcset).toContain("2880.webp"); + expect(view.state.scene).toBe(0); + created[2].onload?.(); + await flush(); + expect(view.state.scene).toBe(1); +}); + +test("the final desktop crop upgrades a smaller prewarm and renders the same sizes it decoded", async () => { + const { view } = opening(); + const fixture = browser(); + const viewport = { innerWidth: 1440, innerHeight: 1000, devicePixelRatio: 1 }; + Object.defineProperty(globalThis, "window", { configurable: true, value: viewport }); + fixture.landscape.matches = fixture.largeLandscape.matches = true; + const fixtureMatchMedia = globalThis.matchMedia; + Object.defineProperty(globalThis, "matchMedia", { configurable: true, value: (query: string) => query.includes("max-aspect-ratio: 16/9") + ? { matches: viewport.innerHeight === 900 } : fixtureMatchMedia(query) }); + view.componentDidMount(); + created[0].onload?.(); + await flush(); + view.state = { ...view.state, scene: 4, picture: 4 }; + view.advance(); + created[2].onload?.(); + await flush(); + const prewarm = created[3]; + expect(prewarm.src).toBe("/assets/opening/mochi-quay-landscape.webp"); + expect(prewarm.sizes).toContain("130vw"); + prewarm.onload?.(); + await flush(); + view.finishShot(); + viewport.innerHeight = 900; + view.advance(); + expect(created).toHaveLength(5); + const cropped = created[4]; + expect(cropped.src).toBe(prewarm.src); + expect(cropped.sizes).toBe(prewarm.sizes); + expect(view.state.scene).toBe(5); + cropped.onload?.(); + await flush(); + expect(view.state.scene).toBe(6); + expect(renderToStaticMarkup(view.render())).toContain(`sizes="${cropped.sizes}"`); +}); + +test("Skip during the first decode cannot later warm or show the next story scene", async () => { + const { view, counts } = opening(); + browser(); + view.componentDidMount(); + view.skip(); + created[0].onload?.(); + await flush(); + expect(view.state.scene).toBe(0); + expect(created.map(image => image.src)).toEqual(["/assets/opening/storm.webp"]); + expect(counts().skipped).toBe(1); + expect(view.state.picture).toBe(0); + expect(renderToStaticMarkup(view.render())).toContain(WRENS_LIGHT_SCENES[0].heading); +}); + +test("caption focus styling follows intentional keyboard input and resets on touch", () => { + const { view } = opening(); + expect(renderToStaticMarkup(view.render())).not.toContain('data-keyboard="true"'); + view.onKeyDown(key("ArrowDown").event); + expect(renderToStaticMarkup(view.render())).toContain('data-keyboard="true"'); + view.onPictureDown(pointer(10, 10)); + expect(renderToStaticMarkup(view.render())).not.toContain('data-keyboard="true"'); +}); + +test("advance waits for decoded art and visibly says Preparing without changing button class", async () => { + const { view, counts } = opening(); + let focused = 0; + view.reading = { scrollTop: 200 } as HTMLDivElement; + view.caption = { focus() { focused++; } } as unknown as HTMLHeadingElement; + view.advance(); + view.advance(); + expect(view.state.scene).toBe(0); + expect(view.state.picture).toBe(0); + expect(view.state.pending).toBe(true); + expect(renderToStaticMarkup(view.render())).toContain(">Preparing…<"); + expect(created).toHaveLength(1); + expect(created[0].src).toBe("/assets/opening/beacon-dark.webp"); + created[0].onload?.(); + await flush(); + expect(view.state.scene).toBe(1); + expect(view.state.picture).toBe(1); + expect(view.state.previous).toBe("/assets/opening/storm.webp"); + expect(view.state.pending).toBe(false); + expect(focused).toBe(1); + expect(view.reading.scrollTop).toBe(0); + expect(created[1].src).toBe("/assets/opening/wrens-lantern.webp"); + expect(counts()).toEqual({ completed: 0, skipped: 0, exited: 0 }); +}); + +test("failed images keep captions and Skip usable; failed preload is retried", async () => { + const { view, counts } = opening(); + browser(); + view.componentDidMount(); + created[0].onload?.(); + await flush(); + created[1].onerror?.(); + await flush(); + view.advance(); + expect(created[2].src).toBe("/assets/opening/beacon-dark.webp"); + created[2].onerror?.(); + await flush(); + expect(view.state.scene).toBe(1); + expect(view.state.picture).toBe(0); + expect(view.state.unavailable).toBe(true); + expect(renderToStaticMarkup(view.render())).toContain("You can keep reading."); + view.skip(); + expect(counts().skipped).toBe(1); +}); + +test("Skip wins during loading and keeps the current painting, caption and dots paired", async () => { + const { view, counts } = opening(); + view.advance(); + view.skip(); + view.skip(); + created[0].onload?.(); + await flush(); + expect(view.state.scene).toBe(0); + expect(view.state.revealing).toBe(false); + expect(created).toHaveLength(1); + view.advance(); + expect(view.state.picture).toBe(0); + expect(view.state.exit).toBe("skip"); + expect(view.state.revealing).toBe(false); + expect(counts()).toEqual({ completed: 0, skipped: 1, exited: 0 }); + expect(renderToStaticMarkup(view.render())).not.toContain('inert=""'); + expect(renderToStaticMarkup(view.render())).toContain("Scene 1 of 7"); + expect(renderToStaticMarkup(view.render())).not.toContain(`>${WRENS_LIGHT_SCENES[6].heading}

`); +}); + +test("Skip exits a ready destination without requesting or waiting for final film art", () => { + const { view, counts } = opening({ destinationReady: true }); + view.skip(); + expect(created).toHaveLength(0); + expect(view.state.revealing).toBe(true); + expect(counts()).toEqual({ completed: 0, skipped: 1, exited: 1 }); +}); + +test("Skip restores the visible plate's caption after a failed scene image", () => { + const { view, counts } = opening({ destinationReady: true }); + view.state = { ...view.state, scene: 6, picture: 4, unavailable: true, reduced: true }; + view.skip(); + expect(view.state.scene).toBe(4); + expect(view.state.picture).toBe(4); + expect(created).toHaveLength(0); + expect(counts().exited).toBe(1); +}); + +test("completion holds indefinitely, then gives a 600ms reveal notification exactly once", async () => { + const { view, counts } = opening(); + view.state = { ...view.state, scene: 6, picture: 6 }; + view.advance(); + view.advance(); + view.skip(); + expect(counts()).toEqual({ completed: 1, skipped: 0, exited: 0 }); + expect(view.state.revealing).toBe(false); + Object.assign(view, { props: { ...view.props, destinationReady: true } }); + view.componentDidUpdate(); + expect(view.state.revealing).toBe(true); + expect(renderToStaticMarkup(view.render())).toContain('inert=""'); + expect(counts().exited).toBe(0); + await Bun.sleep(WRENS_LIGHT_DISSOLVE_MS + 20); + view.componentDidUpdate(); + view.advance(); + view.skip(); + expect(counts()).toEqual({ completed: 1, skipped: 0, exited: 1 }); +}); + +test("exit immediately shows honest busy controls and polite feedback without moving focus", () => { + const { view } = opening(); + let focused = 0; + view.caption = { focus() { focused++; } } as unknown as HTMLHeadingElement; + view.skip(); + const html = renderToStaticMarkup(view.render()); + expect(html).toContain(">Opening…<"); + expect(html).not.toContain(">Enter the harbor<"); + expect(html).toContain('aria-busy="true" aria-disabled="true"'); + expect(html).toContain('class="wl-loading wl-wait"'); + expect(html).toContain("Opening the harbor…"); + expect(html).toContain('class="wl-sr wl-exit-status" role="status" aria-live="polite"'); + expect(focused).toBe(0); + Object.assign(view, { props: { ...view.props, destinationReady: true } }); + view.componentDidUpdate(); + expect(renderToStaticMarkup(view.render())).not.toContain('class="wl-loading wl-wait"'); +}); + +test("reduced motion preserves the same held final frame and exits immediately after readiness", () => { + const { view, counts } = opening(); + view.state = { ...view.state, scene: 6, picture: 6, reduced: true }; + view.advance(); + expect(view.state.picture).toBe(6); + expect(counts().exited).toBe(0); + Object.assign(view, { props: { ...view.props, destinationReady: true } }); + view.componentDidUpdate(); + expect(counts().exited).toBe(1); + expect(view.state.picture).toBe(6); + expect(renderToStaticMarkup(view.render())).toContain('data-still="true"'); +}); + +test("enabling reduced motion during reveal finishes immediately and cancels the delayed callback", async () => { + const { view, counts } = opening({ destinationReady: true }); + const fixture = browser(); + view.componentDidMount(); + view.state = { ...view.state, scene: 6, picture: 6, loading: false, hasPicture: true }; + view.advance(); + expect(counts().exited).toBe(0); + fixture.motion.matches = true; + fixture.change("motion"); + expect(counts().exited).toBe(1); + await Bun.sleep(WRENS_LIGHT_DISSOLVE_MS + 20); + expect(counts().exited).toBe(1); +}); + +test("unmount cancels both pending decoding and the reveal callback", async () => { + const { view, counts } = opening({ destinationReady: true }); + view.state = { ...view.state, scene: 6, picture: 6 }; + view.advance(); + view.componentWillUnmount(); + await Bun.sleep(WRENS_LIGHT_DISSOLVE_MS + 20); + expect(counts().exited).toBe(0); +}); + +test("native controls own Enter and Space; caption keyboard advances and scoped Escape skips once", () => { + const { view, counts } = opening(); + view.onKeyDown(key("Enter", { button: true }).event); + view.onKeyDown(key(" ", { button: true }).event); + view.onKeyDown(key("Enter", { repeat: true }).event); + expect(created).toHaveLength(0); + view.onKeyDown(key("ArrowRight").event); + expect(created).toHaveLength(1); + view.onKeyDown(key("Escape", { button: true }).event); + view.onKeyDown(key("Escape").event); + expect(counts().skipped).toBe(1); +}); + +test("pointer tap returns caption focus before decode; drag, cancellation and multitouch also retain focus", () => { + const { view } = opening(); + let focused = 0; + view.caption = { focus() { focused++; } } as unknown as HTMLHeadingElement; + view.onPictureDown(pointer(10, 10)); + view.onPictureUp(pointer(10, 60)); + expect(focused).toBe(2); + expect(created).toHaveLength(0); + view.onPictureDown(pointer(10, 10)); + view.onPictureCancel(); + view.onPictureUp(pointer(10, 10)); + expect(created).toHaveLength(0); + view.onPictureDown(pointer(10, 10)); + view.onPictureDown(pointer(20, 20, false, 2)); + view.onPictureUp(pointer(10, 10)); + expect(created).toHaveLength(0); + view.onPictureDown(pointer(10, 10)); + view.onPictureUp(pointer(11, 11)); + expect(focused).toBe(10); + expect(created).toHaveLength(1); +}); + +test("after canceled artwork gestures Enter, Space and Right Arrow each work from the retained caption", () => { + for (const value of ["Enter", " ", "ArrowRight"]) { + const { view } = opening(); + const fixture = browser(); + const caption = { focus() { fixture.document.activeElement = caption; } }; + view.caption = caption as HTMLHeadingElement; + view.onPictureDown(pointer(10, 10)); + view.onPictureCancel(); + expect(fixture.document.activeElement).toBe(caption); + view.onKeyDown(key(value).event); + expect(created).toHaveLength(1); + } +}); + +test("forward and reverse Tab circuits include only Skip and Continue, including after artwork cancellation", () => { + const { view } = opening(); + const fixture = browser(); + const skip = { focus() { fixture.document.activeElement = skip; } }; + const next = { focus() { fixture.document.activeElement = next; } }; + const caption = { focus() { fixture.document.activeElement = caption; } }; + view.root = { querySelectorAll: () => [skip, next] } as unknown as HTMLDivElement; + view.caption = caption as HTMLHeadingElement; + view.onPictureCancel(); + view.onKeyDown(key("Tab").event); + expect(fixture.document.activeElement).toBe(skip); + const middle = key("Tab"); + view.onKeyDown(middle.event); + expect(middle.prevented()).toBe(false); + fixture.document.activeElement = next; // Native Tab performs the interior step. + view.onKeyDown(key("Tab").event); + expect(fixture.document.activeElement).toBe(skip); + view.onKeyDown(key("Tab", { shiftKey: true }).event); + expect(fixture.document.activeElement).toBe(next); + fixture.document.activeElement = caption; + view.onKeyDown(key("Tab", { shiftKey: true }).event); + expect(fixture.document.activeElement).toBe(next); +}); + +test("the programmatically focused caption scrolls overflowing copy with arrows, pages, Home and End", () => { + const { view } = opening(); + view.reading = { scrollTop: 0, clientHeight: 200, scrollHeight: 600 } as HTMLDivElement; + view.onKeyDown(key("ArrowDown").event); + expect(view.reading.scrollTop).toBe(40); + view.onKeyDown(key("PageDown").event); + expect(view.reading.scrollTop).toBe(200); + view.onKeyDown(key("PageUp").event); + expect(view.reading.scrollTop).toBe(40); + view.onKeyDown(key("End").event); + expect(view.reading.scrollTop).toBe(600); + view.onKeyDown(key("Home").event); + expect(view.reading.scrollTop).toBe(0); + expect(created).toHaveLength(0); +}); + +test("rotation during the cold opening waits for the new first plate before warming the next", async () => { + const { view } = opening(); + const fixture = browser(); + fixture.landscape.matches = true; + view.componentDidMount(); + expect(created[0].src).toBe("/assets/opening/storm-landscape.webp"); + expect(created).toHaveLength(1); + fixture.landscape.matches = false; + fixture.change("landscape"); + expect(created).toHaveLength(2); + expect(created[1].src).toBe("/assets/opening/storm.webp"); + expect(view.state.loading).toBe(true); + created[1].onload?.(); + await flush(); + expect(created[2].src).toBe("/assets/opening/beacon-dark.webp"); + expect(view.state.landscape).toBe(false); + expect(view.state.loading).toBe(false); + created[0].onerror?.(); + await flush(); + expect(view.state.unavailable).toBe(false); + expect(view.state.landscape).toBe(false); +}); + +test("rotation holds the decoded plate and a failed format cannot replace it with a broken image", async () => { + const { view } = opening(); + const fixture = browser(); + view.componentDidMount(); + created[0].onload?.(); + await flush(); + created[1].onload?.(); + await flush(); + fixture.landscape.matches = true; + fixture.change("landscape"); + expect(view.state.landscape).toBe(false); + created[2].onerror?.(); + await flush(); + expect(view.state.landscape).toBe(false); + expect(view.state.unavailable).toBe(true); + expect(renderToStaticMarkup(view.render())).toContain('src="/assets/opening/storm.webp"'); +}); + +test("rotating during advance waits for the new format before revealing that scene", async () => { + const { view } = opening(); + const fixture = browser(); + view.componentDidMount(); + created[0].onload?.(); + await flush(); + view.advance(); + fixture.landscape.matches = true; + fixture.change("landscape"); + created[1].onload?.(); + await flush(); + expect(view.state.scene).toBe(0); + expect(view.state.pending).toBe(true); + created[2].onload?.(); + created[3].onload?.(); + await flush(); + expect(view.state.scene).toBe(1); + expect(view.state.landscape).toBe(true); + expect(view.state.pending).toBe(false); +}); + +test("early advancement queues one edit until the outgoing dissolve has finished", async () => { + const { view } = opening(); + view.advance(); + created[0].onload?.(); + await flush(); + view.advance(); + view.advance(); + expect(view.state.scene).toBe(1); + expect(view.state.previous).toBe("/assets/opening/storm.webp"); + expect(view.state.pending).toBe(true); + created[1].onload?.(); + await flush(); + expect(view.state.scene).toBe(1); + view.finishShot(); + await flush(); + expect(view.state.scene).toBe(2); + expect(view.state.previous).toBe("/assets/opening/beacon-dark.webp"); + expect(view.state.pending).toBe(false); +}); + +test("an already canceled pointer cannot make optional capture throw out of the interaction", () => { + const { view } = opening(); + const event = { ...pointer(10, 10), currentTarget: { setPointerCapture() { throw new Error("NotFoundError"); } } } as unknown as PointerEvent; + expect(() => view.onPictureDown(event)).not.toThrow(); + view.onPictureCancel(); + expect(created).toHaveLength(0); +}); + +test("rotation releases a queued advance without leaving Preparing stuck", async () => { + const { view } = opening(); + const fixture = browser(); + view.componentDidMount(); + created[0].onload?.(); + await flush(); + created[1].onload?.(); + await flush(); + view.advance(); + await flush(); + view.advance(); + expect(view.state.pending).toBe(true); + fixture.landscape.matches = true; + fixture.change("landscape"); + created.find(image => image.src === "/assets/opening/beacon-dark-landscape.webp")?.onload?.(); + await flush(); + created.find(image => image.src === "/assets/opening/wrens-lantern-landscape.webp")?.onload?.(); + await flush(); + await flush(); + expect(view.state.scene).toBe(2); + expect(view.state.landscape).toBe(true); + expect(view.state.pending).toBe(false); +}); + +test("rotation while exiting does not start a new film download or delay destination readiness", () => { + const { view, counts } = opening(); + const fixture = browser(); + fixture.motion.matches = true; + view.componentDidMount(); + view.skip(); + fixture.landscape.matches = true; + fixture.change("landscape"); + expect(created.map(image => image.src)).toEqual(["/assets/opening/storm.webp"]); + Object.assign(view, { props: { ...view.props, destinationReady: true } }); + view.componentDidUpdate(); + expect(counts()).toEqual({ completed: 0, skipped: 1, exited: 1 }); +}); + +test("StrictMode remount replaces canceled promises and ignores stale completions", async () => { + const { view } = opening(); + browser(); + view.componentDidMount(); + expect(created).toHaveLength(1); + view.componentWillUnmount(); + view.componentDidMount(); + expect(created).toHaveLength(2); + await flush(); + expect(view.state.unavailable).toBe(false); + created[1].onload?.(); + await flush(); + created[2].onload?.(); + await flush(); + view.advance(); + await flush(); + expect(view.state.scene).toBe(1); + expect(view.state.unavailable).toBe(false); +}); + +test("scene editing and provisional arrival metrics are explicit and do not invent a live match", () => { + expect(WRENS_LIGHT_SCENES.filter(scene => scene.edit === "dissolve").map(scene => scene.id)).toEqual(["beacon-dark"]); + expect(WRENS_LIGHT_SCENES[2].transitionMs).toBe(400); + expect(WRENS_LIGHT_SCENES[3].transitionMs).toBe(400); + expect(WRENS_LIGHT_SCENES[5].transitionMs).toBe(800); + expect(WRENS_LIGHT_SCENES[6].transitionMs).toBe(600); + expect(WRENS_LIGHT_SCENES.filter(scene => scene.edit === "light").map(scene => scene.id)).toEqual(["harbor-dawn", "mochi-quay"]); + expect(WRENS_LIGHT_SCENES.slice(2, 5).every(scene => scene.edit === "dip" && scene.editColour === "#132b31")).toBe(true); + expect(WRENS_LIGHT_SCENES[2].description).toBe("A brass lantern glows on the seat of Wren’s rowboat beside the quay."); + expect(WRENS_LIGHT_FINAL_COMPOSITION.registration).toBe("film-target-unverified-against-prologue"); + expect(WRENS_LIGHT_FINAL_COMPOSITION.portrait.viewport).toEqual({ width: 390, height: 844 }); +}); + +test("warm edits keep two painted layers with a transient light pass; reduced motion stays still", () => { + const { view } = opening(); + view.state = { ...view.state, scene: 5, picture: 5, previous: "/assets/opening/boats-home.webp" }; + expect(renderToStaticMarkup(view.render())).toContain('class="wl-light"'); + view.finishShot(); + expect(renderToStaticMarkup(view.render())).not.toContain('class="wl-light"'); + view.state = { ...view.state, reduced: true, previous: "/assets/opening/boats-home.webp" }; + expect(renderToStaticMarkup(view.render())).not.toContain('class="wl-light"'); +}); diff --git a/web/src/opening/wrens-light/WrensLightSequence.tsx b/web/src/opening/wrens-light/WrensLightSequence.tsx new file mode 100644 index 0000000..0a34833 --- /dev/null +++ b/web/src/opening/wrens-light/WrensLightSequence.tsx @@ -0,0 +1,351 @@ +import { Component, type CSSProperties, type KeyboardEvent, type PointerEvent } from "react"; +import "@fontsource-variable/fraunces"; +import "@fontsource-variable/figtree"; +import { LANDSCAPE_MEDIA, LARGE_LANDSCAPE_MEDIA, OPENING_FINAL_CROP_MEDIA, openingPicture, openingPictureSet, openingPictureSizes, WRENS_LIGHT_SCENES } from "./wrens-light-scenes"; +import { OPENING_PLACEHOLDER } from "./opening-placeholder"; +import "./wrens-light-sequence.css"; + +export type WrensLightExit = "complete" | "skip"; +export const WRENS_LIGHT_DISSOLVE_MS = 600; +export const WRENS_LIGHT_IMAGE_TIMEOUT_MS = 15000; + +export interface WrensLightSequenceProps { + /** Request the prologue. These notifications never skip its introduction. */ + onComplete(): void; + onSkip(): void; + /** True only when the mounted destination, its assets and explicit focus target are ready. */ + destinationReady?: boolean; + /** Reveal/unmount the film, release destination inertness, then focus its explicit ref. */ + onExited?(reason: WrensLightExit): void; + /** Storyboard frames fill their parent; normal playback fills the viewport. */ + framed?: boolean; +} + +interface State { + scene: number; + picture: number; + previous: string | null; + landscape: boolean; + largeLandscape: boolean; + previousLargeLandscape: boolean; + pending: boolean; + unavailable: boolean; + reduced: boolean; + exit: WrensLightExit | null; + revealing: boolean; + loading: boolean; + hasPicture: boolean; + keyboard: boolean; +} + +export class WrensLightSequence extends Component { + state: State = { scene: 0, picture: 0, previous: null, landscape: false, largeLandscape: false, previousLargeLandscape: false, pending: false, unavailable: false, reduced: false, exit: null, revealing: false, loading: true, hasPicture: false, keyboard: false }; + root: HTMLDivElement | null = null; + caption: HTMLHeadingElement | null = null; + reading: HTMLDivElement | null = null; + private live = false; + private generation = 0; + private firstRequest = 0; + private requested: WrensLightExit | null = null; + private exitNotified = false; + private pendingScene: number | null = null; + private motion?: MediaQueryList; + private landscape?: MediaQueryList; + private largeLandscape?: MediaQueryList; + private pictures = new Map>(); + private cancelLoads = new Set<() => void>(); + private exitTimer?: ReturnType; + private shotTimer?: ReturnType; + private queuedAdvance = false; + private pointer: { x: number; y: number; id: number } | null = null; + + componentDidMount() { + this.live = true; + ++this.generation; + this.motion = matchMedia("(prefers-reduced-motion: reduce)"); + this.landscape = matchMedia(LANDSCAPE_MEDIA); + this.largeLandscape = matchMedia(LARGE_LANDSCAPE_MEDIA); + this.motion.addEventListener("change", this.updateMotion); + this.landscape.addEventListener("change", this.updateFormat); + this.largeLandscape.addEventListener("change", this.updateFormat); + this.setState({ reduced: this.motion.matches, landscape: this.landscape.matches, largeLandscape: this.largeLandscape.matches, loading: true, hasPicture: false }); + this.focusCaption(true); + this.prepareFirst(); + } + + private prepareFirst() { + const request = ++this.firstRequest, generation = this.generation; + void this.preparePicture(0).then(({ ready, landscape, largeLandscape }) => { + if (!this.live || generation !== this.generation || request !== this.firstRequest || this.requested) return; + this.setState({ loading: false, hasPicture: ready, unavailable: !ready, landscape, largeLandscape }); + if (ready) void this.loadPicture(1); + }); + } + + componentDidUpdate() { this.beginReveal(); } + + componentWillUnmount() { + this.live = false; + this.generation++; + this.pendingScene = null; + clearTimeout(this.exitTimer); + clearTimeout(this.shotTimer); + this.motion?.removeEventListener("change", this.updateMotion); + this.landscape?.removeEventListener("change", this.updateFormat); + this.largeLandscape?.removeEventListener("change", this.updateFormat); + for (const cancel of this.cancelLoads) cancel(); + this.pictures.clear(); + } + + private updateMotion = () => { + const reduced = this.motion?.matches ?? false; + this.setState({ reduced }, () => { + if (reduced && this.state.revealing) this.finishReveal(); + else if (reduced) this.finishShot(); + }); + }; + private updateFormat = () => { + if (this.state.revealing || this.requested) return; + // Rotation prioritizes its first plate immediately, while still deferring the next scene. + if (this.state.loading) { this.prepareFirst(); return; } + const picture = this.state.picture, generation = this.generation; + void this.preparePicture(picture).then(({ ready, landscape, largeLandscape }) => { + if (!this.live || generation !== this.generation || this.state.picture !== picture || this.requested) return; + if (!ready) { this.setState({ unavailable: true }); return; } + clearTimeout(this.shotTimer); + const advance = this.queuedAdvance; + this.queuedAdvance = false; + this.setState({ landscape, largeLandscape, hasPicture: true, previous: null, pending: this.pendingScene !== null, unavailable: false }, () => { + if (advance) this.advance(); + }); + void this.loadPicture(this.state.scene + 1); + }); + }; + private focusCaption = (reset = false) => { + if (reset && this.reading) this.reading.scrollTop = 0; + this.caption?.focus({ preventScroll: true }); + }; + + private async preparePicture(index: number) { + const generation = this.generation; + let landscape: boolean, largeLandscape: boolean, ready: boolean; + do { + landscape = this.landscape?.matches ?? false; + largeLandscape = this.largeLandscape?.matches ?? false; + ready = await this.loadPicture(index, landscape, "high", largeLandscape); + } while (this.live && generation === this.generation && (landscape !== (this.landscape?.matches ?? false) || largeLandscape !== (this.largeLandscape?.matches ?? false))); + return { ready, landscape, largeLandscape }; + } + + private loadPicture(index: number, landscape = this.landscape?.matches ?? false, priority: "high" | "low" = "low", largeLandscape = this.largeLandscape?.matches ?? false): Promise { + if (index >= WRENS_LIGHT_SCENES.length) return Promise.resolve(true); + const source = openingPicture(index, landscape); + const srcSet = openingPictureSet(source, largeLandscape); + // The desktop crop needs 1.3× the painted width, including when prewarming at DPR 1. + const cropped = srcSet && source.endsWith("/mochi-quay-landscape.webp") && typeof matchMedia === "function" && matchMedia(OPENING_FINAL_CROP_MEDIA).matches; + const rasterWidth = typeof window === "undefined" ? 0 : (cropped ? window.innerWidth * 1.3 : Math.max(window.innerWidth, window.innerHeight * 1.6)) * window.devicePixelRatio; + const cacheKey = srcSet ? `${srcSet}|${rasterWidth > 1728 ? 2880 : 1728}` : source; + const cached = this.pictures.get(cacheKey); + if (cached) return cached; + const promise = new Promise(resolve => { + const picture = new Image(); + let settled = false; + const finish = (ready: boolean) => { + if (settled) return; + settled = true; + clearTimeout(timeout); + picture.onload = picture.onerror = null; + this.cancelLoads.delete(cancel); + if (!ready) this.pictures.delete(cacheKey); + resolve(ready); + }; + const cancel = () => finish(false); + // A missing picture must never trap the player between pages. + const timeout = setTimeout(cancel, WRENS_LIGHT_IMAGE_TIMEOUT_MS); + this.cancelLoads.add(cancel); + picture.onload = () => { void picture.decode().then(() => finish(true), () => finish(false)); }; + picture.onerror = cancel; + picture.fetchPriority = priority; + if (srcSet) { picture.sizes = openingPictureSizes(source); picture.srcset = srcSet; } + picture.src = source; + }); + this.pictures.set(cacheKey, promise); + return promise; + } + + advance = () => { + if (this.requested || this.pendingScene !== null || this.state.loading) return; + if (this.state.previous !== null && !this.state.reduced) { + this.queuedAdvance = true; + this.setState({ pending: true }); + return; + } + if (this.state.scene === WRENS_LIGHT_SCENES.length - 1) { this.requestExit("complete"); return; } + const next = this.state.scene + 1; + const generation = this.generation; + this.pendingScene = next; + this.setState({ pending: true }); + void this.preparePicture(next).then(({ ready, landscape, largeLandscape }) => { + if (!this.live || generation !== this.generation || this.requested || this.pendingScene !== next) return; + this.pendingScene = null; + this.setState(state => ({ + scene: next, picture: ready ? next : state.picture, + previous: ready && state.hasPicture && !state.reduced ? openingPicture(state.picture, state.landscape) : null, + previousLargeLandscape: state.largeLandscape, + largeLandscape: ready ? largeLandscape : state.largeLandscape, + hasPicture: state.hasPicture || ready, landscape: ready ? landscape : state.landscape, pending: false, unavailable: !ready, + }), () => { + this.focusCaption(true); + if (this.state.previous !== null) this.shotTimer = setTimeout(this.finishShot, WRENS_LIGHT_SCENES[next].transitionMs); + }); + if (ready) void this.loadPicture(next + 1); + }); + }; + + skip = () => this.requestExit("skip"); + + finishShot = () => { + if (!this.live || this.state.previous === null) return; + clearTimeout(this.shotTimer); + const advance = this.queuedAdvance; + this.queuedAdvance = false; + this.setState({ previous: null, pending: false }, () => { if (advance) this.advance(); }); + }; + + private requestExit(reason: WrensLightExit) { + if (this.requested) return; + this.requested = reason; + clearTimeout(this.shotTimer); + this.queuedAdvance = false; + this.pendingScene = null; + // Skip keeps the visible plate and its words; only the destination owns exit readiness. + this.setState({ exit: reason, scene: this.state.picture, loading: false, pending: false, previous: null }); + if (reason === "skip") this.props.onSkip(); + else this.props.onComplete(); + this.beginReveal(); + } + + private beginReveal = () => { + if (!this.live || !this.requested || !this.props.destinationReady || this.state.revealing) return; + this.setState({ revealing: true }, () => { + if (this.requested === "skip" || this.state.reduced) this.finishReveal(); + else this.exitTimer = setTimeout(this.finishReveal, WRENS_LIGHT_DISSOLVE_MS); + }); + }; + + private finishReveal = () => { + if (!this.live || !this.requested || this.exitNotified) return; + this.exitNotified = true; + clearTimeout(this.exitTimer); + const reason = this.requested; + this.props.onExited?.(reason); + }; + + onKeyDown = (event: KeyboardEvent) => { + if (this.state.revealing || event.defaultPrevented || event.altKey || event.ctrlKey || event.metaKey) return; + if (["Tab", "Enter", " ", "ArrowRight", "ArrowDown", "ArrowUp", "PageDown", "PageUp", "Home", "End", "Escape"].includes(event.key)) this.setState({ keyboard: true }); + if (event.key === "Escape") { event.preventDefault(); this.skip(); return; } + if (event.key === "Tab") { + const buttons = this.root?.querySelectorAll("button:not([disabled])"); + if (!buttons?.length) return; + const first = buttons[0], last = buttons[buttons.length - 1]; + if (document.activeElement === this.caption || document.activeElement === this.reading) { + event.preventDefault(); (event.shiftKey ? last : first).focus(); + } else if (event.shiftKey && document.activeElement === first) { + event.preventDefault(); last.focus(); + } else if (!event.shiftKey && document.activeElement === last) { + event.preventDefault(); first.focus(); + } + return; + } + const target = event.target as HTMLElement; + if (target.closest("button, a, input, textarea, select") || event.repeat) return; + const reading = this.reading; + if (reading && ["ArrowDown", "ArrowUp", "PageDown", "PageUp", "Home", "End"].includes(event.key)) { + event.preventDefault(); + const amount = event.key.startsWith("Page") ? reading.clientHeight * .8 : 40; + reading.scrollTop = event.key === "Home" ? 0 : event.key === "End" ? reading.scrollHeight + : reading.scrollTop + (event.key.endsWith("Up") ? -amount : amount); + return; + } + if (["Enter", " ", "ArrowRight"].includes(event.key)) { event.preventDefault(); this.advance(); } + }; + + onPictureDown = (event: PointerEvent) => { + this.usePointer(); + this.focusCaption(); + if (event.isPrimary && event.button === 0) { + this.pointer = { x: event.clientX, y: event.clientY, id: event.pointerId }; + try { event.currentTarget?.setPointerCapture?.(event.pointerId); } catch { /* A synthetic or already-canceled pointer has no capture. */ } + } else this.pointer = null; + }; + + onPictureUp = (event: PointerEvent) => { + this.focusCaption(); + const start = this.pointer; + this.pointer = null; + if (start && start.id === event.pointerId && Math.hypot(event.clientX - start.x, event.clientY - start.y) < 12) this.advance(); + }; + + onPictureCancel = () => { this.pointer = null; this.focusCaption(); }; + + usePointer = () => { if (this.state.keyboard) this.setState({ keyboard: false }); }; + + render() { + const { scene, picture, previous, landscape, largeLandscape, previousLargeLandscape, pending, unavailable, reduced, exit, revealing, loading, hasPicture, keyboard } = this.state; + const page = WRENS_LIGHT_SCENES[scene], last = scene === WRENS_LIGHT_SCENES.length - 1; + const renderPicture = (source: string, current: boolean, responsive: boolean) => ; + return <>
{ this.root = node; }} className={`wl-opening${this.props.framed ? " wl-framed" : ""}`} + style={{ "--wl-edit-duration": `${page.transitionMs}ms`, "--wl-edit-colour": page.editColour } as CSSProperties} + data-scene={page.id} data-still={reduced || undefined} data-holding={Boolean(exit) || undefined} + data-edit={page.edit} data-loading={loading || undefined} data-keyboard={keyboard || undefined} + data-revealing={revealing || undefined} inert={revealing} aria-hidden={revealing || undefined} + role="region" aria-label="Keep Wren’s Light opening" onKeyDown={this.onKeyDown} onPointerDownCapture={this.usePointer}> +