Repository navigation
v2.0.0 — Four pipelines, one taxonomy
Highlights
- Video → sprite loops. One still becomes a whole motion set:
video-canvaspads it into the canvas the state needs,videoanimates it in place through Grok Imagine,video-frameskeys every frame,video-loopfinds the true period (or the one performed action) and emits a strip, a transparent GIF and a WebP, andvideo-setruns directions × states with per-item reports. Every stage is measured and fails by name. - Parallel row generation is a command.
gen-setgenerates every state row of a prepared run N at a time with the run's own identity ref, one report per row, a table and a non-zero exit on any failure — what the skill used to describe in prose. - One taxonomy.
sprite-gen --helpopens with the four named pipelines (A atlas rows · B video → loop · C utilities · D post-processing) and groups every verb by domain; the grouping, thescripts/map and the pipeline list derive fromsprite_gen/_modules.py(MODULE_DOMAIN,PIPELINES), and the docs classification is catalogued indocs/README.mditself, checked by tests against the file set and the pipeline catalog. - Documentation you can navigate.
docs/README.mdindexes every doc once under its branch with a one-line owner;docs/architecture.mdopens with a domain diagram and a four-pipeline diagram; the largest docs carry a table of contents; the repo README shrinks to an entry page and the sections it carried live in the docs that own them.
Breaking
-
New required binaries for pipeline B:
ffmpeg(frame extraction) andimg2webpfrom libwebp (WebP with exact alpha). Pipelines A, C and D do not need them. -
Removed the
scripts/aliases that pointed at library modules or verb-less modules. Use the verb or module instead:Removed Use scripts/extract.pysprite-gen extract(scripts/extract_sprite_row_frames.py)scripts/gif_utils.pyfrom sprite_gen.util import gif_utilsscripts/runio.pyfrom sprite_gen.spec import runioscripts/reroll_state_row.pysprite_gen.effects.reroll(module;interpolate_frames.pycovers the take workflow) -
Maintainer experiments moved to
scripts/dev/(breathe_mutation_battery.py,measure_align_sigma.py,validate_pr6_subject_profile.py,check_visible_magenta.py); they are not verbs and the skill no longer requires them. -
docs/static-pose-recipe.mdmerged intodocs/breathing.md(one contract, one owner); links to the old file are gone.
Added
sprite_gen/video/domain and the verbsvideo-canvas,video-frames,video-loop,video-set(contract:docs/video-pipeline.md).video-loop --cycle auto|periodic|one-shot: action states (jump,attack, unknown) whose clip performs the action once get a recorded one-shot cut (rest → excursion → rest) instead of a hard failure; the report keeps the rejected periodic attempt andtable.mdgains akindcolumn.walk,run,idlestill fail loud without a period.sprite-gen gen-set(sprite_gen/gen/gen_set.py,scripts/gen_set.py): 6 rows at a time by default (the lead-verified batch width), anchors before rows on direction runs, reuse unless--force,reports/gen-set/table.md+set.report.json,--providerhonoured verbatim withgen's own default resolution and its recorded codex → grok availability failover per row.sprite_gen._modules.DOMAINS/domain_of(): display order and one-line meaning per domain;cli.command_domains()derives the help groups. A verb whose module is not in the table fails loudly.docs/README.md(documentation index) with a test that pins it to the file set and resolves every relative markdown link; tables of contents inrun-contract.md,layer-tracks.md,curation.md,directional-anchor-workflow.md,architecture.md;scripts/dev/README.md.
Changed
SKILL.mdis a route-first hub (still / atlas / video-to-loop / utilities) under the 24 KB skill budget; the interpreter rationale, the rename gate and the breathing contract moved verbatim todocs/interpreter.md,docs/rename-gate.md,docs/breathing.md.video-loopstrips are capped by pixel width (32 000 px) as well as by cell count: a 650 px-wide cell now yields 49 cells instead of a 41 664 px image Chrome refuses; the strip meta recordscell_capandsubsampled.- Walk detection window floor 10 % → 6 % of the clip so a legless body's fast bounce resolves; the 15 % depth rule keeps rejecting the one-step half period (verified on a biped and a quadruped).
video-setmotion templates no longer assume a biped. README.mdis an entry page: what it is, the four pipelines, one quickstart each, install. Breathe, chroma-alpha quality, Backbone Lattice and the curation webview tour moved verbatim todocs/breathing.md,docs/chroma-alpha.md,docs/pixel-unfake.md,docs/curation.md.
Removed
- See Breaking for the removed
scripts/aliases and the merged doc.