Repository navigation
Character pack builder: the pipeline's deterministic promotion step - #8
Open
rubenmarcus wants to merge 6 commits into
Open
rubenmarcus wants to merge 6 commits into
rubenmarcus wants to merge 6 commits into
Conversation
Promotes standard pipeline outputs (rigged meshy-28 GLB with a passing pose test, character-clips@2 packs with a clip QA report, studio-assets PROVENANCE rights, previews) into an immutable kind: character pack, validated in place by the shared contract validator. Fails closed on the rig pose gate, non-rig clip QA failures outside an explicit allowlist, the model SHA chain, the contract vocabulary and layout, rights, budgets, preview signatures and already-published versions. Agent: Claude Code Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Builds a synthetic pipeline output (skinned meshy-28 GLB, family packs, pose test, QA report, PROVENANCE, preview; no real asset bytes), packs it through the CLI and the library entry, rebuilds it byte-identical in another root and over the same immutable version, and rejects 27 gate mutants with their own error codes, from a failed pose gate and uncovered QA failures to rights, budget, preview, vocabulary and layout breaks. Wired into npm run check. Agent: Claude Code Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
End-to-end route for every new third-person character: concept and rights in studio-assets, owner-run Mint model, Blender rig with the pose gate, animation bake with clip QA, deterministic pack build and validation, client verify/install, release pin. Records the gates, budgets, commands, quality reference of the 2026-11 pilots and where private artifacts live; the client keeps receiving no new GLBs under public/. Agent: Claude Code Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Member
Author
|
CI note: no |
--omit-extra=<key>[:<reason>] drops an optional extra that the owner cut from one character's pack: its family GLB is rewritten without the clip (same encoding, the other clips decode identically), it leaves animations.extra, its QA results stop gating the build, and one source.provenance line records the reason plus every QA failure of the clip. States can never be omitted; a key outside the vocabulary, given twice, never baked, or with nothing to cite is refused. Agent: Claude Code Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
The omitted clip is gone from the rewritten loco.glb and the manifest, the 3.666x stretch that justified it is recorded, the CLI reports it, and omitting a state, an unknown or repeated key, a clip the converter never baked, or a clip with nothing to cite is rejected with its own code. A kept extra with the same failure still refuses the build. Agent: Claude Code Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: Claude Code Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Member
Author
|
Local verification on head 6268d71 (Linux, Node 26.12.1): npm ci PASS; npm run check PASS (148 PASS lines); npm run check:asset-gen PASS (4 PASS lines); npm run smoke:pack PASS (68 PASS lines). Blender 5.2.0 LTS is installed; these synthetic gates do not establish a real-asset or visual approval. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #5 (pack optional clips), sibling of #4/#6 (Blender rig) and #7 (animation conversion). This is the P6 piece: the standard process gets its one promotion tool.
What
tools/characters/build-character-pack.mjs(npm run pack:build-character): turns standard pipeline outputs — rigged meshy-28 GLB + passingpose-test.json, acharacter-clips@2clip dir, its clip QA report, the studio-assets character folder (PROVENANCE.md## Rights) at a recorded revision, and preview renders — into an immutablekind: characterpack under<out>/character/<id>/<version>, validated in place by the shared contract validator.pack_version_exists).pose_gate_failed), non-rig clip QA failures outside an explicit--allow-qa=<clip|*>:<substring>([rig: …]-tagged failures stay rig-repair work), converter schema/id/model SHA chain, contract vocabulary and family layout, rights (status/basis/public-domain citations), triangle (cap 15000) and byte (8388608 declared) budgets, preview signatures. Families come from the contract's ownclipFamily, so the manifest can never disagree with the validator mirror.docs/character-pipeline.md: the end-to-end standard process (concept/rights → owner-run Mint model → Blender rig + pose gate → animation bake + clip QA → pack build + validate → client verify/install → release pin), with commands, gates, budgets, the pilot quality reference and the private/public artifact boundary. The client side keeps the rule: no new character GLBs underpublic/.tools/checks/character-pack-builder-check.mjsinnpm run check: synthetic fixtures only (no real GLB committed), builds and validates a pack through the CLI, proves byte-determinism and the immutable-version rule, and rejects 27 gate mutants for their own error codes.Measured
npm run check(Node 26.12.1 local): 138 PASS lines, including the new builder check (39 cases; base suite was 98).capitao-caveirafrom the 2026-11 pilot outputs builds to 15 files, 5131480/8388608 bytes, 4905/5000 triangles; rebuilt in another root with the identical manifest SHAabce638c75d3…; byte total matches the packs-lote report. A QA report with real non-rig failures (adjim, 64[clip: …]entries) refuses the build withqa_failure_not_allowed.For the reviewer
--rights-referencerather than a per-character map in this public repo (the ephemeral builder had them hardcoded); the PROVENANCE basis alone does not carry the citation format.Agent: Claude Code