rig-parts 2.52.0 → 2.53.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/docs/AUTHORING.md CHANGED
@@ -5905,10 +5905,145 @@ those settings. Changing a config seed alone cannot change a no-config run.
5905
5905
  | <a id="CONFIG_POSE_CANVAS"></a><a id="CONFIG_POSE_KEYPOINTS"></a><a id="CONFIG_POSE_IN_CANVAS"></a>`CONFIG_POSE_CANVAS`, `CONFIG_POSE_KEYPOINTS`, `CONFIG_POSE_IN_CANVAS` | the pose file `generation.control.skeleton` names states another canvas than `generation.latent`, holds other than the 18 body-18 keypoints, or puts one off its canvas | the pose file (§3, the `generation.control.skeleton` row) |
5906
5906
 
5907
5907
 
5908
+ #### See-through layer visibility
5909
+
5910
+ The adapter writes a visibility record when the wrapper supplies a readable
5911
+ depth PNG for every drawn layer. A run without active geometry depth still
5912
+ publishes art when a writer sheet is missing or unusable. It writes one
5913
+ `VISIBILITY_SOURCE` warning naming the reason and omits the record. Without
5914
+ writer sheets the output is art-only with the same warning. The run's
5915
+ `meta.json` records the same warning text in `visibility_warning`. Active
5916
+ geometry depth still requires its declared sources.
5917
+
5918
+ A visibility record describes the layers returned by one See-through run.
5919
+ At each canvas coordinate, exact layer tags with alpha at least 128 are
5920
+ candidates. Smaller saved u8 depth levels are nearer. If the two nearest
5921
+ depth levels differ by at most one, all candidates are undecided with reason
5922
+ `depth-tie`. Otherwise, a nearest candidate with alpha 128–254 makes all
5923
+ candidates undecided with reason `partial-top`. An opaque nearest candidate is
5924
+ visible and the other candidates are occluded. The record makes no claim
5925
+ about order among the layers beneath the top one, how the painting is
5926
+ partitioned, or which material was painted or invented.
5927
+
5928
+ The sibling `visibility.json` manifest uses these fields.
5929
+
5930
+ | Field | Meaning |
5931
+ | --- | --- |
5932
+ | `spec` | `rig-parts-visibility/1` |
5933
+ | `prompt_id` | ComfyUI prompt ID for this run |
5934
+ | `input_sha256` | SHA-256 of the exact PNG uploaded to the box, after any input preparation |
5935
+ | `graph_sha256` | SHA-256 of the UTF-8 JSON of the submitted graph, with its actual upload reference and run prefix |
5936
+ | `layer_manifest` | `{path, sha256}` for the original wrapper `layers.json` |
5937
+ | `canvas` | Native run grid as `[width, height]` |
5938
+ | `alpha_floor`, `depth_tie` | Inclusive alpha floor of 128 and depth tie band of one u8 level |
5939
+ | `layers` | Entries for drawn layers, each with the exact `tag`, crop `offset` as `[left, top]`, and crop `size` as `[width, height]`, in native pixels |
5940
+ | `layers[].image`, `layers[].depth`, `layers[].record` | Each is a `{path, sha256}` reference to the layer PNG, saved depth PNG, or state file. Paths are relative to the run directory, and hashes cover the exact file bytes. |
5941
+
5942
+ Each state file holds one byte per crop pixel in top-to-bottom, left-to-right
5943
+ order. Byte 0 is outside the alpha floor. Bytes 1 and 2 mean visible and
5944
+ occluded. Bytes 3 and 4 mean undecided due to partial top and depth tie,
5945
+ respectively. Add the layer's offset to a crop coordinate to locate it on
5946
+ the canvas. When the record is present, `meta.json` also carries
5947
+ `uploaded_image_sha256` and `graph_sha256` for its producer binding. Together
5948
+ with `meta.json`'s `prompt_id`, they are the expected identity for
5949
+ `readVisibilityRecord`. Its `image_sha256` still hashes the original
5950
+ `--image` file.
5951
+
5952
+ | rule | means | change |
5953
+ | --- | --- | --- |
5954
+ | <a id="VISIBILITY_SOURCE"></a>`VISIBILITY_SOURCE` | A required layer PNG, writer depth PNG or run identity is unavailable | recover the matching outputs and identity from the producing run |
5955
+ | <a id="VISIBILITY_MANIFEST"></a>`VISIBILITY_MANIFEST` | The visibility manifest is malformed or disagrees with the run identity or grids | use the producer's manifest for this run |
5956
+ | <a id="VISIBILITY_HASH"></a>`VISIBILITY_HASH` | A bound file differs from its recorded SHA-256 | restore the exact file from the producing run |
5957
+
5958
+ When the full wrapper run has a sibling `visibility.json`, assembly verifies
5959
+ it against the producer's `meta.json` and the native layer, depth and state
5960
+ bytes. The full input can name the wrapper directory or its `layers.json`.
5961
+ An alternate set uses its own full input. A set with no record keeps the
5962
+ legacy part fields.
5963
+
5964
+ For a recorded set, every emitted part has `source_visibility`. The counts
5965
+ partition the final output PNG's `opaque_px` (alpha above 8).
5966
+
5967
+ | Field | Meaning |
5968
+ | --- | --- |
5969
+ | `source_layers` | Sorted original layer names prefixed with `full:` or `head:` that contributed to opaque output pixels, including layers outside the record. An image with no observed layer contributors uses an empty list. |
5970
+ | `visible_px`, `occluded_px` | Every contributing native sample has the same recorded state. Occlusion is relative to the layers of that See-through run. Painted-versus-invented material remains unknown. |
5971
+ | `undecided_px` | Counts by reason. `partial-top` and `depth-tie` preserve unanimous producer reasons. `mixed-source-states` means every contributing native sample was recorded and the states or reasons disagree. |
5972
+ | `unrecorded_px` | At least one contributing sample has no state, or material outside the record contributes. Examples include native alpha below 128, head-run art blended with full-run art, and painting or edited PNG material added by assembly. |
5973
+
5974
+ Assembly follows the artwork's exact nonzero resampling taps and pixel copies.
5975
+ Changing the scale can change this partition. A downscale can skip a native
5976
+ sample entirely. An upscale can mix decisions into `mixed-source-states`.
5977
+ The partition still describes the emitted part PNG and state map at that scale.
5978
+ Unchanged pixels in an edited PNG retain their assembled contributors. A
5979
+ changed pixel in an external edit uses the replacement image as its source.
5980
+ The top-level `visible_px` and `occluded_px` still measure assembly's own
5981
+ draw/coverage rules.
5982
+
5983
+ Each part with `source_visibility` also gets a state map,
5984
+ `parts/<part>_source_states.png` (an alternate's is
5985
+ `parts/<set>_<part>_source_states.png`). It is the part's size. Every texel
5986
+ holds one code in R, G and B, with alpha 255: 0 where the part is at alpha 8
5987
+ or less, then 1 visible, 2 occluded, 3 partial-top, 4 depth-tie,
5988
+ 5 mixed-source-states, 6 unrecorded. `parts.json` binds the map in the part's
5989
+ `source_state_map`, `{ "image": "<file>", "sha256": "<hex>" }`. The counts in
5990
+ `source_visibility` are read off the same codes, so they always agree with the
5991
+ map. A part with no record gets no map, and its bytes do not change. `check`
5992
+ uses the map to say which of these texels a pose shows; see
5993
+ [Source texels a pose exposes](#source-texels-a-pose-exposes-issue-1473).
5994
+
5995
+ ##### Draw-order inversions (`source_overlaps`, issue #1474)
5996
+
5997
+ A recorded set also gives every part `source_overlaps`: one row for each part
5998
+ the set draws in front of it whose opaque output pixels (alpha above 8) meet
5999
+ its own. A part with no such overlap has an empty list. The primary set draws
6000
+ in `parts.json` order, since a front slot shows nothing at setup. An alternate
6001
+ draws its records in base order, except that a part the set draws on its
6002
+ front slot comes after that slot's target, as its recomposite and its rig
6003
+ slots draw it. An alternate's rows pair only records the set keeps. Each row classifies the shared pixels by the
6004
+ recorded state of each part's contributors at that pixel, as
6005
+ `source_visibility` reads them.
6006
+
6007
+ | Field | Meaning |
6008
+ | --- | --- |
6009
+ | `front` | The part drawn in front of this one. Rows follow the set's draw order. |
6010
+ | `source_layers` | Sorted layers that contributed to the inverted pixels, from both parts. Empty exactly when `inverted_px` is 0. |
6011
+ | `overlap_px` | Pixels both parts make opaque. The six classes below partition it. |
6012
+ | `inverted_px` | This part is visible in the record and the front part is occluded: the painting shows the part that is drawn behind. |
6013
+ | `agreeing_px` | This part is occluded and the front part is visible: the record agrees with the draw order. |
6014
+ | `unordered_px` | Both parts are visible, or both are occluded, so the record does not order the pair here. Both occluded means a third layer covers them. Both visible happens where resampling draws the two parts from different native pixels. |
6015
+ | `undecided_px` | `partial-top` and `depth-tie` when both parts carry that one producer reason. Any other mix of recorded states is `mixed-source-states`. |
6016
+ | `unrecorded_px` | Either part has material outside the record at that pixel. |
6017
+ | `native_samples` | Optional original full-run evidence at non-unit registration scale. Its `overlap_px` counts attributable co-located samples and its `inverted_px` counts the subset where the record shows the back layer and hides the front layer. Neither count enters the output-pixel partition. |
6018
+
6019
+ An inversion is a contradiction between two of the run's own layers. It holds
6020
+ only among the layers of that See-through run, and says nothing about material
6021
+ the run did not separate. A pixel counts as inverted only when every
6022
+ resampling tap of both parts agrees. Where a stroke thinner than the filter's
6023
+ support mixes with occluded neighbours, its pixels read `mixed-source-states`,
6024
+ and a downscale can skip the stroke's source row altogether. Read
6025
+ `native_samples` alongside the output partition for original draw-order evidence.
6026
+ It follows direct, registered full-run material that remains at its mapped
6027
+ position in both overlapping parts. A native sample is in scope when its
6028
+ mapped integer grid cell is opaque in both parts and both source layers have
6029
+ alpha above 8 at that native position. Each such position counts once per
6030
+ pair. The geometric cell includes native positions the resampling filter
6031
+ may skip, so an inversion can appear here even when `inverted_px` in the
6032
+ output partition is zero. Ambiguous or replaced material contributes no
6033
+ native evidence. An omitted block means this reading was unavailable, and
6034
+ a zero covers only the samples counted in that block.
6035
+
6036
+ To remove an inversion, change the input so the material sits in a
6037
+ layer whose part is drawn in front, for example with an author layer or a
6038
+ `take`, or change the plan order when the whole overlap reads inverted. Then
6039
+ re-run assemble and read the count again. `check-parts` reports each row under
6040
+ [`PARTS_DRAW_ORDER_INVERTED`](#PARTS_DRAW_ORDER_INVERTED).
6041
+
5908
6042
  #### Step-4 plates (`comfy plate`, issue #1183)
5909
6043
 
5910
6044
  `rig-parts comfy plate --mode background|foreground --painting <png>
5911
- --mask-from seethrough:<dir>|figure-mask:<dir> --out <dir>` makes the two plates
6045
+ --mask-from seethrough:<dir>|figure-mask:<dir>|matte:<dir>|classified:<manifest.json>
6046
+ --out <dir>` makes the two plates
5912
6047
  a full-screen scene needs: the background with the figure removed, and a
5913
6048
  foreground matte with alpha. `--mode occluder` (below) makes a third: the
5914
6049
  painting with a declared occluder removed. It never makes a character part
@@ -5917,9 +6052,10 @@ or a joint.
5917
6052
  - **The mask comes from a source.** `seethrough:<dir>` is a See-through run in
5918
6053
  the wrapper form, and the figure is every drawn layer's alpha above 8 on the
5919
6054
  run's canvas. `figure-mask:<dir>` is an assemble output whose `parts.json`
5920
- declares a `scene`, and the figure is its `figure_rig.png`. The mask is never
5921
- fitted: a source grid that is not the painting's size is refused. With no
5922
- source the command refuses by name, writes nothing and reaches no box.
6055
+ declares a `scene`, and the figure is its `figure_rig.png` on the painting's
6056
+ grid. `matte:<dir>` reads a receipted matte. Use
6057
+ `classified:<manifest.json>` to keep explicitly declared background props.
6058
+ With no source the command refuses by name, writes nothing and reaches no box.
5923
6059
  - **background** grows the mask by `--grow` px (a square, default 8) and
5924
6060
  inpaints it on a ComfyUI box. `--graph lama` (the default) uses the
5925
6061
  comfyui-inpaint-nodes pack and its LaMa model (`--model`, default
@@ -6070,6 +6206,49 @@ inside, opaque black outside) and `receipt.json`, spec
6070
6206
  `rig-parts-plate-receipt/1` ([STABILITY](STABILITY.md#plate-receipt)). A receipted
6071
6207
  plate pass from this command is a recorded source step, not a repair.
6072
6208
 
6209
+ ### Classified plate mask
6210
+
6211
+ Run `assemble` with `config.scene` using the exact painting you will give to
6212
+ `comfy plate --painting`. The classified source verifies the painting bytes
6213
+ against the completed assemble `run.json` source input and verifies
6214
+ `figure_rig.png`, `parts.json` and every emitted part PNG against its output
6215
+ hashes. Start with a JSON declaration such as the following, replacing the
6216
+ three placeholders with SHA-256 hashes of the respective file bytes. Resolve
6217
+ `parts_dir` relative to the declaration file's directory.
6218
+
6219
+ ```json
6220
+ {
6221
+ "spec": "rig-parts-plate-components/1",
6222
+ "parts_dir": "assembly/rig",
6223
+ "painting_sha256": "<painting PNG SHA-256>",
6224
+ "figure_mask_sha256": "<figure_rig.png SHA-256>",
6225
+ "parts_manifest_sha256": "<parts.json SHA-256>",
6226
+ "components": []
6227
+ }
6228
+ ```
6229
+
6230
+ The command uses the existing pixel-centre mapping to read the scene mask and
6231
+ the placed part support on the native painting grid. It inventories every
6232
+ 8-connected component of the scene mask outside the union of emitted part
6233
+ pixels with alpha strictly greater than 8. There is no minimum component
6234
+ size. Each ID is the SHA-256 of the UTF-8 compact JSON array of that component's
6235
+ pixel indices, in ascending row-major order (`y * painting_width + x`). The
6236
+ existing assemble figure-mask diagnostic remains available.
6237
+
6238
+ Pass the declaration with `--mask-from classified:<manifest.json>`. If the
6239
+ list is empty and components exist, or any current ID is missing, the refusal
6240
+ shows the inventory with each ID, bounding box and pixel count, and a
6241
+ ready-to-paste `components` array with blank roles. Assign every ID one role.
6242
+ `background-prop` protects its pixels from background inpainting.
6243
+ `figure-accessory` keeps its pixels in the figure mask.
6244
+
6245
+ Background mode grows the classified figure mask first, then clips the exact pixels of
6246
+ each declared `background-prop` from the grown mask. It prints each prop ID
6247
+ and the number of pixels clipped. Foreground uses the classified figure mask
6248
+ without growth and records zero clips per prop. Classified receipts include
6249
+ the declaration's byte hash and the per-prop counts in `mask_classification`.
6250
+ See [Plate receipt](STABILITY.md#plate-receipt).
6251
+
6073
6252
  ### See-through mask grid mapping
6074
6253
 
6075
6254
  For non-square paintings, `comfy seethrough` prepares the configured square
@@ -6094,6 +6273,8 @@ recorded transform. The record fields and sampling formula are specified in
6094
6273
  | <a id="PLATE_MASK_SOURCE"></a><a id="PLATE_MASK_GRID"></a><a id="PLATE_MASK_VALUES"></a><a id="PLATE_MASK_EMPTY"></a>`PLATE_MASK_SOURCE`, `PLATE_MASK_GRID`, `PLATE_MASK_VALUES`, `PLATE_MASK_EMPTY` | no `--mask-from`, or a source directory holding no See-through run or no scene figure mask; a source on another grid without a valid recorded `input_transform`; a `figure_rig.png` holding other than opaque white and black; a mask with no figure pixel | run `comfy seethrough` on the original painting to record its input transform, or `assemble` with `config.scene` at the painting grid |
6095
6274
  | <a id="PLATE_MASK_RUN"></a>`PLATE_MASK_RUN` | the figure source has no readable `rig-run/1` assemble `run.json`, or its `figure_rig.png`, `parts.json` or declared `painting_in_rig.png` lacks exactly one matching output hash; or the See-through source has no readable `meta.json` with `image_sha256` and `layers` hashes, or a layer PNG on disk lacks a matching `layers` entry | re-run `assemble` with the source config to regenerate `run.json` and its `rig/` files together, or re-run `comfy seethrough` on the painting to regenerate `meta.json` and `parts/` together |
6096
6275
  | <a id="PLATE_MASK_PAINTING"></a>`PLATE_MASK_PAINTING` | `parts.json` has an invalid `painting_in_rig` declaration, its recorded painting is missing, undecodable or differs from its declared hash, or the supplied painting differs from the recorded opaque RGB; or the supplied painting's SHA-256 differs from a See-through source's `meta.json` `image_sha256` | use the original `--painting` file for this source, or re-run `assemble` or `comfy seethrough` on this painting |
6276
+ | <a id="PLATE_COMPONENT_SOURCE"></a>`PLATE_COMPONENT_SOURCE` | the classified source declaration, its files, or its completed assemble stamp cannot establish the required source identity or mask geometry | use the exact assemble source painting and its completed scene output, and update the declaration's file hashes |
6277
+ | <a id="PLATE_COMPONENT_ROLE"></a>`PLATE_COMPONENT_ROLE` | the declaration fails to assign exactly one allowed role to each current component ID | use the current inventory and assign `background-prop` or `figure-accessory` to each ID |
6097
6278
  | <a id="PLATE_OCCLUDER_PRESENT"></a><a id="PLATE_OCCLUDER_GRID"></a><a id="PLATE_OCCLUDER_ALPHA"></a>`PLATE_OCCLUDER_PRESENT`, `PLATE_OCCLUDER_GRID`, `PLATE_OCCLUDER_ALPHA` | `--mode occluder` with no readable `--occluder` file; an occluder whose size is not the painting's; an occluder with no transparent pixel (it would mask the whole painting) | export the occluder as an RGBA PNG on the painting's grid, transparent outside it |
6098
6279
  | <a id="PLATE_CHECKPOINT_SHA256"></a><a id="PLATE_MODEL_GIVEN"></a>`PLATE_CHECKPOINT_SHA256`, `PLATE_MODEL_GIVEN` | `--checkpoint-sha256` absent or not 64 hex characters; `--graph core` without `--model` | the flag |
6099
6280
  | <a id="PLATE_CORE_CFG"></a>`PLATE_CORE_CFG` | `--cfg` given with `--graph lama`, or not a finite number above 0 | `--cfg`, `--graph` |
@@ -6595,7 +6776,7 @@ documents do not ship). Each is an input this package built; none is an author's
6595
6776
  Run `rig-parts check-parts --parts <assembled-dir> --out <disjoint-report-dir>`
6596
6777
  before parts review. Add `--json` for the completed report alone. The command
6597
6778
  writes `parts-check.json` and reads no rig, motion or plate. Exit 0 records input
6598
- integrity while the six #945/#884 quality classes remain named HOLEs.
6779
+ integrity. Quality classes without measurements remain named HOLEs.
6599
6780
  [STABILITY](STABILITY.md#parts-stage-integrity-report) defines the binding and
6600
6781
  closed diagnostic vocabulary. Base and alternate `scene.figure_mask` remain
6601
6782
  outside the consumed inputs pending [#1177](https://github.com/rig-c/parts/issues/1177).
@@ -6613,7 +6794,9 @@ outside the consumed inputs pending [#1177](https://github.com/rig-c/parts/issue
6613
6794
  | <a id="PARTS_SOURCE_COVER"></a>`PARTS_SOURCE_COVER` | HOLE when source_cover.json is absent | re-run assemble when a cover inventory is required |
6614
6795
  | <a id="PARTS_PAINTING_ALLOCATION"></a>`PARTS_PAINTING_ALLOCATION` | HOLE when painting_allocation.json is absent | retain the missing transfer observation in review |
6615
6796
  | <a id="PARTS_PLATE_GHOST"></a><a id="PARTS_PLATE_STRUCTURE"></a><a id="PARTS_PLATE_SMEAR"></a><a id="PARTS_PLATE_STEPS"></a>`PARTS_PLATE_GHOST`, `PARTS_PLATE_STRUCTURE`, `PARTS_PLATE_SMEAR`, `PARTS_PLATE_STEPS` | HOLE; no adopted plate discriminator is available | carry these unmeasured classes to parts review |
6616
- | <a id="PARTS_INVENTED_MATERIAL"></a><a id="PARTS_INVENTED_EXPOSURE"></a>`PARTS_INVENTED_MATERIAL`, `PARTS_INVENTED_EXPOSURE` | HOLE; validated producer material truth and posed exposure are unavailable | retain the producer-provenance and frame-measurement gaps in review |
6797
+ | <a id="PARTS_INVENTED_MATERIAL"></a>`PARTS_INVENTED_MATERIAL` | REPORTED per part with a validated [See-through visibility record](#see-through-layer-visibility), with occluded and undecided counts. If only some parts have measurements, one HOLE counts and names every unmeasured part and its primary or alternate set. If no part has measurements, the legacy HOLE remains. | read the counts as same-run visibility |
6798
+ | <a id="PARTS_INVENTED_EXPOSURE"></a>`PARTS_INVENTED_EXPOSURE` | HOLE: `check-parts` reads an assembled directory, which has no rig, motion or build to pose. The measurement lives in `check`, as [`SOURCE_EXPOSURE`](#SOURCE_EXPOSURE), over the gated build's setup pose and every animation | run `rig-parts check` on the rig, and read its `SOURCE_EXPOSURE` line |
6799
+ | <a id="PARTS_DRAW_ORDER_INVERTED"></a>`PARTS_DRAW_ORDER_INVERTED` | REPORTED for each recorded pair of overlapping parts: inverted pixels, where the [record](#draw-order-inversions-source_overlaps-issue-1474) shows the part drawn behind and hides the part drawn in front, with the other classes of the shared pixels. Never a pass; a set with no record has no row. | read the inverted pixels; move the material to a layer drawn in front, or change the plan order |
6617
6800
 
6618
6801
  ### check and build
6619
6802
 
@@ -6631,6 +6814,12 @@ outside the consumed inputs pending [#1177](https://github.com/rig-c/parts/issue
6631
6814
  | <a id="CHECK_SETUP_PAINTING_MEASURED"></a>`CHECK_SETUP_PAINTING_MEASURED` | missing native setup/ownership or unsupported clipping | supply observable textured setup geometry; an unavailable instrument never passes |
6632
6815
  | <a id="CHECK_BOUNDARY_COLOUR_STEP"></a>`CHECK_BOUNDARY_COLOUR_STEP` | the requirements file declares `boundary_colour.max_step_excess` and a part boundary's colour step in the rig's render exceeds the same boundary's step in the rig's own pieces by more than it; the part pair, the frame (`setup` or `idle frame <n> (t <s> s)`), the stage pixel, the excess, the declared allowance and both steps are quoted. Unlike [`CHECK_SETUP_MATCHES_PAINTING`](#CHECK_SETUP_MATCHES_PAINTING), which compares the painting per declared region at the setup pose, this compares against the rig's own flat pieces (`parts.json` placement at setup, each piece's rest colour through its art UVs on every idle frame), so a part drawn over its neighbour's line art is not a failure | the pair's rig image or mesh: `rig/images/<part>.png` (a texture stretched into its padded UVs, or a notch cut out of it), or that part's mesh in `config.json` `meshes` when the mesh cuts a corner off the art; see [Boundary colour step](#boundary-colour-step-issue-942) |
6633
6816
  | <a id="CHECK_BOUNDARY_COLOUR_UNMEASURED"></a>`CHECK_BOUNDARY_COLOUR_UNMEASURED` | `boundary_colour` is declared and the step cannot be taken: no `parts.json`, no `idle`, or a default-skin region or mesh image without a sequence, with a parts record, whose rig image is not its parts PNG with one even pad on every side (refused before anything is built); otherwise a drawn slot has no `parts.json` piece, is clipped, or its rig image is not its parts PNG with one even pad on every side (the slot and frame are named). Never a pass | make every drawn slot a `parts.json` piece, or drop `boundary_colour` from the requirements file (the bar then reports SKIP) |
6817
+ | <a id="PARTS_SOURCE_STATE_MAP_PRESENT"></a>`PARTS_SOURCE_STATE_MAP_PRESENT` | a part's `source_state_map` names a file in `parts/` that cannot be read. Refused before anything is built | re-run assemble, which writes the map beside the part PNG |
6818
+ | <a id="PARTS_SOURCE_STATE_MAP_SHA256"></a>`PARTS_SOURCE_STATE_MAP_SHA256` | the map's bytes do not hash to the `sha256` in `parts.json`: it was changed after assemble wrote it. Both hashes are quoted | re-run assemble; do not edit the map by hand |
6819
+ | <a id="PARTS_SOURCE_STATE_MAP_FORMAT"></a>`PARTS_SOURCE_STATE_MAP_FORMAT` | the map does not decode, is not the part's size, or has a texel that is not R = G = B = a code 0-6 at alpha 255. The first bad texel is named | re-run assemble |
6820
+ | <a id="PARTS_SOURCE_STATE_MAP_COUNTS"></a>`PARTS_SOURCE_STATE_MAP_COUNTS` | the map disagrees with its part: a code is 0 where the part PNG is above alpha 8, or nonzero where it is not, or the map's counts differ from `source_visibility`. The first texel or both counts are quoted | re-run assemble after any edit to `parts/<part>.png`, so the map and the record are made from the same part |
6821
+ | <a id="CHECK_SOURCE_EXPOSURE"></a>`CHECK_SOURCE_EXPOSURE` | the requirements file declares `source_exposure.max_px`, and in some frame one part shows more stage pixels of one recorded-hidden or undecided state than that. The part, the stage pixels, the state and the frame (`setup` or `<animation> frame <n> (t <s> s)`) are quoted | keep the covering part over that material in this pose (the key or the bone that moves it away), paint the material so its texels leave the record (an `under` image or an edited part, then re-run assemble), or raise `source_exposure.max_px` knowingly; see [Source texels a pose exposes](#source-texels-a-pose-exposes-issue-1473) |
6822
+ | <a id="CHECK_SOURCE_EXPOSURE_UNMEASURED"></a>`CHECK_SOURCE_EXPOSURE_UNMEASURED` | `source_exposure` is declared and the reading cannot be taken: no `parts.json`, no part with a `source_state_map`, or a drawn slot of a mapped part that is clipped, has no art UVs, or whose rig image is not its parts PNG with one even pad on every side. A drawing the source lookup refuses (a linked mesh, a sequence, a non-image attachment, or a frame that names no attachment or several for the slot) is unmeasured too, unless every default-skin entry it can be names an image that is no mapped part's PNG or a sequence frame of one: only then is it proven unmapped and left unread. The part, slot, attachment and frame are named. Never a pass | give the part a See-through visibility record and re-run assemble, make the slot draw its padded part image, or drop `source_exposure` from the requirements file (the line is then a measurement) |
6634
6823
  | <a id="CHECK_BEHIND_PART_SEAMS"></a>`CHECK_BEHIND_PART_SEAMS` | `behind_seams` is declared and a selected pair exceeds its allowance in the independent `motion_opened` reading on an idle frame, in the `standing` reading at setup (compared against the parts' flat recomposite at their painted positions), or in the `motion_opened` reading at an opted-in named turn pose (idle and turn `standing` are not measured); a contact-only pair's `motion_opened` (`motion_support: "setup-contact"`, issue #1409) counts the same way and, where `lower_bound_cells` is present, the count is a lower bound; the pair, behind slots, reading, frame, counted seam cells and allowance are named | repair the declared seam in `parts/<part>.png` or `config.json` (`regions`, `meshes`, or `bones`), or author its allowance in `requirements.json` (`behind_seams.allowance` or `behind_seams.pairs[].allowance`); no WARN mode or rest-visible mask; see [Behind-part seams](#behind-part-seams-issue-1314) |
6635
6824
  | <a id="CHECK_BEHIND_PART_SEAMS_UNMEASURED"></a>`CHECK_BEHIND_PART_SEAMS_UNMEASURED` | a pair with an authored effective threshold cannot read a mandatory population: selected pair, eligible behind slots, `--parts` manifest (`parts.json` and `parts/*.png`) for setup standing's flat recomposite, idle, readable setup, motion support, boundary population, or verified render/grid/material evidence; mandatory unread evidence makes the combined line FAIL. A missing threshold alone is a nonrequired SKIP and HOLE without this refusal code | for the detail `no --parts manifest was supplied; setup standing compares the setup render with the parts' flat recomposite`, supply `parts.json` and `parts/<part>.png` (or pass `--parts <dir>` on the `rig-parts check` command line). For the detail `standing endpoints include ambiguous half-alpha owners` (measured at setup only), the line names the case and, for each case, the first endpoint in scan order with both members' alpha: *neither* member reaches 128/255 there (both members' soft edges paint the same cell, each below 128/255) or *both* do (the members' overlap reaches the gap's edge). Edit `parts/<part>.png` of one member, or its source layer, so that exactly one member reaches 128/255 at that endpoint and the other is below it or does not paint it; the corridor is then read and may fail [`CHECK_BEHIND_PART_SEAMS`](#CHECK_BEHIND_PART_SEAMS) on a real gap. A threshold at or above the cell's distance to the recomposite removes the cell from the reading altogether; the threshold decides what could count; it does not clear a cell that could. `requirements.json` `behind_seams.allowance` never clears an unread cell; removing `behind_seams.threshold` (or `behind_seams.pairs[].threshold`), or the pair from `behind_seams.pairs[]` in `requirements.json`, only silences the reading (issues #1405, #1408). When a turn pose (or idle frame) reads the `motion_opened` `HOLE` (`stock transported setup-overlap support is unavailable on every named turn pose; motion-opened is not measured`, or `stock transported setup-overlap support is unavailable on every idle frame; motion-opened is not measured`, or `both named front slots must draw on this frame`, or `no eligible slot is drawn strictly behind both pair members (including every fragment)`, or a contact-only pair's `has no overlap band and no setup contact edge` or `setup contact support requires one drawn fragment per pair member` or `setup contact support requires unclipped pair members` detail), give the pair's two front members a setup overlap band or a setup contact edge (issue #1409) in `parts/<part>.png` or `config.json` (`regions`, `meshes`, or `bones`) and ensure both members and at least one rear slot in `behind_slots` draw in consistent order at setup and on every turn pose (or idle frame) so `motion_opened` can transport setup-overlap cells, or — when the pair is not a turn-tracked overlap seam — omit `behind_seams.turn` (or the pair's threshold in `requirements.json` `behind_seams`; issue #1412). For any other detail, supply the named measurement evidence in `parts/<part>.png`, `config.json` or `requirements.json` `behind_seams`; an invalid selected-pair override in `requirements.json` `behind_seams.pairs[]` also refuses by name, and existing renderer or sidecar refusals remain refusals |
6636
6825
  | <a id="SETUP_PAINTING_REQUIRED_LIMIT"></a>`SETUP_PAINTING_REQUIRED_LIMIT` | `setup_painting.required` is `true` and a limit the check needs is absent: `rgb_tolerance`, `regions`, or a region's `max_pixels` (the object names the region). Refused when the requirements file is read, before anything is built (issue #943) | author the named limit; none is derived from the art. Without `required` the same region reports SKIP |
@@ -6689,7 +6878,7 @@ outside the consumed inputs pending [#1177](https://github.com/rig-c/parts/issue
6689
6878
  | <a id="ASSEMBLE_REQUIREMENTS_UNDECLARED"></a>`ASSEMBLE_REQUIREMENTS_UNDECLARED` | `assemble --requirements <file>` or `build --requirements <file>` names a file whose content reaches assembly (a region take reads its `setup_painting.rgb_tolerance`; under `ground: "busy"` with `project: "visible"`, its `setup_painting.figure_mask`) while the config declares no `config.requirements` (issue #1418); `config.requirements` would have to name the same file, the same resolved file or a file with the same bytes. `assembly_config` reads only `config.requirements`, so the stamp could not hold what assemble used. The detail names the file, resolved, its sha256 and the field. Refused before anything is written. A flag file none of whose content reaches assembly is accepted | add the `"requirements"` entry the detail writes out, the file's path relative to the config's directory, to the config the detail names; the flag may stay, naming the same file |
6690
6879
  | <a id="BUILD_STAGE_REQUEST"></a>`BUILD_STAGE_REQUEST` | an internal build worker was given a missing or malformed request, an unknown stage, or incomplete runner, input, output or scratch paths; the worker refuses before running a stage. This is the internal process protocol, not a public command or option | invoke `rig-parts build` with its documented flags; if that command produces this refusal, report the named request defect rather than constructing or modifying a worker request |
6691
6880
  | <a id="REQUIREMENTS_FILE"></a>`REQUIREMENTS_FILE` | `--requirements` names no file, or one that does not parse as a JSON object. Refused before anything is built (by `build`, before assemble) | the path of a `spine-parts-requirements/1` file |
6692
- | <a id="REQUIREMENTS_FIELD"></a>`REQUIREMENTS_FIELD` | a field of the file is missing, of the wrong type, or not one the format reads: `spec`, `fps` (a positive number when supplied, required only when a declared measurement reads the file's sampling rate, with no default), `requirements`, each requirement's `name` (letters, digits, underscores; once each), `kind`, `animation` and its kind's fields — every bar among them (`within_px`, `fraction`, `tolerance`, `least_drive` above 0, `within_degrees` from 0 to 180, `lo_degrees` ≤ `hi_degrees`, `within_ratio` ≥ 1) — and each target's `bone`, `animation` and exactly one of `at` and `keys` (times strictly increasing), and `not_planted`, `not_swinging`, `rises` and `rests` when given (each a non-empty list of part names, each once; no part both in `not_swinging` and in `rises` or `rests`), and `may_fold` when given (a non-empty list of `{ "slot", "animation", "why" }`, every one a non-blank string, each pair once; issue #320), and `pinholes` when given (an object whose one field, `required`, is `true` or `false`; issue #944), `seam_over_motion` when given (the same shape; issue #941), and `boundary_colour` when given (an object whose one field, `max_step_excess`, is an integer from 0 through 255; issue #942), and `motion_seams` when given (an array of `{part, neighbour}`, each an unordered pair of distinct output part names, once per list; issue #1269), and `behind_seams` when given (optional `threshold`, `allowance`, `pairs`, `turn: true`; each pair requires distinct nonempty `part` and `neighbour`, with optional `threshold` and `allowance`; thresholds are integers from 0 through 255, allowances are nonnegative safe integers, and reverse duplicates are invalid; issue #1314). `note`, `*_note` (strings) and `x-…` (any value) are read by nothing, as in the config | write the field; the bar is yours. For a pair read only by `seam_over_motion.required`, declare requirements-level `motion_seams` `[{part, neighbour}]` and omit a seam requirement; this leaves a frozen `parts.json` untouched. `config.motion_seams` remains an assemble-time carrier into `parts.json`. See the [carrier contract](#CONFIG_MOTION_SEAM) and [background over every frame](#background-over-every-frame-issue-941). |
6881
+ | <a id="REQUIREMENTS_FIELD"></a>`REQUIREMENTS_FIELD` | a field of the file is missing, of the wrong type, or not one the format reads: `spec`, `fps` (a positive number when supplied, required only when a declared measurement reads the file's sampling rate, with no default), `requirements`, each requirement's `name` (letters, digits, underscores; once each), `kind`, `animation` and its kind's fields — every bar among them (`within_px`, `fraction`, `tolerance`, `least_drive` above 0, `within_degrees` from 0 to 180, `lo_degrees` ≤ `hi_degrees`, `within_ratio` ≥ 1) — and each target's `bone`, `animation` and exactly one of `at` and `keys` (times strictly increasing), and `not_planted`, `not_swinging`, `rises` and `rests` when given (each a non-empty list of part names, each once; no part both in `not_swinging` and in `rises` or `rests`), and `may_fold` when given (a non-empty list of `{ "slot", "animation", "why" }`, every one a non-blank string, each pair once; issue #320), and `pinholes` when given (an object whose one field, `required`, is `true` or `false`; issue #944), `seam_over_motion` when given (the same shape; issue #941), and `boundary_colour` when given (an object whose one field, `max_step_excess`, is an integer from 0 through 255; issue #942), and `source_exposure` when given (an object whose one field, `max_px`, is a nonnegative integer; issue #1473), and `motion_seams` when given (an array of `{part, neighbour}`, each an unordered pair of distinct output part names, once per list; issue #1269), and `behind_seams` when given (optional `threshold`, `allowance`, `pairs`, `turn: true`; each pair requires distinct nonempty `part` and `neighbour`, with optional `threshold` and `allowance`; thresholds are integers from 0 through 255, allowances are nonnegative safe integers, and reverse duplicates are invalid; issue #1314). `note`, `*_note` (strings) and `x-…` (any value) are read by nothing, as in the config | write the field; the bar is yours. For a pair read only by `seam_over_motion.required`, declare requirements-level `motion_seams` `[{part, neighbour}]` and omit a seam requirement; this leaves a frozen `parts.json` untouched. `config.motion_seams` remains an assemble-time carrier into `parts.json`. See the [carrier contract](#CONFIG_MOTION_SEAM) and [background over every frame](#background-over-every-frame-issue-941). |
6693
6882
  | <a id="REQUIREMENTS_RESOLVES"></a>`REQUIREMENTS_RESOLVES` | a bone, an `ik` or `transform` constraint (by name and `constraint_type`, as rig-c resolves it), a slot, a mesh attachment or an animation the file names is not in `rig.json` or `motion.json`, or a seam's part, a requirements-level `motion_seams` part or neighbour, or a `not_planted`, `not_swinging`, `rises` or `rests` name is not in `parts.json` — the detail lists the ones that are; or an animation whose name cannot be a directory. Refused before anything is built | the name as the rig spells it |
6694
6883
  | <a id="REQUIREMENTS_CONSTRAINT_DRIVES"></a>`REQUIREMENTS_CONSTRAINT_DRIVES` | a `follow` names a bone its constraint does not constrain, or a property it does not drive: an `ik` drives `rotate` only; a `transform` drives `rotate` when a `to` names `rotate`, `translate` when one names `x` or `y` | the constraint's own bone and property |
6695
6884
  | <a id="REQUIREMENTS_TARGET_PARENT"></a>`REQUIREMENTS_TARGET_PARENT` | a scene target's bone is the root or is not parented to it, or the root is not at rest at the origin, or the animation keys the root — a stage point is a bone's position only under a root that stands still at the origin | a bone under the root for the scene to place |
@@ -6828,7 +7017,7 @@ and stay absent).
6828
7017
  | <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 |
6829
7018
  | <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 |
6830
7019
  | <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 |
6831
- | <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` (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` |
7020
+ | <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` |
6832
7021
  | <a id="SCENE_DURATION_AGREES"></a>`SCENE_DURATION_AGREES` | the characters' idles are of different durations (each named), or `scene.animations.idle.duration` differs from the composed idle | declare the same duration; compose never stretches or retimes either side |
6833
7022
  | <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 |
6834
7023
  | <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 |
@@ -6840,7 +7029,7 @@ and stay absent).
6840
7029
  | <a id="SCENE_CHARACTER_INSIDE_CANVAS"></a>`SCENE_CHARACTER_INSIDE_CANVAS` | a character's part boxes, placed at its offset, leave the canvas (the boxes and the canvas px quoted) | the offset, or the canvas |
6841
7030
  | <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 |
6842
7031
  | <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 |
6843
- | <a id="SCENE_NAME_PREFIXED"></a><a id="SCENE_NAME_RESOLVES"></a>`SCENE_NAME_PREFIXED`, `SCENE_NAME_RESOLVES` | a build's constraint, `stops` entry or `invariants.detached` names a bone 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 of the same character; in a requirements file, `<id>:<name>` |
7032
+ | <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>` |
6844
7033
  | <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 |
6845
7034
  | <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 |
6846
7035
  | <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 |
@@ -7067,6 +7256,10 @@ assemble*, at the end of this section):
7067
7256
  `loop physics: … "<name>" on bone "<bone>" (rig.json|motion.json)`, and written as `check.json`'s `loop_physics` after
7068
7257
  `loop_max_diff`; they are reported, not judged. A rig with none is measured from the
7069
7258
  idle render itself, exactly as before, and writes no such line or key.
7259
+ When removing physics tracks leaves a named animation beside `idle` without
7260
+ any timeline, the keyed build omits it and the `loop physics:` line names it
7261
+ (issue #1461). Bone tracks and other timelines, including events and draw order,
7262
+ stay in the keyed build.
7070
7263
 
7071
7264
  On the examples: `reference-sample` 23/23, seam 0.207 with 0 pixels over 40, loop 0;
7072
7265
  `reference-demo` (default rule) 23/23, seam 0.326 with 2 pixels over 40, loop 0.
@@ -7381,6 +7574,7 @@ exemption that exempts nothing.
7381
7574
  | `animations` | every animation, the idle included, in `motion.json`'s order: each one read |
7382
7575
  | `fps` | the rate the reading sampled at |
7383
7576
  | `physics_left_out` | how many physics constraints the rig declares — stepped in `physics_on` and left out in `physics_off` (0 without any) |
7577
+ | `physics_off_skipped` | written when stripping physics removed a named animation's last timeline. Lists omitted names in motion order. The original build still supplies their fold verdicts. The console marks their physics-off readings `SKIP`, and `FEET_STAY_LEVEL` reads only the remaining keyed animations. A `physics_off: null` for a listed animation means no reading was taken. |
7384
7578
  | `folding` | one row per mesh that folds in an animation: `animation`, `slot`, `attachment`, `frames` (how many show a folded triangle), `worst_frame`, `worst_triangles`, `triangles` (the mesh's), `physics_on` and `physics_off` (`{ frames, worst_frame, worst_triangles, line }` or null, side by side so a reader sees which folds physics adds), `physics_constraints` (the physics constraints on the mesh's bones, `"<name> on <bone>"`, when the fold appears only with physics on; empty otherwise), `declared` (the `may_fold` why, or null) and `line`, rigc's printed line verbatim |
7385
7579
  | `folding_undeclared` | the rows no `may_fold` entry takes: the bar's figure |
7386
7580
  | `declared_not_folding` | the `may_fold` entries no row matches, each a failure |
@@ -7435,6 +7629,7 @@ Under `--source <painting.png>`, a second reported line, also never a FAIL
7435
7629
  | <a id="SETUP_MATCHES_PAINTING"></a>`SETUP_MATCHES_PAINTING` | declared region count, native box, limit and actual top contributor rows; observations source-over white unless `setup_painting.backdrop` declares the opaque plate behind a full-frame painting | PASS/FAIL against authored limits; no limit is SKIP, or the refusal `SETUP_PAINTING_REQUIRED_LIMIT` under `setup_painting.required: true`; with `--source`, no declaration is SKIP with its reason and declaration remedy; undeclared regions are not judged |
7436
7630
  | <a id="BOUNDARY_COLOUR_STEP"></a>`BOUNDARY_COLOUR_STEP` | the worst colour-step excess over the rig's own pieces at any part boundary of the setup and every idle frame, its part pair, frame and stage pixel, and the declared `max_step_excess` | PASS/FAIL against the declared allowance (FAIL is [`CHECK_BOUNDARY_COLOUR_STEP`](#CHECK_BOUNDARY_COLOUR_STEP), an unreadable piece [`CHECK_BOUNDARY_COLOUR_UNMEASURED`](#CHECK_BOUNDARY_COLOUR_UNMEASURED)); no `boundary_colour` in the requirements file is SKIP with its reason and the declaration to add, never a pass |
7437
7631
  | <a id="BEHIND_PART_SEAMS"></a>`BEHIND_PART_SEAMS` | selected front pair and declaration provenance, per-frame `behind_slots`, core seam grid, separate `setup`, `motion_opened` and `standing` readings, sampled/read/unmeasured counts, per-frame hits, worst frame, temporal spans and spatial runs | required for pairs with an authored effective threshold: PASS/FAIL against the effective allowance, default 0; a contact-only pair's motion line ends `; support setup-contact` (and the frame count with `lower_bound_cells`) when it is read from setup contact edges; missing T is a nonrequired SKIP and HOLE, while mandatory unread evidence causes `CHECK_BEHIND_PART_SEAMS_UNMEASURED` and combined FAIL; no declaration is SKIP, and curved or diagonal openings are not certified |
7632
+ | <a id="SOURCE_EXPOSURE"></a>`SOURCE_EXPOSURE` | for each part with a `source_state_map`, the stage pixels per state (`occluded`, `partial-top`, `depth-tie`, `mixed-source-states`) that the setup pose and every frame of every animation show, one row per part, state and frame; how many texels of each state the part holds; the frames read; the signal used | REPORTED, never a pass, without a declaration; PASS/FAIL against a declared `source_exposure.max_px` (FAIL is [`CHECK_SOURCE_EXPOSURE`](#CHECK_SOURCE_EXPOSURE), an unreadable piece [`CHECK_SOURCE_EXPOSURE_UNMEASURED`](#CHECK_SOURCE_EXPOSURE_UNMEASURED)). Absent from `check.json` and the console when no part has a map and nothing is declared |
7438
7633
 
7439
7634
  `assemble` writes optional `part_support_domains.json` beside `parts.json`, with
7440
7635
  spec `rig-parts-support-domains/1`. It binds the exact parts.json and named PNG
@@ -7765,11 +7960,11 @@ What is composed:
7765
7960
  declares it.
7766
7961
  - **Every animation beside a character's idle** — what `motion.animations_from`
7767
7962
  wrote into its `motion.json` (§3) — rides along as `<id>:<name>` after the idle,
7768
- its tracks' bones, groups and easings prefixed as the idle's are and every other
7963
+ its tracks' bones, groups, physics constraints and easings prefixed as the idle's are and every other
7769
7964
  value as written; the scene schedules none of them, they are the consumer's to
7770
7965
  play. Each is read with the idle's own key lists, so a key compose does not know
7771
7966
  how to prefix is `SCENE_BUILD_FIELD_KNOWN`, as it is on the idle, and a track of
7772
- one that keys `root` is `SCENE_ROOT_SHARED` (issue #183).
7967
+ one that keys `root` is `SCENE_ROOT_SHARED` (issues #183, #1485).
7773
7968
  - **Turn producer output** (issue #1344) is admitted explicitly: yaw/pitch
7774
7969
  `derive` keys (including per-bone depth maps and per-member values), weighted
7775
7970
  deform offsets and the producer's `depth: true` yaw/pitch deform transforms.
@@ -8566,6 +8761,71 @@ The public examples read, clean: `demo` 1, `scarf` 1, `reference-sample` 3,
8566
8761
  `config.json` does not name (as for `pinholes`), and the chain suite holds each
8567
8762
  to it (`CH942`); the suite `boundary-colour` holds the plants.
8568
8763
 
8764
+ ### Source texels a pose exposes (issue #1473)
8765
+
8766
+ `SOURCE_EXPOSURE` says which recorded-hidden or undecided texels of a part a
8767
+ pose shows. It reads the state map assemble writes beside each part with a
8768
+ [See-through visibility record](#see-through-layer-visibility).
8769
+
8770
+ What `occluded` means, and its limit: the See-through run's own layers hid that
8771
+ material in the painting. It is that run's guess at what lies under a front
8772
+ layer. It is not proven unpainted, and it is not proven painted either; no
8773
+ colour is judged. `partial-top`, `depth-tie` and `mixed-source-states` are
8774
+ material the record could not decide. In the setup pose, occluded texels
8775
+ normally lie under the part that hid them. A key that moves that part away
8776
+ shows them, and that is what this line counts.
8777
+
8778
+ The reading is taken on the gated build, frame by frame, with rig-c's renderer
8779
+ (`@rig-c/core/render-shared`) at stage scale 1. It covers the setup pose and
8780
+ every frame of every animation at 12 fps. A stage pixel counts for a part and a
8781
+ state when all of these hold:
8782
+
8783
+ - **drawn**: the part's piece paints the pixel at 128/255 or more, with its own
8784
+ page and tint. This is rig-c's own `drawnCells` test (`DRAWN_ALPHA`);
8785
+ - **uncovered**: no piece later in the frame's draw order paints that pixel at
8786
+ 128/255 or more;
8787
+ - **shows the state**: the same piece, re-seated through its own art UVs on an
8788
+ indicator page (alpha 255 on the map's texels of that state, 0 elsewhere,
8789
+ tint 1), paints the pixel at alpha above 0.
8790
+
8791
+ Every one of these is the renderer's own arithmetic on the posed frame, so the
8792
+ count is exact for the frame the renderer draws. It is not an estimate of where
8793
+ a texel lands. A count is of stage pixels at scale 1. It equals texels where a
8794
+ piece is drawn unscaled and pixel-aligned. Where the sampler blends texels of
8795
+ two states into one pixel, that pixel counts for both.
8796
+ Changing the rig scale changes the area sampled on the stage. The renderer
8797
+ also sees only the state map that assembly emitted at that scale. A native
8798
+ state lost during assembly cannot count under its original state in this report.
8799
+
8800
+ Without a declaration the line is a measurement: it prints `REPORTED` and is
8801
+ never a pass. To hold it to a number, declare a limit in the requirements file.
8802
+ The limit is the most stage pixels of one state one part may show in one frame:
8803
+
8804
+ ```json
8805
+ { "spec": "spine-parts-requirements/1", "fps": 12, "requirements": [], "source_exposure": { "max_px": 0 } }
8806
+ ```
8807
+
8808
+ Over the limit is [`CHECK_SOURCE_EXPOSURE`](#CHECK_SOURCE_EXPOSURE), with the
8809
+ part, state, stage pixels and frame named. A declared reading that cannot be
8810
+ taken is [`CHECK_SOURCE_EXPOSURE_UNMEASURED`](#CHECK_SOURCE_EXPOSURE_UNMEASURED).
8811
+ A map that does not match its part is refused before anything is built:
8812
+ [`PARTS_SOURCE_STATE_MAP_SHA256`](#PARTS_SOURCE_STATE_MAP_SHA256),
8813
+ [`PARTS_SOURCE_STATE_MAP_COUNTS`](#PARTS_SOURCE_STATE_MAP_COUNTS) and the rest of
8814
+ that family. A rig with no map and no declaration reads nothing here, and its
8815
+ `check.json` and console do not change. Alternate sets are not measured.
8816
+
8817
+ What an author changes when a row shows material that should not be seen:
8818
+
8819
+ - keep the covering part over it in that pose: the key, or the bone, that moves
8820
+ the cover away;
8821
+ - paint the material, with an `under` image or an edited part, then re-run
8822
+ assemble, so those texels leave the record;
8823
+ - or accept it and raise `max_px` knowingly.
8824
+
8825
+ No public example carries a visibility record, so none writes a map and none of
8826
+ their `expected/` moves. The suite `boundary-colour` holds the hand-counted
8827
+ fixture (`SX01`-`SX17`): a mapped part drawn through a linked mesh is unmeasured and fails `max_px` 0, and a folded mesh whose posed triangles overlap counts each stage pixel once.
8828
+
8569
8829
  ### Behind-part seams (issue #1314)
8570
8830
 
8571
8831
  The optional `behind_seams` object in `spine-parts-requirements/1` activates
@@ -9056,9 +9316,11 @@ context, raw export writes the legacy art-only manifest/files even if its input
9056
9316
  has already-bound in-memory sheets. `layers --export` retains that default.
9057
9317
  `comfy seethrough --config <file> --depth-run <full|head>` uses the early layers
9058
9318
  config loader before contacting the box. The config depth block and named run
9059
- select binding; the run is never guessed from the uploaded image. Without the
9060
- block no depth hints are checked or fetched, including fresh wrapper outputs.
9061
- With it, declared downloads and the staging reader must pass before emission.
9319
+ select geometry binding; the run is never guessed from the uploaded image.
9320
+ Fresh wrapper outputs can include saved depth PNGs for the
9321
+ [visibility record](#see-through-layer-visibility) independently of geometry
9322
+ binding. With the depth block, declared geometry sources and the staging reader
9323
+ must pass before emission.
9062
9324
  Relative fallback paths use the actual config directory. `--depth-run` without
9063
9325
  a depth block is a usage error; a block without a named run is also refused.
9064
9326
 
@@ -9732,8 +9994,10 @@ differ between vertices. The [corrected #804 acceptance](https://github.com/rig-
9732
9994
  checks vertex correspondence and reports those residuals per fixture; the
9733
9995
  contract records the measured grid residual and preserves its seam readings.
9734
9996
  No-image builds keep the legacy output bytes. `comfy seethrough --config <file> --depth-run <full|head>`
9735
- uses the same opt-in; its default captures art only. Standalone authored part
9736
- references remain active declarations. See [the input contract and refusals](AUTHORING.md#per-layer-depth-sheets-773).
9997
+ uses the same opt-in for geometry. Default See-through capture also writes
9998
+ a [visibility record](#see-through-layer-visibility) when the wrapper supplies
9999
+ the required writer depth. Standalone authored part references remain active
10000
+ declarations. See [the input contract and refusals](AUTHORING.md#per-layer-depth-sheets-773).
9737
10001
 
9738
10002
  ### Whole-figure difference inventory
9739
10003
 
@@ -9916,8 +10180,8 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
9916
10180
  <!-- check-row-table:begin -->
9917
10181
  | Row family | Registered JSON paths | row_scope | row_kind | row_subjects (producer expression) | Producer |
9918
10182
  | --- | --- | --- | --- | --- | --- |
9919
- | `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:3711](../src/check.ts#L3711) |
9920
- | `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:3673](../src/check.ts#L3673) |
10183
+ | `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:3731](../src/check.ts#L3731) |
10184
+ | `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:3691](../src/check.ts#L3691) |
9921
10185
  | `ART_JOINT_DISTANCE.joints` | `ART_JOINT_DISTANCE.joints` | 'rig' | finding when status === 'FAIL'; otherwise evidence | [] | [artjoints.ts:86](../src/artjoints.ts#L86) |
9922
10186
  | `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) |
9923
10187
  | `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) |
@@ -9933,51 +10197,53 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
9933
10197
  | `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) |
9934
10198
  | `BOUNDARY_COLOUR_STEP.over` | `BOUNDARY_COLOUR_STEP.over` | 'pair' | finding | r.parts | [boundarycolour.ts:221](../src/boundarycolour.ts#L221) |
9935
10199
  | `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) |
9936
- | `CLOTH_SETTLES.rows` | `CLOTH_SETTLES.rows` | 'rig' | finding when speeds.length > 0 && s < speeds.length; otherwise evidence | [] | [check.ts:6158](../src/check.ts#L6158) |
10200
+ | `CLOTH_SETTLES.rows` | `CLOTH_SETTLES.rows` | 'rig' | finding when speeds.length > 0 && s < speeds.length; otherwise evidence | [] | [check.ts:6180](../src/check.ts#L6180) |
9937
10201
  | `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) |
9938
- | `FEET_STAY_LEVEL.feet` | `FEET_STAY_LEVEL.feet` | 'part' | finding when row.status === 'FAIL'; otherwise evidence | [row.part] | [check.ts:3912](../src/check.ts#L3912) |
9939
- | `FEET_STAY_LEVEL.feet[].worst.through` | `FEET_STAY_LEVEL.feet[].worst.through` | 'rig' | evidence | [] | [check.ts:3887](../src/check.ts#L3887) |
9940
- | `LIMB_ONE_BONE.parts` | `LIMB_ONE_BONE.parts` | 'part' | finding when fail; otherwise evidence | [p.name] | [check.ts:4204](../src/check.ts#L4204) |
10202
+ | `FEET_STAY_LEVEL.feet` | `FEET_STAY_LEVEL.feet` | 'part' | finding when row.status === 'FAIL'; otherwise evidence | [row.part] | [check.ts:3933](../src/check.ts#L3933) |
10203
+ | `FEET_STAY_LEVEL.feet[].worst.through` | `FEET_STAY_LEVEL.feet[].worst.through` | 'rig' | evidence | [] | [check.ts:3908](../src/check.ts#L3908) |
10204
+ | `LIMB_ONE_BONE.parts` | `LIMB_ONE_BONE.parts` | 'part' | finding when fail; otherwise evidence | [p.name] | [check.ts:4226](../src/check.ts#L4226) |
9941
10205
  | `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) |
9942
10206
  | `PART_SUPPORT_REPORT.raw_pairs` | `PART_SUPPORT_REPORT.raw_pairs` | 'pair' | evidence | [F.name, B.name] | [coincide.ts:110](../src/coincide.ts#L110) |
9943
10207
  | `PART_SUPPORT_REPORT.unowned.regions` | `PART_SUPPORT_REPORT.unowned.regions` | 'rig' | finding | [] | [coincide.ts:145](../src/coincide.ts#L145) |
9944
10208
  | `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) |
9945
- | `SEAM_OVER_MOTION.pairs` | `SEAM_OVER_MOTION.pairs` | 'pair' | evidence | [p.a, p.b] | [check.ts:5555](../src/check.ts#L5555) |
9946
- | `SEAM_OVER_MOTION.required.pairs` | `SEAM_OVER_MOTION.required.pairs` | 'pair' | finding when open > 0; otherwise evidence | [p.a, p.b] | [check.ts:4874](../src/check.ts#L4874) |
9947
- | `SEAM_OVER_MOTION.required.pairs[].open_frames` | `SEAM_OVER_MOTION.required.pairs[].open_frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:4866](../src/check.ts#L4866) |
9948
- | `SEAM_OVER_MOTION.roots.unmeasured` | `SEAM_OVER_MOTION.roots.unmeasured` | 'part' | evidence | [root.part] | [check.ts:5532](../src/check.ts#L5532) |
9949
- | `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:5489](../src/check.ts#L5489), [check.ts:5561](../src/check.ts#L5561) |
9950
- | `SEAM_OVER_MOTION.rows[].cells` | `SEAM_OVER_MOTION.rows[].cells` | 'pair' | evidence | [want.a, want.b] | [check.ts:5502](../src/check.ts#L5502) |
9951
- | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | 'pair' | evidence | [want.a, want.b] | [check.ts:5492](../src/check.ts#L5492) |
10209
+ | `SEAM_OVER_MOTION.pairs` | `SEAM_OVER_MOTION.pairs` | 'pair' | evidence | [p.a, p.b] | [check.ts:5577](../src/check.ts#L5577) |
10210
+ | `SEAM_OVER_MOTION.required.pairs` | `SEAM_OVER_MOTION.required.pairs` | 'pair' | finding when open > 0; otherwise evidence | [p.a, p.b] | [check.ts:4896](../src/check.ts#L4896) |
10211
+ | `SEAM_OVER_MOTION.required.pairs[].open_frames` | `SEAM_OVER_MOTION.required.pairs[].open_frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:4888](../src/check.ts#L4888) |
10212
+ | `SEAM_OVER_MOTION.roots.unmeasured` | `SEAM_OVER_MOTION.roots.unmeasured` | 'part' | evidence | [root.part] | [check.ts:5554](../src/check.ts#L5554) |
10213
+ | `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:5511](../src/check.ts#L5511), [check.ts:5583](../src/check.ts#L5583) |
10214
+ | `SEAM_OVER_MOTION.rows[].cells` | `SEAM_OVER_MOTION.rows[].cells` | 'pair' | evidence | [want.a, want.b] | [check.ts:5524](../src/check.ts#L5524) |
10215
+ | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | `SEAM_OVER_MOTION.rows[].joint_contact.reasons` | 'pair' | evidence | [want.a, want.b] | [check.ts:5514](../src/check.ts#L5514) |
9952
10216
  | `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) |
9953
- | `SEAM_OVER_MOTION.worlds.*.rows` | `SEAM_OVER_MOTION.worlds.*.rows` | 'pair' | evidence | [want.a, want.b] | [check.ts:5486](../src/check.ts#L5486) |
9954
- | `SEAM_OVER_RANGE.joints` | `SEAM_OVER_RANGE.joints` | 'part' | evidence; finding when poses.some(p => p.status === 'FAIL'); otherwise evidence | [j.part] | [check.ts:4528](../src/check.ts#L4528), [check.ts:4574](../src/check.ts#L4574) |
9955
- | `SEAM_OVER_RANGE.joints[].poses` | `SEAM_OVER_RANGE.joints[].poses` | 'part' | finding when fail; otherwise evidence | [j.part] | [check.ts:4572](../src/check.ts#L4572) |
10217
+ | `SEAM_OVER_MOTION.worlds.*.rows` | `SEAM_OVER_MOTION.worlds.*.rows` | 'pair' | evidence | [want.a, want.b] | [check.ts:5508](../src/check.ts#L5508) |
10218
+ | `SEAM_OVER_RANGE.joints` | `SEAM_OVER_RANGE.joints` | 'part' | evidence; finding when poses.some(p => p.status === 'FAIL'); otherwise evidence | [j.part] | [check.ts:4550](../src/check.ts#L4550), [check.ts:4596](../src/check.ts#L4596) |
10219
+ | `SEAM_OVER_RANGE.joints[].poses` | `SEAM_OVER_RANGE.joints[].poses` | 'part' | finding when fail; otherwise evidence | [j.part] | [check.ts:4594](../src/check.ts#L4594) |
9956
10220
  | `SETUP_MATCHES_PAINTING.regions` | `SETUP_MATCHES_PAINTING.regions` | 'rig' | finding when status === 'FAIL'; otherwise evidence | [] | [setuppainting.ts:175](../src/setuppainting.ts#L175) |
9957
10221
  | `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) |
9958
- | `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:9317](../src/check.ts#L9317) |
9959
- | `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:9303](../src/check.ts#L9303), [check.ts:9308](../src/check.ts#L9308) |
9960
- | `STRESS_OFF_CHAIN.not_read` | `STRESS_OFF_CHAIN.not_read` | 'part' | evidence | [r.part] | [check.ts:4132](../src/check.ts#L4132) |
9961
- | `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:4120](../src/check.ts#L4120) |
9962
- | `STRESS_OFF_CHAIN.per_part[].off_chain` | `STRESS_OFF_CHAIN.per_part[].off_chain` | 'part' | evidence | [r.part] | [check.ts:4120](../src/check.ts#L4120) |
9963
- | `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:4088](../src/check.ts#L4088), [check.ts:4106](../src/check.ts#L4106) |
9964
- | `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:9967](../src/check.ts#L9967), [check.ts:9977](../src/check.ts#L9977) |
9965
- | `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:8692](../src/check.ts#L8692), [check.ts:8697](../src/check.ts#L8697), [check.ts:8718](../src/check.ts#L8718), [check.ts:8729](../src/check.ts#L8729) |
9966
- | `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:6662](../src/check.ts#L6662) |
9967
- | `WIND_BAND.pairs[].steps` | `WIND_BAND.pairs[].steps` | 'pair' | finding when !s.holds; otherwise evidence | [p.a, p.b] | [check.ts:6673](../src/check.ts#L6673) |
9968
- | `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:5979](../src/check.ts#L5979) |
9969
- | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7731](../src/check.ts#L7731) |
9970
- | `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8060](../src/check.ts#L8060) |
9971
- | `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8060](../src/check.ts#L8060) |
9972
- | `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:8060](../src/check.ts#L8060) |
9973
- | `seam_cells.frames` | `frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:4863](../src/check.ts#L4863) |
9974
- | `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:4823](../src/check.ts#L4823) |
9975
- | `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:2558](../src/check.ts#L2558) |
9976
- | `seam_scope.changes` | `seam_scope.changes`; `sets.*.seam_scope.changes` | 'rig' | evidence | [] | [check.ts:2036](../src/check.ts#L2036) |
9977
- | `seam_scope.domain.states` | `seam_scope.domain.states`; `sets.*.seam_scope.domain.states` | 'rig' | evidence | [] | [check.ts:2121](../src/check.ts#L2121) |
9978
- | `seam_scope.pairs` | `seam_scope.pairs`; `sets.*.seam_scope.pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:7590](../src/check.ts#L7590) |
9979
- | `seam_scope.population.pairs` | `seam_scope.population.pairs`; `sets.*.seam_scope.population.pairs` | 'pair' | evidence | row.parts | [check.ts:2492](../src/check.ts#L2492) |
9980
- | `seam_scope.population.single_art` | `seam_scope.population.single_art`; `sets.*.seam_scope.population.single_art` | 'part' | evidence | [row.part] | [check.ts:2493](../src/check.ts#L2493) |
10222
+ | `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) |
10223
+ | `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) |
10224
+ | `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:9352](../src/check.ts#L9352) |
10225
+ | `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:9338](../src/check.ts#L9338), [check.ts:9343](../src/check.ts#L9343) |
10226
+ | `STRESS_OFF_CHAIN.not_read` | `STRESS_OFF_CHAIN.not_read` | 'part' | evidence | [r.part] | [check.ts:4154](../src/check.ts#L4154) |
10227
+ | `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:4142](../src/check.ts#L4142) |
10228
+ | `STRESS_OFF_CHAIN.per_part[].off_chain` | `STRESS_OFF_CHAIN.per_part[].off_chain` | 'part' | evidence | [r.part] | [check.ts:4142](../src/check.ts#L4142) |
10229
+ | `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:4110](../src/check.ts#L4110), [check.ts:4128](../src/check.ts#L4128) |
10230
+ | `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:10002](../src/check.ts#L10002), [check.ts:10012](../src/check.ts#L10012) |
10231
+ | `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:8727](../src/check.ts#L8727), [check.ts:8732](../src/check.ts#L8732), [check.ts:8753](../src/check.ts#L8753), [check.ts:8764](../src/check.ts#L8764) |
10232
+ | `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:6684](../src/check.ts#L6684) |
10233
+ | `WIND_BAND.pairs[].steps` | `WIND_BAND.pairs[].steps` | 'pair' | finding when !s.holds; otherwise evidence | [p.a, p.b] | [check.ts:6695](../src/check.ts#L6695) |
10234
+ | `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:6001](../src/check.ts#L6001) |
10235
+ | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7764](../src/check.ts#L7764) |
10236
+ | `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8095](../src/check.ts#L8095) |
10237
+ | `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8095](../src/check.ts#L8095) |
10238
+ | `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:8095](../src/check.ts#L8095) |
10239
+ | `seam_cells.frames` | `frames` | 'pair' | evidence | [p.a, p.b] | [check.ts:4885](../src/check.ts#L4885) |
10240
+ | `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:4845](../src/check.ts#L4845) |
10241
+ | `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:2571](../src/check.ts#L2571) |
10242
+ | `seam_scope.changes` | `seam_scope.changes`; `sets.*.seam_scope.changes` | 'rig' | evidence | [] | [check.ts:2049](../src/check.ts#L2049) |
10243
+ | `seam_scope.domain.states` | `seam_scope.domain.states`; `sets.*.seam_scope.domain.states` | 'rig' | evidence | [] | [check.ts:2134](../src/check.ts#L2134) |
10244
+ | `seam_scope.pairs` | `seam_scope.pairs`; `sets.*.seam_scope.pairs` | subjects.length === 0 ? 'rig' : subjects.length === 1 ? 'part' : 'pair' | evidence | subjects | [check.ts:7618](../src/check.ts#L7618) |
10245
+ | `seam_scope.population.pairs` | `seam_scope.population.pairs`; `sets.*.seam_scope.population.pairs` | 'pair' | evidence | row.parts | [check.ts:2505](../src/check.ts#L2505) |
10246
+ | `seam_scope.population.single_art` | `seam_scope.population.single_art`; `sets.*.seam_scope.population.single_art` | 'part' | evidence | [row.part] | [check.ts:2506](../src/check.ts#L2506) |
9981
10247
 
9982
10248
  | Open serialized type path | Reason for schema exclusion |
9983
10249
  | --- | --- |