rig-parts 2.55.0 → 2.57.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
@@ -23,14 +23,14 @@ A path this page names that the installed package does not hold — anything und
23
23
  `bun run` names — is in the repository, https://github.com/rig-c/parts; the package holds the files
24
24
  `package.json` lists under `files` (`npm pack --dry-run` prints them).
25
25
 
26
- For repository changes, run `bun run selftest:pre` on an ordinary Nova slot,
26
+ For repository changes, run `bun run selftest:pre` on an ordinary slot of the remote job pool,
27
27
  beside the change's targeted suites (or add them with
28
28
  `bun run selftest:pre -- --only rig,propose`). Its fixed minimum forms are demo's
29
29
  AE02, TY12/TY16, one demo build with CH04/CH05 goldens, and declaration ownership
30
30
  plus RT14, accounting and the family-memory check. It uses one worker and needs
31
31
  demo's pinned inputs. Missing inputs, SKIPs and HOLEs cannot pass. Its result
32
32
  covers those forms only: **the full forms and full-tree verdict belong to PR CI**.
33
- [CONTRIBUTING](../CONTRIBUTING.md#before-you-open-a-pull-request) records their
33
+ [CONTRIBUTING](https://github.com/rig-c/parts/blob/main/CONTRIBUTING.md#before-you-open-a-pull-request) records their
34
34
  historical derivation, the selected forms and the separate pre/ordinary-PARTIAL
35
35
  exit contracts.
36
36
 
@@ -113,6 +113,16 @@ head run on `st_input_head.png` is what gives the eyes more pixels
113
113
  crops; at the 1024 the examples ran, the full run's right eye white is 22×13 px
114
114
  and the head run's 60×38: the head run is still needed.
115
115
 
116
+ ### See-through Space input source reading
117
+
118
+ Use the square `inputs` outputs on the Space too. Its [app calls `apply_layerdiff`](https://huggingface.co/spaces/24yearsold/see-through-demo/blob/049a1ab07908e404aad03f73431dd1a98f88202c/app.py#L110-L118),
119
+ which [calls `center_square_pad_resize`](https://huggingface.co/spaces/24yearsold/see-through-demo/blob/049a1ab07908e404aad03f73431dd1a98f88202c/common/utils/inference_utils.py#L78-L83).
120
+ That [preprocessing function](https://huggingface.co/spaces/24yearsold/see-through-demo/blob/049a1ab07908e404aad03f73431dd1a98f88202c/common/utils/cv.py#L254-L274)
121
+ pads a non-square upload before resizing; the centre-crop reported in
122
+ [#356](https://github.com/rig-c/parts/issues/356) is not the current source path.
123
+ `st_input_full.png` supplies the explicit white padding that rig-parts maps back
124
+ to the original painting. This is a source inspection, not a new demo run.
125
+
116
126
  ## 2. The folder
117
127
 
118
128
  Nothing in rig-parts requires a layout; every command takes paths. The one the
@@ -188,7 +198,7 @@ read by no CPU stage).
188
198
  | `bones` | rig; `propose --from-config` | **proposed** by `propose`, then corrected. A single bone `{name, parent, at, tip?}` or a chain `{chain, parent, points, tip, link_inherit?}` whose links are named `<chain>0 … <chain>n`. Parents come before children. In `rig.json` each link is **turned along its chain** — `rotation` is the direction from its origin to the next link's (the last link's to `tip`) and `length` that distance (issue #73), so a physics constraint added downstream finds a lever; under `--idle-keys ctl` the link's `<link>_ctl` carries the turn and the length and the link sits at local rotation 0 beneath it. A single bone with a `tip` is turned the same way, towards its tip, with that distance as its length (issue #239); a tip on the bone's own origin is refused (`RIG_TIP_DISTINCT`). The five face bones `eye_r`, `eye_l`, `brow_r`, `brow_l` and `mouth` (by name, when one has no tip of its own) are turned to the eye line — the line through the origins of `eye_r` and `eye_l` as `bones` writes them, read image-left to image-right, drawn when parts.json holds both an `eyewhite-r` and an `eyewhite-l` part — so the blink's `scaley` squashes across the eye line on a tilted head; move an eye bone and the line moves with it. With one eyewhite or none, or an eye bone missing, the rig stage's `face axis:` line says so and they keep the page's axes. A bone under a face bone keeps the face's axis. With the line, `rig.json` also declares `invariants.axes` — one entry, `"face"`, through `eye_r` and `eye_l`, holding the turned face bones (and their controls) — so rig-c's gate holds the build to the line; the line is the one rigc draws through the same two bones, so the tolerance is only the float floor — the largest gap the emitted (float32) bones have to it, rounded up to 6 places plus one 6-place unit — and the `face axis:` line prints it. With the line the rig stage also adds `head_up` (issue #250): a slotless bone under `head`, at head's origin, turned to the eye line + 90 degrees and as long as the eye midpoint lies from head's origin along that axis — the head's frame, which a rule that needs it reads; `head` keeps its own frame, so no key on it or under it changes meaning, and a config bone of that name is refused (`RIG_HEAD_UP_NAME_FREE`). A face bone with its own `tip` is held too (issue #258), in a second entry, `"face_tips"`, when its tip lies along the line within whole-pixel rounding — a tip written in whole pixels sits at most sqrt(2)/2 px off the point of the line it stands for, so its direction may sit up to asin((sqrt(2)/2) / length) degrees off — with its tolerance measured the same way; a tip further off is the bone's own axis, and the `face axis:` line names it with its gap and that bound. A failure is rig-c's `A51_BONES_LIE_ALONG_THEIR_DECLARED_AXIS` line, which names the bone and the fix (rig-c's `docs/AUTHORING.md` §3.7 and §5.2); with no line no entry is written and A51 reports SKIP. Every region on a turned bone is turned back, so the setup pose does not move. Any other single bone keeps world rotation 0; one whose parent is a link is turned back upright. A single bone may declare `inherit` (issue #348): what it takes from its parent's transform, one of rig-c's own mode names exactly as rig-c's table spells them — `normal`, `onlyTranslation`, `noRotationOrReflection`, `noScale`, `noScaleOrReflection` (rig-c's `RigBone.inherit`) — written to that bone in `rig.json` as declared; any other spelling, `"NoScale"` included (the runtime would fold its first letter; nothing here folds or maps), is refused (`CONFIG_BONE_INHERIT`), and a chain takes no `inherit` (`CONFIG_KEY_KNOWN`). A chain may instead declare `link_inherit` (issue #369), an object mapping its own expanded link names to those same modes, for example `"link_inherit": {"leg_r1": "noScale"}`. Only the named link changes; omitted links inherit normally. A key outside this chain is `CONFIG_NAME_RESOLVES`, with this chain's valid link names in the detail; a non-object or non-string mode is `CONFIG_FIELD_TYPE`, and another mode spelling is `CONFIG_BONE_INHERIT`. The mode is forwarded to the expanded link, or to its control under `--idle-keys ctl`, by the same rule as a single bone. This is an authored opt-in: `propose` does not add it. Its setup rotation is the turn from where rig-c's own poser puts the bone with no rotation of its own under that mode, so it still stands upright (or along its tip) at the setup pose. Where the idle gives the bone a `<bone>_ctl`, the mode goes on the control: the control is the bone the parent's rotation reaches, and the bone under it inherits normally, so the idle's keys moved onto the control still turn it. A foot that does not take its shin's rotation (`noRotationOrReflection` or `onlyTranslation`) keeps its shoe level while the leg is posed (`FEET_STAY_LEVEL`, §7); which mode is the author's. `noScale` keeps a shin or shoe's shape under a scaled parent but still takes the parent's rotation: a shoe that must also stay level needs a separate rotation constraint, for example a transform constraint from an unrotated bone. This does not change the proposed feet's existing inheritance or `FEET_STAY_LEVEL` default. An automatic mesh weighted through a bone with a mode other than `normal` gets no derived amplitude (its row names the bone) and no residual envelope (rig-c's `SKINNING_RANGE_UNSUPPORTED`). Absent, `rig.json` carries no `inherit` and no byte moves |
189
199
  | `meshes.<part>` | rig | **proposed**, then corrected. Generated modes below; `explicit` transfers an accepted mesh (see “An accepted mesh”). Exactly one mode is allowed. `grid` (the lattice: cell size, px — what `propose` writes for non-torso parts: by default one spacing for the figure, round(H / 37) rig px with H the height of every part's box together, a part whose tenth of its short side is already coarser keeping that, and under `propose --grid-rule part` the reference's tenth of the part's short side clamped to 5..36, issue #265), `contour` (the outline mode, authored or drafted for the chest carrier; the next row and "A contour mesh" below) or `auto` (the automatic mode, authored; "An automatic mesh" below) — two, or none, is `CONFIG_MESH_MODE`. In distance-generated modes: `r` (added to every distance before weighting: `w = 1/(d + r)²`), `segments` (a chain name, a bone name with a `tip`, or `[bone, [x0,y0], [x1,y1]]`), and, **authored**, optional, `exponent` (issue #161): a number above 0 that replaces the 2 in that rule, `w = 1/(d + r)^exponent` — a larger one hands each vertex more fully to its nearest bone; absent is 2 and changes no byte, a value that is not a number above 0 is `CONFIG_FIELD_TYPE` at `meshes.<part>.exponent`, and a declared one is echoed as `exponent` in the mesh's `mesh_report.json` row; the exponent is the distance rule's, so declared beside `rule: "heat"` it is refused (`CONFIG_FIELD_TYPE` at `meshes.<part>.exponent`). The segment list is the one authored decision about a layer: which bones may pull it. The slot's bone is the first segment's. Optional `rule` (issue #161): `"distance"` — the rule above, and what an absent `rule` means (every byte is the same) — or `"heat"`, bone heat over the part's own silhouette, in every mode: the lattice's art (alpha above 8, less any island a declared `stray` left out) with holes filled, or for `contour` and `auto` the silhouette their outline is traced from (that mode's art — alpha above 8 for `contour`, alpha 1 and above for `auto` — less any island a declared `stray` left out, holes filled, grown by its `margin`); each bound bone's sources are the silhouette pixels whose centre lies within 0.75 px of its segment (a pixel two bones reach goes to the nearer, a tie to the first listed), held at 1 for that bone and 0 for the others; the field is solved by row-major Gauss–Seidel over-relaxation to a sweep change under 1e-7 within 20000 sweeps; a vertex reads the nearest silhouette pixel and takes the same cap and floor (and `regions`) as the distance rule; `r` is not read. The mesh's `mesh_report.json` row gains `heat` (the constants, each bone's sources and sweeps, the residual). Any other value is `CONFIG_FIELD_TYPE`; a bound bone with no source pixel is `RIG_HEAT_BONE_SOURCE`, an island no bone has a source in `RIG_HEAT_ISLAND_SOURCE`, a solve past its sweep bound `RIG_HEAT_CONVERGED` — none is weighted 0. The rule is chosen per mesh, so `RIG_HEAT_BONE_SOURCE` names three remedies: move the segment onto the art, take the bone out of `segments`, or keep this part on the distance rule — the one to take when the bone anchors the part from outside its art (a torso bone under a neck), since the first moves a bone another part placed and the second drops the anchor (issue #303). On a lattice, `RIG_HEAT_ISLAND_SOURCE` on an island that is dust — at most 4 px and at most 0.1 % of the part's art px, `mesh-draft`'s line — names `meshes.<part>.stray` and the figure that leaves it out, with the value declared; an island above that line keeps the segment remedy, a real piece being a real authoring question. In every mode the mesh's `mesh_report.json` row's `bones` names the bones the emitted model binds for the attachment — the sorted set its weights in the written `rig.json` name, so a `turn` twin (`turn_<part>_<bone>`) or a stopped link's `<link>_d` where those rebind it, never the segment bone it stands for — the same list in every mode, `remesh --delta`'s included (issue #536) Optional `gather: false` keeps an exclusively bound non-segment limb rider at its authored draw position (issue #680); its binding and mesh geometry are unchanged. Remove the key for normal gathering; a non-rider is refused as `RIG_GATHER_RIDER`. `propose` drafts the chest-holding topwear as `contour` instead (issue #986), using the figure tolerance and spacing described below. For a one-layer figure it drafts `trunk_chest` as contour. Other garments keep their existing modes. |
190
200
  | `meshes.<part>.influence` | rig | **authored**, optional (issue #378), a mode beside `grid`, `contour` and `auto`: `{cell, radius, across, max, shape, hold_tip?}`, every field but `hold_tip` required, none defaulted. rig-c's `segments` lattice over the part at `cell` px, each vertex pulled by every link of the mesh's `segments` within `radius` px of it — a pull that falls to exactly 0 at `radius` (`shape` `"linear"` or `"smooth"`), across the `segments` entries or only within the nearest one (`across`), the strongest `max` kept. The lattice and the shares are computed by rig-c's own promised functions (`buildSegmentsLattice`, `segmentDistance`, `influenceShares`), so the rule is rig-c's (its AUTHORING §3.4.7), and the mesh is written with explicit weights like every other mode. `radius` is a length on this part: the rig stage measures the farthest lattice vertex's distance to its nearest link and refuses a radius at or under it (`RIG_INFLUENCE_REACH`), naming the distance. `propose --cloth` drafts it when a recipe declares `influence` and no `radius` (issue #518): the farthest vertex's distance plus 3 of the part's lattice cells, printed on a `LINT` line with both figures. Measured on the cloth fixture and the public `wind` example (#513: 8 covered parts, `render --folds` with the physics on under wind and a hip sway of 8° and 30°): a radius just above the floor folds **more** than the lattice (one skirt went from 0 to 55 folded frames), and a larger one is **not** safer (one fringe folded again at about 3–4× its farthest distance); +2 to +6 cells read 0 on every part, +2 at the edge. That reading counted folds only; read against `check` as well (the rig as built, under the wind schedule +1 → −1 → calm, `build --environment`, the three covered `wind` parts at the same number of cells), the window that holds is **+2 to +3 cells**, and +4 is the ceiling: `wind` `bottomwear`'s `CHECK_TIP_OVER_ROOT` ratio is 1.898 on the lattice, 1.801 at +2 cells, 1.590 at +3 and **1.471 at +4**, under the floor 1.4725, so the build fails there, and 1.351 at +6 (#513, rig-parts 1.52.0, rigc 2.60.0; the lattice, +3 and +4 read again on rig-parts 1.54.0, rigc 2.60.0, the same figures, #599). The drafted +3 sits in that window, one cell under the ceiling (no radius between +3 and +4 was read), and the window is a hypothesis until a third subject — each edge rests on one part — so state `radius` in the recipe to keep your own. `r`, `exponent`, `rule`, `influences`, `stray` and `ribs` belong to the distance rule or another mode and are refused beside it (`CONFIG_INFLUENCE_MODE`). `hold_tip` (issue #615) — `true` only, or absent: the pulled shares are smoothed by the lattice's held-fork passes (the cloth recipe's `split.hold_tip` sentence below: four passes of 1-ring mesh-edge averaging, self weight 0.5, floor 0.005) capped at the declared `max`, so no vertex binds more than `max` bones; absent, the shares are rig-c's as pulled and every byte is the one written before the field existed (`false`, a second spelling of absent, is `CONFIG_FIELD_TYPE`). The mesh's `mesh_report.json` row echoes it in `influence`. `propose --cloth` writes it, with `max` raised to at least 8 (the lattice's smoothing cap), on the parts a recipe with `influence` and `split.hold_tip: true` meshes; the rig stage reads it off the mesh and never the recipe. Measured on `wind` `bottomwear` and the cloth fixture's skirt under a 60° hip sway (#615, `render --folds`, physics on): `wind` `bottomwear` folds 41 frames as drafted before the field (max 6) and **0** with `hold_tip` and max 8, against its lattice's 5; with `hold_tip` at max 6 it reads 23, and at max 8 without `hold_tip` 3; the fixture skirt (recipe given `split.hold_tip`) reads 20 before and 0 with it, against its lattice's 0, and 0 at max 8 without it. So the raised `max` carries most of the gap and the smoothing the rest on `wind` (rig-parts 1.54.0, rigc 2.60.0; a split skirt without `hold_tip` is not smoothed and reads its 44 as before). For cloth and hair that should bend as one surface across its chains |
191
- | `meshes.<part>.contour` | rig | **authored or proposed**, optional (issue #84): `{tolerance, margin, spacing, maxEdge?, budget?, stray?, bridges?, regions?, bust?}`. `tolerance` — rig-c's Douglas–Peucker tolerance on the traced outline, px, 0 or more; `margin` — how far the silhouette grows before it is traced, px: 0, or 1 or more (a pixel joins when its centre lies within `margin` of an art pixel's centre; a value above 0 and below 1 adds nothing and is refused, `CONFIG_FIELD_TYPE`); `spacing` — the background interior spacing, px, above 0; `maxEdge` (issue #265) — the longest outline edge, px, above 0: every simplified edge longer than it is cut into `ceil(length / maxEdge)` equal pieces, each cut point on the 1/256 px grid, before any region or rib touches the outline (absent: nothing is cut, and no byte moves; under 2/256 px the rig stage refuses it, `CONTOUR_PARAMETER`, because two cut points could snap together); the row echoes it in `params` and counts the points it added in `contour.outlineCut`, both only when declared; `budget` — the most vertices the mesh may have (refused above it, nothing thinned); `stray` — the largest island, in art pixels, that may be left out of the mesh (absent: none is); `bridges` (issue #326) — `true`, its one value: islands are read in this order — **dust first** (those `stray` leaves out), **then faint islands** (every pixel's alpha under 64, a quarter of full opacity: left out the same way, their pixels kept in the image but not meshed, so not drawn, and named in the row's `contour.bridges.faint` with their px, brightest alpha and box), **then every visible island is meshed and bridged, whatever the bridge costs** — overdraw is reported, never a reason to drop art; the largest island, or a tie for it, is never left out, faint or not: dropping it would draft the part without its art, and a part whose main body is faint is a question about the layer, which the plan and the author own, not one for the mesh — and the pieces are joined into the one outline rig-c takes by bridges — the kept islands, holes filled, grow together by `margin`, so islands closer than about twice the margin are one grown silhouette, traced as one; each silhouette is traced, simplified, capped, refined and triangulated as a one-island mesh is; then, starting from the silhouette with the most art, the nearest pair of a vertex on the joined outline and one on a silhouette still apart whose quad holds (wound as the mesh, crossing no outline, holding no other vertex, one closed outline after) is joined by that quad, two triangles over no art, until none is apart. Coverage and overshoot read the silhouettes' triangles; a bridge's area is in `meshArea` and in the row's `contour.bridges` (`islands`, `units`, and per join `unit`, `span` — its two crossing edges, px — `area`, `vertices`, `pair`; and `faint`, only when an island was left out as faint), and the row's `params` echoes `bridges`, both only when declared; `art_coverage` counts a faint island's pixels as art not covered. Absent, a second island is refused as below and no byte moves; on one island it writes the mesh the undeclared entry writes. Any other value is `CONFIG_FIELD_TYPE`; beside `ribs` it is `CONTOUR_PARAMETER` (a rib runs across one outline); a join no pair makes is `CONTOUR_BRIDGE`. A bridge stretches with whatever pulls its two ends apart, so it belongs on a part whose pieces ride one bone — the only case `mesh-draft` drafts; a bridge adds no vertex (issue #570): its four corners, `contour.bridges.joins[].vertices`, are outline vertices of the two silhouettes it joins, and they are weighted as every vertex of the mesh is, by distance to every bone the mesh's `segments` name — no step of the weighting reads which island a vertex lies on, so where two islands ride two bones (two legs in one `legwear` on `leg_r` and `leg_l`) each island's vertices, the corners among them, take weight from the other island's bones too (selftest `CW100`: on its fixture the left island's two corners each take 0.35821 from the right island's bone, and none of its vertices less than 0.30431), and a part whose pieces must not pull each other is split into one part per piece; `regions` — local deformation regions, each `{name, shape, bone, spacing, band}` with `shape` `"circle"` (`cx, cy, r`) or `"polygon"` (`points`, 3 or more): `bone` is the region's control bone (any bone `bones` declares), `spacing` the interior spacing inside the region and its band, `band` the width the bone's weight falls across. Every length and position is **rig px**, like every other in the config; the part image is the rig less `(x − 4, y − 4)` (its box less the pad), a translation, so a length is the same number in both. A region's `cx`, `cy`, `r`, `band` and `points` are multiples of 1/256 px (`CONFIG_FIELD_TYPE` otherwise); region names are unique per mesh (`CONFIG_REGION_NAME_UNIQUE`). `bust` (issue #475) — `{apex_r, apex_l, cleavage, alpha?: 0.22, clearance?: 3.8, bone_r?: "boob_r", bone_l?: "boob_l", spacing?: 14}`: derives the two circular regions `bust_r` and `bust_l` from the three rig-px landmarks `apex_r`, `apex_l` and `cleavage` (multiples of 1/256 px, `CONFIG_FIELD_TYPE` otherwise; projecting the torso midline `neck → chest → hip` onto `apex_r → apex_l` misses the cleavage by 14–93 px across all five calibrated 3/4-yaw characters, so all three points are required). With `d_s = \|cleavage − apex_s\|` and `D = \|apex_r − apex_l\|`, each side `s ∈ {r, l}` is placed at `cx = apex_s[0]`, `cy = apex_s[1]` with outer radius `R_s = d_s − clearance`, core radius `r_s = round(alpha × R_s)` and `band_s = round(R_s) − r_s` (`alpha` = 0.22, `clearance` = 3.8 px, `spacing` = 14 px, `bone_r` = `"boob_r"`, `bone_l` = `"boob_l"` by default, reproducing the five calibrated example characters within `<= 6 px`, max `\|ΔR\| = 5 px`, max `\|Δr\| = 3 px`). Refused when `clearance <= 0`, `R_r + R_l >= D`, or a derived `r_s` or `band_s` is not positive (`CONFIG_BUST_CLEARANCE`), when `bone_r` or `bone_l` is not declared in `bones` (`CONFIG_NAME_RESOLVES`), or when `contour.regions` also names `bust_r` or `bust_l` (`CONFIG_REGION_NAME_UNIQUE`). Both `propose` and `rig` read `contour.bust` through `contourRegionsOf` (`deriveBustRegions`), and hand-written `contour.regions` entries build byte-identically when `bust` is absent. The alpha threshold is not a field: art is alpha above 8, the lattice's and `check`'s Short outline edges amplify a cap or floor step in the vertex weights; the recorded grid, contour, bust and continuous-cut comparison is in "The weight cut" below. |
201
+ | `meshes.<part>.contour` | rig | **authored or proposed**, optional (issue #84): `{tolerance, margin, spacing, maxEdge?, budget?, stray?, bridges?, regions?, bust?}`. `tolerance` — rig-c's Douglas–Peucker tolerance on the traced outline, px, 0 or more; `margin` — how far the silhouette grows before it is traced, px: 0, or 1 or more (a pixel joins when its centre lies within `margin` of an art pixel's centre; a value above 0 and below 1 adds nothing and is refused, `CONFIG_FIELD_TYPE`); `spacing` — the background interior spacing, px, above 0; `maxEdge` (issue #265) — the longest outline edge, px, above 0: every simplified edge longer than it is cut into `ceil(length / maxEdge)` equal pieces, each cut point on the 1/256 px grid, before any region or rib touches the outline (absent: nothing is cut, and no byte moves; under 2/256 px the rig stage refuses it, `CONTOUR_PARAMETER`, because two cut points could snap together); the row echoes it in `params` and counts the points it added in `contour.outlineCut`, both only when declared; `budget` — the most vertices the mesh may have (refused above it, nothing thinned); `stray` — the largest island, in art pixels, that may be left out of the mesh (absent: none is); `bridges` (issue #326) — `true`, its one value: islands are read in this order — **dust first** (those `stray` leaves out), **then faint islands** (every pixel's alpha under 64, a quarter of full opacity: left out the same way, their pixels kept in the image but not meshed, so not drawn, and named in the row's `contour.bridges.faint` with their px, brightest alpha and box), **then every visible island is meshed and bridged, whatever the bridge costs** — overdraw is reported, never a reason to drop art; the largest island, or a tie for it, is never left out, faint or not: dropping it would draft the part without its art, and a part whose main body is faint is a question about the layer, which the plan and the author own, not one for the mesh — and the pieces are joined into the one outline rig-c takes by bridges — the kept islands, holes filled, grow together by `margin`, so islands closer than about twice the margin are one grown silhouette, traced as one; each silhouette is traced, simplified, capped, refined and triangulated as a one-island mesh is; then, starting from the silhouette with the most art, the nearest pair of a vertex on the joined outline and one on a silhouette still apart whose quad holds (wound as the mesh, crossing no outline, holding no other vertex, one closed outline after) is joined by that quad, two triangles over no art, until none is apart. Coverage and overshoot read the silhouettes' triangles; a bridge's area is in `meshArea` and in the row's `contour.bridges` (`islands`, `units`, and per join `unit`, `span` — its two crossing edges, px — `area`, `vertices`, `pair`; and `faint`, only when an island was left out as faint), and the row's `params` echoes `bridges`, both only when declared; `art_coverage` counts a faint island's pixels as art not covered. Absent, a second island is refused as below and no byte moves; on one island it writes the mesh the undeclared entry writes. Any other value is `CONFIG_FIELD_TYPE`; beside `ribs` it is `CONTOUR_PARAMETER` (a rib runs across one outline); a join no pair makes is `CONTOUR_BRIDGE`. A bridge stretches with whatever pulls its two ends apart, so it belongs on a part whose pieces ride one bone — the only case `mesh-draft` drafts; a bridge adds no vertex (issue #570): its four corners, `contour.bridges.joins[].vertices`, are outline vertices of the two silhouettes it joins, and they are weighted as every vertex of the mesh is, by distance to every bone the mesh's `segments` name — no step of the weighting reads which island a vertex lies on, so where two islands ride two bones (two legs in one `legwear` on `leg_r` and `leg_l`) each island's vertices, the corners among them, take weight from the other island's bones too (selftest `CW100`: on its fixture the left island's two corners each take 0.35821 from the right island's bone, and none of its vertices less than 0.30431), and a part whose pieces must not pull each other is split into one part per piece; `regions` — local deformation regions, each `{name, shape, bone, spacing, band, cover?}` with `shape` `"circle"` (`cx, cy, r`) or `"polygon"` (`points`, 3 or more): `bone` is the region's control bone (any bone `bones` declares), `spacing` the interior spacing inside the region and its band, `band` the width the bone's weight falls across, and optional `cover` (issue #1548; non-empty part name, `CONFIG_FIELD_TYPE` otherwise; never drafted by `propose`), on a 2.5D turn `"surface"` part whose region `bone` lies in the other turn group's subtree, names the `"surface"` part in that other group (`turn.roles` for head, `turn.body.roles` for body) whose extended depth sheet supplies the region's other-group depth once at `bone`'s setup position (`g · D(z_cover)` across the band, with full-opacity `alpha === 255` support required on `cover`'s art at `bone`'s setup position, `RIG_TURN_BAND_COVER_SUPPORT`; declaring `cover` on a non-surface part, on a bone in the part's own turn group or outside both turn subtrees, or naming an undeclared, non-`"surface"` or sheetless part is `CONFIG_TURN_BAND_COVER`; absent, the band reads the part's own sheet and no byte moves). Every length and position is **rig px**, like every other in the config; the part image is the rig less `(x − 4, y − 4)` (its box less the pad), a translation, so a length is the same number in both. A region's `cx`, `cy`, `r`, `band` and `points` are multiples of 1/256 px (`CONFIG_FIELD_TYPE` otherwise); region names are unique per mesh (`CONFIG_REGION_NAME_UNIQUE`). `bust` (issue #475) — `{apex_r, apex_l, cleavage, alpha?: 0.22, clearance?: 3.8, bone_r?: "boob_r", bone_l?: "boob_l", spacing?: 14}`: derives the two circular regions `bust_r` and `bust_l` from the three rig-px landmarks `apex_r`, `apex_l` and `cleavage` (multiples of 1/256 px, `CONFIG_FIELD_TYPE` otherwise; projecting the torso midline `neck → chest → hip` onto `apex_r → apex_l` misses the cleavage by 14–93 px across all five calibrated 3/4-yaw characters, so all three points are required). With `d_s = \|cleavage − apex_s\|` and `D = \|apex_r − apex_l\|`, each side `s ∈ {r, l}` is placed at `cx = apex_s[0]`, `cy = apex_s[1]` with outer radius `R_s = d_s − clearance`, core radius `r_s = round(alpha × R_s)` and `band_s = round(R_s) − r_s` (`alpha` = 0.22, `clearance` = 3.8 px, `spacing` = 14 px, `bone_r` = `"boob_r"`, `bone_l` = `"boob_l"` by default, reproducing the five calibrated example characters within `<= 6 px`, max `\|ΔR\| = 5 px`, max `\|Δr\| = 3 px`). Refused when `clearance <= 0`, `R_r + R_l >= D`, or a derived `r_s` or `band_s` is not positive (`CONFIG_BUST_CLEARANCE`), when `bone_r` or `bone_l` is not declared in `bones` (`CONFIG_NAME_RESOLVES`), or when `contour.regions` also names `bust_r` or `bust_l` (`CONFIG_REGION_NAME_UNIQUE`). Both `propose` and `rig` read `contour.bust` through `contourRegionsOf` (`deriveBustRegions`), and hand-written `contour.regions` entries build byte-identically when `bust` is absent. The alpha threshold is not a field: art is alpha above 8, the lattice's and `check`'s Short outline edges amplify a cap or floor step in the vertex weights; the recorded grid, contour, bust and continuous-cut comparison is in "The weight cut" below. |
192
202
  | `meshes.<part>.ribs` | rig | **authored**, optional (issue #188), in the `contour` and `auto` modes: `{<chain>: {stations}, …}`, each key a chain this mesh's `segments` name. Each link of the chain gets a row of vertices across the part at its origin and at `stations` points evenly between its origin and its end (`stations`, a whole number, 0 or more, required; a chain of L links carries L × (stations + 1) ribs), each rib a row of vertices across the part, kept as a row of locked edges; the rule is "Ribs along a chain" under "A contour mesh". Absent places none and changes no byte. Refused: a lattice mesh with ribs (`CONFIG_RIBS_MODE` — its vertices are its grid's corners), a key that is not one of the mesh's chains (`CONFIG_NAME_RESOLVES`), an object naming no chain or a `stations` that is not a whole number from 0 (`CONFIG_FIELD_TYPE`); at the rig stage `CONTOUR_RIB_ART`, `CONTOUR_RIB_LINK`, `CONTOUR_RIB_CROSSING`, `CONTOUR_RIB_EDGE` (the contour refusals). The mesh's `mesh_report.json` row gains `ribs` — the declaration, the ribs placed and the vertices they hold — and its contour report (the source's, in `auto`) lists each rib's vertices |
193
203
  | `meshes.<part>.influences` | rig | **authored or proposed**, optional (issue #284), in the `grid` and `contour` modes: `{maxInfluences?, floor?}`, at least one. `maxInfluences` — the most bones that pull one vertex, a whole number 1 or more, or `null`, no cap (every bone the mesh's `segments` name; `null` is the config's spelling of a bound declared absent, as in `maxOvershoot` and `weightJump`); absent is 4. `floor` — `"cut"` (the capped shares normalised, any under 0.03 dropped, the rest normalised again; what an absent `floor` means) or `"continuous"` (0.03 subtracted from every capped share, those at or below 0 dropped, the rest normalised again, so a bone fades out of a vertex instead of leaving it in one step). Absent, the mesh is weighted at 4 and the cut and every byte is the one written before the field existed; declared, it applies under either `rule`, and is echoed as `influences` in the mesh's `mesh_report.json` row. `propose` writes `{maxInfluences: null, floor: "continuous"}` only on a newly drafted contour torso whose segments name a chain or its links, with a note explaining the short-outline-edge weight step (issues #986, #991). Other drafts and authored contour entries retain their policy, and `mesh-draft` carries a lattice's declaration to the contour candidate it drafts. A cap that is not a whole number 1 or more or `null` (the string `"none"` included), another `floor`, or an object naming neither is `CONFIG_FIELD_TYPE`; a vertex the declared cut leaves with no bone is `RIG_INFLUENCES_KEPT`; beside `auto` it is `CONFIG_INFLUENCES_MODE` (that mode's cap and floor are `auto.influences`). What each setting trades is "The weight cut" below |
194
204
  | `meshes.<part>.stray` | rig | **authored**, optional (issue #303), in the `grid` mode: the largest island, in art pixels, that may be left out of the lattice — the contour mode's `contour.stray`, with the same meaning, over the same islands (the 4-connected islands of the art, alpha above 8): every island of `stray` art px or fewer is cleared from the art the lattice and, under `rule: "heat"`, its silhouette are built over, except an island as large as the largest, which is never left out (two equal largest pieces both stay). Unlike the contour mode an island above the figure is not refused — the lattice bridges every island it keeps, as it always has. An island that sits in a cell the lattice keeps for other art leaves the lattice unchanged: there `stray` changes only the silhouette `rule: "heat"` reads, and gives back no triangle (demo `bottomwear`'s 2 px island, in the cell kept for the hem's tip, is that case). Absent, nothing is left out and every byte is the one written before the field existed; a figure that leaves nothing out changes no byte of `rig.json` or `motion.json`. The part's image is not touched: a pixel left out stays in it, and is drawn only where a cell kept for other art happens to cover it; `art_coverage` is over all the art, the islands left out included. Declared, the mesh's `mesh_report.json` row echoes `stray` and adds `stray_cleared` (`islands`, `pixels`, `art_pixels`, after `influences`), and the rig stage's mesh line ends `stray <n> left out <i> island(s), <p> of <a> art px`. A value that is not a whole number from 0 is `CONFIG_FIELD_TYPE`; beside `contour` or `auto` it is `CONFIG_STRAY_MODE` (those modes state it in `contour.stray` and `auto.source.stray`). `propose` and `mesh-draft` never write it |
@@ -206,7 +216,7 @@ read by no CPU stage).
206
216
  | `cloth` | `propose --cloth` only; no other stage reads it, so it moves no byte of any build | **authored**, optional (issue #364): one recipe per tag, `{"bottomwear": {…}, "back hair": {…}, "front hair": {…}}`, each `{chains, links, wind, gravity, split?, length_ratio?, strength?, damping?, alternate_damping?, translate?, swing?, part?, influence?}`. `influence` (issue #518) — `{across, max, shape, radius?}`: the parts this recipe meshes are drafted in the influence mode (`meshes.<part>.influence` above) at their lattice's cell, with `across`, `max` and `shape` as declared (each required — the reading behind the radius did not vary them) and `radius` as declared or, absent, drafted as the farthest vertex's distance plus 3 cells (the `influence.radius` row); without it the parts keep their lattice. `chains` — trees across the piece (for `back hair`, per side of the eye axis), a whole number, 1 or more; `links` — links from root to tip on every path, 1 or more; `split` — `{at, into}`: the first `at` links are the trunk, which forks into `into` (2 or more) branches; `at` below `links` (`CONFIG_CLOTH_SPLIT_BEFORE_TIP`); `length_ratio` — a path's last link over its first, above 0, default 0.5; `strength` — `{trunk, branch, edge}`, each above 0 and below the spring's stability bound (`CONFIG_CLOTH_SPRING_STABLE`), default 100 / 100 / 50; `damping` — in [0, 1], absent: rig-c's default; `alternate_damping` — the odd trees' damping, in [0, 1], beside `damping` and different from it (`CONFIG_CLOTH_ALTERNATE_DIFFERS`); `wind`, `gravity` — `[root, tip]`, each 0 or more, tip at or above root (`CONFIG_CLOTH_RESPONSE_GROWS_TO_TIP`); `translate` — the x and y mix of a dangling end's flutter, above 0 and at most 1; `swing` — `bottomwear` only, `{scales}`, one positive scale per tree (`CONFIG_CLOTH_SWING_SCALE_PER_TREE`); `part` — `bottomwear` only (`CONFIG_CLOTH_PART_ON_BOTTOMWEAR`), a non-empty part or cut-piece name: the `topwear` part that holds a skirt See-through returned inside it (a dress), or its skirt piece cut by `assemble.cuts`, which takes the skirt's trees (issue #402, *A skirt inside topwear* below; the part is checked by `propose`, `PROPOSE_CLOTH_PART`). The two defaults are the recipe's own, measured on its synthetic fixture (the recipe below). The recipe below says what each field drafts. The config written: `propose --cloth <config.json> --write-config <out.json>` (issue #537) writes this config's own text back with the sections the recipe drafts spliced in — `meshes.<part>` and `regions.<part>`, and `bones`, `constraints` and `motion.tracks` entry by entry by name (issue #552) — and every other byte as read; `--from <previous config>` (issue #571) takes an entry equal to the previous recipe's draft as the recipe's (*The config written*, under the recipe below) |
207
217
  | `proposed_rig_scale` | assemble, rig, build, `propose --from-config`/`--compare` | **proposed** by `propose` (issue #354): `parts.json`'s `scale_rig_per_source`, the `assemble.rig_scale` the rig sections (`bones`, `meshes`, `limbs`, `motion`) were drafted at. Held equal to `assemble.rig_scale` when present (`CONFIG_PROPOSED_RIG_SCALE`; 0, negative or not a number: `CONFIG_FIELD_TYPE`). Absent on a hand-authored config, where no byte of any output moves |
208
218
  | `motion_seams` | propose, assemble, check | Optional `[{part, neighbour}]`, using output part names. Each unordered pair is declared once; self-pairs, unknown names, wrong shapes and unknown fields refuse (`CONFIG_MOTION_SEAM`, `PARTS_MOTION_SEAM`, `CHECK_MOTION_SEAM_DECLARATION`). Empty adds no pair. Assemble copies the declaration into `parts.json`; check merges it with existing pairs and never regenerates a removed declaration. It uses the existing non-root WARN floor and changes no bar or exit status. See *Explicit motion seam observations* below. |
209
- | `requirements` | build (read in place of `--requirements` when the flag is not given), and so its check; assemble, where a region take or a busy-visible figure mask reads requirements; and the assembly reading, wherever a stale check runs (`rig`, `check`, `depth-apply`) | **authored**, optional, never proposed (issue #556): a path, relative to the config file's directory, to the `spine-parts-requirements/1` file the build's check reads (§7, *Declared requirements*) — so a rig that needs one (a `not_swinging` part, a `may_fold`) rebuilds from its config alone. `build` reads it before assemble, as it reads the flag's file, and `check.json`'s `requirements.file` records it with `path` as declared. Given beside `--requirements`, the two must name the same file once resolved, or a file of the same bytes, and the declaration is read and recorded (a build given both writes what the config alone writes); otherwise `BUILD_REQUIREMENTS_CONFLICT`, naming both. When the file's content reaches assembly (a region take's `setup_painting.rgb_tolerance`, or a busy-visible `setup_painting.figure_mask`), `assemble` and `build` require this declaration to name the `--requirements` file, and refuse a flag without it as `ASSEMBLE_REQUIREMENTS_UNDECLARED` (issue #1418). Not a non-empty string: `CONFIG_FIELD_TYPE`; no such file, where the config is read from a path: `CONFIG_FILE_PRESENT`. `check`, `compose`, `mesh-draft`, `remesh` and `retune` do not read it for their own requirements: their `--requirements` is the only door. The assembly reading's stale check, which `rig`, `check` and `depth-apply` run against `parts.json`, does read it. Absent, nothing is read and no byte of any output moves |
219
+ | `requirements` | build (read in place of `--requirements` when the flag is not given), and so its check; assemble, where a region take or a busy-visible figure mask reads requirements; and the assembly reading, wherever a stale check runs (`rig`, `check`, `depth-apply`) | **authored**, optional, never proposed (issue #556): a path, relative to the config file's directory, to the `spine-parts-requirements/1` file the build's check reads (§7, *Declared requirements*) — so a rig that needs one (a `not_swinging` part, a `may_fold`) rebuilds from its config alone. `build` reads it before assemble, as it reads the flag's file, and `check.json`'s `requirements.file` records it with `path` relative to `<out>/check` (issue #1554). Given beside `--requirements`, the two must name the same file once resolved, or a file of the same bytes, and the declaration is read and recorded (a build given both writes what the config alone writes); otherwise `BUILD_REQUIREMENTS_CONFLICT`, naming both. When the file's content reaches assembly (a region take's `setup_painting.rgb_tolerance`, or a busy-visible `setup_painting.figure_mask`), `assemble` and `build` require this declaration to name the `--requirements` file, and refuse a flag without it as `ASSEMBLE_REQUIREMENTS_UNDECLARED` (issue #1418). Not a non-empty string: `CONFIG_FIELD_TYPE`; no such file, where the config is read from a path: `CONFIG_FILE_PRESENT`. `check`, `compose`, `mesh-draft`, `remesh` and `retune` do not read it for their own requirements: their `--requirements` is the only door. The assembly reading's stale check, which `rig`, `check` and `depth-apply` run against `parts.json`, does read it. Absent, nothing is read and no byte of any output moves |
210
220
 
211
221
  ### Drafting the chest carrier
212
222
 
@@ -262,7 +272,10 @@ on a drafted rig, and the act review emits carries them. The order is:
262
272
  as a contour, which the review chest editor needs.
263
273
  2. Build the draft and let the person place or correct apex_r, apex_l and
264
274
  cleavage in review's chest editor. Their Request changes is a
265
- `rig-review/act@9` act with a `value.chestLandmarks` row.
275
+ `rig-review/act@9` act with a `value.chestLandmarks` row. A comment on the
276
+ publication with the points is a `rig-review/act@10` comment-only act whose
277
+ `value.carriers[]` holds one `chest-landmarks` carrier with the same rows;
278
+ `bust-landmarks` reads either.
266
279
  3. `rig-parts bust-landmarks --from-act <act.json> --parts <dir> --config <config.json> --out <landmarks.json>`
267
280
  writes the landmarks file from that row. It writes
268
281
  `<landmarks.json>.provenance.json` beside it. When the person changed a
@@ -308,11 +321,18 @@ on a drafted rig, and the act review emits carries them. The order is:
308
321
 
309
322
  The hand-written file stays the fallback when no review act exists.
310
323
  `bust-landmarks` reads the act's JSON itself. It reads `schema`, `actId` and the
311
- rows of `value.chestLandmarks`. From each row it reads `edit.slot`, `edit.skin`,
324
+ rows of `value.chestLandmarks`; from a `rig-review/act@10` comment-only act it
325
+ reads the rows of the one `value.carriers[]` entry of kind `chest-landmarks`, that
326
+ carrier's `file` and the act's `source.model`, and no other carrier (mesh edits
327
+ are applied elsewhere). The record beside the landmarks file then carries the
328
+ carrier's `file` as `act.carrier_file`. From each row it reads `edit.slot`, `edit.skin`,
312
329
  `edit.attachment`, `edit.basis`, `edit.source.hash`, `edit.source.frame`,
313
330
  `edit.bust` and `sha256`. It refuses by name:
314
331
 
315
332
  - an act that is not readable JSON, has another `schema`, or has no chest row (`BUST_LANDMARKS_ACT`);
333
+ - a comment-only act with no `chest-landmarks` carrier (`BUST_LANDMARKS_NO_CHEST_CARRIER`),
334
+ or whose chest carrier's `file` is missing, malformed or not the act's
335
+ `source.model` (`BUST_LANDMARKS_CARRIER_FILE`);
316
336
  - a row that is malformed for what it reads (`BUST_LANDMARKS_ROW`). That covers a
317
337
  point that is not two finite numbers, a missing apex, a `basis` other than
318
338
  `"setup"`, a `sha256` or `source.hash` that is not 64 lowercase hex digits, a
@@ -398,7 +418,9 @@ config hash: the act carries none.
398
418
 
399
419
  | rule | means | change |
400
420
  | --- | --- | --- |
401
- | <a id="BUST_LANDMARKS_ACT"></a>`BUST_LANDMARKS_ACT` | the `--from-act` file is unreadable, is not JSON, is not a `rig-review/act@9` act, has no `actId`, or has no `value.chestLandmarks` row | pass the chest-landmarks act review emitted, unchanged |
421
+ | <a id="BUST_LANDMARKS_ACT"></a>`BUST_LANDMARKS_ACT` | the `--from-act` file is unreadable, is not JSON, is neither a `rig-review/act@9` nor a `rig-review/act@10` act, has no `actId`, or has no chest row (`value.chestLandmarks`, or the chest carrier's `chestLandmarks`); a comment-only act whose `value.carriers` is not a list or holds more than one `chest-landmarks` carrier | pass the act review emitted, unchanged |
422
+ | <a id="BUST_LANDMARKS_NO_CHEST_CARRIER"></a>`BUST_LANDMARKS_NO_CHEST_CARRIER` | a `rig-review/act@10` comment-only act has no `value.carriers[]` entry of kind `chest-landmarks` (no carriers, or mesh edits only) | pass the comment act that carries the chest points, or the `rig-review/act@9` chest-landmarks act |
423
+ | <a id="BUST_LANDMARKS_CARRIER_FILE"></a>`BUST_LANDMARKS_CARRIER_FILE` | the chest carrier's `file`, or the act's `source.model`, is not `{path, sha256}` (a non-empty path, 64 lowercase hex digits), or the two differ in path or sha256 | re-emit the act from review on the model it shows, unedited |
402
424
  | <a id="BUST_LANDMARKS_ROW"></a>`BUST_LANDMARKS_ROW` | a `value.chestLandmarks[i]` field the command reads is missing or malformed: a point, `basis`, `sha256` (or a `sha256` that is not the digest of the row's `edit`), `source.hash`, `source.frame`, a shape field, or an unknown `bust` field | re-emit the act from review, unedited; the named field is the one to fix |
403
425
  | <a id="BUST_LANDMARKS_SLOT"></a>`BUST_LANDMARKS_SLOT` | the row's slot is not a part of `parts.json` or not a contour mesh in `config.meshes`, its attachment is not the slot, or its skin is not `default` | place the points on the chest carrier's own slot; pass the `--parts` and `--config` the reviewed rig was built from |
404
426
  | <a id="BUST_LANDMARKS_PART_ROWS"></a>`BUST_LANDMARKS_PART_ROWS` | the act has more than one row for one part | keep one chest-landmarks row for the part in review |
@@ -1024,6 +1046,42 @@ existing geometry refusal and its message.
1024
1046
  Region take entries accept the same optional `crop` and use this transport before
1025
1047
  selecting the seeded component on the target run canvas.
1026
1048
 
1049
+ ### How much of a rig the model painted
1050
+
1051
+ `parts.json` splits each part's opaque pixels (`opaque_px`) into `visible_px` — no
1052
+ later layer of its See-through run is opaque in front of them — and `occluded_px`,
1053
+ and counts the visible ones whose colour was not taken from the painting
1054
+ (`visible_not_projected_px`). On the four examples, from the totals of their
1055
+ `expected/parts.json` (the default `--project core`; `scarf`'s painting patches are
1056
+ whole painting pixels, so they count as taken):
1057
+
1058
+ | | opaque px | occluded | visible, not projected | taken from the painting |
1059
+ | --- | --- | --- | --- | --- |
1060
+ | `demo` | 362,441 | 69,098 (19.1 %) | 67,164 (18.5 %) | 226,179 (62.4 %) |
1061
+ | `scarf` | 283,813 | 78,503 (27.7 %) | 56,699 (20.0 %) | 148,611 (52.4 %) |
1062
+ | `reference-sample` | 298,363 | 79,122 (26.5 %) | 35,979 (12.1 %) | 183,262 (61.4 %) |
1063
+ | `reference-demo` | 765,924 | 202,343 (26.4 %) | 75,626 (9.9 %) | 487,955 (63.7 %) |
1064
+
1065
+ The occluded share is art the painting does not show — a back-hair layer, a neck, the
1066
+ parts of an ear under the hair — and is See-through's synthesis by necessity; it is
1067
+ what the decomposition is for. The visible-but-not-projected share is synthesis where
1068
+ the painting was there to be taken: a part too thin for the reference rule's 5x5
1069
+ eroded core, an anti-aliased fringe below alpha 250, a rim beside a layer in front, a
1070
+ pixel refused for drift. `--project visible` keeps the erosion only along a rim with a
1071
+ layer in front, which takes that share to 22,476 (7.5 %) on `reference-sample` and 49,672 (6.5 %)
1072
+ on `reference-demo` (from the `parts.json` of a `--project visible` build). On the eleven thin
1073
+ head parts — brows, lashes, irises, eye whites, ears, mouth — it takes 296 of
1074
+ `reference-sample`'s 1,289 visible pixels where `core` takes 110, and 824 of `reference-demo`'s 2,162
1075
+ where `core` takes 343. What neither rule takes is the fringe: a per-pixel
1076
+ classification of those parts under `visible`, recorded with the change that added
1077
+ the flag, puts 813 of `reference-sample`'s 993 still-unprojected pixels and 879 of `reference-demo`'s
1078
+ 1,338 below alpha 250. Where such a fringe keeps the stack off the painting and a part
1079
+ beneath holds the pixel in the painting's colour, `assemble` clears it instead, and
1080
+ the assemble line and `parts.json` say how many pixels, of which part, over which
1081
+ (AUTHORING §5, *The fringe push-back*; the figures in this section were measured
1082
+ before it, at v0.14.0, but for the `demo` row, which is its `expected/parts.json`
1083
+ as this port wrote it in issue #227).
1084
+
1027
1085
  ### Source projection cover (`source_cover.json`, issue #1158)
1028
1086
 
1029
1087
  Every assemble writes `source_cover.json` beside `parts.json`, under spec
@@ -1538,6 +1596,71 @@ and no byte moves; a build that passes under it writes the same bytes as
1538
1596
  without it. Of the public examples, every config holds no drawn shape except
1539
1597
  `scarf`, whose four patches `trace_parts` would refuse.
1540
1598
 
1599
+ ### Outfit alternates
1600
+
1601
+ Keep the base rig config and add an entry to `assemble.alternates` for the
1602
+ second painting. Use a painting on the base canvas and a full run containing
1603
+ the layers for the changed parts. Reuse the base head run if the selected head
1604
+ art is unchanged. In this example the outfit replaces three clothing pieces
1605
+ and both arm segments and hides the base hairpin.
1606
+
1607
+ ```json
1608
+ {
1609
+ "name": "outfit_b",
1610
+ "source": "painting_b.png",
1611
+ "full": "full_b",
1612
+ "head": "head",
1613
+ "parts": ["topwear", "bottomwear", "shoes", "upperarm_r", "forearm_r"],
1614
+ "hides": ["hairpin"]
1615
+ }
1616
+ ```
1617
+
1618
+ Use the existing limb joints when the painting has the same arm pose. The
1619
+ `assemble.alternates` field above describes `drawn` and `skeleton` for a
1620
+ different painted pose. Build with the base `--source`, `--full`, and
1621
+ `--head` inputs and use `--all-sets` to check each alternate in its setup pose.
1622
+ Use `check --set outfit_b` to inspect this outfit on its own.
1623
+
1624
+ For sleeves and overgarments, check the layer that feeds the limb cut.
1625
+
1626
+ - List every segment of a replaced limb in `parts`. Partial coverage or hiding
1627
+ a limb segment is refused by [`CONFIG_LIMB_SET_JOINTS`](#CONFIG_LIMB_SET_JOINTS).
1628
+ If the arm should keep its base art, omit all its segments from both
1629
+ `parts` and `hides`.
1630
+ - If a sleeve should move with the arm, its layer must carry both segments
1631
+ and cover the elbow cut. A speck removed as ghost pixels can trigger
1632
+ [`ASSEMBLE_PART_OPAQUE`](#ASSEMBLE_PART_OPAQUE). A wrist-only layer can
1633
+ leave the upper segment empty
1634
+ ([`ASSEMBLE_LIMB_PIXELS`](#ASSEMBLE_LIMB_PIXELS)). A gap at the elbow leaves
1635
+ the joint without art
1636
+ ([`ASSEMBLE_LIMB_JOINT_ON_ART`](#ASSEMBLE_LIMB_JOINT_ON_ART)).
1637
+ [Alternate part layers](#alternate-part-layers-assemblealternatesilayers-issue-666)
1638
+ shows how to select a corrected sleeve layer.
1639
+ - A required layer missing from the alternate run triggers
1640
+ [`ASSEMBLE_ALT_INPUT_PRESENT`](#ASSEMBLE_ALT_INPUT_PRESENT). An alternate
1641
+ painting with different canvas dimensions triggers
1642
+ [`ASSEMBLE_ALT_CANVAS_SIZE`](#ASSEMBLE_ALT_CANVAS_SIZE).
1643
+
1644
+ An outfit and a mouth viseme can share the build. In the synthetic outfit
1645
+ fixture, the outfit and the `a` viseme bind disjoint slots. The consumer can
1646
+ combine their slot maps in either order. For overlapping slots, merging two
1647
+ slot maps with object spread gives the later map precedence on the shared
1648
+ slots. This is a consumer-side merge. The fixture measures it with a sleeve
1649
+ override map. For keyed visemes, see the `motion.animations_from` field above.
1650
+
1651
+ The synthetic fixture in selftest `BU173` builds the base rig, then builds it
1652
+ with the outfit and three viseme sets. The first four rows have the same
1653
+ SHA-256 of the serialized JSON value in both builds. The last row is the new
1654
+ skirt attachment, triangulated for the alternate art.
1655
+
1656
+ | JSON value measured by BU173 | SHA-256 |
1657
+ | --- | --- |
1658
+ | Base bones and drawn rest pose | `337b27f126c6e023fc89975a8336f6e238e6d88efcd43e4a4bdb2c4bb530afdf` |
1659
+ | Face axis | `eae7351e1206641929b2625359ced7ba31d065756272319b09bc83da50b82498` |
1660
+ | Idle animation | `87b6a843d36cd4a46fff474ab10e6874a7667f819bfa12d674e75e7dcf70667c` |
1661
+ | Base skirt mesh (24 vertices, 30 triangles) | `9c9bca3e0270160bc557248a250f7e015012161e7f1be7460b4bcb368b917925` |
1662
+ | Alternate skirt mesh (30 vertices, 40 triangles) | `e15b4ba5a013495d23fe945c7aafb980a12351cdc9ca067b4904ce0d48059701` |
1663
+
1541
1664
  ### Alternate part layers (`assemble.alternates[i].layers`, issue #666)
1542
1665
 
1543
1666
  A gesture run may hold a raised arm only in a layer the author added, while
@@ -4720,13 +4843,13 @@ existing hardlinks are refused before artifact output; the ordinary mode names
4720
4843
  | `propose … --keypoints <file> [--person <id>]` | read a posed figure's joints from one explicit file (space, image size, people, each joint observed, occluded or missing, its source): a joint with a position places the neck, hip, chest or a sleeve chain as given, a note says how every joint was used or which rule stood in, and LINT reads the torso and sleeves along the joints instead of by screen y ([AUTHORING §3](AUTHORING.md)) |
4721
4844
  | `propose … --full <run> --head <run> --write-config <config>` | [draft an independent neck](AUTHORING.md#a-neck-that-moves-on-its-own) in an existing sampled body turn and reassemble its full-run source under `<out>/rig` |
4722
4845
  | `propose … --grid-rule figure\|part` | how each drafted lattice's spacing is chosen: `figure` (the default) one spacing for the figure, round(H / 37) rig px, a part already coarser keeping its own, with a note on its calibration and cost; `part` the reference's rule, a tenth of the part's short side (the oracle examples are proposed under it) |
4723
- | `bust-landmarks --from-act <act.json> --parts <dir> --config <config.json> --out <landmarks.json> [--write-config]` | write the file `propose --bust-landmarks` reads from the one chest row of a review `rig-review/act@9` act, with `<out>.provenance.json` beside it; `--write-config` takes the act's shape fields into the config's `contour.bust` ([drafting the chest carrier](#drafting-the-chest-carrier)) |
4846
+ | `bust-landmarks --from-act <act.json> --parts <dir> --config <config.json> --out <landmarks.json> [--write-config]` | write the file `propose --bust-landmarks` reads from the one chest row of a review `rig-review/act@9` act or of the chest-landmarks carrier of a `rig-review/act@10` comment-only act, with `<out>.provenance.json` beside it; `--write-config` takes the act's shape fields into the config's `contour.bust` ([drafting the chest carrier](#drafting-the-chest-carrier)) |
4724
4847
  | `propose --parts --source --out --from-config <config> [--keypoints <file> [--person <id>]]` | draw and LINT the config's current bones (by the joints too, given `--keypoints`); proposes nothing, so takes only these flags (not `--full`, `--head`, `--cloth`, `--write-config`, `--wrist-snap`, `--grid-rule`, `--only-missing` or `--compare`) |
4725
4848
  | `compare --left <file> --right <file> [--map <bonemap.json>]` | compare two skeletons — a config, a proposal or a `rig.json` — bone by bone: origin, parent, tip, length and direction per pair, the bones neither side pairs, the required ones missing, and each side's roles read off the spec; no frame is guessed, and nothing pairs by resemblance (`propose --compare` reads origins only) |
4726
4849
  | `rig --config --parts --out [--idle-keys ctl\|direct]` | author `rig.json` + `motion.json` (plus `mesh_report.json` and `run.json`, `spec` `rig-run/1`), written only after rig-c's gate is green; each mesh is in the mode its config entry names — `grid` (the lattice, what `propose` writes), `contour` (the traced outline with declared interior points) or `auto` (the contour mesh at alpha 1 and above, reduced and locally refined by rig-c's `reduceMesh` under the author's declared bounds, written only when its motion against the unreduced source on the idle passes the author's `motion` bounds through rig-c's `compareMeshesInMotion`; [AUTHORING §3](AUTHORING.md)); every chain link is turned along its chain and carries its `length`, so a physics constraint added later has a lever, with every offset under it in the turned frame so nothing moves; `--idle-keys` says whether the idle's keys on mesh-driving bones go through `<bone>_ctl` parents (default) or stay on the bones with `invariants.idleDrivesMeshes` declared; the config's `constraints` go to rigc as written, and a two-bone ik over keyed links needs `--idle-keys direct` (on `rig` or `build`) |
4727
- | `check --rig --out [--parts] [--source] [--requirements]` | build packed, gated under `rig-play`, render the idle, measure seam, loop and the six judgement lines (mesh texture stretch among them, from the idle's `render --geometry`), and report the recomposite's holes from `parts.json`; on a rig spec with no `parts.json` or no `idle` (a merged rig, issue #77) the gate still runs and every line that needs the missing input says SKIP by name; `--source <painting.png>` adds `SETUP_POSE_VS_SOURCE`, the setup pose against the painting by assemble's recomposite figures; `--requirements <scene.json>` measures what a scene declares of the motion — a contact, a follow fraction, an aim, a joint range, a mesh's stretch, the seam between two parts over the motion — each against the author's own bar, from rig-c's posed frames, one line each, PASS, FAIL or NOT MEASURABLE (AUTHORING §7, *Declared requirements*) |
4850
+ | `check --rig --out [--parts] [--source] [--requirements]` | build packed, gated under `rig-play`, render the idle, measure seam, loop and the six judgement lines (mesh texture stretch among them, from the idle's `render --geometry`), and report the recomposite's holes from `parts.json`; on a rig spec with no `parts.json` or no `idle` (a merged rig, issue #77) the gate still runs and every line that needs the missing input says SKIP by name; `--source <painting.png>` adds `SETUP_POSE_VS_SOURCE`, the setup pose against the painting by assemble's recomposite figures; `--requirements <scene.json>` measures what a scene declares of the motion — a contact, a follow fraction, an aim, a joint range, a mesh's stretch, the seam between two parts over the motion — each against the author's own bar, from rig-c's posed frames, one line each, PASS, FAIL or NOT MEASURABLE (AUTHORING §7, *Declared requirements*); a completed run also writes `check-run.json` (`spec` `rig-run/2`, [STABILITY](STABILITY.md)), whose `argv` reproduces the check with the same package version, run from the --out directory |
4728
4851
  | `loop --frames <dir> --out <file.gif \| file.png> [--palette]` | encode a rendered idle as a looping GIF, lossless APNG, or indexed APNG (`--palette`) |
4729
- | `build --config --source --full --head --out [--seam] [--project] [--loop] [--lead-in <periods>] [--requirements] [--seam-pairs] [--keep-stills] [--idle-keys ctl\|direct]` | assemble, rig and check in one process, stopping at the first refusal; `--requirements`, `--seam-pairs` and `--keep-stills` are forwarded to check, `--idle-keys` to rig; `--lead-in` (with `--loop`) encodes the loop from the last of n + 1 idle periods played back to back, for a rig whose physics does not end where the render starts it |
4852
+ | `build --config --source --full --head --out [--seam] [--project] [--loop] [--lead-in <periods>] [--requirements] [--seam-pairs] [--keep-stills] [--idle-keys ctl\|direct]` | assemble, rig and check in one process, stopping at the first refusal; `--requirements`, `--seam-pairs` and `--keep-stills` are forwarded to check, `--idle-keys` to rig; `--lead-in` (with `--loop`) encodes the loop from the last of n + 1 idle periods played back to back, for a rig whose physics does not end where the render starts it; a run whose check completed writes `build-run.json` (`spec` `rig-run/2`), whose `argv` starts `build` |
4730
4853
  | `compose --scene <scene.json> --out [--requirements] [--accept] [--page-size]` | bind several characters' green builds into one rig (or, under `--accept`, builds failing only the bars named — for looking, not shipping): every name prefixed `<id>:` under one shared root, each character's offset added at its first-level bones, an optional background plate (its provenance recorded, judged by nothing) drawn first, and the draw order between the characters' slots as the scene file declares it — nothing inferred, nothing scaled; gated through rig-c as `rig` is, then checked ([AUTHORING §7](AUTHORING.md), *Composing several characters*) |
4731
4854
  | `mesh-draft --config <json> --parts <dir> --out <dir>` | draft contour meshes for configured lattices, keeping each only where it holds against its lattice through rig-c; write the revised config and measurement report |
4732
4855
  | `mesh-stats --config <json> --parts <dir>` | print each configured mesh's vertex and triangle counts and their total through the rig stage's construction; write nothing |
@@ -5564,7 +5687,7 @@ outline lies right of every removed pixel, and an image of only that silhouette
5564
5687
  none of the 15,070 — `ASSEMBLE_UNDER_EMPTY` [observed]. Producing a hand-supplied PNG is the
5565
5688
  author's; for a receipted plate route (issue #1230), run in order: (1) `rig-parts assemble --source <painting.png> --full <dir> [--head <dir>] --config <config.json> [--requirements <file.json>] --emit-fill-masks <masks-dir>` to write `<masks-dir>/<into>.png` on the painting's grid (`[255, 255, 255, 255]` where `(polygon ∩ from alpha > 0)`, overlap band included, and `[0, 0, 0, 0]` elsewhere; where a region take or a busy-visible figure mask reads requirements, `--emit-fill-masks` reads `config.requirements` and optional `--requirements` by the same rule as `--out`); (2) `rig-parts comfy plate --mode occluder --painting <painting.png> --occluder <masks-dir>/<into>.png --out <plate-dir>`; and (3) set `"under": {"plate": "<plate-dir>"}` on `assemble.cuts[i]` and re-run `rig-parts assemble` (or `build`).
5566
5689
 
5567
- **Splitting a horizontal hem between two plan layers (`assemble.edge_splits`, issue #1231).** `assemble.edge_splits` (`[{ "over": "<part>", "under": "<part>", "band": [x0, y0, x1, y1] }, ...]`) takes `assemble.plan` part names only (`over !== under`), so a part made by `assemble.cuts` is refused with `CONFIG_NAME_RESOLVES`. Its effect is a horizontal hem split between two plan layers on the rig grid inside `band` (`x0 < x1`, `y0 < y1`, upper bounds exclusive; `ASSEMBLE_PAINTING_BAND_INSIDE` when the box reaches outside the rig canvas), applied after ghost clean-up and rig-space resampling and before projection: per column `x` in `x0 .. x1 - 1`, `y*` is the first row in `y0 .. y1 - 1` (with `y + 1 < H`) with the largest vertical painting RGB step `max(|R(x,y) - R(x,y+1)|, |G(x,y) - G(x,y+1)|, |B(x,y) - B(x,y+1)|)` among rows where `over` has `alpha >= 128` (`EDGE_SPLIT_OVER_ALPHA`; columns with no such row are skipped), and for every row strictly below `y*` inside `band` (`y* + 1 .. y1 - 1`), where `over` has `alpha >= 128`, `over` is cleared to `[0, 0, 0, 0]` and `under` takes the painting's RGB there with `alpha = 255`, and where `over` has `0 < alpha < 128`, `over` is cleared to `[0, 0, 0, 0]`. It transfers static plan-layer ownership along a painted horizontal hem; it does not close a `cuts` seam that opens in motion.
5690
+ **Splitting a horizontal hem between two plan layers (`assemble.edge_splits`, issue #1231).** `assemble.edge_splits` (`[{ "over": "<part>", "under": "<part>", "band": [x0, y0, x1, y1] }, ...]`) takes `assemble.plan` part names only (`over !== under`), so a part made by `assemble.cuts` is refused with `CONFIG_NAME_RESOLVES`. Its effect is a horizontal hem split between two plan layers on the rig grid inside `band` (`x0 < x1`, `y0 < y1`, upper bounds exclusive; `ASSEMBLE_PAINTING_BAND_INSIDE` when the box reaches outside the rig canvas), applied after ghost clean-up and rig-space resampling and before projection: per column `x` in `x0 .. x1 - 1`, `y*` is the first row in `y0 .. y1 - 1` (with `y + 1 < H`) with the largest vertical painting RGB step `max(|R(x,y) - R(x,y+1)|, |G(x,y) - G(x,y+1)|, |B(x,y) - B(x,y+1)|)` among rows where `over` has `alpha >= 128` (`EDGE_SPLIT_ALPHA`; columns with no such row are skipped), and for every row strictly below `y*` inside `band` (`y* + 1 .. y1 - 1`), where `over` has `alpha >= 128`, `over` is cleared to `[0, 0, 0, 0]` and `under` takes the painting's RGB there with `alpha = 255`, and where `over` has `0 < alpha < 128`, `over` is cleared to `[0, 0, 0, 0]`. It transfers static plan-layer ownership along a painted horizontal hem; it does not close a `cuts` seam that opens in motion.
5568
5691
 
5569
5692
  **A layer the author made** (issue #256). A cut covers a piece one polygon over a
5570
5693
  planned part can take. When the piece is a layer you made by hand outside the tool — a
@@ -5905,6 +6028,25 @@ those settings. Changing a config seed alone cannot change a no-config run.
5905
6028
  | <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
6029
 
5907
6030
 
6031
+ #### Source readings for the See-through graph
6032
+
6033
+ `--offload` selects the wrapper's CUDA group-offload path on the **ComfyUI host**:
6034
+ its [LayerDiff and depth loaders](https://github.com/jtydhr88/ComfyUI-See-through/blob/98d754bf04f668647919ab750eccb0e0640faa81/nodes.py#L395-L475)
6035
+ call `enable_group_offload('cuda', ...)`. Omit it for a local Mac/MPS host. A Mac
6036
+ running this CLI may pass it to a remote CUDA host. This describes that offload
6037
+ path; it is not a claim that the remaining model stack has been verified on MPS.
6038
+
6039
+ The [wrapper README at `98d754b`](https://github.com/jtydhr88/ComfyUI-See-through/blob/98d754bf04f668647919ab750eccb0e0640faa81/README.md#L22-L28)
6040
+ describes a combined Decompose node and names `24yearsold/seethroughv0.0.1_marigold`
6041
+ for depth. The shipped `workflows/seethrough.json` instead sends
6042
+ `SeeThrough_GenerateLayers`, `SeeThrough_GenerateDepth` and `SeeThrough_PostProcess`,
6043
+ and selects `layerdifforg/seethroughv0.0.1_marigold`, matching the wrapper's
6044
+ [implemented depth default](https://github.com/jtydhr88/ComfyUI-See-through/blob/98d754bf04f668647919ab750eccb0e0640faa81/nodes.py#L82-L85).
6045
+ Use the graph's node classes and the host's `/object_info` when checking the adapter.
6046
+
6047
+ On the two reference examples each See-through run took 171–199 s through the wrapper, and on the
6048
+ demo 179 s (each run's `meta.json`, in [rig-c/examples](https://github.com/rig-c/examples)).
6049
+
5908
6050
  #### See-through layer visibility
5909
6051
 
5910
6052
  The adapter writes a visibility record when the wrapper supplies a readable
@@ -6779,7 +6921,7 @@ writes `parts-check.json` and reads no rig, motion or plate. Exit 0 records inpu
6779
6921
  integrity. Quality classes without measurements remain named HOLEs.
6780
6922
  [STABILITY](STABILITY.md#parts-stage-integrity-report) defines the binding and
6781
6923
  closed diagnostic vocabulary. Base and alternate `scene.figure_mask` remain
6782
- outside the consumed inputs pending [#1177](https://github.com/rig-c/parts/issues/1177).
6924
+ outside the consumed inputs.
6783
6925
 
6784
6926
  | rule | means | change |
6785
6927
  | --- | --- | --- |
@@ -6969,6 +7111,8 @@ Renderer metadata and exact raster reads use the promised `@rig-c/core/render-sh
6969
7111
 
6970
7112
  The body-root bar counts stock partitions `gapOpen` plus `ghostA` or `ghostB` owned by the pair's UNDER-owned drawing in resolved draw order on each active frame, comparing their summed cells against the unchanged strict floor `px > round(max(box width, box height) / cell)` on the original raw kind boxes (their union when both kinds contribute), never the narrowed partition boxes; `gapCovered` and OVER-owned ghost cells do not count (issue #711). The metric mode is `gap-open+under-ghost`; rows retain the exact partition counts, UNDER owner and counted total in `cells`, including excluded and under-floor readings. Missing partitions, inconsistent sums or unavailable ownership are named `FRAMES_SIDECAR` refusals, never inferred zero. An active rendered environment fails `CHECK_SEAM_OVER_MOTION` above that floor, setting overall PASS false and exits 1. Existing internal-joint and explicit-only pairs remain warnings: their PASS, exit status and bar count are unchanged; reference worlds remain informational. The root bar is counted once, and absence is not a zero or a PASS. No whole-box alpha exemption or consumer compositor is used. This gate samples the supplied animations at 12 fps, not another motion or player scene.
6971
7113
 
7114
+ <a id="openings-inside-the-figure-on-undeclared-layer-pairs-issue-933"></a>
7115
+
6972
7116
  **Openings inside the figure on undeclared layer pairs** (issue #933). Declared `SEAM_OVER_MOTION` reads only limb segments at a cut joint, proven body-root pairs, and explicit `--requirements` or `motion_seams` declarations — `0` pairs on `demo`, `reference-demo`, `reference-sample` and `scarf`, and `10` of `63` setup-overlapping pairs (`alpha >= 128`) on `wind`. An upper layer sliding off a lower layer where the lower layer lacks opaque art under it opens a sliver of transparent canvas (`alpha == 0`) inside the figure while declared `SEAM_OVER_MOTION` stays `SKIP`. To read openings inside the figure across every undeclared setup-overlapping (`alpha >= 128`) layer pair in `rig.json` draw order (`under` drawn before `above`, so `"<above>"` is the part above the opening), `readFigurePairOpenings` evaluates on each animation frame at 12 fps (`scale = 1 / cell`, so one raster cell is `cell` world units on a side — about `2.2` to `2.5` world units on the public examples) the cells inside both drawings' posed overlap bounding box and inside the pair's own posed hole-filled union (`fillHoles(a ∪ b)`, so a pocket closed only by a third part does not count against `a|b`) that are transparent across the whole skeleton (`alpha == 0`), covered at setup (`t = 0`) by both `under` and `above` (`setup.a0[p] >= 128 && setup.b0[p] >= 128`), and not already transparent at the setup pose (`setup.any0[p] === 0`, so a deliberate gap between arm and body present at rest is art, not a motion opening). A frame opening exceeds the one-cell floor when `found_cells > allowed_cells`, where `found_cells` is the open cell count and `allowed_cells = round(max(box width, box height) / cell)` on the opening's world box (`[x0, y0, x1, y1]`). Each run prints a status line (`figure_openings: CLEAR — …`, `figure_openings: WARN — …` followed by one `WARN opening` line per pair and animation above the floor, or `figure_openings: SKIP — <reason>` when there is no `parts.json`, no animation, or no undeclared setup-overlapping pair) and writes `figure_openings` in `check.json` whenever the reader ran (`status !== "SKIP"`). Each warning names the pair `"<a>|<b>"`, the part above (`above "<above>"`) and under (`under "<under>"`), the worst frame (`frame <index>`), `found <found_cells> cell(s)`, `<= <allowed_cells> cell(s) allowed` in `<w>x<h> world units at <cell> world units/cell`. Measured wall-time cost inside `check`: `0.4 s` of `186.2 s` (`0.2 %`) on `wind` (`53` undeclared pairs, `1` animation) and `0.7 s` of `41.2 s` (`1.7 %`) on `scarf` (`67` undeclared pairs, `8` animations).
6973
7117
 
6974
7118
  | example | slots | total slot pairs | setup-overlapping pairs (`alpha >= 128`) | declared `SEAM_OVER_MOTION` pairs | undeclared pairs read | cell (`idle`, world units) | setup interior `alpha == 0` holes (cells / components) | `figure_openings` (`idle` warnings / all-animation warnings) | worst opening (`pair`, `above`, `animation`, `frame`, `found_cells` vs `allowed_cells` in `box` at `cell`) |
@@ -7018,7 +7162,12 @@ and stay absent).
7018
7162
  | <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 |
7019
7163
  | <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 |
7020
7164
  | <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` |
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 |
7165
+ | <a id="SCENE_DURATION_AGREES"></a>`SCENE_DURATION_AGREES` | with no `idle_repeats`, the characters' idles are of different durations (each named), or `scene.animations.idle.duration` differs from the composed idle | declare the same duration; compose preserves the original key timing |
7166
+ | <a id="SCENE_REPEAT_COUNT"></a>`SCENE_REPEAT_COUNT` | a character declares an invalid `idle_repeats` value | declare a safe integer of 2 or more, or omit the field to use one source period |
7167
+ | <a id="SCENE_REPEAT_IDLE_REQUIRED"></a>`SCENE_REPEAT_IDLE_REQUIRED` | a character opts in but the scene declares no `animations.idle` | declare the scene idle and its duration |
7168
+ | <a id="SCENE_REPEAT_DURATION"></a>`SCENE_REPEAT_DURATION` | in an opted-in scene, the declared idle duration differs from a character's source period times its playback count, including a count of one for a character without `idle_repeats` | use the exact finite, positive product for every character |
7169
+ | <a id="SCENE_REPEAT_SOURCE_LOOP_CLOSES"></a>`SCENE_REPEAT_SOURCE_LOOP_CLOSES` | a repeated source idle has a loop flag other than `true`, or its original gated keyed poses at the start and stored end do not close or cannot be read | use a closed source idle with `loop: true` and correct the named pose channel |
7170
+ | <a id="SCENE_REPEAT_KEY_SEAM"></a>`SCENE_REPEAT_KEY_SEAM` | a repeated source timeline cannot be spliced on its effective key clock, for example because of a setup gap, an unequal boundary state or left limit, or a reset at the boundary | author a timeline that starts at effective time zero and closes continuously, with any explicit reset strictly inside the source period and separate on Core's playback clock |
7022
7171
  | <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 |
7023
7172
  | <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 |
7024
7173
  | <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 |
@@ -7027,6 +7176,7 @@ and stay absent).
7027
7176
  | <a id="SCENE_ANIMATION_LOOP_CLOSES"></a>`SCENE_ANIMATION_LOOP_CLOSES` | the gated posed samples at 0 and the scene clip's declared duration differ, for a new clip or an idle extension | close the posed bone, slot, geometry, alpha, clip and draw-order state; comparison omits physics simulation only and never wraps the endpoint to zero |
7028
7177
  | <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 |
7029
7178
  | <a id="SCENE_PIVOT_NAME_FREE"></a>`SCENE_PIVOT_NAME_FREE` | an opted-in character's source build already has a bone named `placement` that resolves to the generated name | rename the source bone or omit `placement_pivot` |
7179
+ | <a id="SCENE_PIVOT_DECLARED"></a>`SCENE_PIVOT_DECLARED` | a scene track keys an unresolved `<id>:placement` directly or through a bone group, and the character has not opted in | declare `"placement_pivot": true` on the named character |
7030
7180
  | <a id="SCENE_PIVOT_UNUSED"></a>`SCENE_PIVOT_UNUSED` | an opted-in character has no scene-authored translation key on its generated pivot | add a `translate`, `translatex` or `translatey` track with a key on `<id>:placement` in `animations`, or omit `placement_pivot` |
7031
7181
  | <a id="SCENE_PIVOT_TRACK"></a>`SCENE_PIVOT_TRACK` | a scene track keys a property other than translation on `<id>:placement`, or keys the generated `<id>:root` carrier | key translation on `<id>:placement` and leave the carrier unkeyed |
7032
7182
  | <a id="SCENE_CHARACTER_INSIDE_CANVAS"></a>`SCENE_CHARACTER_INSIDE_CANVAS` | a character without `canvas_clip` has placed part bounds that leave the canvas | adjust its scale, offset or canvas, or declare `canvas_clip: true` for intentional overflow |
@@ -7079,7 +7229,10 @@ and stay absent).
7079
7229
  | <a id="CONFIG_TURN_EAR_DRAW_ORDER"></a>`CONFIG_TURN_EAR_DRAW_ORDER` | an ear part in `config.turn.roles` is drawn after `face` with role `"surface"` in `assemble.plan` | place `ear_r` and `ear_l` before `face` in `assemble.plan` so the turning cheek occludes the far ear |
7080
7230
  | <a id="CONFIG_TURN_HEAD_BONE"></a>`CONFIG_TURN_HEAD_BONE` | `config.turn.roles` is declared without a single bone `"head"` in `config.bones`, or `config.turn.body` without a single bone `"chest"` / `"hip"` (or its declared `bone`) | declare `"head"` (or the body turn root bone) as a single bone in `config.bones` |
7081
7231
  | <a id="CONFIG_TURN_SLIDER_NAME_FREE"></a>`CONFIG_TURN_SLIDER_NAME_FREE` | `config.turn.body.slider` (or the default `"body_yaw_dial"`) collides with a head turn dial (`"yaw"`, `"pitch"`, `"yaw_dial"`, `"pitch_dial"`) or an existing slider constraint in `config.constraints` (#787) | choose a distinct slider name in `config.turn.body.slider` |
7232
+ | <a id="CONFIG_TURN_BAND_COVER"></a>`CONFIG_TURN_BAND_COVER` | `meshes.<part>.contour.regions[i].cover` is declared on a part that is not a 2.5D turn `"surface"`, on a region whose `bone` is not in the other turn group (where `cover` would read nothing), disagrees across regions sharing one `bone`, or names a part that is undeclared, lacks role `"surface"` in that other group, or carries no depth sheet (#1548) | bind the region to a bone in the other turn group on a turn `"surface"` part and name an attached `"surface"` part with a depth sheet in that other group, or remove `cover` |
7233
+ | <a id="RIG_TURN_BAND_COVER_SUPPORT"></a>`RIG_TURN_BAND_COVER_SUPPORT` | a band region declaring `meshes.<part>.contour.regions[i].cover` binds a `bone` whose setup position lies outside `cover`'s crop bounds or has art alpha below 255 on `cover` (#1548) | place the region `bone`'s setup `at` position on fully opaque (`alpha === 255`) art of the declared `cover` part |
7082
7234
  | <a id="RIG_TURN_SURFACE_MESH_GROUPS"></a>`RIG_TURN_SURFACE_MESH_GROUPS` | a surface part contains a blended attachment but lacks one 2.5D group, includes an ungrouped positive influence in any attachment, or also declares a unit/rear role | declare both `turn.roles` and `turn.body`, a body root outside head, surface in one or both groups, and bindings wholly inside those two subtrees |
7235
+ | <a id="RIG_TURN_BAND_REACHES_NO_VERTEX"></a>`RIG_TURN_BAND_REACHES_NO_VERTEX` | a turn `"surface"` part has a `meshes.<part>.contour.regions[i]` entry bound to a bone in the other turn group's subtree that gives 0 vertices a weight above 0; the detail names the region index, bone and part | move or enlarge the region polygon (or circle) so it overlaps the part's mesh vertices, or widen its `band` |
7083
7236
  | <a id="RIG_TURN_SURFACE_OVERLAP_GROUPS"></a>`RIG_TURN_SURFACE_OVERLAP_GROUPS` | a blended surface vertex overlaps incompatible single-group neighbours, or a neighbour without a blended attachment declares both turn groups | keep one neighbour group at that source-alpha overlap, or separate the overlapping art; the refusal names the vertex and neighbours |
7084
7237
  | <a id="RIG_TURN_SURFACE_OVERLAP_SUPPORT"></a>`RIG_TURN_SURFACE_OVERLAP_SUPPORT` | a selected neighbour has missing/invalid geometry, unresolved emitted vectors, or no triangle covering the requested setup point | supply its actual shown setup triangles and existing emitted field; no nearest triangle, extrapolation or target-field fallback is used; an unrelated disconnected drawing with no actual overlap is not selected |
7085
7238
  | <a id="RIG_TURN_SURFACE_OVERLAP_DEPTH"></a>`RIG_TURN_SURFACE_OVERLAP_DEPTH` | same-group overlap neighbours demand incompatible emitted offsets at one target setup point | separate the conflicting support or provide coincident neighbour fields; the refusal names the fields and target vertex |
@@ -7816,10 +7969,13 @@ single-character path (§4, steps 0–9) on its own, already isolated input to a
7816
7969
  | `characters[].scale` | optional, a positive number; absent is 1, and 1 composes to the bytes a scene without the key writes. The character's size on the canvas, about its stage's top-left corner: a rig px `p` lands at canvas px `scale * p + offset` (issue #197). A character scaled up past its art is drawn soft — the art is not resampled; rebuild it at a higher `assemble.rig_scale` if that matters |
7817
7970
  | `characters[].canvas_clip` | optional literal `true` for intentional overflow (issue #1491). The placed part bounds must be finite, extend past at least one canvas edge and overlap the canvas with positive width and height. Omitting the key requires containment, with flush edges allowed. Every explicit value other than `true` is `SCENE_FIELD_TYPE` |
7818
7971
  | `characters[].placement_pivot` | optional literal `true` (issue #1498). Generates an identity `<id>:placement` under `root` and requires a scene-authored `translate`, `translatex` or `translatey` key on it. Every explicit value other than `true` is `SCENE_FIELD_TYPE` |
7972
+ | `characters[].idle_repeats` | optional safe integer of 2 or more (issue #1511). Counts total plays of this character's source idle within an explicit `scene.animations.idle`. Its declared duration must equal `idle_repeats * source idle duration` exactly. In the same scene, each character without the key must fill the duration once. In `scene.json`, `characters[].idle_duration` gives the source period, `characters[].idle_repeats` appears on opted-in rows, and top-level `idle_duration` gives the scene period |
7819
7973
  | `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 |
7820
- | `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: `plate`, declared named plate bones and `<id>:<bone>`, including generated dials. A new name adds; `idle` appends tracks/timelines to the composed idle, preserving its metadata and every existing character track, deform and physics constraint. Its duration must exactly equal the composed idle (`SCENE_DURATION_AGREES`); no retiming. An imported animation name cannot be replaced (`SCENE_ANIMATION_NAME_FREE`). Absent declaration preserves legacy bytes and output paths (issue #1346) |
7974
+ | `animations` | optional map by scene clip name, each value a rigc `MotionAnimation` (`duration`, `tracks`, optional `loop`, `note`, and core timeline collections). Names resolve against the final scene without another prefix or unit conversion: `root`, `plate`, declared named plate bones and `<id>:<bone>`, including generated dials. Keying `root` moves the whole scene. A new name adds a clip. `idle` appends tracks and timelines once to the composed idle, preserving character metadata and physics constraints. Its duration must exactly equal the composed idle (`SCENE_DURATION_AGREES`, or `SCENE_REPEAT_DURATION` when a character opts in to repetition). Imported animation names are reserved (`SCENE_ANIMATION_NAME_FREE`). Absent declaration preserves legacy bytes and output paths (issue #1346) |
7821
7975
  | `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` |
7822
7976
 
7977
+ A `root` key moves plates together with figures. For layered travel, key the plate bones and the character's `<id>:placement` bone enabled by `placement_pivot`.
7978
+
7823
7979
  Named plates join `order` exactly once, wherever their tokens occur: for example
7824
7980
  `["backdrop", "left", "middle", "right", "foreground"]`. Character tokens still
7825
7981
  expand only their slots not explicitly named elsewhere. Duplicate plate or slot
@@ -7923,6 +8079,20 @@ the core player hint; it does not waive this scene closure requirement. A new
7923
8079
  named clip does not layer character idle automatically; extend `idle` when its
7924
8080
  breathing/blink/deform/physics payload must remain in that take.
7925
8081
 
8082
+ For a repeated idle, compose checks the original gated source's keyed pose at
8083
+ zero and at the stored playback end without wrapping. It shifts source idle
8084
+ keys and absolute Bezier time handles by whole source periods, keeping one key
8085
+ at a shared endpoint and the following segment's outgoing curve. It carries
8086
+ physics through the splice and repeats only explicit interior reset keys.
8087
+ Prefixed side clips keep their timing. The composed idle also closes at its
8088
+ stored playback end.
8089
+
8090
+ The synthetic seam control compares physics tip displacement vectors into and
8091
+ out of each internal splice and the outer wrap against a native one-period loop
8092
+ with matched carrier placement, clock and history. A planted reset fails the
8093
+ vector comparison. Keyed pose checks around each internal splice catch defects
8094
+ even when the outer endpoints close.
8095
+
7926
8096
  What is composed:
7927
8097
 
7928
8098
  - **Images are `<id>.<file>`, not `<id>:<file>`.** rig-c names an atlas region
@@ -7962,8 +8132,10 @@ What is composed:
7962
8132
  offset only when it is not 1, and the `[compose]` line always prints it.
7963
8133
  - **The plate** is a region on the bone `plate` under `root`, the first slot, its
7964
8134
  image at canvas (0, 0).
7965
- - **One `idle`** holds every character's tracks; the characters' idles must be of one
7966
- duration. Constraints and `stops` entries are carried in character order with their
8135
+ - **One `idle`** holds every character's tracks over the shared scene duration.
8136
+ Source idles can differ in duration. Each fills the scene idle in one period
8137
+ or, with `idle_repeats`, in exactly the declared number of periods.
8138
+ Constraints and `stops` entries are carried in character order with their
7967
8139
  `invariants.detached`; `invariants.idleDrivesMeshes` once, when any character
7968
8140
  declares it.
7969
8141
  - **Every animation beside a character's idle** — what `motion.animations_from`
@@ -8107,7 +8279,7 @@ one-second idle extension whose pose returns to setup at both ends.
8107
8279
  Use `translate` for `[x, y]` or `translatex` and `translatey` for single values.
8108
8280
  The values are offsets in final scene pixels, x right and y up. The character's
8109
8281
  placement scale applies to its setup art and imported tracks. These authored
8110
- translation values are already in scene units. The existing idle duration,
8282
+ translation values are already in scene units. The authored scene idle duration,
8111
8283
  posed endpoint and rig-c checks apply. Check previews use the existing size
8112
8284
  and sampling limits.
8113
8285
 
@@ -8224,12 +8396,11 @@ unit (the stage box maps to the world by a translation and the y flip,
8224
8396
  }
8225
8397
  ```
8226
8398
 
8227
- **Where a rebuild finds the file** (issue #556). A rig that passes only under its
8399
+ **Where a rebuild finds the file** (issues #556, #1554). A rig that passes only under its
8228
8400
  requirements — a rigid shorts piece in `not_swinging`, a fold the art means in
8229
8401
  `may_fold` — rebuilds green only if the next caller knows the file. `check.json`'s
8230
- `requirements` block opens with `file`: `path` as the caller wrote it (`--requirements`
8231
- as typed, or `config.requirements` as declared — never resolved, so a build moved to
8232
- another directory writes the same bytes), the `sha256` of the bytes read, and `keys`,
8402
+ `requirements` block opens with `file`: `path` relative to `check`'s `--out` directory
8403
+ (`<out>/check` under `build`, by the `rig-run/2` link rule), the `sha256` of the bytes read, and `keys`,
8233
8404
  the file's top-level keys in its order, so a reader sees what it asked without opening
8234
8405
  it. `config.requirements` (§3) declares the file beside the config, and `build` reads
8235
8406
  it when the flag is not given: a build with `--requirements reqs.json`, typed from the
@@ -9541,6 +9712,30 @@ An unrelated disconnected sibling with no actual overlap stays unselected.
9541
9712
  Two same-group fields with incompatible emitted offsets raise
9542
9713
  [`RIG_TURN_SURFACE_OVERLAP_DEPTH`](#RIG_TURN_SURFACE_OVERLAP_DEPTH).
9543
9714
 
9715
+ Only a vertex whose positive weights span both groups is owned (#1543); a
9716
+ vertex in one group keeps that group's own field, as a single-group part
9717
+ does. A declaration is intent: a vertex weighted by a bone that a declared
9718
+ `meshes.<part>.contour.regions[].bone` names keeps its blended field and is
9719
+ never owned, so a declared band on a part other turn parts overlap builds.
9720
+ Mixing that arises without a declaration (explicit or segment weights) is
9721
+ still owned and still refused when its covers disagree. What the band then
9722
+ moves by, when `cover` is absent, is the part's own depth sheet under the other
9723
+ group's pivot, not the cover's field: on one production-shaped build, the band's
9724
+ all-head rows (weight 1 on the region bone) travelled −27.0 rig px at +15° head
9725
+ yaw where the face over them travelled −9.6, so the band leads the face it sits
9726
+ under rather than trailing it. Declaring `meshes.<part>.contour.regions[].cover:
9727
+ "<part>"` (#1548) reads that other-group `"surface"` part's extended depth sheet
9728
+ once at the region `bone`'s setup position (requiring `alpha === 255` on the
9729
+ cover's art there, [`RIG_TURN_BAND_COVER_SUPPORT`](#RIG_TURN_BAND_COVER_SUPPORT),
9730
+ and a valid other-group surface cover,
9731
+ [`CONFIG_TURN_BAND_COVER`](#CONFIG_TURN_BAND_COVER)), so every band vertex takes
9732
+ `g · D(z_cover)` on that group's side and stays monotone in `g`. A polygon
9733
+ region whose edge has short segments can make the band offset cross itself,
9734
+ refused as `CONTOUR_PARAMETER` on `regions[i].band`: on that build, a jaw line
9735
+ with two extra points, its edges there 23–29 px long, crossed at any band above
9736
+ 49 px for every strip height from 1 to 80 px, and passed at band 80 without
9737
+ those two points. This is a note on the refusal, not a recommended shape.
9738
+
9544
9739
  Unit/rear neighbours contribute their actual emitted rigid carrier motion,
9545
9740
  including its resolved unit depth or rear counter field. A unit region split by
9546
9741
  `motion.blink.still` supplies both emitted drawings: the lower slot and
@@ -9714,9 +9909,10 @@ replaces that group's rigid depths. `clear` explicitly lists part references to
9714
9909
  remove, including any small units intended to sample the surface. Unselected
9715
9910
  parts retain their artwork and depth references. The output config copies the
9716
9911
  original, sets the declared group pivots/unit depths, and relocates the file
9717
- references `configFileReferences` declares. It rebases `assemble.edited_parts.dir`
9718
- to the output directory while keeping every receipt's `file` unchanged; other
9719
- references use their `set`
9912
+ references `configFileReferences` declares alongside the config-relative
9913
+ assembly inputs (`assemble.editor_receipts.receipts[].file` included). It
9914
+ rebases `assemble.edited_parts.dir` to the output directory while keeping every
9915
+ edited-part receipt's `file` unchanged; other references use their `set`
9720
9916
  ([STABILITY](STABILITY.md#programmatic-config-file-references)). Built-in
9721
9917
  skeleton names remain names. A selected part whose provenance records
9722
9918
  `depth.kind: "authored-unit"` is refused before output
@@ -10309,7 +10505,7 @@ Internal `SeamSupport.drawings` never enters check JSON. Named requirement
10309
10505
  | `WIND_BAND.pairs` | `WIND_BAND.pairs` | 'pair' | finding when !holdsAll; otherwise evidence | [p.a, p.b] | [check.ts:6684](../src/check.ts#L6684) |
10310
10506
  | `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) |
10311
10507
  | `figure_openings.openings` | `figure_openings.openings` | 'pair' | finding | [ps.under, ps.above] | [check.ts:6001](../src/check.ts#L6001) |
10312
- | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7764](../src/check.ts#L7764) |
10508
+ | `loop_physics` | `loop_physics` | 'rig' | evidence | [] | [check.ts:7765](../src/check.ts#L7765) |
10313
10509
  | `requirements.lines.* (bone)` | `requirements.lines.*` | 'rig' | finding when line.status === 'FAIL'; otherwise evidence | [] | [check.ts:8095](../src/check.ts#L8095) |
10314
10510
  | `requirements.lines.* (seam)` | `requirements.lines.*` | 'pair' | finding when line.status === 'FAIL'; otherwise evidence | [r.part, r.neighbour] | [check.ts:8095](../src/check.ts#L8095) |
10315
10511
  | `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) |
package/docs/MIGRATION.md CHANGED
@@ -28,10 +28,10 @@ bytes, named in *Since 1.0.0-rc.1*: the skinning envelope's reference (#169).
28
28
  | --- | --- | --- |
29
29
  | npm package | the former name | `rig-parts`; the alias `spine-parts` is published beside it at every version, the same files with only the `name` in `package.json` changed |
30
30
  | command | the former name | `rig-parts`; the install also keeps the alias `spine-parts` as a second command on the same launcher, for the transition |
31
- | repository | the former repository name (GitHub redirects it) | `firejune/rig-parts` |
31
+ | repository | the former repository name (GitHub redirects it) | `rig-c/parts` (then `firejune/rig-parts`, moved after 1.5.3; *After 1.5.3* below) |
32
32
  | selftest variables | the `SPINE_PARTS_` names | `RIG_PARTS_CORPUS`, `RIG_PARTS_SELFTEST_JOBS`, each read first, with the former `SPINE_PARTS_` name read when it is not set |
33
33
  | spec ids of the files authors write and this package writes | `spine-parts-requirements/1`, `spine-parts-scene/1`, `spine-parts-keypoints/1`, `spine-parts-bonemap/1`, `spine-parts-basis/1`, `spine-parts-scene-report/1` | unchanged: they name a file format, not the tool, so a file written before the rename still reads |
34
- | public examples repository | `spine-parts-examples` | unchanged (it keeps the name it was published under) |
34
+ | public examples repository | the former examples repository name (GitHub redirects it) | `rig-c/examples` |
35
35
 
36
36
  What to do: install with `npm install -g @rig-c/parts` and write `rig-parts` in scripts.
37
37
  A script or a dependant that names the alias `spine-parts` keeps working and keeps
package/docs/PAINTING.md CHANGED
@@ -200,7 +200,7 @@ and chosen to be the next public example — a character for a wind demo, where
200
200
  and cloth move by physics under a side gust. It is the public example `wind`: its
201
201
  painting, See-through layers and generation record are in
202
202
  [rig-c/examples](https://github.com/rig-c/examples) (`wind/`), and its config,
203
- proposal and build are [`examples/wind`](../examples/wind/README.md). The block:
203
+ proposal and build are [`examples/wind`](https://github.com/rig-c/parts/blob/main/examples/wind/README.md). The block:
204
204
 
205
205
  ```json
206
206
  "generation": {