WORK-407
Setting up your dashboard 0 entities found · 9/32 branches scanned
ID:WORK-407Status:ready

Gallery generator — rune subject

A CLI command that emits a deterministic static rune gallery: every rune across its variant matrix, on one page, rendered through the HTML adapter. This is the AI-iteration surface and the deterministic subject the harness (WORK-409) photographs.

Priority:highComplexity:complexMilestone:v0.22.0Source:SPEC-094
claude/v0.22.0-theme-foundations View source

Criteria completion

Criteria completion: 0 of 4 (0%) checked; tracking started on Jun 12, no incremental history yet0%25%50%75%100%Jun 12Jun 15

Tracking started Jun 12 — check back for trends.

Branches 2
claude/v0.22.0-theme-foundations current ready
claude/work-407-gallery-generator donemain done
History 1
  1. df1ffa9
    Created (ready)by bjornolofandersson

Scope

  • A refrakt gallery command (inspect/contracts family, packages/cli) reusing the inspect pipeline (parse → transform → serialize → identity transform → renderToHtml), extended from one rune to the whole catalogue (core defineRune entries + plugins from refrakt.config.json).
  • Variant matrix derived from config / structures.json.
  • Render via the HTML adapter's renderPage into a self-contained static file per mode (light/dark), with the theme's CSS and fonts inlined/linked.
  • Determinism: fixed sample content + dates, fonts actually loaded (tactically link Lumina's fonts; the full theme-owned-font system is deferred), animations/caret disabled.
  • Emit a stable data-gallery-cell anchor per variant for per-rune clipping.

Acceptance Criteria

  • refrakt gallery emits a self-contained static HTML artifact covering every catalogue rune across its variants, per mode.
  • Output is deterministic across runs (fixed content/dates, no animation) and theme-agnostic (driven by config + theme CSS).
  • Each variant carries a stable data-gallery-cell anchor.
  • The generator lives in the public CLI with no browser dependency.

References

  • SPEC-094 · packages/cli/src/commands/inspect.ts · packages/html/src/render.ts (renderPage) · refrakt contracts / structures.json.