rig-parts 2.63.1 → 2.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli.ts CHANGED
@@ -55,7 +55,7 @@ import { RETUNE_FILE, RETUNE_SPEC, retuneStage } from './src/retune.ts';
55
55
  import { checkPainting, DEFAULT_PAINTING_FORM, isPaintingForm, PAINTING_FORMS, paintingFormOf } from './src/paintcheck.ts';
56
56
  import { decodePngBytes, readPng, writePng } from './src/raster/png.ts';
57
57
  import { REQUIREMENTS_SENTENCE } from './src/requirements.ts';
58
- import { composeStage, IMAGE_SEP, PLATE, PROVENANCES, SCENE_CAMERA_REPORT_SPEC, SCENE_REPORT_FILE, SCENE_REPORT_SPEC, SCENE_SPEC } from './src/scene.ts';
58
+ import { type ComposeInput, composeStage, IMAGE_SEP, PLATE, PROVENANCES, refusePreviewLoopSeam, SCENE_CAMERA_REPORT_SPEC, SCENE_REPORT_FILE, SCENE_REPORT_SPEC, SCENE_SPEC } from './src/scene.ts';
59
59
  import { buildSheet, defaultCaption, type Tile, tilesFrom } from './src/sheet.ts';
60
60
  import { loadComparison, requiredProblems, structureLines } from './src/structure.ts';
61
61
  import { type ArgvTable, assembleOutputFiles, BUILD_RUN_FILE, CHECK_RUN_FILE, clearComposeRun, clearRunRecord, clearRunStamp, readPackageIdentity, recordArgv, rigOutputFiles, RUN_STAMP_FILE, RUN_STAMP_SPEC, writeRunRecord, writeRunStamp } from './src/runstamp.ts';
@@ -1046,7 +1046,16 @@ usage:
1046
1046
 
1047
1047
  rig-parts compose --scene <scene.json> --out <dir> [--requirements <file.json>] [--accept <bar>[,<bar>...]] [--page-size <px>]
1048
1048
  [--loop-seam-bar <channel-delta,pixels> --loop-seam-cap <loops>]
1049
+ [--output-profile preview] [--no-extremes]
1049
1050
  The loop seam flags measure the composed idle in check/, as for check.
1051
+ --no-extremes omits the extra extremes renders. --output-profile preview
1052
+ also omits published idle_frames/, contact.png and motion_heat.png, and
1053
+ implies --no-extremes. The gate and check requirements still apply.
1054
+ Opt-in success prints PREVIEW or NO EXTREMES and records output_profile
1055
+ in compose-run.json. When both flags are given, preview takes precedence.
1056
+ Preview uses the stock idle render for checks, then removes it.
1057
+ Preview refuses --loop-seam-bar (COMPOSE_PREVIEW_REQUIRED_CHECK) because
1058
+ check.json binds the first and wrap PNGs that must remain in idle_frames/.
1050
1059
  Bind several finished characters into one rig. The scene file (spec
1051
1060
  "${SCENE_SPEC}") states the canvas {width, height}, an optional plate
1052
1061
  {image, provenance: ${PROVENANCES.join(' | ')}, note?}, the characters
@@ -1303,7 +1312,7 @@ const TAKES = {
1303
1312
  'comfy plate': { valued: ['--mode', '--painting', '--mask-from', '--occluder', '--out', '--graph', '--model', '--checkpoint-sha256', '--seed', '--grow', '--steps', '--cfg', '--prompt', '--negative', '--host', '--wait', '--timeout', '--poll'], switches: ['--holes', '--help'] },
1304
1313
  inputs: { valued: ['--source', '--config', '--out'], switches: ['--help'] },
1305
1314
  build: { valued: ['--config', '--source', '--full', '--head', '--out', '--seam', '--project', '--page-edges', '--pack-shape', '--page-size', '--requirements', '--idle-keys', '--lead-in', '--alt', '--set', '--environment', '--wind-band'], switches: ['--loop', '--seam-pairs', '--keep-stills', '--all-sets', '--no-extremes', '--help'] },
1306
- compose: { valued: ['--scene', '--out', '--requirements', '--accept', '--page-size', '--loop-seam-bar', '--loop-seam-cap'], switches: ['--help'] },
1315
+ compose: { valued: ['--scene', '--out', '--requirements', '--accept', '--page-size', '--loop-seam-bar', '--loop-seam-cap', '--output-profile'], switches: ['--no-extremes', '--help'] },
1307
1316
  'mesh-draft': { valued: ['--config', '--parts', '--out', '--requirements', '--idle-keys', '--page-edges', '--pack-shape', '--page-size'], switches: ['--more-triangles', '--help'] },
1308
1317
  'mesh-stats': { valued: ['--config', '--parts'], switches: ['--help'] },
1309
1318
  remesh: { valued: ['--rig', '--config', '--parts', '--part', '--mesh', '--delta', '--out', '--requirements', '--idle-keys', '--page-edges', '--pack-shape', '--page-size', '--input-check'], switches: ['--record-input-check', '--help'] },
@@ -1633,15 +1642,22 @@ function cmdRig(args: string[]): number {
1633
1642
  * the spawn from here. A call that fails carries which rigc ran it, path and
1634
1643
  * version ({@link rigcRunnerAt}, issue #337), and every refusal quoting it says so.
1635
1644
  */
1636
- /** The command's valued flags as `--flag value` pairs, each one its {@link TAKES} row holds; `required` must all be given. Its bare switches are taken out by the caller before this reads the rest. A string is a usage error. */
1637
- function flags(args: string[], command: Command, required: readonly string[]): Map<string, string> | string {
1645
+ /** Read the command's required and optional `--flag value` pairs, and collect its bare switches in `on` when supplied. A string is a usage error. */
1646
+ function flags(args: string[], command: Command, required: readonly string[], on?: Set<string>): Map<string, string> | string {
1638
1647
  const got = new Map<string, string>();
1639
- for (let i = 0; i < args.length; i += 2) {
1648
+ const switches: readonly string[] = TAKES[command].switches;
1649
+ for (let i = 0; i < args.length; i++) {
1640
1650
  const flag = args[i];
1651
+ if (on !== undefined && switches.includes(flag)) {
1652
+ if (on.has(flag)) return `${flag} is given twice`;
1653
+ on.add(flag);
1654
+ continue;
1655
+ }
1641
1656
  if (!takesValued(command, flag)) return notTaken(command, flag);
1642
1657
  if (args[i + 1] === undefined) return `${flag} needs a value`;
1643
1658
  if (got.has(flag)) return `${flag} is given twice`;
1644
1659
  got.set(flag, args[i + 1]);
1660
+ i++;
1645
1661
  }
1646
1662
  for (const k of required) if (!got.has(k)) return `${command} needs ${k} <value>`;
1647
1663
  return got;
@@ -2605,15 +2621,28 @@ function cmdBuild(args: string[]): number {
2605
2621
  }
2606
2622
 
2607
2623
  function cmdCompose(args: string[]): number {
2608
- const f = flags(args, 'compose', ['--scene', '--out']);
2624
+ const on = new Set<string>();
2625
+ const f = flags(args, 'compose', ['--scene', '--out'], on);
2609
2626
  if (typeof f === 'string') return usage(f);
2627
+ const profile = f.get('--output-profile');
2628
+ if (profile !== undefined && profile !== 'preview') return usage(`--output-profile ${JSON.stringify(profile)}; preview is required when this flag is given`);
2629
+ const outputProfile = profile ?? (on.has('--no-extremes') ? 'no-extremes' : undefined);
2610
2630
  const loopSeam = parseLoopSeamFlags(f);
2611
2631
  if (typeof loopSeam === 'string') return usage(loopSeam);
2612
2632
  const out = f.get('--out') as string;
2613
2633
  clearComposeRun(out);
2614
- let size: number | undefined;
2634
+ let input: ComposeInput;
2615
2635
  try {
2616
- size = parsePageSize(f.get('--page-size'));
2636
+ const size = parsePageSize(f.get('--page-size'));
2637
+ const req = f.get('--requirements');
2638
+ const accept = f.get('--accept');
2639
+ input = {
2640
+ scene: f.get('--scene') as string, out, ...(size === undefined ? {} : { pageSize: size }),
2641
+ ...(req === undefined ? {} : { requirements: req }), ...(accept === undefined ? {} : { accept: accept.split(',') }),
2642
+ ...(loopSeam === undefined ? {} : { loopSeam }),
2643
+ ...(outputProfile === undefined ? {} : { outputProfile }),
2644
+ };
2645
+ refusePreviewLoopSeam(input);
2617
2646
  } catch (err) {
2618
2647
  return printRefusal(err);
2619
2648
  }
@@ -2625,14 +2654,8 @@ function cmdCompose(args: string[]): number {
2625
2654
  }
2626
2655
  const scratch = mkdtempSync(join(tmpdir(), 'rig-parts-compose-'));
2627
2656
  try {
2628
- const req = f.get('--requirements');
2629
- const accept = f.get('--accept');
2630
2657
  const r = composeStage(
2631
- {
2632
- scene: f.get('--scene') as string, out, ...(size === undefined ? {} : { pageSize: size }),
2633
- ...(req === undefined ? {} : { requirements: req }), ...(accept === undefined ? {} : { accept: accept.split(',') }),
2634
- ...(loopSeam === undefined ? {} : { loopSeam }),
2635
- },
2658
+ input,
2636
2659
  { rig: rigcRunner(bin), check: rigcRunner(bin), checkBin: bin, scratch: join(scratch, 'gate') },
2637
2660
  console.log,
2638
2661
  );
package/docs/AUTHORING.md CHANGED
@@ -2500,6 +2500,18 @@ depth sheet or generated key, and adds no winding validator. Lattice meshes,
2500
2500
  head turns, unrelated animations and attachments absent from the generated
2501
2501
  body-turn deform get no contour/body-turn advice.
2502
2502
 
2503
+ **When a band width reverses a triangle (issue #1606).** A region's band `width` decides which
2504
+ outline and ring samples survive meshing, so two neighbouring widths can produce different
2505
+ triangulations of the same part. At some widths the triangulation leaves a sliver near the band
2506
+ cutoff, made of a persistent outline vertex and two ring samples with zero region share, and
2507
+ rigc reverses it at the body-turn extreme. On two public synthetic fixtures, width 14 refused
2508
+ (one triangle, 154.835 → −18.061 px²) while widths 13 and 15 built clean, and width 25 refused
2509
+ (13.556 → −1.985 px²) while 24 and 26 built clean, all at −15° on `body_turn` key 0. The field
2510
+ has no monotone direction: on both fixtures the narrower and the wider neighbour each cleared
2511
+ the refusal. When `RIG_CONTOUR_BODY_TURN_WINDING` names a contour mesh whose band width you just
2512
+ changed, try the widths on either side through the stock gate before you change any other
2513
+ field.
2514
+
2503
2515
  **Weights.** The nominal share `g` is 1 inside or on the region, `1 − d/band` at a
2504
2516
  distance `0 < d < band`, and 0 at or past the outer edge. With `band: 0`, the share
2505
2517
  steps directly from 1 to 0. The endpoints are decided exactly on the 1/256 px grid.
@@ -6695,7 +6707,7 @@ recorded transform. The record fields and sampling formula are specified in
6695
6707
  | <a id="RIG_EXPLICIT_ISLAND_COUNT"></a>`RIG_EXPLICIT_ISLAND_COUNT` | `explicit.islands.length` differs from the non-dust 4-connected art island count of `parts/<part>.png`; the missing or extra `<part>__island<N>` slot names and island pixel counts are named | supply one `explicit.islands` entry per non-dust art island (`<part>`, `<part>__island2`, …); nothing is written |
6696
6708
  | <a id="RIG_EXPLICIT_ALTERNATE"></a>`RIG_EXPLICIT_ALTERNATE` | an alternate set replaces a part bound to one accepted explicit payload | use a generated mesh for alternate artwork; no alternate is inferred from a base payload |
6697
6709
  | <a id="RIG_INFLUENCE_REACH"></a>`RIG_INFLUENCE_REACH` | an influence mesh's `radius` is at or under the distance from its farthest lattice vertex to that vertex's nearest link (issue #378): a link pulls only when it is nearer than `radius`, so that vertex would be pulled by none. The vertex, where it is and the distance are named | a `radius` above the distance named, or a segment nearer that part of the art |
6698
- | <a id="RIG_CONTOUR_BODY_TURN_WINDING"></a>`RIG_CONTOUR_BODY_TURN_WINDING` | config context appended inside `RIG_RIGC_GREEN` only for rigc's actual `A39_DEFORM_KEEPS_TRIANGLE_WINDING` failure on a contour mesh attachment in the `body_turn` generated by `config.turn.body` (issue #1306). Names the part, slot/attachment, failure frame, key index/time or bounding keys/measured span time, reversal count, and rigc's shown triangle indices, vertex triples and signed before/after areas; repeated gate lines get one added line per failure frame. Rigc's original text is retained | inspect `meshes.<part>.contour.maxEdge`, `meshes.<part>.contour.margin`, `meshes.<part>.contour.tolerance` and the part's depth sheet together. The outcome is not monotone in any field; no single field is a promised fix. Only rerunning rigc's gate decides whether the candidate passes; the diagnostic changes no mesh, depth or generated key and adds no validator |
6710
+ | <a id="RIG_CONTOUR_BODY_TURN_WINDING"></a>`RIG_CONTOUR_BODY_TURN_WINDING` | config context appended inside `RIG_RIGC_GREEN` only for rigc's actual `A39_DEFORM_KEEPS_TRIANGLE_WINDING` failure on a contour mesh attachment in the `body_turn` generated by `config.turn.body` (issue #1306). Names the part, slot/attachment, failure frame, key index/time or bounding keys/measured span time, reversal count, and rigc's shown triangle indices, vertex triples and signed before/after areas; repeated gate lines get one added line per failure frame. Rigc's original text is retained | inspect `meshes.<part>.contour.maxEdge`, `meshes.<part>.contour.margin`, `meshes.<part>.contour.tolerance` and the part's depth sheet together. The outcome is not monotone in any field; no single field is a promised fix. When the reversal follows a change of a region's band `width`, try the widths on either side first: the width decides which outline and ring samples survive meshing, and has no monotone direction (issue #1606). Only rerunning rigc's gate decides whether the candidate passes; the diagnostic changes no mesh, depth or generated key and adds no validator |
6699
6711
  | <a id="RIG_INFLUENCE_LATTICE"></a>`RIG_INFLUENCE_LATTICE` | rig-c's segments lattice refused the part at the declared `cell` (no pixel of the part holds art, or the cell is not a whole number of at least 1); rig-c's message is quoted | a part with art, or a whole `cell` of at least 1 |
6700
6712
  | <a id="RIG_RIGC_GREEN"></a>`RIG_RIGC_GREEN` | rig-c refused the rig; its own FAIL or compile-error line is quoted, and nothing was written. A `constraints` field rigc does not read, or a value it refuses, is this line in rigc's words (`constraint "aim" (ik) has a key this compiler does not read: "mixx" (did you mean "mix"?)`), as is `A25_DETACHED_BONE_PARENTAGE` on a declared scene target. So is an ik whose `bones` are more than two, or two of which the second is not the first's child: from rig-c 2.15.0 its rig-spec parser refuses both by name (`ik constraint "reach" names 3 bones …`, `ik constraint "reach": "hem1" is not a child of "body" ("hem0" stands between) …`; firejune/rigc#1205), and this package no longer refuses them itself (issue #103; it did from #92 while rigc's gate passed them). Under `--idle-keys ctl` a two-bone ik over a chain link and its child link is that second refusal too, because the child's `<link>_ctl` stands between them; rigc's remedy names the control, which a config cannot, so when rigc's line says that control alone stands between, the rig stage adds a sentence naming `--idle-keys direct` on the command that ran | the field rigc's line names; for the split pair, `rig --idle-keys direct` or `build --idle-keys direct`, as the line says, which keys the link in place — rig-c's own AUTHORING §5 maps each of its assertions (`node_modules/@rig-c/core/docs/AUTHORING.md`) |
6701
6713
 
@@ -7208,13 +7220,16 @@ and stay absent).
7208
7220
  | <a id="SCENE_ACCEPT_KNOWN"></a>`SCENE_ACCEPT_KNOWN` | an `--accept` name, or one in a character's `accept`, is not a bar `check` holds a build to: a problem code (`CHECK_LOOP_CLOSES`) where the bar's name (`loop`) belongs, a misspelling, or `gate`, which is rig-c's and never accepted | one of the names the message lists |
7209
7221
  | <a id="SCENE_BUILD_FIELD_KNOWN"></a>`SCENE_BUILD_FIELD_KNOWN` | a build's `rig.json` or `motion.json` carries a key compose does not know how to prefix or place, or a root with a transform of its own | a rig `build` wrote; a rig written by something else is `check`'s to measure (§7, *Measuring a rig rig-parts did not assemble*), not compose's to merge |
7210
7222
  | <a id="SCENE_RIG_SCALE_AGREES"></a>`SCENE_RIG_SCALE_AGREES` | the characters' `parts.json` `scale_rig_per_source` differ (each named) | one `assemble.rig_scale` for every character; `characters[].scale` sizes a placed character, it does not make two `rig_scale`s one |
7211
- | <a id="SCENE_SCALE_EXACT"></a>`SCENE_SCALE_EXACT` | a character at a `scale` other than 1 carries something no per-character value can scale: a physics constraint with a nonzero `wind` or `gravity`, or a physics track keying `wind` or `gravity` with a nonzero value (Spine applies both through the skeleton's `referenceScale`, which the composed skeleton holds once for every character), a track whose `property` compose does not know to be a length or not, or a translate key whose `v` is neither a list of numbers nor a map of them | `scale` 1 for that character, or rebuild it at another `assemble.rig_scale` |
7223
+ | <a id="SCENE_SCALE_EXACT"></a>`SCENE_SCALE_EXACT` | a character at a `scale` other than 1 declares a numeric `with_idle` count or carries an input that compose cannot scale exactly. Examples include a physics constraint or track with nonzero `wind` or `gravity` (Spine uses one `referenceScale` for the composed skeleton), a track whose `property` compose does not know how to scale, and a translate key whose `v` is neither a list of numbers nor a map of them | use `scale` 1, or rebuild at another `assemble.rig_scale` to change the built size. To leave a physics-only clip out of the idle, declare `false`. The side clip must still pass the scale checks |
7212
7224
  | <a id="SCENE_DURATION_AGREES"></a>`SCENE_DURATION_AGREES` | with no `idle_repeats`, the characters' idles are of different durations (each named), or `scene.animations.idle.duration` differs from the composed idle | declare the same duration; compose preserves the original key timing |
7213
- | <a id="SCENE_REPEAT_COUNT"></a>`SCENE_REPEAT_COUNT` | a character declares an invalid `idle_repeats` value | declare a safe integer of 2 or more, or omit the field to use one source period |
7225
+ | <a id="SCENE_REPEAT_COUNT"></a>`SCENE_REPEAT_COUNT` | an invalid count in `characters[].idle_repeats`, `characters[].with_idle` or `scene.repeats` | use a safe integer of at least 2 for `idle_repeats` or `scene.repeats`, and a safe integer of at least 1 or literal `false` for `with_idle` |
7214
7226
  | <a id="SCENE_REPEAT_IDLE_REQUIRED"></a>`SCENE_REPEAT_IDLE_REQUIRED` | a character opts in but the scene declares no `animations.idle` | declare the scene idle and its duration |
7215
- | <a id="SCENE_REPEAT_DURATION"></a>`SCENE_REPEAT_DURATION` | in an opted-in scene, the declared idle duration differs from a character's source period times its playback count, including a count of one for a character without `idle_repeats` | use the exact finite, positive product for every character |
7227
+ | <a id="SCENE_REPEAT_DURATION"></a>`SCENE_REPEAT_DURATION` | the declared idle duration disagrees with a character’s source period times its playback count, or `scene.repeats` names a take without a positive authored duration or with animation keys ending off the period clock | use the exact finite, positive product for every character. Declare the whole take duration and make the latest effective scene animation key end exactly at duration divided by the scene repeat count |
7228
+ | <a id="SCENE_PHYSICS_CLIP_DECLARED"></a>`SCENE_PHYSICS_CLIP_DECLARED` | a character’s physics-only clip beside `idle` lacks a declaration. The refusal names the character, clip and distinct keyed constraint count | declare literal `false` in `with_idle` at any scale, or declare a whole-period count at scale 1 |
7229
+ | <a id="SCENE_PHYSICS_CLIP_ONLY"></a>`SCENE_PHYSICS_CLIP_ONLY` | a `with_idle` entry names `idle`, an absent clip, a clip with no physics keys or a clip with other timelines | use the source name of a physics-only clip beside `idle`. This applies to counts and to `false` |
7230
+ | <a id="SCENE_WITH_IDLE_DURATION"></a>`SCENE_WITH_IDLE_DURATION` | a numeric `with_idle` entry implies a duration different from the played idle. The refusal names the clip and the conflicting lengths. The diagnostic searches up to 10,000 copies of each source. Acceptance depends on exact duration equality regardless of that search bound | use the smallest exact pair of whole-period counts when the diagnostic finds one, retime the source clip supplied through `motion.animations_from`, adjust the source idle with `motion.duration`, or declare `false` |
7216
7231
  | <a id="SCENE_REPEAT_SOURCE_LOOP_CLOSES"></a>`SCENE_REPEAT_SOURCE_LOOP_CLOSES` | a repeated source idle has a loop flag other than `true`, or its original gated keyed poses at the start and stored end do not close or cannot be read | use a closed source idle with `loop: true` and correct the named pose channel |
7217
- | <a id="SCENE_REPEAT_KEY_SEAM"></a>`SCENE_REPEAT_KEY_SEAM` | a repeated source timeline cannot be spliced on its effective key clock, for example because of a setup gap, an unequal boundary state or left limit, or a reset at the boundary | author a timeline that starts at effective time zero and closes continuously, with any explicit reset strictly inside the source period and separate on Core's playback clock |
7232
+ | <a id="SCENE_REPEAT_KEY_SEAM"></a>`SCENE_REPEAT_KEY_SEAM` | a repeated source timeline cannot be spliced on its effective key clock, for example because of a setup gap, an unequal boundary state or left limit, a reset at the boundary or a period that collapses on the playback clock. Repeated scene animations also refuse timeline families without a defined splice | author a state timeline that starts at effective time zero and closes continuously, with any explicit reset strictly inside the source period and separate on Core's playback clock |
7218
7233
  | <a id="CE_COMPILE_ANIMATION_GROUP_UNKNOWN"></a>`CE_COMPILE_ANIMATION_GROUP_UNKNOWN` | a scene track names no own declared group, including inherited object names such as `constructor` | name an explicitly declared final group; prototype properties are not groups |
7219
7234
  | <a id="SCENE_ANIMATION_NAME_FREE"></a>`SCENE_ANIMATION_NAME_FREE` | a scene clip name already belongs to an imported character animation | choose a new name; only shared `idle` can be extended |
7220
7235
  | <a id="SCENE_DIAL_RANGE_DECLARED"></a>`SCENE_DIAL_RANGE_DECLARED` | a keyed slider has no readable explicit `from` and `max` bounds, or its bounds are reversed; the bone and slider are named | declare both finite bounds with `from <= max`; no limits are invented |
@@ -7222,8 +7237,8 @@ and stay absent).
7222
7237
  | <a id="SCENE_DIAL_KEY_DECLARED"></a>`SCENE_DIAL_KEY_DECLARED` | a scene key uses `derive` on a slider's input property, including one that also carries a raw `v`; derived slider inputs are not a supported scene dial dialect | declare an explicit numeric `v` for the named dial, within the named slider's own range; group member values are checked separately |
7223
7238
  | <a id="SCENE_ANIMATION_LOOP_CLOSES"></a>`SCENE_ANIMATION_LOOP_CLOSES` | the gated posed values at 0 and the scene clip's declared duration differ with physics omitted, for a new clip or an idle extension (physics-on frames are not measured by this check) | close the posed bone, slot, geometry, alpha, clip and draw-order values with physics omitted; comparison never wraps the endpoint to zero, and physics-on frame closure is not measured here |
7224
7239
  | <a id="SCENE_ANIMATION_POSE_READABLE"></a>`SCENE_ANIMATION_POSE_READABLE` | Core cannot read or pose the compiled scene clip for its endpoint comparison | correct the construct named by Core; unreadable poses never count as closed and no scene is emitted |
7225
- | <a id="SCENE_CAMERA_TRACK"></a>`SCENE_CAMERA_TRACK` | a camera track names an unknown take, has invalid keys or easing, or produces a nonfinite or collapsed view | correct the take name, key times, easing or camera values |
7226
- | <a id="SCENE_CAMERA_LOOP_CLOSES"></a>`SCENE_CAMERA_LOOP_CLOSES` | a looping take's camera pan or zoom differs at the unwrapped endpoints | give its first and last keys the same pan and zoom |
7240
+ | <a id="SCENE_CAMERA_TRACK"></a>`SCENE_CAMERA_TRACK` | a camera track names an unknown take, has invalid keys or easing, ends at the wrong time, or produces a nonfinite or collapsed view | correct the take name, key times, easing or camera values. End the keys exactly at the take duration, or at duration divided by the scene repeat count for a repeated take |
7241
+ | <a id="SCENE_CAMERA_LOOP_CLOSES"></a>`SCENE_CAMERA_LOOP_CLOSES` | a looping or repeated take's camera pan or zoom differs at the unwrapped endpoints of its authored keys | give its first and last keys the same pan and zoom |
7227
7242
  | <a id="SCENE_CAMERA_BACKDROP"></a>`SCENE_CAMERA_BACKDROP` | a camera backdrop does not resolve to its declared, measurable region behind the figures | select a plate that draws its bound region behind the figures throughout the keyed take |
7228
7243
  | <a id="SCENE_CAMERA_PLATE_EDGE"></a>`SCENE_CAMERA_PLATE_EDGE` | the camera view extends past the posed backdrop on the named frame | adjust the camera or plate motion, or extend the plate to cover the required view |
7229
7244
  | <a id="SCENE_CAMERA_PLATE_ALPHA"></a>`SCENE_CAMERA_PLATE_ALPHA` | the posed backdrop admits transparent coverage on the named camera frame | fill the transparent area or move the view into opaque art |
@@ -7242,6 +7257,7 @@ and stay absent).
7242
7257
  | <a id="SCENE_INVARIANT_AGREES"></a>`SCENE_INVARIANT_AGREES` | two characters declare `invariants.idleDrivesMeshes` with different `why`s | rebuild with this package's `--idle-keys direct`, whose `why` is one sentence |
7243
7258
  | <a id="SCENE_IMAGE_NAME_FREE"></a>`SCENE_IMAGE_NAME_FREE` | two images compose to one file name (`<id>.<file>`: an id `x` with an image `y.cloth.png`, and an id `x.y` with `cloth.png`) | another id |
7244
7259
  | <a id="COMPOSE_RIGC_GREEN"></a>`COMPOSE_RIGC_GREEN` | rig-c refused the composed rig; its line is quoted. A field compose carries as written (a constraint's `mix`, a slot's setup attachment) is rigc's to judge | the build whose field it names |
7260
+ | <a id="COMPOSE_PREVIEW_REQUIRED_CHECK"></a>`COMPOSE_PREVIEW_REQUIRED_CHECK` | `--loop-seam-bar` with `--output-profile preview`. The `loop_seam` record in `check.json` binds the paths and SHA-256 hashes of the first and wrap PNGs under `check/idle_frames/`, which preview removes | `found=preview, required=default or no-extremes`. Use default diagnostics or `--no-extremes` to retain the bound PNGs |
7245
7261
  | `REQUIREMENTS_*` | the `--requirements` file, as for `check` | as for `check` |
7246
7262
 
7247
7263
  ### The command line
@@ -7481,7 +7497,7 @@ assemble*, at the end of this section):
7481
7497
 
7482
7498
  **Physics-on idle closure (opt-in, issue #1590).** Pass
7483
7499
  `--loop-seam-bar <channel-delta,pixels> --loop-seam-cap <loops>` together to
7484
- `check` or `compose`. Use decimal whole numbers: a channel delta from 0 to 255,
7500
+ `check` or `compose` (default diagnostics or `--no-extremes`). Use decimal whole numbers: a channel delta from 0 to 255,
7485
7501
  a nonnegative safe integer pixel limit, and a nonnegative safe integer warm-up
7486
7502
  cap. The rig must have an idle of positive duration. Core's warm-up search is
7487
7503
  incompatible with `check --environment`.
@@ -8029,12 +8045,12 @@ rig directory, copied away from its `parts.json`, reads `5 of 10`: the gate, the
8029
8045
 
8030
8046
  ### Composing several characters (`compose`, issue #74)
8031
8047
 
8032
- `rig-parts compose --scene <scene.json> --out <dir> [--requirements <file.json>] [--accept <bar>[,<bar>…]] [--page-size <px>] [--loop-seam-bar <channel-delta,pixels> --loop-seam-cap <loops>]`
8048
+ `rig-parts compose --scene <scene.json> --out <dir> [--requirements <file.json>] [--accept <bar>[,<bar>…]] [--page-size <px>] [--loop-seam-bar <channel-delta,pixels> --loop-seam-cap <loops>] [--output-profile preview] [--no-extremes]`
8033
8049
  binds characters this package already built into one rig. Each character runs the
8034
8050
  single-character path (§4, steps 0–9) on its own, already isolated input to a green
8035
8051
  `build` first; compose reads what that build wrote and changes nothing in it.
8036
- The paired loop seam flags apply to the composed idle under `<out>/check/`, at
8037
- the same viewport compose uses for the shipped frames.
8052
+ With default diagnostics or `--no-extremes`, the paired loop seam flags apply to
8053
+ the composed idle under `<out>/check/`, at the viewport used for the shipped frames.
8038
8054
 
8039
8055
  ```
8040
8056
  { "spec": "spine-parts-scene/1",
@@ -8059,8 +8075,10 @@ the same viewport compose uses for the shipped frames.
8059
8075
  | `characters[].canvas_clip` | optional literal `true` for intentional overflow (issue #1491). The placed part bounds must be finite, extend past at least one canvas edge and overlap the canvas with positive width and height. Omitting the key requires containment, with flush edges allowed. Every explicit value other than `true` is `SCENE_FIELD_TYPE` |
8060
8076
  | `characters[].placement_pivot` | optional literal `true` (issue #1498). Generates an identity `<id>:placement` under `root` and requires a scene-authored `translate`, `translatex` or `translatey` key on it. Every explicit value other than `true` is `SCENE_FIELD_TYPE` |
8061
8077
  | `characters[].idle_repeats` | optional safe integer of 2 or more (issue #1511). Counts total plays of this character's source idle within an explicit `scene.animations.idle`. Its declared duration must equal `idle_repeats * source idle duration` exactly. In the same scene, each character without the key must fill the duration once. In `scene.json`, `characters[].idle_duration` gives the source period, `characters[].idle_repeats` appears on opted-in rows, and top-level `idle_duration` gives the scene period |
8078
+ | `characters[].with_idle` | map from each source physics-only clip beside `idle` to a safe integer of at least 1 or literal `false` (issue #1615). A count requires character scale 1 and folds whole periods into the played idle. `false` leaves that clip out of the idle at any character scale. Both retain the prefixed side clip, which must pass the character's scale checks. See [Physics clips and scene repeats](#physics-clips-and-scene-repeats-issue-1615) |
8062
8079
  | `characters[].accept` | optional, a list of bar names: the bars this character's own check may have failed and still be composed (issue #203). `compose --accept <bar>[,<bar>…]` is the same list for every character; the two are joined, so the command line applies to every character and a character's list adds to it. Each name is one of the bars `check`'s summary names, less the gate — `loop`, `seam`, `BREATH_VISIBLE`, `BLINK_NO_HOLE`, `CHAIN_LAG`, `TIP_OVER_ROOT`, `STILL_REGIONS_DARK`, `TEXTURE_STRETCH`, `ANIMATIONS_DO_NOT_FOLD` (issue #320), `STRESS_OFF_CHAIN` (issue #347), `SEAM_OVER_MOTION` (the body-root bar, issue #686); anything else is `SCENE_ACCEPT_KNOWN`. When `check/check.json` declares `spec: "rig-parts-check/1"`, `compose` reads its `bar_outcomes` for the bars whose outcome status is `FAIL` in the report's order (issue #1373); without that spec it keeps the legacy `barsNotMet` reading. A build is taken when every bar its `check.json` failed is named; its gate red, a declared requirement not PASS, or a bar not named is `SCENE_BUILD_GREEN` as before. **It is for looking, not for shipping:** the `[compose]` line says which failing bars were accepted, `scene.json` records them as the character's `accepted`, the composed rig's own check measures them again and reports them as it finds them, and the run exits 1 even when that check is PASS (a composed rig has no `parts.json`, so the seam and four judgement lines say SKIP there). A list that accepts nothing — every build green — composes to the bytes a scene without one writes |
8063
- | `animations` | optional map by scene clip name, each value a rigc `MotionAnimation` (`duration`, `tracks`, optional `loop`, `note`, and core timeline collections). Names resolve against the final scene without another prefix or unit conversion: `root`, `plate`, declared named plate bones and `<id>:<bone>`, including generated dials. Keying `root` moves the whole scene. A new name adds a clip. `idle` appends tracks and timelines once to the composed idle, preserving character metadata and physics constraints. Its duration must exactly equal the composed idle (`SCENE_DURATION_AGREES`, or `SCENE_REPEAT_DURATION` when a character opts in to repetition). Imported animation names are reserved (`SCENE_ANIMATION_NAME_FREE`). Absent declaration preserves legacy bytes and output paths (issue #1346) |
8080
+ | `animations` | optional map by scene clip name, each value a rigc `MotionAnimation` (`duration`, `tracks`, optional `loop`, `note`, and core timeline collections). Names resolve against the final scene without another prefix or unit conversion: `root`, `plate`, declared named plate bones and `<id>:<bone>`, including generated dials. Keying `root` moves the whole scene. A new name adds a clip. `idle` appends the resulting tracks and timelines to the composed idle, preserving character metadata and physics constraints. Its duration must exactly equal the composed idle (`SCENE_DURATION_AGREES`, or `SCENE_REPEAT_DURATION` when a character opts in to repetition). Imported animation names are reserved (`SCENE_ANIMATION_NAME_FREE`). See `repeats` for period-authored tracks and deforms |
8081
+ | `repeats` | optional map from authored take names to safe integers of at least 2 (issue #1615). Repeats the scene-authored tracks, deforms and camera keys on a single period clock. `animations.<take>.duration` is the whole take duration. See [Physics clips and scene repeats](#physics-clips-and-scene-repeats-issue-1615) |
8064
8082
  | `camera` | optional keyed view over composed animation names. See [Keyed scene camera](#keyed-scene-camera-issue-1596) for the camera clock, coverage requirements and opt-in report version |
8065
8083
  | `order` | the draw order, back to front: a character id (its slots not named elsewhere, in its own order) or one `<id>:<slot>`. Every slot of every character is drawn exactly once. Interleaving is written by naming slots: `["a", "b:arm_l", "b"]` draws `b`'s left arm between `a` and the rest of `b` |
8066
8084
 
@@ -8229,9 +8247,9 @@ What is composed:
8229
8247
  declares it.
8230
8248
  - **Every animation beside a character's idle** — what `motion.animations_from`
8231
8249
  wrote into its `motion.json` (§3) — rides along as `<id>:<name>` after the idle,
8232
- its tracks' bones, groups, physics constraints and easings prefixed as the idle's are and every other
8233
- value as written; the scene schedules none of them, they are the consumer's to
8234
- play. Each is read with the idle's own key lists, so a key compose does not know
8250
+ with its tracks' names prefixed and its length retained. A numeric `with_idle`
8251
+ declaration also folds that physics-only clip into the played idle. Each side
8252
+ clip is read with the idle's own key lists, so a key compose does not know
8235
8253
  how to prefix is `SCENE_BUILD_FIELD_KNOWN`, as it is on the idle, and a track of
8236
8254
  one that keys `root` is `SCENE_ROOT_SHARED` (issues #183, #1485).
8237
8255
  - **Turn producer output** (issue #1344) is admitted explicitly: yaw/pitch
@@ -8351,6 +8369,141 @@ character's input arrives isolated); a composed `parts.json`, so the bars that
8351
8369
  read See-through tags are measured per character by its own `build`, not over the
8352
8370
  scene; a rig `build` did not write.
8353
8371
 
8372
+ #### Compose output profiles (issue #1610)
8373
+
8374
+ | Options | Omitted diagnostics under `<out>/check/` | Successful terminal verdict | `compose-run.json` `output_profile` |
8375
+ | --- | --- | --- | --- |
8376
+ | Neither flag | None selected for omission | `compose: PASS — …` | absent |
8377
+ | `--no-extremes` alone | `extremes/`, as in `check` and `build` | `compose: NO EXTREMES — checks met; …` | `"no-extremes"` |
8378
+ | `--output-profile preview`, with or without `--no-extremes` | `extremes/`, `idle_frames/`, `contact.png`, `motion_heat.png` | `compose: PREVIEW — checks met; …` | `"preview"` |
8379
+
8380
+ Preview uses Core's stock idle renderer and the existing readers for its
8381
+ frames and geometry. With any `canvas_clip: true` character, that render uses
8382
+ the authored stage viewport. Core generates a contact sheet alongside the
8383
+ temporary idle frames. Parts removes the idle render directory before preview
8384
+ success, skips copying the contact sheet to `check/contact.png`, and skips
8385
+ generating `check/motion_heat.png`. The rig-c gate, packed build, camera binding
8386
+ and check requirements still apply. The `[check]` diagnostics
8387
+ lines give the chosen flag as the reason for `extremes: SKIP` and, in preview,
8388
+ `idle diagnostics: SKIP`. These lines describe output omissions. Each bar and
8389
+ requirement retains its own outcome. Failed checks and accepted failing input
8390
+ bars still exit 1 and leave no compose receipt.
8391
+
8392
+ `preview` is the only accepted value for `--output-profile`. A valid pair of
8393
+ `--loop-seam-bar` and `--loop-seam-cap` in preview exits 1 with
8394
+ `COMPOSE_PREVIEW_REQUIRED_CHECK` (`found=preview, required=default or no-extremes`).
8395
+ The declared physics-on seam check embeds Core's `loop_seam` evidence in
8396
+ `check.json`. Its `first` and `wrap` entries bind the relative paths and SHA-256
8397
+ hashes of `f0000.png` and `loop-wrap.png` under the idle render directory.
8398
+ Both files must remain under `check/idle_frames/` for readers to verify the
8399
+ seam evidence after the run. This refusal clears `rig/`, `check/`, `scene.json` and
8400
+ `compose-run.json` under `--out` before the gate.
8401
+
8402
+ #### Physics clips and scene repeats (issue #1615)
8403
+
8404
+ A physics-only side clip typically enters a character build through
8405
+ `motion.animations_from`. It has at least one track, every track targets a
8406
+ physics constraint alone, and it has no other populated timeline collections.
8407
+ Declare each such clip by its source name in `characters[].with_idle`. A count
8408
+ copies that many whole periods into the composed `idle` with the character's
8409
+ prefix. Literal `false` plays the idle without that clip. The standalone
8410
+ `<id>:<clip>` ships in either case, and the character's row in `scene.json`
8411
+ echoes the declaration. A single-animation player plays the folded keys by
8412
+ selecting `idle`.
8413
+
8414
+ Literal `false` is accepted at any character scale. The side clip still passes
8415
+ through the character's scale checks, which refuse nonzero `wind` or `gravity`
8416
+ at scales other than 1. A numeric declaration requires character scale 1 and
8417
+ an exact match between the source clip period times its count and the played
8418
+ idle duration. A count of 1 can fold an equal-duration clip without authoring
8419
+ `scene.animations.idle`.
8420
+ Use `idle_repeats` and an explicit scene idle duration when the character idle
8421
+ also needs to fill multiple periods. The counts for the idle and the physics
8422
+ clip may differ as long as their products agree exactly.
8423
+
8424
+ Set `scene.repeats.<take>` to author the scene animation and any camera track
8425
+ for that take over a shared period. Give `scene.animations.<take>.duration`
8426
+ the positive whole take length and divide it by the scene repeat count to get
8427
+ the authored period. The latest effective animation key across tracks and
8428
+ deforms, if present, and the final camera key, if present, must end exactly
8429
+ there. A state channel that has already closed may hold to the splice.
8430
+ The splice repeats tracks and deforms. Populated `ik`, `transform`,
8431
+ `sequence`, `drawOrder` and `events` collections are refused. A repeated camera
8432
+ must close on its authored period even for a non-looping take.
8433
+
8434
+ The splice requires the held end key state to equal the start state and
8435
+ checks the left limit at the boundary. It shares equivalent boundary keys,
8436
+ offsets absolute curve times and keeps resets strictly inside each physics
8437
+ period. Compose's pose loop check omits physics. The splice checks keyed
8438
+ physics inputs, while Core's render loop-seam measurement reads the resulting
8439
+ physics-on frames.
8440
+
8441
+ On a frame-aligned tiled camera with a backdrop that follows the same period,
8442
+ `pan`, `zoom`, `view` and `backdrop_quad` repeat at the same phase. The player's
8443
+ coverage guard compares the view with the backdrop quad, so the repeated rows
8444
+ yield the same guard verdict. `figures` contains bounds measured from each
8445
+ frame's pose, with physics stepping through the whole take.
8446
+
8447
+ ##### Compose the generated fixture
8448
+
8449
+ From the repository root, generate the fixture, compose its tiled scene and
8450
+ single-period reference, then render only `idle` with Core 3.11.0.
8451
+
8452
+ ```sh
8453
+ bun fixtures/scene.ts scratch/fixture
8454
+ bun cli.ts compose --scene scratch/fixture/scene.json --out scratch/folded
8455
+ bun cli.ts compose --scene scratch/fixture/period.json --out scratch/period
8456
+ bunx --no-install rigc render --candidate scratch/folded/check/build --animation idle --fps 12 --loop-seam --out scratch/physics-on
8457
+ bunx --no-install rigc render --candidate scratch/folded/check/build --animation idle --fps 12 --physics off --out scratch/physics-off
8458
+ ```
8459
+
8460
+ Both compose runs reported `PASS` on Linux. In
8461
+ `scratch/folded/rig/motion.json`, the 3 s `idle` contains `wind` and `mix`
8462
+ tracks targeting `figure:hem_spring`, with five keys each from 0 to 3 s.
8463
+ The prefixed side clip is retained. Select `idle` when opening the packed
8464
+ model in a single-animation player.
8465
+
8466
+ Core's `loop-seam.json` records an unjudged seam at warmup 0, with 183
8467
+ differing pixels and a maximum RGBA channel delta of 95. At 0.75 s, the
8468
+ 256 × 204 `f0009.png` differs by 253 pixels between the physics-on and
8469
+ physics-off renders, with a maximum RGBA channel delta of 128. To compare
8470
+ the two frames, use the frame-set directory named in each `frames.json`.
8471
+
8472
+ ```sh
8473
+ bun - <<'TS'
8474
+ import { readPng } from './src/raster/png.ts';
8475
+
8476
+ async function frame(root: string) {
8477
+ const { sets } = await Bun.file(`${root}/frames.json`).json();
8478
+ return readPng(`${root}/${sets[0].dir}/f0009.png`);
8479
+ }
8480
+
8481
+ const on = await frame('scratch/physics-on');
8482
+ const off = await frame('scratch/physics-off');
8483
+ if (on.width !== off.width || on.height !== off.height) {
8484
+ throw new Error('Frame dimensions differ');
8485
+ }
8486
+ let pixels = 0;
8487
+ let maxDelta = 0;
8488
+ for (let i = 0; i < on.data.length; i += 4) {
8489
+ let pixelDelta = 0;
8490
+ for (let channel = 0; channel < 4; channel++) {
8491
+ pixelDelta = Math.max(pixelDelta, Math.abs(on.data[i + channel] - off.data[i + channel]));
8492
+ }
8493
+ if (pixelDelta > 0) pixels++;
8494
+ maxDelta = Math.max(maxDelta, pixelDelta);
8495
+ }
8496
+ console.log({ width: on.width, height: on.height, pixels, maxDelta });
8497
+ TS
8498
+ ```
8499
+
8500
+ The `scene.json` reports contain 13 period rows and 37 tiled rows in
8501
+ `camera.tracks.idle.frames`. Comparing each tiled row with its period phase
8502
+ (the terminal row uses the period endpoint) found zero mismatches in `pan`,
8503
+ `zoom`, `view` and `backdrop_quad`, with the same coverage guard verdict.
8504
+ Figure rows differed from the reference phase on 36 of 37 frames, with
8505
+ zero outside the view.
8506
+
8354
8507
  #### Keyed scene camera (issue #1596)
8355
8508
 
8356
8509
  A camera projects an already posed scene into the fixed canvas. It follows the
@@ -8375,7 +8528,8 @@ The example object is the value of `camera`. `backdrop` names one scene plate
8375
8528
  behind the characters. A track names a final composed animation, including
8376
8529
  `idle` or a prefixed clip. A take without a track uses the existing view.
8377
8530
  Times are seconds, strictly increasing from zero through the declared
8378
- duration. Pan offsets the view center from the stage center in canvas pixels,
8531
+ duration. For a take listed in `scene.repeats`, author the camera through
8532
+ duration divided by its repeat count. Pan offsets the view center from the stage center in canvas pixels,
8379
8533
  with positive X right and positive Y down. Zoom is positive and finite.
8380
8534
  Zoom 1 shows a stage-sized window. Zoom 2 halves its visible width and height
8381
8535
  about the panned center. The first and last pan and zoom must agree on a
@@ -8459,11 +8613,12 @@ The rig-c gate, composed rig and packed atlas retain the full art, geometry and
8459
8613
  motion so offstage parts can enter the canvas during playback.
8460
8614
 
8461
8615
  When any character opts in, compose gives check renders the authored stage as
8462
- their viewport. Explicit diagnostic viewports take precedence. The retained
8616
+ their viewport, including the temporary stock idle render in preview. Explicit
8617
+ diagnostic viewports take precedence. With default diagnostics or `--no-extremes`, the retained
8463
8618
  `check/idle_frames/` and `check/contact.png` use check's existing preview size
8464
8619
  cap and sampling rate. `check/idle_frames/frames.json` records the stage in
8465
- `viewport` and identifies the pin in `pinned.by` as `--viewport`. Extremes use
8466
- their existing explicit diagnostic grid over the same stage box.
8620
+ `viewport` and identifies the pin in `pinned.by` as `--viewport`. The default
8621
+ extremes use their explicit diagnostic grid over the same stage box.
8467
8622
  The stage rectangle is `[-width/2, 0, width, height]` in rig-c world coordinates,
8468
8623
  y up. To verify native canvas pixels, render the packed build with the stage
8469
8624
  rectangle as `--viewport` and the larger canvas dimension as `--max`.
@@ -8483,12 +8638,13 @@ every character in the declared draw order.
8483
8638
  A fully green compose writes `compose-run.json` at the `--out` root, beside
8484
8639
  `scene.json`, with spec `rig-compose-run/1`. It removes a previous record before
8485
8640
  the stage begins, including before stage option validation; a refused input,
8486
- rig-c gate, check or accepted failing character leaves no record. With neither
8487
- canvas clipping nor a placement pivot declared, the existing rig, scene report
8488
- and check bytes and paths are stable. Core's separate `check/build/run.json`
8489
- retains its own clocks.
8641
+ rig-c gate, check or accepted failing character leaves no record. With default
8642
+ diagnostics and neither canvas clipping nor a placement pivot declared, the
8643
+ existing rig, scene report and check bytes and paths are stable. Core's separate
8644
+ `check/build/run.json` retains its own clocks.
8490
8645
 
8491
- The fixed top-level key order is `spec`, `scene`, `characters`, `plate`, `plates`:
8646
+ The fixed top-level key order is `spec`, `scene`, `characters`, `plate`, `plates`,
8647
+ then `output_profile` when selected.
8492
8648
 
8493
8649
  | entry | exact binding |
8494
8650
  | --- | --- |
@@ -8496,6 +8652,7 @@ The fixed top-level key order is `spec`, `scene`, `characters`, `plate`, `plates
8496
8652
  | `characters` | sorted by `id` in code-unit order. Each row has `id`, `build`, `files`, then `placement` only for `canvas_clip: true`. `build` is as declared and `files` contains `{path, sha256}` entries sorted by build-relative `path`. `placement` holds `{canvas_clip: true, bounds, clipped_bounds}` from the scene report |
8497
8653
  | `plate` | legacy plate `{path, sha256}`, with its image path as declared relative to the scene file, or `null` when absent |
8498
8654
  | `plates` | every named plate `{name, path, sha256}`, sorted by `name` in code-unit order; image paths as declared relative to the scene file; `[]` when absent |
8655
+ | `output_profile` | `"preview"` for `--output-profile preview`, including when paired with `--no-extremes`; `"no-extremes"` for `--no-extremes` alone; absent for default diagnostics |
8499
8656
 
8500
8657
  The raw `scene.sha256` binds the placement pivot declaration and its authored
8501
8658
  tracks. A pivot adds no receipt field. The `placement` entry retains its canvas
@@ -8510,13 +8667,14 @@ It does not enumerate the build directory: unused images, packed pages,
8510
8667
  source configs and the character's own `run.json` are excluded. A declared
8511
8668
  `parts.json` painting binding and editor receipts keep their existing validation;
8512
8669
  their declarations are bound through the containing input bytes. This record
8513
- inventories the listed compose inputs, not external requirements or CLI options.
8670
+ inventories the listed compose inputs and the selected output profile. External
8671
+ requirements and other CLI options are outside its inventory.
8514
8672
 
8515
8673
  Hashes are captured from the same byte buffers consumed before the gate, never
8516
8674
  by rereading inputs after it. Image hashes bind encoded file bytes, including
8517
8675
  any trailing bytes, rather than decoded pixels. Identical inputs at identical
8518
- supplied paths give identical record bytes; there are no clocks. A changed byte
8519
- changes its input entry's hash; if multiple entries reference one physical file,
8676
+ supplied paths with the same output profile give identical record bytes. A changed
8677
+ byte changes its input entry's hash. If multiple entries reference one physical file,
8520
8678
  each reference changes. Missing scene, build and plate files retain their named
8521
8679
  `SCENE_FILE`, `SCENE_BUILD_PRESENT` and `SCENE_PLATE_PRESENT` refusals.
8522
8680
 
@@ -10798,27 +10956,27 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
10798
10956
  | `SETUP_MATCHES_PAINTING.regions[].slots` | `SETUP_MATCHES_PAINTING.regions[].slots` | part when the supplied mapping resolves a piece; otherwise rig | evidence | resolved piece for slot; otherwise [] | [setuppainting.ts:176](../src/setuppainting.ts#L176) |
10799
10957
  | `SOURCE_EXPOSURE.rows` | `SOURCE_EXPOSURE.rows` | 'part' | finding when declared !== undefined && r.px > declared.max_px; otherwise evidence | [r.part] | [sourceexposure.ts:292](../src/sourceexposure.ts#L292) |
10800
10958
  | `SOURCE_EXPOSURE.unmeasured` | `SOURCE_EXPOSURE.unmeasured` | part when the supplied mapping resolves a piece; otherwise rig | finding when declared !== undefined; otherwise evidence | resolved piece for u.slot; otherwise [] | [sourceexposure.ts:293](../src/sourceexposure.ts#L293) |
10801
- | `STILL_REGIONS_DARK.*.crossing` | `STILL_REGIONS_DARK.*.crossing` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for sl.name; otherwise [] | [check.ts:9523](../src/check.ts#L9523) |
10802
- | `STILL_REGIONS_DARK.*.still_slots` | `STILL_REGIONS_DARK.*.still_slots` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when r.max > tolerance; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:9509](../src/check.ts#L9509), [check.ts:9514](../src/check.ts#L9514) |
10959
+ | `STILL_REGIONS_DARK.*.crossing` | `STILL_REGIONS_DARK.*.crossing` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for sl.name; otherwise [] | [check.ts:9537](../src/check.ts#L9537) |
10960
+ | `STILL_REGIONS_DARK.*.still_slots` | `STILL_REGIONS_DARK.*.still_slots` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when r.max > tolerance; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:9523](../src/check.ts#L9523), [check.ts:9528](../src/check.ts#L9528) |
10803
10961
  | `STRESS_OFF_CHAIN.not_read` | `STRESS_OFF_CHAIN.not_read` | 'part' | evidence | [r.part] | [check.ts:4299](../src/check.ts#L4299) |
10804
10962
  | `STRESS_OFF_CHAIN.per_part` | `STRESS_OFF_CHAIN.per_part` | 'part' | finding when poses.some(p => typeof p.reading === 'number' && p.reading > STRESS_RIGID); otherwise evidence | [r.part] | [check.ts:4287](../src/check.ts#L4287) |
10805
10963
  | `STRESS_OFF_CHAIN.per_part[].off_chain` | `STRESS_OFF_CHAIN.per_part[].off_chain` | 'part' | evidence | [r.part] | [check.ts:4287](../src/check.ts#L4287) |
10806
10964
  | `STRESS_OFF_CHAIN.per_part[].poses` | `STRESS_OFF_CHAIN.per_part[].poses` | 'part' | evidence; finding when shown > STRESS_RIGID; otherwise evidence | [r.part] | [check.ts:4255](../src/check.ts#L4255), [check.ts:4273](../src/check.ts#L4273) |
10807
- | `TEXTURE_STRETCH.per_mesh` | `TEXTURE_STRETCH.per_mesh` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when severity > TEXTURE_STRETCH_CEILING; otherwise evidence | resolved piece for m.slot; otherwise [] | [check.ts:10290](../src/check.ts#L10290), [check.ts:10300](../src/check.ts#L10300) |
10808
- | `TIP_OVER_ROOT.parts` | `TIP_OVER_ROOT.parts` | 'part' | evidence; finding when !ok && !(!rigid && hanging.onLink && Math.max(c.root, c.tip) < TIP_TRAVEL_FLOOR); otherwise evidence | [p.name] | [check.ts:8898](../src/check.ts#L8898), [check.ts:8903](../src/check.ts#L8903), [check.ts:8924](../src/check.ts#L8924), [check.ts:8935](../src/check.ts#L8935) |
10965
+ | `TEXTURE_STRETCH.per_mesh` | `TEXTURE_STRETCH.per_mesh` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when severity > TEXTURE_STRETCH_CEILING; otherwise evidence | resolved piece for m.slot; otherwise [] | [check.ts:10304](../src/check.ts#L10304), [check.ts:10314](../src/check.ts#L10314) |
10966
+ | `TIP_OVER_ROOT.parts` | `TIP_OVER_ROOT.parts` | 'part' | evidence; finding when !ok && !(!rigid && hanging.onLink && Math.max(c.root, c.tip) < TIP_TRAVEL_FLOOR); otherwise evidence | [p.name] | [check.ts:8912](../src/check.ts#L8912), [check.ts:8917](../src/check.ts#L8917), [check.ts:8938](../src/check.ts#L8938), [check.ts:8949](../src/check.ts#L8949) |
10809
10967
  | `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:6833](../src/check.ts#L6833) |
10810
10968
  | `WIND_BAND.pairs[].steps` | `WIND_BAND.pairs[].steps` | 'pair' | finding when !s.holds; otherwise evidence | [p.a, p.b] | [check.ts:6844](../src/check.ts#L6844) |
10811
10969
  | `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:6150](../src/check.ts#L6150) |
10812
- | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7935](../src/check.ts#L7935) |
10813
- | `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8266](../src/check.ts#L8266) |
10814
- | `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8266](../src/check.ts#L8266) |
10815
- | `requirements.lines.* (stretch)` | `requirements.lines.*` | part when the supplied mapping resolves a piece; otherwise rig | finding when line.status === 'FAIL'; otherwise evidence | resolved piece for r.slot; otherwise [] | [check.ts:8266](../src/check.ts#L8266) |
10970
+ | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7947](../src/check.ts#L7947) |
10971
+ | `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8280](../src/check.ts#L8280) |
10972
+ | `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8280](../src/check.ts#L8280) |
10973
+ | `requirements.lines.* (stretch)` | `requirements.lines.*` | part when the supplied mapping resolves a piece; otherwise rig | finding when line.status === 'FAIL'; otherwise evidence | resolved piece for r.slot; otherwise [] | [check.ts:8280](../src/check.ts#L8280) |
10816
10974
  | `seam_cells.frames` | `frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:5030](../src/check.ts#L5030) |
10817
10975
  | `seam_cells.frames[].cells` | `frames[].cells` | part when the supplied mapping resolves a piece; otherwise rig | evidence | resolved piece for cell.setupTop ?? ''; otherwise [] | [check.ts:4990](../src/check.ts#L4990) |
10818
10976
  | `seam_pairs` | `seam_pairs`; `seam_scope.whole_pairs`; `sets.*.seam_pairs`; `sets.*.seam_scope.whole_pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:2708](../src/check.ts#L2708) |
10819
10977
  | `seam_scope.changes` | `seam_scope.changes`; `sets.*.seam_scope.changes` | 'rig' | evidence | [] | [check.ts:2186](../src/check.ts#L2186) |
10820
10978
  | `seam_scope.domain.states` | `seam_scope.domain.states`; `sets.*.seam_scope.domain.states` | 'rig' | evidence | [] | [check.ts:2271](../src/check.ts#L2271) |
10821
- | `seam_scope.pairs` | `seam_scope.pairs`; `sets.*.seam_scope.pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:7785](../src/check.ts#L7785) |
10979
+ | `seam_scope.pairs` | `seam_scope.pairs`; `sets.*.seam_scope.pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:7797](../src/check.ts#L7797) |
10822
10980
  | `seam_scope.population.pairs` | `seam_scope.population.pairs`; `sets.*.seam_scope.population.pairs` | 'pair' | evidence | row.parts | [check.ts:2642](../src/check.ts#L2642) |
10823
10981
  | `seam_scope.population.single_art` | `seam_scope.population.single_art`; `sets.*.seam_scope.population.single_art` | 'part' | evidence | [row.part] | [check.ts:2643](../src/check.ts#L2643) |
10824
10982
 
package/docs/STABILITY.md CHANGED
@@ -602,7 +602,7 @@ and do not certify visibility. See the
602
602
  | `check` | `--rig`, `--out`; optional `--parts`, `--source`, `--page-edges`, `--pack-shape`, `--page-size`, `--requirements`, `--seam-pairs`, `--keep-stills`, `--no-extremes` (issue #829), `--set` or `--all-sets` (issue #454), `--environment` (issue #538, additive), `--wind-band` (issue #590, additive), paired `--loop-seam-bar` and `--loop-seam-cap` (issue #1590), `--json` (issue #904), `--help` (`-h`) |
603
603
  | `loop` | `--frames`, `--out`; optional `--palette`, `--help` (`-h`) |
604
604
  | `build` | `--config`, `--source`, `--full`, `--out`; optional `--head` (as for `assemble`), `--seam`, `--project`, `--page-edges`, `--pack-shape`, `--page-size`, `--loop`, `--lead-in`, `--requirements`, `--idle-keys`, `--seam-pairs`, `--keep-stills`, `--no-extremes` (issue #829), `--alt` (as for `assemble`, issue #454), `--set` or `--all-sets` (as for `check`, issue #454), `--environment` (as for `check`, issue #538, additive), `--wind-band` (as for `check`, issue #590, additive), `--help` (`-h`) |
605
- | `compose` | `--scene`, `--out`; optional `--requirements`, `--accept`, `--page-size`, paired `--loop-seam-bar` and `--loop-seam-cap` (issue #1590), `--help` (`-h`) |
605
+ | `compose` | `--scene`, `--out`; optional `--requirements`, `--accept`, `--page-size`, paired `--loop-seam-bar` and `--loop-seam-cap` (issue #1590), `--output-profile` (`preview`) and `--no-extremes` (issue #1610), `--help` (`-h`) |
606
606
  | `mesh-draft` | `--config`, `--parts`, `--out`; optional `--requirements`, `--idle-keys` (ctl, direct), `--page-edges` (pot, free), `--pack-shape` (rect, polygon), `--page-size`, `--more-triangles`, `--help` (`-h`) |
607
607
  | `mesh-stats` | `--config`, `--parts`; optional `--help` (`-h`) (issue #566, additive: prints, writes nothing) |
608
608
  | `remesh` | `--rig`, `--config`, `--parts`, `--part`, `--out`, and one of `--mesh` or `--delta` (issue #526); optional `--requirements`, `--idle-keys` (ctl, direct), `--page-edges` (pot, free), `--pack-shape` (rect, polygon), `--page-size`, `--record-input-check` and `--input-check` (issue #617, additive: without them nothing `remesh` prints or writes changes), `--help` (`-h`) |
@@ -1194,9 +1194,11 @@ execution in historical evidence is inferred from a current export.
1194
1194
  | scene loop refusal detail | `compose` | Issue #1358 enriches `SCENE_ANIMATION_LOOP_CLOSES` with the first differing bone or slot, channel, start/end values and numeric tolerance 0 (exact equality), and issue #1590 states in the detail that it checks posed endpoint values with physics omitted and does not measure physics-on frames. The existing exact JSON endpoint comparison is unchanged: bones, slots, draw order, drawn geometry, clipping polygons and clipped geometry remain covered. Selection follows that family order, then producer row and field order; geometry-only differences name the slot and geometry channel. Physics is omitted from this posed-value comparison, and the refusal code, acceptance, emitted rig/motion and built scene bytes are unchanged. |
1195
1195
  | scene canvas framing | `compose` | Issue #1491 adds optional `characters[].canvas_clip` to `spine-parts-scene/1`. Literal `true` requires finite placed bounds, overflow past a canvas edge and an intersection with positive width and height. The respective refusals are `SCENE_CHARACTER_CLIP_BOUNDS`, `SCENE_CHARACTER_CLIP_UNUSED` and `SCENE_CHARACTER_CLIP_EMPTY`. Other explicit values are `SCENE_FIELD_TYPE`. Omitting the key retains the exact containment rule, output bytes and console text. The opted-in character row in `scene.json` adds `canvas_clip: true` and `clipped_bounds` after the original `bounds`. Both boxes are canvas pixels, y down, with exclusive right and bottom edges. The console appends the clipped box only for those rows. The rig-c gate and packed build retain the full art and geometry. For a scene with any opt-in, compose check renders use the stage viewport unless the render specifies its own. Preview size caps and sampling stay in effect. Native-size renders and consumer playback use the authored stage rectangle as described in [Canvas framing for intentional overflow](AUTHORING.md#canvas-framing-for-intentional-overflow-issue-1491). |
1196
1196
  | scene placement pivot | `compose` | Issue #1498 adds optional literal `true` at `characters[].placement_pivot` in `spine-parts-scene/1`. It emits the identity `<id>:placement` under `root` and requires a scene-authored `translate`, `translatex` or `translatey` key in final scene pixels. The existing placement math stays on the original first-level bones, root regions and root weights. Source root bindings use the unkeyed identity `<id>:root` child when needed. `SCENE_FIELD_TYPE` refuses other explicit values, `SCENE_PIVOT_NAME_FREE` a source bone collision, `SCENE_PIVOT_DECLARED` an unresolved pivot targeted directly or through a bone group without an opt-in, `SCENE_PIVOT_UNUSED` an unused declaration and `SCENE_PIVOT_TRACK` a forbidden property or carrier key. `SCENE_PLATE_NAME_FREE` still governs named plate collisions. Core's unknown-bone refusal, rig gate, scene clip timing and endpoint closure still apply. `scene.json` adds `placement_pivot` with the generated name after the bounds fields and counts the generated bones for that character. `compose-run.json` binds the declaration through `scene.sha256` with its existing shape and key order. Omitting the declaration preserves default output bytes at the same paths, subject to the existing Core receipt clocks. |
1197
- | `compose-run.json` | `compose` | spec `rig-compose-run/1` (issue #1348), separate from `rig-run/1`; a stable contract as of 2.44.0. Written at the `--out` root only after the gate and check are green and no accepted failing character remains, so an `--accept` preview writes none. Fixed keys in order: `spec`, `scene` (`path`, `sha256`), `characters` (each `id`, `build`, `files`, each file `path`, `sha256`, then optional `placement`), `plate` (`path`, `sha256`, or null), `plates` (each `name`, `path`, `sha256`). Scene and plate paths are the supplied and declared paths; character file paths are build-relative. Characters sort by `id`, files by `path`, named plates by `name`, in code-unit order. Each character's files are exactly `check/check.json`, `parts.json`, `rig/rig.json`, `rig/motion.json` and each distinct image the default skin names under `rig/images/`, including a generator's depth image. Every `sha256` is of the raw file bytes compose consumed before the gate. Only a character with `canvas_clip: true` has `placement`, with `canvas_clip: true`, `bounds` and `clipped_bounds` in that order from the scene report. There are no clocks, directory extras, requirements or CLI-option inventory, so identical inputs at identical supplied paths give identical record bytes. Compose owns the name: a file of that name at the `--out` root is deleted at the start of every compose, before stage validation, so a refused rerun leaves none. For scenes without opt-in, legacy outputs retain stable bytes, with the existing nested Core receipt clock comparison described above. |
1197
+ | `compose-run.json` | `compose` | spec `rig-compose-run/1` (issue #1348), separate from `rig-run/1`; a stable contract as of 2.44.0. Written at the `--out` root only after the gate and check are green and no accepted failing character remains. Fixed keys in order: `spec`, `scene` (`path`, `sha256`), `characters` (each `id`, `build`, `files`, each file `path`, `sha256`, then optional `placement`), `plate` (`path`, `sha256`, or null), `plates` (each `name`, `path`, `sha256`), then optional `output_profile` (`"preview"` or `"no-extremes"`, issue #1610). Scene and plate paths are the supplied and declared paths; character file paths are build-relative. Characters sort by `id`, files by `path`, named plates by `name`, in code-unit order. Each character's files are exactly `check/check.json`, `parts.json`, `rig/rig.json`, `rig/motion.json` and each distinct image the default skin names under `rig/images/`, including a generator's depth image. Every `sha256` is of the raw file bytes compose consumed before the gate. Only a character with `canvas_clip: true` has `placement`, with `canvas_clip: true`, `bounds` and `clipped_bounds` in that order from the scene report. Identical inputs at identical supplied paths with the same output profile give identical record bytes. The receipt inventories the listed inputs and selected profile, without clocks. Compose owns the name: a file of that name at the `--out` root is deleted at the start of every compose, before stage validation, so a refused rerun leaves none. |
1198
+ | compose output profiles | `compose` | Issue #1610 adds `--no-extremes` to omit only the extremes diagnostic renders, and `--output-profile preview` to also omit `check/idle_frames/`, `check/contact.png` and `check/motion_heat.png`. Preview takes precedence when both flags are given. Preview uses the stock idle render and existing readers. Before preview success, Parts removes the idle render directory, including Core's temporary contact sheet, skips copying the sheet to the check root, and skips generating heat. Each omission has a diagnostic `SKIP` line naming its selected flag. The gate, camera binding and check requirements still apply. Success prints `compose: PREVIEW — checks met; …` or `compose: NO EXTREMES — checks met; …`, respectively, and writes `output_profile` as `"preview"` or `"no-extremes"`. Default compose keeps its existing file bytes (with the nested Core receipt clock comparison described above), output paths and `compose: PASS — …` line. `COMPOSE_PREVIEW_REQUIRED_CHECK` refuses a valid loop seam pair in preview with `found=preview, required=default or no-extremes`, because the `loop_seam` record in `check.json` binds the paths and hashes of first and wrap PNGs that must remain under `check/idle_frames/`. Compose clears its owned outputs before this refusal. See [Compose output profiles](AUTHORING.md#compose-output-profiles-issue-1610). |
1198
1199
  | the scene report | `compose` | spec `spine-parts-scene-report/1`; the plate block carries `sha256` of the plate PNG's bytes after `size` (issue #1183, additive under *What "stable" means here*: a new report key in a minor version, so the spec stays `/1`); `pack_mode` records `page_size` only when `--page-size <px>` is given (issue #1352, additive; without `--page-size`, rigc's default 2048 px page and padding 2 on each side bound any plate or region side to at most 2044 px before `CE_ATLAS_REGION_EXCEEDS_PAGE`) |
1199
1200
  | keyed scene camera | `compose` | optional `camera` in `spine-parts-scene/1` (issue #1596). A camera scene writes `spine-parts-scene-report/2` at the existing `scene.json` path with its keyed camera, sampled coverage and framing verdict, and packed model SHA-256. Report /1 and the existing output inventory and bytes are preserved for scenes without a camera, subject to the existing Core receipt clocks. The camera path uses Core animation easing and the posed backdrop at each sampled frame. Rig, motion and stock check outputs retain their existing semantics. The compose input receipt stays `rig-compose-run/1`. See [Keyed scene camera](AUTHORING.md#keyed-scene-camera-issue-1596) |
1201
+ | physics clips and scene repeats | `compose` | Issue #1615 adds `characters[].with_idle` and top-level `repeats` to `spine-parts-scene/1`. Each physics-only side clip requires literal `false` at any character scale or a safe integer count of at least 1 at scale 1. Numeric declarations fold whole periods into `idle` with exact duration equality. Both values retain `<id>:<clip>` subject to the character's scale checks, and the character report row echoes `with_idle` when declared. A scene repeat count is a safe integer of at least 2 on an authored take. Its duration remains the whole take length. Its tracks, deforms and camera keys use the exact duration divided by the count as their period. Repeated camera keys are expanded in report /2, with coverage on the full take clock and per-frame figure measurements. See [Physics clips and scene repeats](AUTHORING.md#physics-clips-and-scene-repeats-issue-1615) |
1200
1202
  | `idle.png`, `idle-indexed.png`, `idle.gif` | `loop`, `build --loop` | APNG and GIF encodings of the rendered idle |
1201
1203
  | `run.json` | `rig`, `assemble` | spec `rig-run/1` (issue #1165, additive): `spec`, `package` (`name`, `version`), `command` (`"rig"` or `"assemble"`), `started_at` and `finished_at` (UTC ISO-8601 millisecond timestamps ending in `Z`, read in the CLI layer), `config` (`path` relative to `--out`, `sha256` of the config file on disk), `inputs` on `assemble` (issues #1316, #1554, additive: one `{role, path, sha256}` entry for each of `--source`, `--full` and `--head` that was given, in that order, with `path` relative to `--out` by the per-platform link rule — naming `<dir>/layers.json` when given a directory — and `sha256` of the file `path` names), and `outputs` (`path` relative to `--out`, `sha256` of each written output file on disk, sorted by `path` in code-unit order and excluding `run.json` itself); written only after the command's gate is green |
1202
1204
  | the difference inventory (`--out`) | `diff-components` | spec `rig-parts-diff-components/1` by default (issue #1005: `stack`, `painting`, `definition`, `error_px`, `uncovered_error_px`, `components` — each `id`, `px`, `box`, `coverage`, `uncovered_px`, `borders` — and `below_floor`, byte-identical to 2.38.1), and spec `rig-parts-diff-components/2` under `--owners` (issue #1291: adds `owners` — each `{part, px}`, the topmost `parts.json` part above `COVERED_ALPHA` per covered pixel, back to front — before `borders` on every component); `--verify` verifies both `/1` and `/2` reports (with `--owners`, `/2` is required), while a `/1`-only reader (`readDiffComponents(text, input, [DIFF_COMPONENTS_SPEC])`) refuses `/2` by name |
@@ -1333,7 +1335,9 @@ number from 0 to 255, and the pixel limit and cap are nonnegative safe integers.
1333
1335
  The pair requires a positive idle period and is incompatible with `--environment`.
1334
1336
  Core selects the first take meeting the RGBA bar from warm-up 0 through the cap,
1335
1337
  at the viewport used for the shipped idle, including the canvas viewport when
1336
- compose applies it. Without physics Core tries 0 only.
1338
+ compose applies it. Without physics Core tries 0 only. Compose supports the
1339
+ pair with default diagnostics or `--no-extremes`. With `--output-profile preview`,
1340
+ `COMPOSE_PREVIEW_REQUIRED_CHECK` refuses the pair before the gate.
1337
1341
 
1338
1342
  The optional `loop_seam` follows `loop_max_diff` and any `loop_physics` in the
1339
1343
  report. It contains Core's exact `rigc-loop-seam/1` object with `status: "met"`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rig-parts",
3
- "version": "2.63.1",
3
+ "version": "2.65.0",
4
4
  "description": "AI-authored 2D character parts from one anime painting and its See-through layer decomposition: measured parts, weighted-mesh rig specs, verified through rig-c before anything is written. A CLI for agents that cannot see the image.",
5
5
  "type": "module",
6
6
  "exports": {