# Phase 141 completion and local-actionability evidence

Audit date: 2026-07-14

This audit treats `phase-141.md` as the authoritative requirement inventory. It
reconciles every checklist entry with the current implementation and focused
verification surfaces; checked boxes, package names, and commit history are not
used as proof by themselves.

## Result

- Phase total: **225 requirements**.
- Checked with implementation and verification evidence: **225 requirements**.
- Unchecked: **0 requirements**.
- Unchecked and locally actionable in this environment: **0 requirements**.
- Duplicate requirement IDs: **0**.

The audit found and closed one verification gap: the standard
`@neith/anim2d-draw` test and lint targets did not enable the optional `gpu`
feature, so they omitted the real WGPU dispatch/readback test for requirement
141.2.1.1. Both targets now enable that feature.

## Requirement inventory reconciliation

| Requirement range |   Count | Implementation surface                                     |  Open |
| ----------------- | ------: | ---------------------------------------------------------- | ----: |
| 141.1             |      30 | `libs/neith/anim2d-core`                                   |     0 |
| 141.2             |      40 | `libs/neith/anim2d-draw`, Studio timing/cleanup workspaces |     0 |
| 141.3             |      40 | `libs/neith/anim2d-rig`                                    |     0 |
| 141.4             |      15 | `libs/neith/anim2d-lipsync`                                |     0 |
| 141.5             |      15 | `libs/neith/anim2d-color`                                  |     0 |
| 141.6             |      15 | `libs/neith/anim2d-camera`                                 |     0 |
| 141.7             |      15 | `libs/neith/anim2d-procedural`                             |     0 |
| 141.8             |      30 | `libs/neith/anim2d-pipeline`                               |     0 |
| 141.9             |      15 | `libs/neith/anim2d-interop`                                |     0 |
| 141.10            |      10 | `libs/neith/anim2d-teach`, Studio learning workspace       |     0 |
| **Total**         | **225** | **10 focused Rust workspaces and 3 Studio flows**          | **0** |

## Implementation and verification evidence

### 141.1 Timing, exposure, and scene model

`anim2d-core` implements validated integer and NTSC frame rates, drop-frame
timecode, pulldown cadences, subframe/easing/remap sampling, exposure patterns,
holds, timing charts, reverse and ping-pong playback. Its X-sheet model provides
typed production columns, keyboard edits, block transforms, library references,
paper OCR through a Tesseract-compatible process boundary, print-ready PDF/PNG,
views, and multi-scene dividers. The scene model provides the complete
production hierarchy, nested compositing, masks, layer states and kinds, guide
validation, plate frame rates, variables, and non-destructive conform. Nineteen
tests cover all three requirement groups, including valid document signatures
and live OCR TSV parsing.

### 141.2 Drawing, onion skinning, tools, and cleanup

`anim2d-draw` implements raster and variable-width vector strokes, natural and
wet media, dual/scatter brushes, Forge-library interchange, stabilizers, guides,
response curves, and a WGPU compute brush. Its onion/lightbox model supports
multi-frame fades, key/interval filtering, cross-layer and reference-video
sources, view transforms, animated scrubbing, and timed stroke replay. Drawing
tools provide ML correspondence-based inbetweens, cleanup, role tags,
gap-closing fill, flat paint, symmetry, perspective and assist rulers, and
motion anchors. Cleanup provides vectorization, centerline pressure, thickness
editing, palette matching, lighting layers, gap and paint diagnostics, model
cards, staged passes, and reviewed handoff. Twenty-three feature-enabled tests
cover these paths, including actual WGPU dispatch and buffer readback. The
Studio timing-chart and cleanup-check workspaces add the visual,
keyboard-accessible authoring surfaces.

### 141.3 Rigged puppet animation

`anim2d-rig` implements validated IK/FK chains, spring dynamics,
warp/spline/bend/ twist/curl/lattice deformers, pose corrections, constraints,
mirror rigs, and nested bones. Mesh and skinning support proximity weights,
weight painting and blend modes, topology editing and subdivision, keyed
draw/layer swaps, reference interpolation, line-art snapping, and art remapping.
The character library covers variants, turnarounds, mouth, expression and hand
poses, props, costumes, palettes, templates, and sheet rendering. Motion
provides generated and library cycles, secondary and dangling physics, mocap
retargeting, style profiles, FFD, hit reactions, family retargeting, and
deterministic curve noise. Seventeen tests exercise the four complete
requirement groups.

### 141.4 Dialogue and lip sync

`anim2d-lipsync` implements waveform/beat analysis, offline phoneme detection,
script and Whisper-word forced alignment, four language phoneme sets, a
production mouth chart, automatic and manual keys, dub conform, production
markers, scratch tracks, Foley CSV, beat snap, click tracks, interchange
manifests, and subtitle generation. Four focused tests cover audio analysis,
multilingual alignment, mouth workflows, and production export.

### 141.5 Palette and ink-and-paint

`anim2d-color` implements palette lists and models, scene and animated swaps,
Pantone/CMYK/HSL/OKLCH conversion, color-vision previews, LUT/CDL grading,
generated lighting colors, materials, ink/gradient/texture zones, versioned
migrations, production-wide replacement, and Harmony/TVPaint-style interchange.
Four tests cover color conversion, production models and swaps, paint zones and
grading, and versioned import/export.

