Skip to content

track(design): run the KAMI image render + auto-review pipeline (nolte-media) — generate assets from #593 prompts #618

Description

@nolte

Context

Follow-on to #593 (KAMI prompt docs, resolved by #598). Branch feat/kami-media-pipeline adds a machine-driven generate + Claude-vision conformance-review loop targeting the nolte-media plugin. The pipeline is built and dry-run-validated but not yet executed (no Cloudflare credentials in the authoring env), and the assets are not yet rendered/integrated.

This issue tracks the remaining work so it is not forgotten.

Delivered on feat/kami-media-pipeline (commit 485750762)

  • spec/design/_generation-manifest.yaml — machine SSOT, 79 render jobs (Batch 1: 20 inline FLUX prompts for the 8 new docs(design): derive KAMI image-generation prompts from the illustration audit (#591) #593 docs; Batch 2: 59 series jobs — features G-06, tank G-05, nav-icons G-04 — via doc:+motif_heading: references).
  • scripts/kami/render.py — driver over nolte-media image-generate (FLUX.1-schnell via Cloudflare), per-job state machine, fresh-seed regen, flux_normalize.
  • .claude/agents/kami-image-reviewer.md — vision reviewer vs spec/design/KAMI-CHARACTER-REFERENCE.md (§3/§3.2/§4.2/§5/§6/§8).
  • scripts/kami/README.md runbook; task kami:status|generate|worklist.

Model note (nolte-media)

Default provider cloudflare = FLUX.1-schnell (free, ignores width/height → always ~1024² square). gemini-2.5-flash-image requires billing + SynthID watermark. FLUX has no negative-prompt channel → the docs' Avoid: clauses are stripped by flux_normalize.

Open tasks

  • Open a PR for feat/kami-media-pipeline → develop.
  • Provide CLOUDFLARE_API_TOKEN + CLOUDFLARE_ACCOUNT_ID (Workers AI scope) in the run env.
  • Run the generate → vision-review → regen loop per scripts/kami/README.md (batch by priority: G-01/G-02 app-icons + G-03 onboarding first).
  • Add per-icon dark nav-icon jobs (currently light-only; same mechanic, add variant: dark entries).
  • Downstream per approved PNG (out of pipeline scope): crop to target size → nolte-media:png-to-transparent-svg (transparent motifs; app-icons stay opaque) → place under each job's out: path.
  • Wire consumers: barrel assets/brand/illustrations/index.ts, Sidebar.tsx (nav-icons), public/manifest.json + public/icons/ (fixes the broken PWA icon 404), KAMI_PHASE_IMAGES (post-harvest), tank fill-level mapping, EmptyState.tsx default.
  • Verify Light + Dark per motif; reconcile spec/design/_index.md status column to Prompt ✅ / Asset ✅.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsConventional Commits type `docs` — documentation or spec change.specTouches files under `spec/`.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions