Commit 0a81fde
art(review): local review app -- persistent verdicts + notes, multi-session (serve_review.py) (#706)
Adds tools/art_review/serve_review.py: a stdlib-only (http.server, no deps) local
web app that reviews ALL P(Doom)1 art in one place -- pixellab art_source/ AND the
gpt-image art_generated/ tree (game_icons, ui_icons, hero_banners,
screen_backgrounds, terminal_textures, + any new category dirs).
Per asset: clickable keep/maybe/reroll verdict, free-text note, comma tags, on a
checkered alpha backdrop, grouped by category with a sticky section nav and
keyboard nav (arrows / K / M / R / N). Every edit POSTs to /api/state and
AUTO-PERSISTS to tools/art_review/review_state.json on disk (not localStorage), so
a review survives across sittings and is a clean pipeline input:
{ asset_id: { verdict, note, tags, updated_at } }
asset_id is pipeline-friendly: gen:<category>:<base_id>:<variant> / px:<relpath>.
PNGs stream live from disk via /img?p=<relpath> (path-sandboxed to art-root, png
only) -- the 1.1 GB gitignored art_generated/ tree is never copied or committed.
Closes the "build.py doesn't read art_generated" glue gap in ASSET_PIPELINE.md.
review_state.json is gitignored (per-reviewer local state).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 489eb3f commit 0a81fde
2 files changed
Lines changed: 660 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments