rig-parts 2.66.0 → 2.68.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
@@ -31,6 +31,7 @@ import { proposeNeck } from './tools/neck-propose.ts';
31
31
  import { parseAltArg } from './tools/alternate-cli.ts';
32
32
  import { type AlternateCliInput, assembleStage, build, BUILD_OWNS, BUILD_OWNS_FILES, checkStage, checkWrote, emitFillMasksStage, ERROR_MAP_FILE, loopStage, readRuns, readSource, rigStage, suppliedCheckFlag } from './src/build.ts';
33
33
  import { ACCEPTABLE_BARS, DEFAULT_PACK_SHAPE, DEFAULT_PAGE_EDGES, findRigc, LOOP_SEAM_BAR_UNMET, type LoopSeamRequest, PACK_PAGE_SIZE, PACK_SHAPES, rigcRunnerAt, type PackShape, PAGE_EDGES, type PageEdges, parsePageSize, PARTS_HOME_SENTENCE, RIGC_GEOMETRY_VERSION, rigcRanClause, type RigcRunner, NO_PARTS_SENTENCE, SEAM_MEAN_BAR, SOURCE_SENTENCE, SEAM_PX_BAR, SEAM_PX_LEVEL, SPINEBOY_YARDSTICK, TEXTURE_STRETCH_CEILING } from './src/check.ts';
34
+ import { checkClipStretch } from './src/clipstretch.ts';
34
35
  import { ComfyClient, resolveHost, runBackground, runMatte, runPainting, runSeeThrough } from './src/comfy/index.ts';
35
36
  import { coreCfg, DEFAULT_GROW_PX, runForeground } from './src/plate.ts';
36
37
  import { type CharacterConfig, loadClothConfig, loadConfig, loadEarlyConfig, loadPaintConfig } from './src/config.ts';
@@ -646,6 +647,10 @@ usage:
646
647
  [--set <name> | --all-sets] [--environment <schedule.json>]
647
648
  [--wind-band <spec.json>] [--json]
648
649
  [--loop-seam-bar <channel-delta,pixels> --loop-seam-cap <loops>]
650
+ Diagnostic form: rig-parts check --clip-stretch <scene.json>
651
+ Measures played side clips and the declared scene idle. Slider-applied
652
+ clips have a separate reading over the authored dial range.
653
+ This form takes only the scene path and prints a text diagnostic.
649
654
  --json prints the completed check.json object only, with unchanged exit codes.
650
655
  The loop seam flags together require a positive idle period. Core selects
651
656
  the first whole-loop warm-up from 0 through the cap whose idle wrap meets
