Commit graph

17 commits

Author SHA1 Message Date
Meta Vens
c52d67bcfd Lodur.Core.Tests: pain-box golden table (420 runs), resolve recovery, flinch gate; generator committed
pain-box-golden.tsv holds BadDaySimulator 9f59764's PainBoxSimulation for 7 intensity/pull
settings x seeds 1-60: outcome, break and end ms, flinch count and a hash of the per-tick
stimulus/pain/strain/resolve/goal stream. The Actor reproduces it exactly.
tools/pain-box-golden regenerates it from that commit. New tests kill 'resolve recovery
off' and 'flinch reported after the break'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 21:12:14 +01:00
Meta Vens
9c07f42545 Actor: a flinch is a suppressed-reflex leak, so none after the will breaks
Corrects the stated reason: the gate is the intended semantics, not seed 1 parity.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 21:12:14 +01:00
Meta Vens
af83eee8a5 Lodur.Core.Tests: csproj comment names no engine
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:49:20 +01:00
Meta Vens
4dc827083b docs: connect-rungs map (body facts, model page, rationale, Ymir cut draft)
Imagination's map for the nervous-layers cut, committed from the scratchpad so it is
durable.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:49:13 +01:00
Meta Vens
fc34388ef9 docs: target r3 text, README status and entry points, Windows MinGW result
lodur-target.md becomes the r3 text: body on Ymir, layer type names and tick order,
one-physics-world restated with the game as owner, core tests build without Ymir.
README status drops 'layers 1-4 not coded'. first-slice.md records the MinGW Windows
build (DLL prefix workaround) instead of 'unrun'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:49:12 +01:00
Meta Vens
83eb5afdca Lodur.Tests: connected pain box on the ragdoll, region readout, native worlds serialised
The Actor drives the ragdoll (pelvis welded to a static stool) through strengths and
targets only: the hand stays in the stimulus box until the will breaks, flinches pull it
away from a leak-free control, the broken will takes it out within 300 ms, same seed gives
the same events and world hash. Classes that build native worlds share one xunit
collection: two live Box3D worlds on different threads crashed the host (0xC000001D).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:48:36 +01:00
Meta Vens
0e6bec1dfc Lodur.Body.Ymir: Region and HumanoidRagdoll.ReadRegions, the hand points perception senses at
A hand is the tip of its lower-arm capsule (centre + rotation * (0, -0.14, 0)); the
ragdoll has no hand body. Allocates nothing. The visibility change (HumanoidRagdoll,
Muscle, Limb public; InternalsVisibleTo deleted) waits on Ymir's public SoA world.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:48:35 +01:00
Meta Vens
5e0e8c4866 Lodur.Core.Tests: behaviour tests for the nervous layers, core-engine-free
References only Lodur.Core. Covers conduction delay, sensitisation, containment,
reflex gain set from the previous tick's resolve, suppression cost, broken will,
ordered break times, stand-in output, zero allocation, no shared state, and parity
with the pain box (seed 1: will breaks at 14730 ms, withdraws at 14830 ms, 16 flinches).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:42:37 +01:00
Meta Vens
fd7afc1174 Lodur.Core: perception, withdrawal reflex, drive and a hold-against-reflex stand-in, run by Actor
Layers 1-3 and a layer-4 stand-in move in from the pain box (BadDaySimulator
PainBoxSimulation.cs at 9f59764), keeping its double arithmetic and in-tick order.
Actor owns one character's nervous state and runs perception, reflex, drive, behaviour
once per tick from caller-owned spans into caller-owned spans; it allocates only in its
constructor and never touches physics. Quat gains Nlerp.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:42:36 +01:00
18c4ffd0d5 Merge pull request 'docs: MotionBricks fit survey (verdict: optional tier)' (#1) from nibu/motionbricks-fit-note into main 2026-11-10 17:17:03 +00:00
0764cfc909 Merge pull request 'First slice: PD-muscle humanoid ragdoll on Ymir's SoA world' (#2) from nibu/first-slice into main 2026-11-10 17:16:57 +00:00
Nibu
d2ad276e53 Point the Ymir dependency at main now that the SoA joints merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:16:55 +00:00
Nibu
ef7386a35d First slice: PD-muscle humanoid ragdoll on Ymir's SoA world
Lodur.Core: engine-free PD law with per-muscle strength. Lodur.Body.Ymir: 13-body, 12-joint ragdoll
driven through the world's torque lanes from caller-owned strength and target arrays. Tests: stand, fall,
rest, per-muscle strength, torque conservation, no allocation, same seed gives the same state hash.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 04:07:37 +00:00
Nibu
aa59b6887b docs: correct NOTICE finding in MotionBricks note
The 14-byte file was a 404 body; the repo has no NOTICE.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 19:23:58 +00:00
Nibu
d23683c8d1 docs: MotionBricks fit survey
Licences (quoted from the NVIDIA Open Model Agreement), training-data
provenance, runtime needs, pose format, tracker sketch, verdict.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 19:23:48 +00:00
Meta Vens
9e0052ddfc Target: reflex gain is set by the drive, so will can suppress a reflex ahead of time at a visible cost (the Gom Jabbar case)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 05:08:57 +01:00
Meta Vens
409b56c556 Lodur's target and README front door: what it is for, its five layers, invariants and first consumer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 05:03:39 +01:00