### 141.6 Multi-plane camera and composite

`anim2d-camera` implements eased camera evaluation, depth planes and parallax,
pegbar registration, focus and motion blur, movement presets, perspective
projection, spline paths, alternate takes, judder, geometry projections,
Foundry-compatible compositor graphs and effects, and straight/premultiplied
alpha conversion. Four tests cover the entire camera, projection, compositor,
and alpha surface.

### 141.7 Procedural motion design

`anim2d-procedural` implements acyclic node evaluation, shape booleans and
morphs, repeat/distribution transforms, forces and particles, per-character and
path typography, fractals, flocking, CSV/JSON data binding, audio response, a
validated expression evaluator, prefabs, portable Rive/Lottie/Neith manifests,
and browser modules. Four tests cover graph/dynamics, typography/generation,
data/audio/expression, and publishing.

### 141.8 Storyboard-to-final pipeline

`anim2d-pipeline` preserves board revisions through handoff, derives scenes,
camera moves, timing and dialogue, builds story reels and review cycles,
branches versions, and reverse-exports animatic edits. Production tracking
implements the complete shot state machine, assignments, annotated review,
dailies, retakes, complexity estimates, compositing handoff, ShotOps records,
budgets, credits and royalty validation. Delivery implements farm chunks,
proxies, all named output classes, alpha sequences, sprite packing,
skeleton/runtime exports, conform, safe-area checks, and caption
sidecars/burn-in plans. Twelve tests cover the three ten-item groups.

### 141.9 Import, export, and interoperability

`anim2d-interop` provides format-signature-driven read-only imports for Harmony,
TVPaint, OpenToonz/Tahoma2D, Moho, Animate, Clip Studio, Krita, Procreate
Dreams, and After Effects; two-way portable-runtime bridges; stop-motion
imports; editorial conform; layered PSD/TIFF/EXR import; USD variants; and
validated reference video import. Three tests exercise every required source
family, round-trip/conform path, and layered/video validation path.

### 141.10 Teaching and accessibility

`anim2d-teach` supplies animator-correct beginner templates, four concrete style
presets, all twelve animation-principle lessons, frame-remapped mentor overlays,
rubric-based classroom grading, WCAG contrast and keyboard/screen-reader models,
dwell/sticky/head-tracking input state machines, Machado-based color-vision
auditing and correction, magnification/large-cursor support, and dialogue-aware
WebVTT audio-description planning. Thirty-eight tests cover these deterministic
models. The Studio learning workspace makes the template, tutorial, mentor,
classroom, palette, magnifier, contrast, and audio-description flows operable.

## Reproduced verification

All commands were run sequentially on 2026-07-14. No broad Nx gate was used
because this 15 GiB host was concurrently running a separate Studio
accessibility audit.

```text
Ten Rust workspaces
  cargo fmt --check
  cargo clippy --all-targets -- -D warnings
  cargo test
  PASS: format and Clippy; 127 default-feature tests, 0 failed, 0 ignored

GPU draw feature
  cargo clippy --all-targets --features gpu -- -D warnings
  cargo test --features gpu
  PASS: Clippy; 23 tests, including WGPU dispatch/readback, 0 failed, 0 ignored
  (128 distinct Rust tests across the phase)

Studio Phase 141 pages
  pnpm exec vitest run <three Phase 141 page suites>
  pnpm exec eslint <three Phase 141 pages>
  pnpm exec prettier --check <three Phase 141 pages and tests>
  pnpm exec tsc --noEmit
  pnpm exec vite build
  PASS: 6 unit tests, lint, formatting, strict typecheck, and production build

Studio Phase 141 browser flows
  pnpm exec playwright test e2e/studio-web.smoke.spec.ts \
    --grep '<three Phase 141 flows>' --workers=1
  PASS: 6 tests (desktop Chromium and Pixel 5), 0 failed
```

The focused suites above are implementation evidence. The inventory commands
below independently prove checklist count, openness, and ID uniqueness; neither
kind of evidence substitutes for the other.

## Reproducible inventory checks

```bash
awk '/^- \[[ xX]\]/{total++} /^- \[ \]/{open++} END {
  print "total=" total, "open=" (open + 0)
}' TODOS/phase-141.md

perl -ne '
  if (/^- \[[ xX]\] \*\*(141\.(\d+))/) {$count{$2}++; $total++}
  END {
    print "total=$total\n";
    print "141.$_=$count{$_}\n" for sort {$a <=> $b} keys %count
  }
' TODOS/phase-141.md

perl -ne '
  if (/^- \[[ xX]\] \*\*(141(?:\.\d+)+)\*\*/) {$seen{$1}++}
  END {
    $duplicates = 0;
    $duplicates += $_ - 1 for grep {$_ > 1} values %seen;
    print "unique=" . scalar(keys %seen) . " duplicates=$duplicates\n"
  }
' TODOS/phase-141.md

rg '^- \[ \]' TODOS/phase-141.md
```

The final `rg` intentionally exits with status 1 and no output. Re-run the
inventory and focused verification if Phase 141 gains requirements or any item
is reopened.