@@ -1303,7 +1308,7 @@ const TAKES = {
1303
1308
  rig: { valued: ['--config', '--parts', '--out', '--idle-keys', '--page-edges', '--pack-shape', '--page-size'], switches: ['--help'] },
1304
1309
  propose: { valued: ['--parts', '--source', '--out', '--from-config', '--compare', '--full', '--head', '--canvas', '--keypoints', '--person', '--wrist-snap', '--grid-rule', '--cloth', '--write-config', '--from', '--bust-landmarks', '--no-bust'], switches: ['--head-box', '--no-back-hair', '--only-missing', '--help'] },
1305
1310
  compare: { valued: ['--left', '--right', '--map'], switches: ['--help'] },
1306
- check: { valued: ['--rig', '--out', '--parts', '--source', '--page-edges', '--pack-shape', '--page-size', '--requirements', '--set', '--environment', '--wind-band', '--loop-seam-bar', '--loop-seam-cap'], switches: ['--seam-pairs', '--keep-stills', '--all-sets', '--no-extremes', '--json', '--help'] },
1311
+ check: { valued: ['--rig', '--out', '--parts', '--source', '--page-edges', '--pack-shape', '--page-size', '--requirements', '--set', '--environment', '--wind-band', '--loop-seam-bar', '--loop-seam-cap', '--clip-stretch'], switches: ['--seam-pairs', '--keep-stills', '--all-sets', '--no-extremes', '--json', '--help'] },
1307
1312
  loop: { valued: ['--frames', '--out'], switches: ['--palette', '--help'] },
1308
1313
  assemble: { valued: ['--source', '--full', '--head', '--config', '--out', '--emit-fill-masks', '--seam', '--project', '--alt', '--write-config', '--requirements'], switches: ['--propose-plan', '--help'] },
1309
1314
  'comfy seethrough': { valued: ['--image', '--out', '--resolution', '--steps', '--seed', '--prefix', '--host', '--wait', '--timeout', '--poll', '--config', '--depth-run'], switches: ['--offload', '--no-offload', '--lama', '--nf4', '--help'] },
@@ -1715,9 +1720,27 @@ function cmdCheck(args: string[]): number {
1715
1720
  const f = flags(
1716
1721
  args.filter((a) => a !== '--seam-pairs' && a !== '--keep-stills' && a !== '--all-sets' && a !== '--no-extremes' && a !== '--json'),
1717
1722
  'check',
1718
- ['--rig', '--out'],
1723
+ [],
1719
1724
  );
1720
1725
  if (typeof f === 'string') return usage(f);
1726
+ const clipScene = f.get('--clip-stretch');
1727
+ if (clipScene !== undefined) {
1728
+ if (clipScene === '' || clipScene.startsWith('--')) return usage('--clip-stretch needs a scene path');
1729
+ if (args.length !== 2) return usage('--clip-stretch <scene.json> takes no other check flags');
1730
+ try {
1731
+ const bin = findRigc(import.meta.dir, process.env.PATH ?? '');
1732
+ const scratch = mkdtempSync(join(tmpdir(), 'rig-parts-clip-stretch-'));
1733
+ try {
1734
+ return checkClipStretch(clipScene, scratch, rigcRunner(bin), console.log) ? EXIT_OK : EXIT_REFUSED;
1735
+ } finally {
1736
+ rmSync(scratch, { recursive: true, force: true });
1737
+ }
1738
+ } catch (err) {
1739
+ return printRefusal(err);
1740
+ }
1741
+ }
1742
+ if (!f.has('--rig')) return usage('check needs --rig <value>');
1743
+ if (!f.has('--out')) return usage('check needs --out <value>');
1721
1744
  if (allSets === 1 && f.has('--set')) return usage('--set and --all-sets are two modes; give one');
1722
1745
  const loopSeam = parseLoopSeamFlags(f);
1723
1746
  if (typeof loopSeam === 'string') return usage(loopSeam);
package/docs/AUTHORING.md CHANGED
@@ -7020,6 +7020,8 @@ outside the consumed inputs.
7020
7020
  | Below-floor cloth travel (unmeasured) | a link's larger unrounded carrier-frame root/tip travel is below the unchanged 0.5 rig px floor, after the zero guard. The diagnostic gives actual root and tip travel in rig px, the 0.5 rig px floor, and `measured_driver`: the nearest world-moving bone (including the carrier), `"none"` when measured still, or `"unavailable"` for missing or unusable geometry. This observes movement, not causal key attribution. The reading stays UNMEASURED under the existing SKIP policy; a separately declared requirement for measurable movement is not satisfied | drive the carrier so the cloth has measurable motion, or remove the requirement for this cloth to move on idle if that motion is not required |
7021
7021
  | <a id="CHECK_TIP_OVER_ROOT"></a>`CHECK_TIP_OVER_ROOT` | a `handwear`/`bottomwear` part's art in the lower half of its box travels less than 1.4725 times as far as in the upper half, measured from the idle's posed geometry against the bone the part hangs from (issue #987; rig px quoted, the world reading beside it) | the chain track's `amps` (grow toward the tip), or the mesh's `segments` (the chain must be among them), or its mode: on `scarf`'s short skirt the proposal's lattice read 1.207 and the same part in `contour` mode 1.738 with the same segments and idle (issue #118) — both carried the `chest` segment #262 removed, after which the lattice reads 3.487. When the detail says `the root travels with the breath (x px of y px): it is carried by \`<bone>\`` (issue #262) the chain is not the cause: a bone an idle `translate` track moves (the breath) moves the root more than the tip, and with that translate held still (the part posed again without it, in proportion to each vertex's weight on the bone and those under it) the ratio passes — the row adds `carried_by`, `breath_rig_px`, `root_without_breath_rig_px` and `tip_without_breath_rig_px`; take that bone's segment off the mesh, or bind the root to the bone the part hangs from, which the detail names. Since issue #987 only a breath keyed under that bone is read: one at or above it is in the frame the halves are read in and carries nothing. When the bone named is a link of the chain the part hangs on, its segment stays, and the detail says to key the translate on the bone the part hangs from or above it. `nothing in it moves against \`<bone>\`` is a part that rides the bone it hangs from whole — a rigid sleeve, whose world ratio is 1. Since issue #995 a lone swing counts as a link too — a rotate-keyed bone with no child bone, or whose only child is its control twin (a one-link chain's control) — so a skirt bound to the one bone that swings it is read against the bone above, where its swing shows. A rotate-keyed body segment other bones hang under (a pelvis carrying the legs) is not one: a part bound whole to it reads `nothing in it moves against` that bone and fails, its world ratio passing only through the lever arm. Hang swinging cloth on its own bone under the body segment; a fitted garment the rig holds rigid on purpose (shorts on the pelvis) is declared in the scene file's `not_swinging` (§7), and the line then reads it SKIP with the reason. A part the scene file declares `rests` (issue #245) is held the other way, its tip half's travel at most its root half's (ratio ≤ 1); the detail then reads `the scene file's rests declares its tip at rest, so a ratio <= 1 is required`, and for it the fix is the chain's `amps` (shrinking toward the tip) or the mesh's tip weighted to a bone the idle does not swing |
7022
7022
  | <a id="CHECK_STILL_REGIONS_DARK"></a>`CHECK_STILL_REGIONS_DARK` | a slot of the face's still set (the `face` slots and every slot drawn over the face that the head bone alone carries) moves relative to the bone the face's slot rides, or a `footwear` slot moves on the screen, by more than the arithmetic's own rounding — measured from the idle's posed geometry (the slot, its largest displacement in rig px, the idle frame and the tolerance quoted) | on the face: a face mesh with a weight on a bone other than the head (`segments`), or one deformed by another bone; on the feet: a mesh weighted to a swinging bone, or a region on the wrong bone. A bang swinging over the face is not this line's failure: its depth is reported (`crossing`), with no bar |
7023
+ | <a id="CHECK_CLIP_STRETCH"></a>`CHECK_CLIP_STRETCH` | `check --clip-stretch` refused the scratch candidate or found a take with a zero-length rest edge, no measurable edge, or a peak over the Parts stretch bar | read the named take, peak and edge influences. Change one input and rerun [the clip diagnostic](#physics-clips-and-scene-repeats-issue-1615) on the actual scene declaration. If Core refused, follow the relayed Core gate lines |
7024
+ | <a id="CHECK_SLIDER_STRETCH"></a>`CHECK_SLIDER_STRETCH` | a sampled dial pose exceeds the Parts stretch bar, the sweep is incomplete, the bounds are invalid, or the slider reports SKIP | use the named slider, clip time and edge to inspect a measured peak. For a skipped bone-driven slider, check `max` and the resolved range. See [Slider-applied clip stretch](#slider-applied-clip-stretch-issue-1627) |
7023
7025
  | <a id="CHECK_TEXTURE_STRETCH"></a>`CHECK_TEXTURE_STRETCH` | a mesh triangle's edge, in some idle frame, is more than 1.926544 times its rest length or less than 1/1.926544 of it (the mesh, triangle, its three vertices, the edge and the frame are named, and — issue #314 — the bones the edge's two vertices hang on: each vertex's two largest weights from `rig.json`, `vertex <i> is weighted to "<bone>" <w>, …`, then `on the idle's chains, the chain from "<first link>" carries "<bone>", …` — each chain `CHAIN_LAG` reads named once, by its first link — with a bone on no chain said, or `none of these bones hangs on a chain of the idle`); or a rest edge has length 0 A differing bone set on the failing edge or triangle names the bone and both shares. Cut attribution requires a matching config replay; otherwise the influence-cut remedy is conditional ("The weight cut"). When a vertex of the failing edge lies inside a declared contour band or at its cutoff, the detail also names the governing contour band — its region, its target bone, its declared width (`band`), and each vertex's band position and share — and says that the band's falloff governs the edge (issue #1598). The clause needs the config: on `build`, the one it ran with; on a standalone `check --rig`, the one `<rig>/run.json` (`rig-run/1`, from `rig`) names, used only when the stamp's `rig.json` and config SHA-256 both match the files on disk. Without a verified config, or when an edge vertex does not rebuild onto the contour grid, the clause is left out and the rest of the line is unchanged. | the chain tracks' `amps` on the bones that mesh is weighted to (the stretch grows with them), or the mesh's `segments` — a vertex blending two bones that swing against each other. Two chains named, with opposed amplitudes: give both one sign, or drop one — `propose --from-config` measures the pair before a build (§3, *Two chains on one lattice*). An edge whose two ends disagree on whether a bone's small share survives the 0.03 cut (one vertex keeps the bone at a few hundredths, the next drops it — read the two vertices' weights the line quotes): declare `influences: {floor: "continuous"}` on that mesh first, `rule: "heat"` second; the weight `exponent` moves the figure without removing the cut (issue #115, `reference-demo` `hair_back` as contour at tolerance 1, rig-c 2.47.1: 2.535 as drafted; continuous floor 1.422, heat 1.816, both PASS; exponent 1.5 / 3 / 4 / 6 read 2.564 / 1.902 / 2.119 / 4.816, the one pass on the same cut at another edge). When the detail names a governing contour band (an edge with a vertex inside a declared contour band or at its cutoff), go to that band's width (`meshes.<part>.contour.regions[].band`, or `meshes.<part>.contour.bust` for a derived bust band), not `meshes.<part>.influences` or mesh density: the reach is not monotonic in the band's width, so sweep it on your own rig and read both yaw directions |
7024
7026
  | <a id="CHECK_ANIMATIONS_DO_NOT_FOLD"></a>`CHECK_ANIMATIONS_DO_NOT_FOLD` | an animation, the idle included, turns a mesh triangle over against the setup pose on some frame, read by `rigc render --folds` over the build with its physics on — and with its physics constraints left out beside it when the rig declares any, so each row reports `physics_on` and `physics_off` side by side (issues #320, #333, #363); the object names the animation and the mesh, the detail quotes rigc's line — the frames, the worst frame, which triangles, their world box and setup-pose area — and when the fold appears only with physics on, names the physics constraint(s) on the mesh's bones and the worst frame. After rigc's line it names what the worst frame's folded triangles hang on (issue #567), in `TEXTURE_STRETCH`'s words: each vertex's dominant bone is its largest weight in `rig.json`, the triangles whose vertices share one set of dominant bones are one group (the set in `rig.json`'s bone order), and each group lists its first 6 triangles (`triangles 63, 78, 79 dominated by "knee_r", "knee_l"`, past 6 `… and N more`) and spells out its first triangle's vertices — the largest two weights of each, and the idle chains those bones hang on; 3 groups are written and the rest counted (`; … and N more group(s), M triangle(s)`). An attachment the skin does not hold, or a triangle its table does not reach, is said, not guessed. Or a `may_fold` entry of the `--requirements` file names a slot and animation that does not fold: an exception that excepts nothing A differing bone set on the failing edge or triangle names the bone and both shares. Cut attribution requires a matching config replay; otherwise the influence-cut remedy is conditional ("The weight cut"). | the physics constraint(s) the line names (lower `inertia`, raise `strength`, or lower `damping`), the clip's keys on the bones the line names (a bend past what the weights carry, two bones turned toward each other until the rows between them pass, a translate that carries one row of vertices past the next), or the mesh's `segments`; to look, `rigc inspect --candidate <out>/check/build --show art,folds,mesh --animation <name> --at <the worst frame's time> --zoom folds`. A fold the art means (a sleeve behind the body) is declared, `"may_fold": [{ "slot": …, "animation": …, "why": … }]` (§7, *Declared requirements*); a stale entry is taken out |
7025
7027
  | <a id="CHECK_FEET_STAY_LEVEL"></a>`CHECK_FEET_STAY_LEVEL` | a `footwear` part riding a bone that hangs from another turns more than ±10 degrees from its setup pose on a frame where a bone above that bone is turned (issue #348) — the bar is HQ's line (rig-c/parts#347 ruling 4), not a figure measured here; the object names the part, its bone and the bone it hangs from, the detail the animation, frame and time, the turned bone and its turn, the drawing's turn, and every bone the turn came through with its `inherit` | config.bones' `inherit` on the foot's bone (§3, `bones`): a mode that does not take the parent's rotation (`noRotationOrReflection`, `onlyTranslation`) keeps the drawing at its setup angle; which mode is the author's. Or the clip's keys on the foot's own bone, which turn the shoe whatever its mode |
@@ -7233,8 +7235,8 @@ and stay absent).
7233
7235
  | <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 |
7234
7236
  | <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 |
7235
7237
  | <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 |
7236
- | <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 |
7237
- | <a id="SCENE_DIAL_KEY_RANGE"></a>`SCENE_DIAL_KEY_RANGE` | a scene key on a slider input is outside that slider's declared range; the message names the bone, slider, key time, found value and range | author the value inside its own declared `[from, max]` bounds |
7238
+ | <a id="SCENE_DIAL_RANGE_DECLARED"></a>`SCENE_DIAL_RANGE_DECLARED` | a keyed slider lacks an explicit finite `max`, declares a nonfinite or nonnumeric `from`, or has reversed bounds; the bone and slider are named | declare a finite `max` at or above `from`, which defaults to zero when omitted |
7239
+ | <a id="SCENE_DIAL_KEY_RANGE"></a>`SCENE_DIAL_KEY_RANGE` | a scene key on a slider input is outside that slider's resolved range; the message names the bone, slider, key time, found value and range | author the value inside its resolved `[from, max]` bounds |
7238
7240
  | <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 |
7239
7241
  | <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 |
7240
7242
  | <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 |
@@ -7254,6 +7256,8 @@ and stay absent).
7254
7256
  | <a id="SCENE_ORDER_RESOLVES"></a>`SCENE_ORDER_RESOLVES` | an order entry names no character, or `<id>:<slot>` names a slot that character does not have (its slots listed) | the entry |
7255
7257
  | <a id="SCENE_ORDER_ONCE"></a><a id="SCENE_ORDER_COMPLETE"></a>`SCENE_ORDER_ONCE`, `SCENE_ORDER_COMPLETE` | a slot is drawn twice (a slot entry repeated, or an id listed twice), or never (the character's id is absent and some of its slots are named nowhere — they are listed) | name each slot once, or the id for the slots not named elsewhere |
7256
7258
  | <a id="SCENE_NAME_PREFIXED"></a><a id="SCENE_NAME_RESOLVES"></a>`SCENE_NAME_PREFIXED`, `SCENE_NAME_RESOLVES` | a build's constraint, `stops` entry, `invariants.detached` or physics track names a bone or physics constraint its own character does not declare — one another character does (`…_PREFIXED`, naming the prefixed names it could have meant) or none does (`…_RESOLVES`); or a `--requirements` name (bone, target bone, constraint, slot, attachment, seam part) is a bare name some character holds, which the composed rig holds only prefixed | a bone or physics constraint of the same character; in a requirements file, `<id>:<name>` |
7259
+ | <a id="SCENE_BONE_PROPERTY_UNKNOWN"></a>`SCENE_BONE_PROPERTY_UNKNOWN` | the scene channel audit cannot resolve a bone track's property to a supported Spine timeline | set the named scene track's `property` to the intended timeline from the diagnostic's list and adjust its key values to match |
7260
+ | <a id="SCENE_CHANNEL_SHARED"></a>`SCENE_CHANNEL_SHARED` | the scene and character key the same bone axis through distinct properties in one take, or a character constraint writes a scene-keyed bone | apply the edit for the named conflict in [Scene-driven timelines](#scene-driven-timelines) |
7257
7261
  | <a id="SCENE_ROOT_SHARED"></a>`SCENE_ROOT_SHARED` | a character's idle keys `root` (a track, or a group holding it), or one of its constraints or `stops` entries names `root`: the root is every character's, so either would move or reach them all | key, constrain or stop a bone of the character's own |
7258
7262
  | <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 |
7259
7263
  | <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 |
@@ -8079,7 +8083,7 @@ the composed idle under `<out>/check/`, at the viewport used for the shipped fra
8079
8083
  | `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) |
8080
8084
  | `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 |
8081
8085
  | `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 |
8082
- | `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. `scene.json` echoes the map in declared order as its final top-level key after `idle_duration` and omits it when absent. See [Physics clips and scene repeats](#physics-clips-and-scene-repeats-issue-1615) |
8086
+ | `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. `scene.json` echoes the map in declared order as its final top-level key and omits it when absent. See [Physics clips and scene repeats](#physics-clips-and-scene-repeats-issue-1615) |
8083
8087
  | `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 |
8084
8088
  | `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` |
8085
8089
 
@@ -8098,8 +8102,8 @@ Each named plate's bone is under `root` at `(0, 0)`. Its attachment centre is
8098
8102
  Thus a canvas-sized named plate at `[0, 0]` has the same bone/attachment numbers
8099
8103
  as legacy `plate`. The optional report `plates` array records each name, source
8100
8104
  image, provenance, note, `at`, `opaque_backdrop`, bone, slot, native size and PNG
8101
- SHA-256, with `judged_by: "nothing"` for the pixel-origin declaration. Absent
8102
- `plates` adds no report key and preserves existing output bytes. Plate motion
8105
+ SHA-256, with `judged_by: "nothing"` for the pixel-origin declaration. The
8106
+ report includes the `plates` array only when the scene declares it. Plate motion
8103
8107
  and depth-derived parallax are not introduced by this declaration.
8104
8108
 
8105
8109
  Scene animation values use rigc's motion units: translations are offsets in the
@@ -8115,13 +8119,14 @@ prefixed definitions already in the scene; this field adds no definitions.
8115
8119
  Generated dial names are stable: `<id>:yaw_dial`, `<id>:pitch_dial`, and
8116
8120
  `<id>:<turn.body.slider>` (default `<id>:body_yaw_dial`); renaming these is a major
8117
8121
  change. They exist only when that character's producer generated them. Dial
8118
- rotation keys must lie in their own slider's explicitly declared `[from, max]`
8119
- range. `SCENE_DIAL_KEY_RANGE` names the bone, slider, time, found value and range;
8120
- `SCENE_DIAL_RANGE_DECLARED` refuses unreadable bounds instead of inventing limits.
8122
+ rotation keys must lie within their own slider's inclusive `[from, max]` range.
8123
+ Omitted `from` defaults to zero and `max` must be explicit and finite.
8124
+ `SCENE_DIAL_KEY_RANGE` names the bone, slider, time, found value and range.
8125
+ `SCENE_DIAL_RANGE_DECLARED` refuses missing `max`, malformed bounds and reversed bounds.
8121
8126
  Keys on a slider input must state numeric `v` values. `derive` there is refused
8122
8127
  by `SCENE_DIAL_KEY_DECLARED`, even alongside a raw `v`, because derived inputs
8123
8128
  are not a supported scene dial dialect. A group's explicit values are checked
8124
- against each member dial's own declared range.
8129
+ against each member dial's own resolved range.
8125
8130
  Slider source properties resolve to their numeric timeline channels: `x/y` read
8126
8131
  `translatex/translatey` or the respective `translate` channel; `scaleX/scaleY`
8127
8132
  read `scalex/scaley` or the respective `scale` channel; `shearY` reads `sheary`
@@ -8336,7 +8341,7 @@ What is composed:
8336
8341
  (`CHAIN_LAG`, a `range` in degrees) does not move with it, while a requirement's
8337
8342
  px figures and its px bar are canvas px — a character composed at 0.5 shows half
8338
8343
  the px its own `build` measured.
8339
- - **`scene.json`** (`spine-parts-scene-report/1`, written at `<out>/scene.json` —
8344
+ - **`scene.json`** (`spine-parts-scene-report/1` or `/2` with a keyed camera, written at `<out>/scene.json` —
8340
8345
  **the same filename as a typical input `--scene scene.json` file**, so write `--out`
8341
8346
  to a separate output directory rather than the directory holding the input scene
8342
8347
  file): the scene file's path as given,
@@ -8352,6 +8357,8 @@ What is composed:
8352
8357
  (the failing bars of its own check that an accept list took, only when there are any), and the
8353
8358
  order —
8354
8359
  as declared and as the slot list it expands to, `judged_by: "nothing"`.
8360
+ After the scene's `idle_duration`, the report writes [`scene_driven`](#scene-driven-timelines),
8361
+ then `camera` if present and `repeats` if declared.
8355
8362
 
8356
8363
  A default scene of one character at offset (0, 0) on a canvas of its own size,
8357
8364
  with no plate, composes to that character's own build renamed only: on both public
@@ -8421,6 +8428,27 @@ prefix. Literal `false` plays the idle without that clip. The standalone
8421
8428
  echoes the declaration. A single-animation player plays the folded keys by
8422
8429
  selecting `idle`.
8423
8430
 
8431
+ Before composing, run `rig-parts check --clip-stretch <scene.json>` with the
8432
+ actual scene declaration. The scene's `build` paths must hold the assemble
8433
+ record and `rig/` outputs. This diagnostic can run before the character
8434
+ checks. It gates a temporary packed candidate and measures each retained
8435
+ played take on its own, then the declared scene idle with character repeats,
8436
+ `with_idle` and scene-authored tracks applied. Each take starts from reset
8437
+ physics and measures all the scene's meshes as posed in that take. A clip declared `false` still has its
8438
+ own reading. Other clips and the idle are not playing during that reading.
8439
+
8440
+ Read `CHECK_CLIP_STRETCH` for the worst mesh edge, its frame and time at
8441
+ 12 fps, and the vertices' influences where available. The raw peak prints
8442
+ to six decimals. The Parts bar compares the three-decimal severity with
8443
+ `1.926544`, as in [`CHECK_TEXTURE_STRETCH`](#CHECK_TEXTURE_STRETCH).
8444
+ If a clip passes alone but the idle fails, change one input, such as the
8445
+ wind key's peak, and rerun the same command on the edited build and scene.
8446
+ Read both lines before running the regular character check and `compose`,
8447
+ which still makes the shipping decision. The diagnostic prints only text.
8448
+ Exit 0 means every played take was measured and passed and the
8449
+ [slider rows](#slider-applied-clip-stretch-issue-1627) report `PASS` or `SKIP`.
8450
+ Exit 1 means a failure, refusal or missing required reading. Exit 2 means a usage error.
8451
+
8424
8452
  Literal `false` is accepted at any character scale. The side clip still passes
8425
8453
  through the character's scale checks, which refuse nonzero `wind` or `gravity`
8426
8454
  at scales other than 1. A numeric declaration requires character scale 1 and
@@ -8467,14 +8495,14 @@ frame's pose, with physics stepping through the whole take.
8467
8495
  ##### Compose the generated fixture
8468
8496
 
8469
8497
  From the repository root, generate the fixture, compose its tiled scene and
8470
- single-period reference, then render only `idle` with Core 3.11.0.
8498
+ single-period reference, then render only `idle` with Core 3.12.0.
8471
8499
 
8472
8500
  ```sh
8473
8501
  bun fixtures/scene.ts scratch/fixture
8474
8502
  bun cli.ts compose --scene scratch/fixture/scene.json --out scratch/folded
8475
8503
  bun cli.ts compose --scene scratch/fixture/period.json --out scratch/period
8476
8504
  bunx --no-install rigc render --candidate scratch/folded/check/build --animation idle --fps 12 --loop-seam --out scratch/physics-on
8477
- bunx --no-install rigc render --candidate scratch/folded/check/build --animation idle --fps 12 --physics off --out scratch/physics-off
8505
+ bunx --no-install rigc render --candidate scratch/folded/check/build --animation idle --fps 12 --physics off --viewport-from scratch/physics-on --out scratch/physics-off
8478
8506
  ```
8479
8507
 
8480
8508
  Both compose runs reported `PASS` on Linux. In
@@ -8488,6 +8516,9 @@ differing pixels and a maximum RGBA channel delta of 95. At 0.75 s, the
8488
8516
  256 × 204 `f0009.png` differs by 253 pixels between the physics-on and
8489
8517
  physics-off renders, with a maximum RGBA channel delta of 128. To compare
8490
8518
  the two frames, use the frame-set directory named in each `frames.json`.
8519
+ The physics-off render takes `--viewport-from scratch/physics-on` so that both
8520
+ renders draw on one pixel grid. Each render otherwise fits its own box, and
8521
+ frames from two different boxes cannot be compared pixel for pixel.
8491
8522
 
8492
8523
  ```sh
8493
8524
  bun - <<'TS'
@@ -8524,6 +8555,42 @@ The `scene.json` reports contain 13 period rows and 37 tiled rows in
8524
8555
  Figure rows differed from the reference phase on 36 of 37 frames, with
8525
8556
  zero outside the view.
8526
8557
 
8558
+ #### Slider-applied clip stretch (issue #1627)
8559
+
8560
+ For a bone-driven slider, declare `max` and set `from` when the lower bound
8561
+ differs from zero. See the [range and SKIP contract](STABILITY.md#slider-stretch-diagnostic-issue-1627).
8562
+
8563
+ The check takes 13 evenly spaced dial samples including both bounds of a
8564
+ nondegenerate range. Core 3.12.0's `poseSlider` starts each sample from a
8565
+ reset pose. Sliders that share the selected input respond in constraint
8566
+ order. The check uses the same canonical rest geometry, edge severity and
8567
+ rounded limit as [`CHECK_TEXTURE_STRETCH`](#CHECK_TEXTURE_STRETCH). A
8568
+ passing row covers the sampled values of one dial. The continuous maximum
8569
+ between samples is unknown. For a played take that drives several dials
8570
+ together, read that take's own `CHECK_CLIP_STRETCH` row.
8571
+
8572
+ `CHECK_SLIDER_STRETCH` names the slider, its clip, the sample count, and the
8573
+ peak's dial value and zero-based sample ordinal. The clip time is the applied
8574
+ time, after wrapping where applicable. The clip frame is its index on the
8575
+ 12 Hz grid. The row says `frame off-grid` and gives the clip time when the
8576
+ peak falls between grid frames. It also names the mesh slot, attachment,
8577
+ triangle, vertices and edge.
8578
+
8579
+ Stock `check` reports a measured dial `FAIL` at the existing `WARN` level and
8580
+ counts slider outcomes separately from the ordinary bars. The dial report is
8581
+ advisory. Run `rig-parts check --clip-stretch <scene.json>` to make the scene's
8582
+ slider findings count toward the command's exit. A failed or incomplete
8583
+ declared sweep exits 1. A slider `SKIP` leaves the exit unchanged.
8584
+ A slider-only clip has a dial row only. A separate played role
8585
+ explicit in the source or composition produces both a dial row and a played
8586
+ row. The declared idle and existing `with_idle` readings still apply.
8587
+
8588
+ When `rig` writes a rig with a slider, its notice reads
8589
+
8590
+ ```text
8591
+ Slider dial ranges have not been measured for texture stretch. Run rig-parts check on this rig or rig-parts check --clip-stretch <scene.json>.
8592
+ ```
8593
+
8527
8594
  #### Keyed scene camera (issue #1596)
8528
8595
 
8529
8596
  A camera projects an already posed scene into the fixed canvas. It follows the
@@ -8587,8 +8654,39 @@ pixels. The model hash names the exact packed
8587
8654
  `<out>/check/build/skeleton.model.json` whose poses were measured.
8588
8655
 
8589
8656
  Backdrop raster coverage and figure framing are computed in memory. The
8590
- compose input record keeps `rig-compose-run/1`. Existing scenes without a
8591
- camera retain the report /1 schema and the same output bytes.
8657
+ compose input record keeps `rig-compose-run/1`. Scenes without a camera
8658
+ write report /1.
8659
+
8660
+ #### Scene-driven timelines
8661
+
8662
+ Compose writes `scene_driven` for every model take. Each take has a `view`
8663
+ flag that is true exactly when `scene.camera.tracks` keys that take.
8664
+ `timelines` lists the scene-authored model timelines after repeat splicing,
8665
+ including keys on placement pivots and dials. Character idle, `with_idle`
8666
+ folds, imported `animations_from` clips, and events are excluded. Compose
8667
+ lists scene-authored `drawOrder` and refuses character clips that key
8668
+ `drawOrder` when reading the character's build. A take with neither camera
8669
+ keys nor scene-authored pose timelines carries
8670
+ `{ "view": false, "timelines": [] }`. See the
8671
+ [report contract and address grammar](STABILITY.md#scene-driven-timeline-addresses).
8672
+
8673
+ A player can hold the listed timelines and the keyed view together while
8674
+ the character's own motion keeps playing. The player chooses the hold time
8675
+ on its playback clock. Use the presence of `scene_driven` to identify
8676
+ reports that carry the declaration. Keep the existing playback behavior
8677
+ for older reports with the field absent.
8678
+
8679
+ Compose refuses ambiguous writes as [`SCENE_CHANNEL_SHARED`](#SCENE_CHANNEL_SHARED)
8680
+ even on takes without a keyed camera.
8681
+
8682
+ | Shared write | Repair |
8683
+ | --- | --- |
8684
+ | The character keys `translate` and the scene keys `translatey` on the same bone in one take. | Remove the scene's `translatey` track to leave the Y axis to the character. |
8685
+ | A character constraint writes a scene-keyed bone. | Remove the scene track from the constraint's output bone and key its separate input bone where the rig exposes one. |
8686
+
8687
+ A character's life can animate a child of a scene-keyed parent. A constraint
8688
+ can also read a scene-keyed input, as a slider does when the scene keys its
8689
+ dial.
8592
8690
 
8593
8691
  #### Animate a character's placement (issue #1498)
8594
8692
 
@@ -8658,10 +8756,9 @@ every character in the declared draw order.
8658
8756
  A fully green compose writes `compose-run.json` at the `--out` root, beside
8659
8757
  `scene.json`, with spec `rig-compose-run/1`. It removes a previous record before
8660
8758
  the stage begins, including before stage option validation; a refused input,
8661
- rig-c gate, check or accepted failing character leaves no record. With default
8662
- diagnostics and neither canvas clipping nor a placement pivot declared, the
8663
- existing rig, scene report and check bytes and paths are stable. Core's separate
8664
- `check/build/run.json` retains its own clocks.
8759
+ rig-c gate, check or accepted failing character leaves no record. Compose
8760
+ uses this path across diagnostic profiles and placement options. Core's
8761
+ separate `check/build/run.json` retains its own clocks.
8665
8762
 
8666
8763
  The fixed top-level key order is `spec`, `scene`, `characters`, `plate`, `plates`,
8667
8764
  then `output_profile` when selected.
@@ -10935,8 +11032,8 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
10935
11032
  <!-- check-row-table:begin -->
10936
11033
  | Row family | Registered JSON paths | row_scope | row_kind | row_subjects (producer expression) | Producer |
10937
11034
  | --- | --- | --- | --- | --- | --- |
10938
- | `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for e.slot; otherwise [] | [check.ts:3876](../src/check.ts#L3876) |
10939
- | `ANIMATIONS_DO_NOT_FOLD.folding` | `ANIMATIONS_DO_NOT_FOLD.folding` | part when the supplied mapping resolves a piece; otherwise rig | finding when entry === undefined; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:3836](../src/check.ts#L3836) |
11035
+ | `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | `ANIMATIONS_DO_NOT_FOLD.declared_not_folding` | part when the supplied mapping resolves a piece; otherwise rig | finding | resolved piece for e.slot; otherwise [] | [check.ts:3887](../src/check.ts#L3887) |
11036
+ | `ANIMATIONS_DO_NOT_FOLD.folding` | `ANIMATIONS_DO_NOT_FOLD.folding` | part when the supplied mapping resolves a piece; otherwise rig | finding when entry === undefined; otherwise evidence | resolved piece for slot; otherwise [] | [check.ts:3847](../src/check.ts#L3847) |
10940
11037
  | `ART_JOINT_DISTANCE.joints` | `ART_JOINT_DISTANCE.joints` | 'rig' | finding when status === 'FAIL'; otherwise evidence | [] | [artjoints.ts:86](../src/artjoints.ts#L86) |
10941
11038
  | `BEHIND_PART_SEAMS.contributors` | `BEHIND_PART_SEAMS.turn.pairs[].frames[].standing.samples[].contributors`; `BEHIND_PART_SEAMS.turn.pairs[].frames[].motion_opened.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].setup.motion_opened.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].setup.standing.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].frames[].motion_opened.samples[].contributors`; `BEHIND_PART_SEAMS.pairs[].frames[].standing.samples[].contributors` | 'pair' | evidence | [pair.a, pair.b] | [behindseams.ts:664](../src/behindseams.ts#L664) |
10942
11039
  | `BEHIND_PART_SEAMS.hits` | `BEHIND_PART_SEAMS.pairs[].motion_opened.frames`; `BEHIND_PART_SEAMS.pairs[].standing.frames`; `BEHIND_PART_SEAMS.pairs[].motion_opened.worst`; `BEHIND_PART_SEAMS.pairs[].standing.worst` | 'pair' | finding when r.px > allowance; otherwise evidence | parts | [behindseams.ts:750](../src/behindseams.ts#L750) |
@@ -10952,53 +11049,54 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
10952
11049
  | `BEHIND_PART_SEAMS.unread_corridors` | `BEHIND_PART_SEAMS.turn.pairs[].frames[].standing.unread_corridors`; `BEHIND_PART_SEAMS.pairs[].setup.standing.unread_corridors`; `BEHIND_PART_SEAMS.pairs[].frames[].standing.unread_corridors` | 'pair' | evidence | [pair.a, pair.b] | [behindseams.ts:585](../src/behindseams.ts#L585) |
10953
11050
  | `BOUNDARY_COLOUR_STEP.over` | `BOUNDARY_COLOUR_STEP.over` | 'pair' | finding | r.parts | [boundarycolour.ts:221](../src/boundarycolour.ts#L221) |
10954
11051
  | `BOUNDARY_COLOUR_STEP.unmeasured` | `BOUNDARY_COLOUR_STEP.unmeasured` | part when the supplied mapping resolves a piece; otherwise rig | evidence | resolved piece for r.slot; otherwise [] | [boundarycolour.ts:222](../src/boundarycolour.ts#L222) |
10955
- | `CLOTH_SETTLES.rows` | `CLOTH_SETTLES.rows` | 'rig' | finding when speeds.length > 0 && s < speeds.length; otherwise evidence | [] | [check.ts:6329](../src/check.ts#L6329) |
11052
+ | `CLOTH_SETTLES.rows` | `CLOTH_SETTLES.rows` | 'rig' | finding when speeds.length > 0 && s < speeds.length; otherwise evidence | [] | [check.ts:6340](../src/check.ts#L6340) |
10956
11053
  | `CUT_JOINT_MATERIAL.rows` | `CUT_JOINT_MATERIAL.rows` | 'part' | finding when r.status === 'FAIL'; otherwise evidence | [r.part] | [cutmaterial.ts:280](../src/cutmaterial.ts#L280) |
10957
- | `FEET_STAY_LEVEL.feet` | `FEET_STAY_LEVEL.feet` | 'part' | finding when row.status === 'FAIL'; otherwise evidence | [row.part] | [check.ts:4078](../src/check.ts#L4078) |
10958
- | `FEET_STAY_LEVEL.feet[].worst.through` | `FEET_STAY_LEVEL.feet[].worst.through` | 'rig' | evidence | [] | [check.ts:4053](../src/check.ts#L4053) |
10959
- | `LIMB_ONE_BONE.parts` | `LIMB_ONE_BONE.parts` | 'part' | finding when fail; otherwise evidence | [p.name] | [check.ts:4371](../src/check.ts#L4371) |
11054
+ | `FEET_STAY_LEVEL.feet` | `FEET_STAY_LEVEL.feet` | 'part' | finding when row.status === 'FAIL'; otherwise evidence | [row.part] | [check.ts:4089](../src/check.ts#L4089) |
11055
+ | `FEET_STAY_LEVEL.feet[].worst.through` | `FEET_STAY_LEVEL.feet[].worst.through` | 'rig' | evidence | [] | [check.ts:4064](../src/check.ts#L4064) |
11056
+ | `LIMB_ONE_BONE.parts` | `LIMB_ONE_BONE.parts` | 'part' | finding when fail; otherwise evidence | [p.name] | [check.ts:4382](../src/check.ts#L4382) |
10960
11057
  | `PART_SUPPORT_REPORT.pairs` | `PART_SUPPORT_REPORT.pairs` | 'pair' | evidence; finding when length > 0; otherwise evidence | [F.name, B.name] | [coincide.ts:114](../src/coincide.ts#L114), [coincide.ts:130](../src/coincide.ts#L130) |
10961
11058
  | `PART_SUPPORT_REPORT.raw_pairs` | `PART_SUPPORT_REPORT.raw_pairs` | 'pair' | evidence | [F.name, B.name] | [coincide.ts:110](../src/coincide.ts#L110) |
10962
11059
  | `PART_SUPPORT_REPORT.unowned.regions` | `PART_SUPPORT_REPORT.unowned.regions` | 'rig' | finding | [] | [coincide.ts:145](../src/coincide.ts#L145) |
10963
11060
  | `PHYSICS_CONTRIBUTES.rows` | `PHYSICS_CONTRIBUTES.rows` | 'part' | evidence; finding when !moves; otherwise evidence | [part] | [physicscontrib.ts:217](../src/physicscontrib.ts#L217), [physicscontrib.ts:220](../src/physicscontrib.ts#L220) |
10964
- | `SEAM_OVER_MOTION.pairs` | `SEAM_OVER_MOTION.pairs` | 'pair' | evidence | [p.a, p.b] | [check.ts:5726](../src/check.ts#L5726) |
10965
- | `SEAM_OVER_MOTION.required.pairs` | `SEAM_OVER_MOTION.required.pairs` | 'pair' | finding when open > 0; otherwise evidence | [p.a, p.b] | [check.ts:5041](../src/check.ts#L5041) |
10966
- | `SEAM_OVER_MOTION.required.pairs[].open_frames` | `SEAM_OVER_MOTION.required.pairs[].open_frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:5033](../src/check.ts#L5033) |
10967
- | `SEAM_OVER_MOTION.roots.unmeasured` | `SEAM_OVER_MOTION.roots.unmeasured` | 'part' | evidence | [root.part] | [check.ts:5699](../src/check.ts#L5699) |
10968
- | `SEAM_OVER_MOTION.rows` | `SEAM_OVER_MOTION.rows` | 'pair'; unique ? 'pair' : 'rig' | finding when motionSeamFinding(want.root !== undefined, p.status, p.banded, opens.length); otherwise evidence; finding when motionSeamFinding(rootNames.has(r.pair), r.status, r.banded, r.opens.length); otherwise evidence | [want.a, want.b]; unique ? [pair.a, pair.b] : [] | [check.ts:5656](../src/check.ts#L5656), [check.ts:5732](../src/check.ts#L5732) |
10969
- | `SEAM_OVER_MOTION.rows[].cells` | `SEAM_OVER_MOTION.rows[].cells` | 'pair' | evidence | [want.a, want.b] | [check.ts:5669](../src/check.ts#L5669) |
10970
- | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | 'pair' | evidence | [want.a, want.b] | [check.ts:5659](../src/check.ts#L5659) |
11061
+ | `SEAM_OVER_MOTION.pairs` | `SEAM_OVER_MOTION.pairs` | 'pair' | evidence | [p.a, p.b] | [check.ts:5737](../src/check.ts#L5737) |
11062
+ | `SEAM_OVER_MOTION.required.pairs` | `SEAM_OVER_MOTION.required.pairs` | 'pair' | finding when open > 0; otherwise evidence | [p.a, p.b] | [check.ts:5052](../src/check.ts#L5052) |
11063
+ | `SEAM_OVER_MOTION.required.pairs[].open_frames` | `SEAM_OVER_MOTION.required.pairs[].open_frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:5044](../src/check.ts#L5044) |
11064
+ | `SEAM_OVER_MOTION.roots.unmeasured` | `SEAM_OVER_MOTION.roots.unmeasured` | 'part' | evidence | [root.part] | [check.ts:5710](../src/check.ts#L5710) |
11065
+ | `SEAM_OVER_MOTION.rows` | `SEAM_OVER_MOTION.rows` | 'pair'; unique ? 'pair' : 'rig' | finding when motionSeamFinding(want.root !== undefined, p.status, p.banded, opens.length); otherwise evidence; finding when motionSeamFinding(rootNames.has(r.pair), r.status, r.banded, r.opens.length); otherwise evidence | [want.a, want.b]; unique ? [pair.a, pair.b] : [] | [check.ts:5667](../src/check.ts#L5667), [check.ts:5743](../src/check.ts#L5743) |
11066
+ | `SEAM_OVER_MOTION.rows[].cells` | `SEAM_OVER_MOTION.rows[].cells` | 'pair' | evidence | [want.a, want.b] | [check.ts:5680](../src/check.ts#L5680) |
11067
+ | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | 'pair' | evidence | [want.a, want.b] | [check.ts:5670](../src/check.ts#L5670) |
10971
11068
  | `SEAM_OVER_MOTION.rows[].pose_at_worst.joints` | `SEAM_OVER_MOTION.rows[].pose_at_worst.joints` | 'rig' | evidence | [] | [motionseampose.ts:53](../src/motionseampose.ts#L53) |
10972
- | `SEAM_OVER_MOTION.worlds.*.rows` | `SEAM_OVER_MOTION.worlds.*.rows` | 'pair' | evidence | [want.a, want.b] | [check.ts:5653](../src/check.ts#L5653) |
10973
- | `SEAM_OVER_RANGE.joints` | `SEAM_OVER_RANGE.joints` | 'part' | evidence; finding when poses.some(p => p.status === 'FAIL'); otherwise evidence | [j.part] | [check.ts:4695](../src/check.ts#L4695), [check.ts:4741](../src/check.ts#L4741) |
10974
- | `SEAM_OVER_RANGE.joints[].poses` | `SEAM_OVER_RANGE.joints[].poses` | 'part' | finding when fail; otherwise evidence | [j.part] | [check.ts:4739](../src/check.ts#L4739) |
11069
+ | `SEAM_OVER_MOTION.worlds.*.rows` | `SEAM_OVER_MOTION.worlds.*.rows` | 'pair' | evidence | [want.a, want.b] | [check.ts:5664](../src/check.ts#L5664) |
11070
+ | `SEAM_OVER_RANGE.joints` | `SEAM_OVER_RANGE.joints` | 'part' | evidence; finding when poses.some(p => p.status === 'FAIL'); otherwise evidence | [j.part] | [check.ts:4706](../src/check.ts#L4706), [check.ts:4752](../src/check.ts#L4752) |
11071
+ | `SEAM_OVER_RANGE.joints[].poses` | `SEAM_OVER_RANGE.joints[].poses` | 'part' | finding when fail; otherwise evidence | [j.part] | [check.ts:4750](../src/check.ts#L4750) |
10975
11072
  | `SETUP_MATCHES_PAINTING.regions` | `SETUP_MATCHES_PAINTING.regions` | 'rig' | finding when status === 'FAIL'; otherwise evidence | [] | [setuppainting.ts:175](../src/setuppainting.ts#L175) |
10976
11073
  | `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) |
10977
11074
  | `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) |
10978
11075
  | `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) |
10979
- | `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) |
10980
- | `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) |
10981
- | `STRESS_OFF_CHAIN.not_read` | `STRESS_OFF_CHAIN.not_read` | 'part' | evidence | [r.part] | [check.ts:4299](../src/check.ts#L4299) |
10982
- | `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) |
10983
- | `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) |
10984
- | `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) |
10985
- | `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) |
10986
- | `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) |
10987
- | `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:6833](../src/check.ts#L6833) |
10988
- | `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) |
10989
- | `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:6150](../src/check.ts#L6150) |
10990
- | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7947](../src/check.ts#L7947) |
10991
- | `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8280](../src/check.ts#L8280) |
10992
- | `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8280](../src/check.ts#L8280) |
10993
- | `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) |
10994
- | `seam_cells.frames` | `frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:5030](../src/check.ts#L5030) |
10995
- | `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) |
10996
- | `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) |
10997
- | `seam_scope.changes` | `seam_scope.changes`; `sets.*.seam_scope.changes` | 'rig' | evidence | [] | [check.ts:2186](../src/check.ts#L2186) |
10998
- | `seam_scope.domain.states` | `seam_scope.domain.states`; `sets.*.seam_scope.domain.states` | 'rig' | evidence | [] | [check.ts:2271](../src/check.ts#L2271) |
10999
- | `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) |
11000
- | `seam_scope.population.pairs` | `seam_scope.population.pairs`; `sets.*.seam_scope.population.pairs` | 'pair' | evidence | row.parts | [check.ts:2642](../src/check.ts#L2642) |
11001
- | `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) |
11076
+ | `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:9550](../src/check.ts#L9550) |
11077
+ | `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:9536](../src/check.ts#L9536), [check.ts:9541](../src/check.ts#L9541) |
11078
+ | `STRESS_OFF_CHAIN.not_read` | `STRESS_OFF_CHAIN.not_read` | 'part' | evidence | [r.part] | [check.ts:4310](../src/check.ts#L4310) |
11079
+ | `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:4298](../src/check.ts#L4298) |
11080
+ | `STRESS_OFF_CHAIN.per_part[].off_chain` | `STRESS_OFF_CHAIN.per_part[].off_chain` | 'part' | evidence | [r.part] | [check.ts:4298](../src/check.ts#L4298) |
11081
+ | `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:4266](../src/check.ts#L4266), [check.ts:4284](../src/check.ts#L4284) |
11082
+ | `TEXTURE_STRETCH.per_mesh` | `TEXTURE_STRETCH.per_mesh` | part when the supplied mapping resolves a piece; otherwise rig | evidence; finding when exceeds; otherwise evidence | resolved piece for m.slot; otherwise [] | [check.ts:10612](../src/check.ts#L10612), [check.ts:10619](../src/check.ts#L10619) |
11083
+ | `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:8925](../src/check.ts#L8925), [check.ts:8930](../src/check.ts#L8930), [check.ts:8951](../src/check.ts#L8951), [check.ts:8962](../src/check.ts#L8962) |
11084
+ | `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:6844](../src/check.ts#L6844) |
11085
+ | `WIND_BAND.pairs[].steps` | `WIND_BAND.pairs[].steps` | 'pair' | finding when !s.holds; otherwise evidence | [p.a, p.b] | [check.ts:6855](../src/check.ts#L6855) |
11086
+ | `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:6161](../src/check.ts#L6161) |
11087
+ | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7959](../src/check.ts#L7959) |
11088
+ | `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8293](../src/check.ts#L8293) |
11089
+ | `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8293](../src/check.ts#L8293) |
11090
+ | `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:8293](../src/check.ts#L8293) |
11091
+ | `seam_cells.frames` | `frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:5041](../src/check.ts#L5041) |
11092
+ | `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:5001](../src/check.ts#L5001) |
11093
+ | `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:2709](../src/check.ts#L2709) |
11094
+ | `seam_scope.changes` | `seam_scope.changes`; `sets.*.seam_scope.changes` | 'rig' | evidence | [] | [check.ts:2187](../src/check.ts#L2187) |
11095
+ | `seam_scope.domain.states` | `seam_scope.domain.states`; `sets.*.seam_scope.domain.states` | 'rig' | evidence | [] | [check.ts:2272](../src/check.ts#L2272) |
11096
+ | `seam_scope.pairs` | `seam_scope.pairs`; `sets.*.seam_scope.pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:7809](../src/check.ts#L7809) |
11097
+ | `seam_scope.population.pairs` | `seam_scope.population.pairs`; `sets.*.seam_scope.population.pairs` | 'pair' | evidence | row.parts | [check.ts:2643](../src/check.ts#L2643) |
11098
+ | `seam_scope.population.single_art` | `seam_scope.population.single_art`; `sets.*.seam_scope.population.single_art` | 'part' | evidence | [row.part] | [check.ts:2644](../src/check.ts#L2644) |
11099
+ | `slider_stretch.rows` | `slider_stretch.rows` | 'rig' | finding when row.status === 'FAIL'; otherwise evidence | [] | [check.ts:10563](../src/check.ts#L10563) |
11002
11100
 
11003
11101
  | Serialized type path | Reason for schema exclusion |
11004
11102
  | --- | --- |