### The SOMA avatar against the live export, 2026-10-25
Imagination (imagination-soma-avatar-r3, session sp-reentry-2026-10-21), for
`motion-pipeline:cut_spec:cut-soma-humanoid-avatar.r3` at StreamPixels main `f3280e0`. The live unit is release
`5bcd6700...` from Vili main `51eb113`, reached at `http://10.77.0.1:8824` over WireGuard; its `/health` reports
Blender 5.2.2 LTS and 8 threads. Unity ran on Starfire (2021.3.45f2, batchmode with graphics, one job at a time,
waiting out Soul's runs on `F:\ws\sp-a3b-r7`) in a lean copy of `apps/overlay-unity` (5.5 GB, Library caches left
out) and a 1 GB mini project with no Library, both in the session scratchpad. No repo was changed.
| Probe | Result |
|---|---|
| Rest FBX | `POST /motion/rest-fbx` twice (jobs `rest-1792894213349-4a1879dc`, `rest-1792897207052-c83d9a2d`): `SOMA77_Rest.fbx` 457,852 bytes, sha256 `3a608c93767696220d95534ec6c3b2a619419a13424b71b2af542be43de12f3a` both times. The route serves the FBX only; `SOMA77_Rest.bvh` is a 404. |
| Motion FBX | `POST /motion/generate` with `{"prompt":"A person walks forward happily, pumping both fists in the air to celebrate.","duration":3,"seed":7,"fbx":true,"clipName":...}` took 60 s wall. Three runs gave one BVH (`e2d29634...`, the same bytes as the 2026-10-24 probe) and NPZ (`bf7def08...`). With `clipName``fixture-celebrate-walk` (job `vili-1792897178490-8de9b8cc`) the FBX is 949,468 bytes, sha256 `e362ad34c0bfae2a4bfcdb41c15783d191c35c4e736d598c6328497efe2e7d3f`. A mope walk ('A person walks forward slowly and sadly, head hanging down and shoulders slumped.', 3 s, seed 7, `probe-mope`) was generated for comparison. |
| Humanoid validation | `ApplyToRest` (table and skeleton set by an editor method, then `SaveAndReimport`): `isValid True`, `isHuman True`, 55 human bones, 79 skeleton entries, `humanScale 0.991`. Hips y 1.000, Head y 1.598, toe 0.011, root scale 1. |
| Finger map | `LeftHandIndex1` unmapped, `LeftHandIndex2 -> Left Index Proximal`, `Index4 -> Distal`, `Thumb1 -> Thumb Proximal`, `RightHandPinky2 -> Right Little Proximal`; `Chest -> UpperChest`; `Neck2` and `Root` unmapped. The table fixes the auto-map's off-by-one. |
| T-pose | Upper arm and forearm directions are (-1, 0, 0) and (1, 0, 0), elevation 0.0 degrees. Thigh is 1.1 degrees off vertical and shin 4.7. Unity accepts it with no Enforce T-Pose: no correction. |
| Reproducing the `.meta` from code | From a Generic import, the first `ApplyToRest` writes 33,313 bytes and the second 33,321; the third equals the second. The two passes differ only in the last float digits of eight skeleton rotations (`z: 0` against `z: -0`, `0.7071068` against `0.70710677`), because the first pass reads the transforms of the Generic import and the second those of the Humanoid one. A fresh copy driven to the fixed point equals the committed `.meta` except its `guid` line. |
| Automatic clip import | An `AssetPostprocessor` scoped to `Assets/Motion/Vili/` sets Human, CopyFromOther and the rest's avatar in `OnPreprocessModel`, calls `context.DependsOnArtifact(rest)`, and sets clip settings in `OnPreprocessAnimation`. `ApplyToRest` alone re-imported both clips through that dependency. Clips: `humanMotion True`, length 2.9667 s, `hasRootCurves True`, `averageSpeed` (0.006, 0, 0.863) celebrate and (0.028, 0, 0.930) mope. |
| Fresh clone, no Library | The mini project held the scripts, the rest with its `.meta`, the celebrate clip with its `.meta` and the mope clip with no `.meta`. Import order was mope (the avatar was not loadable yet: the hook bailed with a warning), then the rest, then celebrate (its `.meta` names the avatar), then mope again through the artifact dependency. All three ended Human from the SOMA avatar with the same `averageSpeed`. The committed `.meta` files were left byte-identical, and the new mope `.meta` equals the lean copy's except for its `guid`. So the first pass on a dropped-in clip legitimately finds no avatar; the hook must not log an error there. |
| The duel's scale | The staged LHMP duelist: `Base NormalAvatar`, `humanScale 0.633`, lossy scale 11.616, so root motion moves 7.354 world units per SOMA metre. LHMP's `Walk` is an in-place loop (`averageSpeed` 0, loop-blend XZ, Y and rotation all baked). The live duel walks out 136.3 units in 12.17 s at 11.21 u/s. Winner and Loser today are `Walk_09_Happy_Dance_Loop` and `Crying`. |
| Foot contact and slide | The method was `AnimationDuelSceneTests.SoleStride`'s skinned-sole contact (within 12 percent of the foot's height range), with the duelist's Walk state overridden by each clip at 60 Hz, giving the mean slide over contact frames in SOMA m/s (units divided by 7.354). The current LHMP Walk in place at its stride (11.24 u/s) slides 0.203. The celebrate clip slides 0.907 with root motion and 0.389 with root motion plus Foot IK on the state; in place it slides 0.595 at its sole stride (5.90 u/s) and 0.606 at the speed derived from `averageSpeed` (6.34 u/s), and 0.716 in place with Foot IK. The mope clip slides 1.175 with root motion, 0.672 with root motion plus Foot IK, and 0.929 and 0.691 in place without and with IK, at a stride of 4.25 to 6.80. On SOMA's own avatar (toe-base joints), the celebrate clip slides 0.065 with root motion and 0.50 in place; the mope clip slides 0.42 either way, which is Kimodo's own shuffle. |
| Root speed profile | Celebrate root velocity on LHMP runs from 0.85 to 7.46 to 10.76 u/s (p10, p50, p90), because the gait lurches with the fist pumps. Mope's runs from 6.32 to 6.87 to 7.33, which is steady. Over 2.97 s, root motion carries the duelist 18.66 u (celebrate) and 20.28 u (mope): 14 and 15 percent of the 136 u exit. |
### The RPS slot clips against live takes, 2026-10-25
Imagination (imagination-rps-clips, session sp-reentry-2026-10-21), for
`motion-pipeline:cut_spec:cut-rps-slot-clips.r1` at StreamPixels main `84d7499`. Takes came from the live unit
(release `5bcd6700...`, 8 threads) by `POST /motion/generate` with `fbx: true`, a fixed `clipName` per slot, a seed and a
duration, and `GET /motion/artifacts/<jobId>/motion.fbx`: 19 takes, 21 to 80 s wall each. Each was imported through the
avatar cut's hook in a lean copy of `apps/overlay-unity` (Library caches left out) and played on the scene's
`Challenger Character` (LHMP, 7.354 u per SOMA m) at 60 Hz, Unity 2021.3.45f2 batchmode with graphics. Slide is the
`SoleStride` stance rule (sole within 12 percent of its height range) applied to the sole's world horizontal speed while the
body is placed by its own root delta, mean and median over stance frames, in SOMA m/s. The takes and their records are
kept in the session scratchpad folder `imagination-rps-clips\takes`. No repo was changed.
| Probe | Result |
|---|---|
| Root delta with root motion off | With `applyRootMotion` false and no `OnAnimatorMove` handler, `animator.deltaPosition` reads 0 every frame (two clips, 960 frames each). With an `[ExecuteAlways]``OnAnimatorMove` handler on the duelist it reads the clip's travel (148.48 u over 16 s, equal to the handler's sum), in EditMode under `Animator.Update`, and the transform moves 0.0000. So the beat needs a tap on the duelist's GameObject; `AnimationDuel` cannot read the delta itself. |
| Countdown, 7 takes, 4 s | Prompt a, "A person stands still, holds out the open left hand palm up in front of the chest, and pounds the right fist down into the left palm three times, then holds the fist on the palm.", seeds 1 to 3: the hand-curve distance stays at 0.71 m or more except in the first and last 0.25 s (0.43 and 0.48 m at most there); the hands wave apart. Prompt c, "A person raises the right fist and brings it down hard onto the open left palm, three times in a row, then keeps the fist resting on the palm.", seeds 1 and 2: the same, minima 0.67 to 1.08 m. Prompt b, "A person counts one, two, three by bumping the right fist into the open left palm three times at a steady beat, and keeps the fist pressed in the palm after the third bump.": seed 2 meets once (1.450 s, 0.181 m); seed 1 (job `vili-1792907818564-564416e8`, sha256 `01a37f765a0e8627717d64694e08a594f1c44d29f87b7bdaa7cb77645958fd41`) has three contacts by the test's rule, at 0.958, 1.208 and 1.775 s (0.155, 0.160, 0.175 m), but the distance between them peaks at only 0.171 and 0.176 m: one press held from 0.96 to 1.78 s, not three pounds. On the duelist the retargeted wrists at those frames are 2.56 to 2.84 u apart (arm 3.67 u). |
| Raised arms and the icon | Across all seven countdown takes the higher hand stays 6.4 to 8.8 u below the head's top. A weapon pass at the held third hit was run but is not usable: renderer bounds of freshly instantiated weapon prefabs read stale in batchmode (223 of 588 mounts at one identical +103.8 u). |
| Winner, 6 takes, 8 s | "A person walks forward briskly while celebrating, pumping both fists in the air." seeds 1 to 3: 0.26, 0.37, 0.59 m/s. "A happy person struts forward quickly with a victorious bounce, raising both arms in triumph as they walk." seeds 1 to 3: 0.60, 0.66, 0.95 m/s. Best by pace and slide: seed 3 (job `vili-1792908162029-5dea0ac1`, sha256 `bd579f0b54621ca698e7c3b5efad5a54d260d5260118b8e095eae02dec298c09`): 7.02 u/s, 90.9 u by 12.17 s, root speed p10/p50/p90 -0.27/8.70/13.20 u/s, lateral drift 11.6 u in 16 s; slide with Foot IK mean 0.521 median 0.086, without IK 2.087 and 1.479; with loop pose and IK 0.773 and 0.100; seam pose cost 0.054 (muscle RMS plus step RMS, 0 to 7.97 s; no better window). |
| Loser, 6 takes, 8 s | "A person walks forward briskly but dejectedly, head hanging down and shoulders slumped." seeds 1 to 3: 1.26, 1.15, 1.44 m/s. "A disappointed person walks away quickly, head down, shaking their head, arms hanging limply." seeds 1 to 3 turn round and walk backward in the clip's frame (-0.93 to -1.08 m/s): unusable. Best: seed 3 of the first (job `vili-1792908307335-991264b1`, sha256 `009b7240f92f14c27a941d547572ccd56163d22ee11cd6736f3429d545fe5944`): 10.60 u/s, 136.3 u in 11.40 s, lateral 20.9 u in 16 s; slide with loop pose and IK mean 0.557 median 0.143 (seam frames 0.075), with IK only 0.982 and 0.184 (seams 0.646), without IK 2.357 and 2.013; seam cost 0.033, the lowest of all takes. |
| Timing | The countdown slot is unchanged, so `RpsRoundTimeoutSeconds` (8) holds as before (5 + 1.5 + 0.4). Staging: run-in up to about 4.1 s for the widest name plus an exit of 136 to 198 u at 10.6 to 11.2 u/s (12 to 18.7 s), with the 3 s outro gone: at most about 23 s against `RpsStagingTimeoutSeconds` 40. |
Imagination (imagination-vili-fbx-r3, session sp-reentry-2026-10-21), for
`motion-pipeline:cut_spec:cut-vili-fbx-export.r3`. Source reads are Vili main `c5cf445`. On Yggdrasil,
everything ran as `gamecultadmin` in `~/scratch/imagination-vili-fbx-r3` (removed afterwards, `df` unchanged at
1.3 TB free), with `sudo -n` used only to read the live state root and for `docker run --rm` probes. The live unit
`idunn-vili-43ee8c6f...` (release `sha256-5f0df659...`, 1.8 GB) and `/var/lib/gamecult/vili` were not changed.
Raven was not touched. Host load was about 1.0 on 16 vCPU.
| Probe | Result |
|---|---|
| Blender in the recipe | Absent. `deployment/idunn/recipe.toml` at `c5cf445` has one external input (CPython) and the artifacts `node`, `vili` and `python`. No Blender exists anywhere on Yggdrasil (`find / -maxdepth 7 -name 'blender-5*'`). The tree Idunn sealed in its `big_tree_seals_from_env` test (`idunn-deploy-provenance:cut_report:cut-tree-executable-members.h2`) is gone. |
| Blender download | `https://download.blender.org/release/Blender5.2/blender-5.2.2-linux-x64.tar.xz`, 383,295,504 bytes, sha256 `84098912789dc450e95697c4184fb8a90acbe5111c2ba4aede3fecb57806a168`, which matches upstream `blender-5.2.2.sha256`. It unpacks to 1.2 GB: 6,547 entries, 79 symlinks, none absolute. `blender -b --version` prints `Blender 5.2.2 LTS (hash d13f752e3b9c built 2026-09-15 01:34:58)`. |
| Shared libraries | On the host (Debian 13.6), `ldd blender` reports 7 missing: `libXrender.so.1`, `libXfixes.so.3`, `libXi.so.6`, `libxkbcommon.so.0`, `libSM.so.6`, `libICE.so.6`, `libGL.so.1`. Blender exits 127 before `main`. The `python-build` runner image (`buildpack-deps:bookworm@sha256:ccb050a4...`) lacks `libXfixes`, `libXi`, `libxkbcommon` and `libGL`. The binary's `RUNPATH` is `$ORIGIN/lib`, but `libGL.so.1` resolves `libGLX` and `libGLdispatch` without it (RUNPATH is not inherited), so `LD_LIBRARY_PATH=<blender>/lib` is needed as well. |
| Bundled libraries | Nine bookworm debs (`apt-get download` in the runner image) hold every missing library and its dependencies: libxrender1 1:0.9.10-1.1 `b2a6d160...`, libxfixes3 1:6.0.0-2 `1cd61639...`, libxi6 2:1.8-1+b1 `6c2fb5f2...`, libxkbcommon0 1.5.0-1 `e3fe045b...`, libsm6 2:1.2.3-1 `22a42089...`, libice6 2:1.0.10-1 `452796e5...`, libgl1 1.6.0-1 `6f89b170...`, libglx0 1.6.0-1 `95f568df...` and libglvnd0 1.6.0-1 `b6da5b15...` (the full digests are in the cut spec). Their `usr/lib/x86_64-linux-gnu/*.so*` (18 entries, symlinks relative) are copied into `blender/lib`. With `LD_LIBRARY_PATH=<blender>/lib`, nothing is missing on the host or in the runner (`--network none --read-only --user 65532`), and Blender runs in both. |
| A generated clip | The live release's own interpreter and worker (`python/bin/python3.12 vili/scripts/kimodo-resident-worker.py`), run at nice 10 with 8 threads, the models root read-only and a scratch copy of the live embedding cache. The prompt was 'A person walks forward happily, pumping both fists in the air to celebrate.', 3 s, seed 7, `bvh` and `bvhStandardTpose`. The worker was ready in 11 s. Generation took 53.3 s the first time (an encoder miss) and 15.0 s the second (a hit). Both runs produced 90 frames at 30 fps, and their BVH (sha256 `e2d29634...`) and NPZ (`bf7def08...`) were byte-identical. |
| BVH layout (Kimodo `kimodo/exports/bvh.py`, as installed in the release) | `ROOT Root` is a wrapper at the origin whose channels are keyed to zero. `JOINT Hips` carries the 6-channel world trajectory in cm. So the travel is on Hips: across the clip Hips moved 2.56 m forward (Blender `-Y`) in 2.97 s. |
| Conversion | The r2 settings (BVH import at `global_scale 0.01`, `axis_forward -Z`, `axis_up Y`; FBX export with no leaf bones, full bake and `simplify 0.0`), in a scratch `bvh_to_fbx_probe.py`. Per 3 s clip: 1.1 to 4.0 s wall (cold first), 2.6 to 4.6 s CPU, 350 to 377 MB max RSS. Output: 78 bones (`Root, Hips, Spine1...`), frames 1-90, Hips at rest 1.00 m, Head 1.598 m, and a 949,388-byte binary FBX. The rest BVH (`kimodo/assets/skeletons/somaskel77/somaskel77_standard_tpose.bvh`, 1 frame) gives a 457,852-byte FBX with Hips at 1.00 m. |
| Determinism | Two exports of one BVH differ in 15,126 bytes. One cause is FBX object UUIDs: `io_scene_fbx/fbx_utils.py:826-842``_key_to_uuid` uses Python `hash()` on strings, which is randomized per process. Blender ignores `PYTHONHASHSEED` unless it gets `--python-use-system-env`. The other cause is `CreationTimeStamp`: `export_fbx_bin.py:3235` calls `datetime.datetime.now()`; `FileId` and `CreationTime` are already constants. With `PYTHONHASHSEED=0` and `--python-use-system-env`, and with the script replacing that module's `datetime` by a fixed 1970-01-01, the output is byte-identical: across two processes, across the BVHs of two generation runs, and under `env -i` with `HOME=/nonexistent` and `PYTHONNOUSERSITE=1`. sha256 `f92bd412d0cd78657ed68677564bbd31ca238f4f2c6b34c0a596efb064bc0fc9`, both with the host's trixie libraries and with the bundled bookworm ones. Changing only the seed flag still varies the UUIDs; changing only the time pin still varies 2 timestamp bytes. Decoded with Blender's own `parse_fbx`, those variants have identical values (max diff 0). |
| Across glibc | The same BVH exported in the bookworm runner and on the trixie host gives FBX files 80 bytes apart. Decoded, 2,224 of 9,680 elements differ, all `AnimationCurve` values and `Model` properties, by at most 4.2e-5. So the FBX is byte-reproducible on one host body, and the BVH is the reproducibility unit across bodies. |
| Re-import (Blender) | The FBX imports back as one armature with scale 1, 78 bones, SOMA names, no `mixamorig`, 90 frames and the same Hips trajectory. The take is named after the scene, so the script renames the scene to the clip name (the take then reads `winner_probe`). |
| Unity import smoke (Starfire, Unity 2021.3.45f2 batchmode, a scratch project in the session scratchpad, never the StreamPixels checkout) | Rest FBX as Human/CreateFromThisModel: `isValid True`, `isHuman True`, 79 transforms, Hips y 1.000, Head y 1.598, root scale 1, `fileScale 1`. The auto-map is off by one in the fingers (`LeftHandIndex1 -> Left Index Proximal`), as recorded on 2026-10-23, which is the avatar cut's table to fix. Clip as Human/CopyFromOther: `humanMotion True`, length 2.9667 s (89/30), `hasRootCurves True`, `averageSpeed (0.073, 0.030, 0.858)` m/s, `apparentSpeed 0.863`. With Bake Into Pose (XZ, Y, rotation) the same clip is in place: `averageSpeed (0, 0, 0)`. |
| Disk per job | NPZ 587 KB, BVH 207 KB, FBX 949 KB for a 3 s clip: about 1.7 MB. The release grows by about 1.2 GB (Blender) plus the 18 library entries. |
| Idunn body | Unit `idunn-yggdrasil.service`, `/usr/local/bin/idunn serve --bindings-dir /etc/gamecult/idunn/bindings ...`; the binary is dated 2026-10-20, so it predates `d3222e5` (merged 2026-10-23). No `version` subcommand. |
| Bindings | ghostlight, heimdall, odin, raven-muninn, streampixels-service, streampixels-web. Every systemd target uses `strategy = "candidate-then-promote"`; only the Raven host actuator uses `stop-then-start`. Stable endpoints in use: 8831, 8832, 8833, 4100 (loopback), Odin `rudp://10.77.0.1:17871`. Private ranges in use: 18831-18839, 18841-18849, 18851-18859, 14101-14109, 17972-17979. |
| Free ports | `ss -ltn` shows nothing on 8824, 8825 or 18860-18869. |
| Probe body | `~/scratch/vili-ygg-cpu/hf2` (18 GB) is an `HF_HOME`: `hf2/hub/models--{meta-llama--Meta-Llama-3-8B-Instruct, McGill-NLP--LLM2Vec-Meta-Llama-3-8B-Instruct-mntp, ...-mntp-supervised, nvidia--Kimodo-SOMA-RP-v1.1, nvidia--Kimodo-SOMA-RP-v1.2}`. Kimodo checkout `~/scratch/kimodo-cpp-probe/kimodo` at `6bb58488037dd65360ff0c5d1692b403a23309f7`, 79 MB without `.git`; `MotionCorrection/` (CMake, `setup.py`, `src/`, `python/`) is a subdirectory of that repo. Kimodo's `docker_requirements.txt` takes `py-soma-x @ git+https://github.com/NVlabs/SOMA-X.git` unpinned; the probe image's build log resolved it to `56a3d957a549c66425b500fddf7f3183bc6fbdff`. |
| python-build-standalone | Upstream `SHA256SUMS` of release `20261021`: `cpython-3.12.15+20261021-x86_64-unknown-linux-gnu-install_only.tar.gz` is `5ff9f0602ce964a529ed1e8555d3abab6341926d724402ba9a15e9e877191124`. |
Imagination (imagination-vili-move, session sp-reentry-2026-10-21), for
`motion-pipeline:ruling:vili-moves-to-yggdrasil-now`, `vili-worker-venv-in-release` and
`encoder-assembly-b`. Read-only: `ssh raven` as encoded PowerShell, `ssh ygg` with `sudo -n`
for reads only. Nothing was started, stopped or changed on either host. The CPU timings, the A/B
clips and Yggdrasil's load profile are `docs/research/vili-on-yggdrasil-cpu-2026-10.md`; they are
not repeated here.
**Raven, 2026-10-23 about 09:45 UTC:**
| Probe | Result |
|---|---|
| Scheduled tasks under `\GameCult\` | `Vili` (Ready; boot trigger) runs `wscript.exe run-hidden-powershell.vbs ... start-vili-daemon.ps1 -Port 8824 -HostName "127.0.0.1,10.77.0.4" -StateRoot "E:\Projects\Vili\.vili" -IdunnRudpHealth "10.77.0.2:17870" ...`. `ViliTray` (Running; `MSFT_TaskLogonTrigger`) runs `vili-gpu-tray.ps1 -Port 8824`. `Backup-Yggdrasil-Pull` and `ComfyUI` are not Vili's. |
| Processes | node PID 31324 `E:\Projects\Vili\scripts\vili-daemon.mjs --host 127.0.0.1,10.77.0.4 --port 8824 --state-root E:\Projects\Vili\.vili`, listening on `127.0.0.1:8824` and `10.77.0.4:8824`. powershell PID 4540 is the tray. |
| Checkout | `E:\Projects\Vili`, detached HEAD at `3adb616`, the head of the unmerged `cut/raven-gpu-tenancy-gate` (26 commits past main's merge base, 4 behind main). The inventory's `F:\Projects\Vili` on Raven is stale. |
| State | `E:\Projects\Vili\.vili`: artifacts 58 files 7.8 MB, jobs 17 files, probe 59 files 1.0 MB, logs 2, embeddings `text-embeddings.cc` 138,633 bytes (assembly A vectors, GPU bf16), plus the JSON sidecars and `vili.service.cc`. |
| WSL host paths | `/root/.cache/huggingface` 17 GB holding only Vili's repos (Llama base, the two McGill adapters, SOMA-RP v1.1). `/opt/gamecult/kimodo` (the Kimodo checkout the image and the daemon read) and `/opt/gamecult/kimodo-runs` sit beside `bonsai`, `comfyui` and `sillytavern`, which are not Vili's. |
| Huginn | `huginn.service`, an interim unit: `MemoryMax=768M`, `Nice=0`, no `CPUWeight`, no CPU quota. |
| Probe body left by the CPU research | Image `vili-cpu-probe:1` (`11fa6c3dbb4e`, 4.66 GB): python:3.12, torch 2.5.1+cpu and Kimodo's pins (`~/scratch/vili-ygg-cpu/Dockerfile`). `~/scratch/vili-ygg-cpu/hf2` (18 GB) in hub layout: `meta-llama/Meta-Llama-3-8B-Instruct`, both McGill adapters, SOMA-RP v1.1 and v1.2. Kimodo at `6bb58488037dd65360ff0c5d1692b403a23309f7` in `~/scratch/kimodo-cpp-probe/kimodo`. Assembly B as the probe built it: `~/scratch/vili-ygg-cpu/encode.py` lines 33-39. The run harness is `run.sh` there. |
| Idunn bindings | `/etc/gamecult/idunn/bindings/`: ghostlight, heimdall, odin, raven-muninn, streampixels-service, streampixels-web. Every systemd target is `network = "host-private"`, `hardening = "strict"`. HTTP routes are `nginx-stream-tcp` on `127.0.0.1` stable endpoints; Odin's `nginx-stream-udp` route has the WireGuard stable endpoint `rudp://10.77.0.1:17871`. Workload limits: StreamPixels service 2048 MiB / 200 %, Ghostlight 8192 MiB / 400 %. Build runners are digest-pinned docker images with `network_profile``bridge` or `build-dependency-egress`. |
| StreamPixels service, the precedent | Recipe `StreamPixels deployment/idunn/service.toml`: `required_gitlinks = ["vendor/CultLib"]`, node-build steps, a `node` executable artifact plus a `service` tree artifact, health `gamecult.runtime_presence_health.v2` answered through `cultnet-ts/idunn-runtime` (`deployment/idunn/runtime-presence.mjs`), CultCache state slots. Binding: `read_only_paths = ["/srv/streampixels/content"]`, `[runtime_identity]`, `[process_write_lease]`, `[rollout] strategy = "candidate-then-promote"`, so two incarnations overlap during a rollout. |
**Idunn source, main `6e2a31c`:**
- An artifact `destination` must be a single filename (`require_leaf_path`, `src/deployment.rs:1837-1844`), and destinations are unique (`:839-843`).
- Sealing makes every directory 0555 and every file 0444 except the artifacts declared `executable`, which are matched by destination path (`harden_installed_release`, `src/drivers.rs:6749-6793`). A file inside a tree artifact can never be executable. Symlinks survive only when relative and inside the release (`validate_release_symlink`, `:6796-6815`).
-`external_inputs` are fetched by `curl --proto =https` inside a named runner and checked against `sha256` (`materialize_external_input`, `src/drivers.rs:2215`).
- The transient unit carries `MemoryMax`, `CPUQuota`, `DynamicUser`, `PrivateTmp`, `ProtectSystem=strict`, and no `MemoryDenyWriteExecute`, so torch's oneDNN JIT can run (`src/drivers.rs:3634-3700`). There is no `CPUWeight` or `Nice` knob.
-`docs/migration.md:283-293` names the Python gap: a release needs "a wheel, or a venv materialized into the release root".
**Consumers of Raven's address.** `git grep` for `10.77.0.4:882`, `raven.vili` and `:8824` across
StreamPixels, gamecult-ops, Odin, Idunn, Huginn, Eureka, Ghostlight, Heimdall, Bifrost and Vili found
no code that calls Vili. The hits are Vili's own defaults and README (`scripts/vili-daemon.mjs:19-20`,
`:222-224`, `scripts/smoke-vili.mjs:2`, `README.md:41`), gamecult-ops `inventory.md:20` and `:321`
(docs), and Odin's transport inventory, which records the address as gone from Odin. The live callers
are agents running `POST /motion/generate` by hand from Starfire over WireGuard.
and shallow clones read on Starfire, nothing run except the Unity probes below.
| Tool (commit read) | Licence | What it is, as read |
|---|---|---|
| Amin-HP/Kimodo-Unity (`fb62ab4`) | Apache-2.0 | `Runtime/KimodoSomaHumanoid.cs` builds a SOMA rig at runtime from rest offsets and calls `AvatarBuilder.BuildHumanAvatar` for live NPZ playback. Body table equals ours; fingers map `*1/2/3` to Proximal/Intermediate/Distal. Unity 6000.0+. |
| OneYoungMean/KimodoUnityBridge (`bb215bc`) | Apache-2.0 | Ships `Runtime/Resources/SOMAAvatar.asset` (compiled Avatar, 55 human bones, 231 skeleton entries) and `Editor/Model/SOMA77.fbx`, an ASCII FBX 7.7 written by FBX SDK 2020.3.2, cm units, a visualisation rig (BoneSegment and JointViz meshes, Hips at the top, Hips at y 0). Same finger map as Amin-HP. Package declares Unity 2022.3. |
| Codemarchant/kimodo_NPZ_to_fbx_and_vrma (`d12af73`) | MIT | `backend/fbx_writer.py`: NPZ to skeleton-only FBX through the FBX SDK, Mixamo names, MayaYUp, cm, Euler XYZ. README: FBX SDK wheels stop at Python 3.10. |
| micahmills88/animation-builder (`095addf`) | Apache-2.0 | `app/npz_to_fbx.py`: NPZ retargeted onto a user's Mixamo FBX through `fbxsdkpy==2020.1.post2` from Inria's GitLab index; port of ComfyUI-Kimodo's retargeter. |
| GuardSkill/ComfyUI-Kimodo-Bridge (`073badc`) | Apache-2.0 | `kimodo_retarget_fbx.py`: same FBX-SDK retarget onto a Mixamo rig, plus a Unity AssetPostprocessor in a ZIP bundle. |
| wifimetas/kimodo-mcp (`83b5361`) | Apache-2.0 | `blender_export.py` 'unity' preset: headless Blender BVH to FBX with `axis_forward -Z`, `axis_up Y`, `add_leaf_bones False`, full bake, `bake_anim_simplify_factor 0.0`, metric `scale_length 1.0`. The same settings as `cut-vili-fbx-export`. |
Unity probes, Starfire, Unity 2021.3.45f2 batchmode, scratch project (never the
StreamPixels checkout), one job at a time, detached with log and PID
| Import their `SOMA77.fbx` with their 2022.3 `.meta` (serializedVersion 22200) | Human, CreateFromThisModel, `isValid True`, `isHuman True`; Hips y 0.000, Head y 0.598, root scale 1, humanScale 0.991. 2021.3 reads FBX 7.7 and the newer meta. |
| A copy with no meta and an `OnPreprocessModel` that sets only `humanDescription.human` (skeleton empty) to our table | The avatar came out auto-mapped: `LeftHandIndex1 -> Left Index Proximal`. The human-only hook does not hold. |
| A copy where an editor method sets `human` to our table and `skeleton` from the model's transforms, then `SaveAndReimport` | `isValid True`, `isHuman True`, 55 human; `LeftHandIndex2 -> Left Index Proximal`, `Index3 -> Intermediate`, `Index4 -> Distal`, `Chest -> UpperChest`. |
| SOMA77 finger offsets (from `SOMAAvatar.asset` skeleton) | Hand to Index1 4.0 cm, Index1 to Index2 6.4 cm, Index2 to Index3 3.7 cm, Index3 to Index4 2.3 cm: `*1` is the metacarpal base, `*2` the knuckle. |
What follows, and what does not:
- 2021.3 can read both community assets, but neither can be our source avatar.
`CopyFromOther` binds a clip to the source avatar's hierarchy, and theirs is a
visualisation rig, not the Root/Hips hierarchy Vili's `bvh-to-fbx.py` writes.
Importing it would also make a foreign asset an owner, which
`own-implementation-borrow-best` rules out.
- What is borrowed is a cross-check, not code: the body table matches both Unity
bridges, and the Blender settings match kimodo-mcp's Unity preset. No file is
copied, so attribution is a header comment naming the repos and commits; a
NOTICE entry is owed only if Hands copies code after all.
- Both community finger maps are off by one joint (metacarpal as Proximal). Ours
maps `*2/3/4`. Unity's own auto-mapping makes the same choice as theirs, which
is a second reason the table is committed rather than auto-mapped.
- The FBX-SDK writers were read, not run. Their output quality on LHMP is
unmeasured; the rejection below rests on dependency and authority, not quality.
| Worker process | the daemon's one child, `kimodo-resident-worker.py` on `127.0.0.1:<ephemeral>` | spawned at daemon start (or on first job), restarted by the daemon if it exits, killed when the daemon exits; never outlives its parent | the daemon; the worker owns only generation inside it |
| Encoder child | one per request with cache misses, spawned by the worker | lives about a minute on CPU (55 s cold, 14.3 GiB peak), then exits | the worker's `CachedTextEncoder`; assembly B, CPU, bf16 |
| Motion job (`<state>/jobs/<jobId>.json`) | `vili-<13-digit ms>-<8 hex>` (rest jobs `rest-<13-digit ms>-<8 hex>`), unique by an exclusive create of the job directory | written once when a job ends | the daemon |
| Text embedding (`<state>/embeddings/text-embeddings.cc`) | `sha256(identity, text)`; the identity names assembly, device, dtype, the three repo revisions, torch, transformers, peft, accelerate, the Kimodo commit and the encoder child's own sha256 | appended on miss; a changed identity misses and leaves old rows inert | the worker's cache. Raven's file (assembly A on GPU) is not carried over |
| Clip artifact (`<state>/artifacts/<jobId>/motion*.bvh`, `motion*.fbx`, Kimodo's `meta.json`) | the job id; `clipName` names the FBX's armature, action and take | written once per job, never rewritten. The BVH is the reproducibility unit across host bodies, and the FBX is byte-identical for one BVH on one body. Read back through `GET /motion/artifacts/<jobId>/<file>` | the daemon (export, under the same write gate as generation) from Kimodo's BVH; Blender only converts. Planned by `cut-vili-fbx-export` r3 |
| Clip provenance (the job record `gamecult.vili.motion_job.v1`) | the job id | written once when a job ends; it carries the seed used (minted when absent), the worker's model, encoder and Kimodo identity, the export block (Blender version, script sha256, the determinism settings, clip names) and the sha256 of every artifact file | the daemon. Still JSON until `vili-jobs-cultcache` |
| Blender (`blender/` in the release: Blender 5.2.2 LTS linux-x64 plus sixteen bookworm libraries in `blender/lib`) | the tarball's sha256 and the sixteen debs' sha256 (rulings blender-libs-bundled-in-release and blender-x-libs-bundled-in-release), all `external_inputs` | rebuilt into each release, sealed 0444 with `blender` the one 0555 member; run once per exported clip | the recipe; the daemon spawns it with a fixed environment |
| Model weights (`<models>` = `HF_HOME`, hub layout under `hub/`, with `SHA256SUMS` beside it) | repo id and snapshot revision | provisioned by agents on the host, checked once with `sha256sum -c` at provisioning; read-only to Vili (`read_only_paths`); changed only by a new manifest | host provisioning (runbook `gamecult-ops/runbooks/vili-idunn.md`); the worker's identity records the snapshot revisions it loaded |
| Worker environment (`python/` in the release: PBS CPython 3.12.15 with the two hash-locked requirement files and Kimodo, MotionCorrection and SOMA-X installed into its own site-packages; no venv) | `cpython-3.12.15+20261021` plus the sha256 of the two lock files, computed by the Idunn entry from the sealed files | rebuilt by the recipe on each release, sealed 0444 with `bin/python3.12` the one 0555 member | the recipe (`worker-python-pbs-in-release`) |
| Writer authority over `<state>` | under Idunn: the process write lease Idunn grants this incarnation; run by hand: `<state>/daemon.lock`, a Unix socket the live daemon listens on | lease: granted after the incumbent is fenced, checked every 5 s, lost on fence; lock: taken at start, refused while another daemon answers on it, reclaimed when stale | Idunn (lease); the daemon run by hand (lock). Nothing writes `<state>` before it holds one |
| Worker pid file (`<state>/worker.pid`) | the worker's process group | written at spawn, removed at exit; read once at start to kill a crashed predecessor's worker | the hand-run daemon only. Under Idunn the unit's cgroup owns the tree and no pid file is written |
| Vili service store (`<state>/vili.service.cc`) | `vili` | rewritten every 5 s with operator state, command boundary and transport profile | the daemon; no Eve surface or provider advertisement after `cut-vili-cpu-body` |
| SOMA Humanoid table (StreamPixels `Assets/Editor/Motion/SomaHumanoid.cs`) | SOMA77 joint names to `HumanBodyBones` | changes only by code edit, then `ApplyToRest` rewrites the rest FBX's `.meta` | the engine; planned by `cut-soma-humanoid-avatar` |