Skip to content

SBO-41 R4: composition range and expressive techniques, v0.1.19 - #34

Merged
jaruesink merged 3 commits into
mainfrom
feat/sbo41-r4-composition-techniques-v0119
Dec 2, 2026
Merged

jaruesink merged 3 commits into
mainfrom
feat/sbo41-r4-composition-techniques-v0119

Conversation

@jaruesink

Copy link
Copy Markdown
Contributor

SBO-41 Round 4 Track 1 (approved in con_d6ba0933, plan con_e49f969e). Not for merge or tag yet: exact-head review and CI first.

Audit decisions (60 items)

  • The three heroes all converged on split or full-bleed openings. No opening served a visitor who arrives with a task or for a date, and no hero gave a studio or publication an editorial spread. Those are three new heroes.
  • Poster framing and title placement are variants of hero-typographic and hero-immersive, not new items.
  • A price list had no home: features-editorial holds sentences, not prices. A multi-location visit section had none either: footer-columns holds links, not hours. Both are new.
  • A mosaic archive does the same job as gallery (captioned figures in order), so it is a gallery layout, not a new block.
  • With no new prop set, every existing block renders as before. The polish on existing blocks is opt-in tone. The 390px review of hero-split, features-editorial and the footers found no defect that justified changing stock defaults.

Added and changed

New blocks (0.1.0)

  • hero-front-desk: today's status, 3–6 large task targets, a ruled strip of facts.
  • hero-editorial: a 12-column spread; the picture starts lower than the title so the two step past each other, with a colophon rail.
  • hero-program: season identity and dates beside the next 2–4 dated sessions.
  • menu-list: dotted or ruled leaders that meet the price on the last line of a wrapped name, and tags. No <details>.
  • locations-visit: ruled cards with hours, and Directions/Call actions aligned at each card's foot.

Variants

  • hero-typographic 0.1.5: layout="poster", a meta dateline, tone.
  • hero-immersive 0.1.5: align="top" | "middle", with scrims that follow the copy, and a caption label.
  • gallery 0.1.1: layout="mosaic", a hole-free nine-figure rhythm, plus tone.
  • schedule 0.1.2: tone; the band hands its roles to its children, so the sticky day bar follows.

New techniques (0.1.0, one CSS file each, zero JS, no new deps)

  • type-lockup: text-box trims with a fallback, a brand underline and a highlight.
  • image-mount: arch, pill, chamfer, fade and frame; the image keeps its natural ratio.
  • diptych: an offset two-picture spread with a layered caption.
  • marginalia: margin notes, section index and colophon; inline at phone widths.
  • line-work: ruled, graph, ledger, hatch and 8-layer crop marks, built on --rule-weight and --color-rule.
  • color-field: wash, split and horizon in oklab from brand tokens; drops to the base under prefers-contrast: more.
  • scroll-reveal: only transform and opacity animate, behind @supports (animation-timeline: view()) and prefers-reduced-motion: no-preference. Text is never faded.

Copy

  • Intent-first useWhen/avoidWhen with pairings on the heroes, gallery, schedule and all 13 techniques.

Gallery

  • /techniques covers 14 techniques in 4 brands. It adds a photo-free civic office and a dark modern studio, and three compositions, including one with zero techniques.
  • New /compositions page: one library's content opened five ways in four brands, then mosaic, visit, schedule and menu sections in those brands.

Asset fix (required)

  • duotone's example, /techniques and the annotated figure hotlinked a commit-pinned raw.githubusercontent.com photo, which a default-src 'self' policy blocks.
  • They now use public/gallery/bench-by-the-window.svg: drawn by hand in SVG for this repo, MIT, with its provenance in the file. It has the full tonal range, so the duotone demo stays truthful.
  • It syncs through gallery-sync's existing public/gallery/*.svg path. Site Boulder's authorable public/ paths allow only svg/txt/css, so the .webp could never have synced.
  • The existing cedar-street-workshop.webp has no recorded provenance. It is still used only by the unsynced service-grammar canvas. Owner question: keep it or retire it?

