Latest published (npm at build time)@rig-c/review 5.3.1github.com/rig-c/reviewnpm

@rig-c/review

A local workspace for a person: open what an agent built, find what looks wrong, try a setup change through the producer that built it, pin what is left to a frame and a slot, and hand it back as an issue.

The rig-review page in Setup with Edit mesh on: the left column lists Character 1's 17 parts with topwear selected and Solo ticked; the stage shows the shirt at 800 percent with its mesh drawn over it — the orange hull outline, the triangulation's edges and the vertices, a dense grid of them over the chest — and the top vertex of the screen-left shoulder, where the outline runs flat, selected; the editor bar above reads Modify, Create, Delete, Edges, Undo, Redo, Reset, Download JSON, Apply · Rebuild and 0 ops · setup pose · preview only
Character 1 as rig-parts 1.44.0 builds it from its config at examples c239b09, open in rig-review 0.7.1 with Edit mesh on: the mesh the producer drafted for topwear (502 vertices, 885 triangles), read from the compiled model document and drawn in setup space, at 800 % on the screen-left shoulder where the cloth cut leaves a flat, indented step; its top vertex is selected. A move, an added vertex or a constraint edge is a typed delta, previewed only; Apply · Rebuild sends it to rig-parts remesh --delta, which retriangulates in scratch, and the revision loads in place.

Skip to Install · Inputs and outputs · Limits · Docs

The checks that keep a broken rig off the disk are structural: a shoulder that renders flat passes all of them. Someone has to look — and what they find has to reach whoever fixes it as something more precise than a screenshot. Review runs on your machine (127.0.0.1 only), plays the build with the same @rig-c/play runtime a site would use, and records feedback bound to a frame range, a slot or bone, and the exact camera, without touching the files it was given. Given the files the build was made from, its Setup and Animate edits go back through the producer that made it: review writes the edit as data, the installed producer rebuilds in scratch, and the result reloads on the stage.

One problem, from seeing it to the fix

Built by its producer from its config and painting, Character 1's shirt has a flat, indented shoulder: the cloth cut leaves out what the hair covers in the still, and the hair uncovers it when it moves. The family suite records the repair in its shoulder-repair note. Here review opens the build rig-parts 1.44.0 makes from that commit's config, finds the step, tries a setup edit through the producer on the way, and hands the defect back.

Recorded video The whole case in 23 seconds: rig-review 0.7.1 driven through its own page on Character 1 as @rig-c/parts 1.44.0 builds it from examples c239b09 — pause at 1.25 s, pick and solo topwear, zoom on the shoulder; in Setup, Edit mesh on the shoulder, then drag the R chest region up 30 px and Apply · Rebuild; pin the shoulder as feedback, submit, and the export. The producer's run behind Apply (remesh 109 s + compile 5 s in this capture) is cut to its result line; nothing else is edited but the two ends. The cursor is drawn in, and the last shots are rig-review feedback --format json opened in the same browser.

1. Open the build, and look where the motion would reveal it

rig-review open <dir> --config <config.json> --parts <out> checks the folder, records the producer handoff — the config, the parts and the rig directory the build was made from — and prints a loopback URL. Once per session review reruns the producer on that handoff and compares what it writes with the inspected rig; here the editor bar reads baseline: reproduced — rig.json 838579dc3c4f… = inspected 838579dc3c4f…. In the whole rig the back hair covers the shoulder, so the reviewer pauses the idle, picks topwear in the parts list, ticks Solo selected slot and zooms in.

The whole rig at the same zoom: the back hair covers the shoulder
The same camera with every slot drawn — the hair hides what the solo view shows.

2. Change the setup, and let the producer rebuild it

In Setup, Chest regions draws the config's two chest circles on the shirt. Dragging the R circle's centre from y 665 to 635 changes one number; Apply · Rebuild sends it. "Review builds no mesh itself and never runs a manifest command" (README, Chest regions): the server writes the regions into the shirt's entry of a scratch copy of the config, runs the installed rig-parts remesh for that part and rigc build, both in scratch under review's state directory, and the rebuilt rig replaces the drawn one with the same camera. The editor bar ends on the producer's result — Applied topwear with @rig-c/parts 1.44.0 · remesh … s + compile … s · Reset returns to the inspected build — and the shirt goes from 502 to 504 vertices and 885 to 889 triangles. The inspected package is only read.

Motion edits work the same way: "The producer writes motion in scratch; review never authors keys" (README, intro). The chest edit here shows the loop; it does not touch the shoulder.

3. Pin it, and submit

Use slot for feedback opens the review dialog with the target filled in; then a frame range, a category and one line of summary, Add feedback, status Changes requested, Submit review. The page has no export button: rig-review feedback <dir> --config <config.json> … --format json prints the submission (--format issue prints issue-ready Markdown):

{
  "schema": "rig-review-session/1",
  "reviewedSource": {
    "viewerVersion": "0.7.1", "runtimeVersion": "1.12.0",
    "rig": { "path": "build/skeleton.model.json", "sha256": "1f0e98202ea9dadf…" },
    "handoff": { "schema": "rig-review-handoff/1", "how": "declared", "via": "open --config",
                 "config": { "path": "config.json", "sha256": "b132cc7680cdc3c4…" }, … }
  },
  "status": "changes-requested",
  "feedback": [{
    "frameStart": 15, "frameEnd": 15,
    "target": { "kind": "slot", "name": "topwear" },
    "category": "defect",
    "summary": "Screen-left shoulder top of topwear is flat and indented (cloth alpha cut); exposed when hair moves aside",
    "context": { "animation": "idle", "time": 1.2500000000000004, "frame": null, …
      "applied": {
        "schema": "rig-review-applied/1", "part": "topwear",
        "regions": [{ "name": "bust_r", "shape": "circle", "cx": 295, "cy": 635, "r": 21, … }, …],
        "producer": { "package": "@rig-c/parts", "version": "1.44.0" },
        "compiler": { "package": "rig-c", "version": "2.64.1" },
        "line": "rig-parts remesh: wrote 21 file(s) under revision, the provenance in remesh.json",
        "modelHash": "0ed6916485b591e9…" } }
  }]
}

The rig's hash, the handoff's hashes, the viewer and runtime versions and the saved camera mean anyone holding the issue can reopen exactly this view. reviewedSource still names the inspected build; context.applied names what was on the stage when the feedback was written — the regions sent, the producer and compiler, the producer's last line and the rebuilt model's hash. "frame": null is honest: this build declares no frame clock, so review shows rate unknown, and the 15 is a number the reviewer entered (1.25 s at the check sampler's 12 fps).

4. The fix happens upstream

The repair is not in the config: a guarded stage restored the original shirt cloth in that area and widened five outline vertices, and the build committed at that commit carries it. That is why the producer's own build from the config still shows the step — and why review, opened on the committed build with the same handoff, reports baseline: not reproduced — out/rig/images/topwear.png and has nothing it can rebuild there. Reopened with the same view:

Two close-ups of the shoulder: left, flat with a step; right, a smooth rounded shoulder
Left: the build rig-parts 1.44.0 makes from the config at c239b09, as pinned. Right: the build committed at c239b09, with the repair — same time, slot and camera (800 %).

Review also lines a build up against reference footage — side by side, synchronized cameras, frame strips — which is how a retargeted motion like the Pose page's cup swing gets judged against what it was meant to copy.

Install

npm i -D @rig-c/review
npx rig-review open /absolute/path/to/output

Runs under Bun 1.3.0 or later, which must be on PATH; open prints a loopback URL and exits (README §"Start"). Apply runs the @rig-c/parts installed beside the package, never one from PATH, and review installs nothing: without it Apply refuses MODELING_PRODUCER_NOT_INSTALLED … bun add -d @rig-c/parts (README §"Chest regions").

Inputs and outputs

InOut
An output folder: skeleton.model.json (root or build/), motion.json, report.json, skeleton.json/.skel/.atlasA loopback inspection page (127.0.0.1 only)
Source references: videos (.mp4, .webm, .mov), strip/contact/sheet images, *pose*.json sequencesSaved review session: status, checkpoint outcomes and feedback, under ~/.local/state/rig-c-review/
(optional) the producer handoff: --config, --parts, and --source/--full/--head for edits that rebuild from the paintingScratch rebuilds under the state directory, loaded on the stage; nothing is written into the package
(optional) a curated review.json with checkpoints, references and angle axesFeedback export as JSON or issue-ready Markdown from rig-review feedback (--format json / --format issue); the page has no export button
For compare: two outputs and one local reference videoFrame strips as PNG (plus a .png.json provenance sidecar) or JSON

Limits

  • Review authors nothing itself: "The producer writes motion in scratch; review never authors keys"; it never writes the package's motion.json, meshes are rebuilt by the producer, and "weights and source art are not edited" (README, intro).
  • Apply needs a build its producer can reproduce: whole-rig edits refuse EDIT_BASELINE_MISMATCH unless review's baseline reproduced the inspected rig (README §"Chest regions"), and the producer refuses a rig it did not write. A build with hand repairs, like the committed Character 1, can be inspected and reviewed but not rebuilt.
  • check validates the delivery contract and model envelope, not the upstream compiler gate or visual quality; a raw skeleton.json can be inspected but not played (README §"Existing output handoff").
  • No frame rate is inferred: without a declared clock the page shows rate unknown, and strip PNGs need the report's exact frameTimes (README §"Existing output handoff", §"Frame strip export").
  • Never publishes an issue automatically; saving or exporting feedback modifies no model (README §"Feedback ownership").
  • Maturity: The CLI and @rig-c/review/job-host support owner hosting. See Public API stability for exports and signatures. (Published v4.0.0 README §"Start".)

Go deeper