Fixed, pre-existing (same defect, found while verifying)

  • The production CSS minifier (lightningcss) folds animation-timeline into the animation shorthand. Browsers reject that, so the whole declaration drops.
  • As a result, header-transparent's solid-on-scroll, compare's sticky edge and the /techniques route draw-in never animated in built output. They did animate in astro dev, which doesn't minify.
  • All of them now use longhands: header-transparent 0.1.6, compare 0.1.2. The built preview's computed style reads animation-name and the timeline back for each.

Sync compatibility

  • Every registry file is under the 32 KB build cap. techniques.astro is 78 KB and compositions.astro 17 KB, both under gallery-sync's 128 KiB limit. The new page is in its manifest.
  • gallery-catalog.json would have hit 143 KB. It now ships only the fields the gallery reads: no summary, hashes, import or install line; pages derive the install line. It is back to 118 KB.
  • catalog.json is unchanged in shape for Site Boulder's sync-astro-blocks.mjs.

Verification receipts (built preview, node dist/server/entry.mjs, Chrome 158)

  • npm run registry, npm run check (72 items, generated files current, astro check 0/0/0), npm run validate (72 items valid) and npm run build all pass.
  • Headless sweep, 54 runs: 27 pages × 1440/390. The pages are every new or updated canvas (including header-transparent and compare), /blocks/duotone, /techniques, /compositions and /. Result: 0 console errors, 0 page errors, 0 HTTP ≥400, 0 external requests, 0 horizontal overflow, and every <img> has complete && naturalWidth > 0. grep raw.githubusercontent over src, public, registry.json and dist: 0 files.
  • Contrast: 2,485 text runs checked, 0 below 4.5:1 normal or 3:1 large. The method measures each text run against the rendered pixels behind it, with text hidden, so washes, scrims, bands and inverse/accent tones count as drawn.
    • Coverage: 18 pages × 2 widths; /techniques was measured section by section.
    • Negative controls (injected low-contrast text) fail as expected, at 1.29–1.79.
  • Reduced motion: under reduce, the .reveal-rule decoration and .reveal-media have no animation and show the finished state (transform: none, opacity: 1). Under no-preference the animation attaches, and text opacity stays 1.
  • I inspected screenshots of every new opening, section and technique, and of /compositions at both widths.
  • Not verified: Safari/Firefox rendering, a real Site Boulder static capture, and the installed-from-tag check, which waits for a v0.1.19 tag.

🤖 Generated with Claude Code

jaruesink and others added 3 commits December 2, 2026 11:07
Audit of all 60 items found the heroes converging on split/full-bleed
openings and no home for task-first, programme-first, editorial-spread,
price-list or multi-location visit jobs. New items cover those jobs;
poster, placement and mosaic needs became variants of existing items.

- New heroes: hero-front-desk, hero-editorial, hero-program.
- New content: menu-list, locations-visit.
- Variants: hero-typographic layout="poster" + meta + tone (0.1.5);
  hero-immersive align="top"|"middle" + caption (0.1.5); gallery
  layout="mosaic" + tone (0.1.1); schedule tone (0.1.2). Defaults unchanged.
- New zero-JS techniques: type-lockup, image-mount, diptych, marginalia,
  line-work, color-field, scroll-reveal.
- duotone/techniques: replace the raw.githubusercontent hotlink with a
  self-hosted, MIT, hand-drawn public/gallery/bench-by-the-window.svg.
- Fix (pre-existing): lightningcss minify folds animation-timeline into
  the animation shorthand, which browsers reject, so header-transparent
  (0.1.6), compare (0.1.2) and the draw-in recipe never animated in
  builds. All scroll-driven animations now use longhands.
- Gallery: /techniques covers 14 techniques in 4 brands with a
  zero-technique composition; new /compositions page opens one site's
  content five ways. gallery-catalog.json trimmed to fields the gallery
  reads (118 KB, under gallery-sync's 128 KiB cap). Favicon added.
- Intent-first useWhen/avoidWhen with pairings; version 0.1.19.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jaruesink
jaruesink merged commit dfa606f into main Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant