Commit graph

90 commits

Author SHA1 Message Date
Meta Vens
fec539a569 Pin shell fit across every shell and box axis, capsule and sphere radius, and +Infinity refusal on thickness and sheet fields
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 23:05:13 +01:00
Meta Vens
e2a2fa4703 Docs: PhysiologyPlan owns the tissue stack material; Resolve is the one join
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 23:05:13 +01:00
Meta Vens
76995717a0 Humanoid: skin and muscle sheet material, fat as stack thickness
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 23:05:13 +01:00
Meta Vens
03524676c4 Resolve is the one (label, side) join; Physiology calls it; shells must fit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 23:05:13 +01:00
Meta Vens
56a58bc975 Add SheetDef and TissueDef Thickness and Sheet with validation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 23:05:13 +01:00
Meta Vens
3a73c985ee Pin goal-target Distance axes, the sense-region observer, the age input, multiplied considerations, the Id 0 skip, multi-kind filters, the untargeted reset of TargetId and a retarget within the dwell
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:57:28 +01:00
Meta Vens
88f6e753f0 Goals name a kind of thing as target; Select scores (goal, percept) pairs by priority times response curves, with commitment to the current pair
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:57:28 +01:00
Meta Vens
0dbdf97d83 Map: goal planner split (2b verbs and planner, 2c planner select)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:48:59 +01:00
Meta Vens
aac6079369 Pin motor fold order and weights, vascularity and the bleed clamp, slot reuse age, dead Bleed, and a refused Tick leaving the physiology untouched
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:00:47 +01:00
Meta Vens
7d1eae37a4 Cut is Acute: bleeding, clotting and healing run on real seconds whatever the slow scale (bds-physiology-clock); pinned on the Humanoid plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:00:46 +01:00
Meta Vens
336c4da837 Actor steps its Physiology: consciousness slot, motor ceiling, Died; SetWillSlots narrowed to SetAttention
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:00:46 +01:00
Meta Vens
bbaf8af493 PhysiologyPlans.Humanoid: tissue stacks, blood, blood-loss stages, Cut and Bruise for the 19-part body
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:00:46 +01:00
Meta Vens
c99eaad8ae Physiology: integrity from injuries, capacities, blood, motor ceiling, bds-death; bounded affliction table
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:00:46 +01:00
Meta Vens
3c1067da4b Physiology content: tissue stacks, afflictions with data effects, blood; validated at construction
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:00:46 +01:00
Meta Vens
a501bd7383 Map: flesh cut order (no-particle-contact, attach batch ABI 17, dormant ABI 18); probe P7 grid mask
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 21:50:06 +01:00
Meta Vens
8a948aa8c5 Map: bounded regressive goal planner (depth is intelligence), four mind stats; planner cost probe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 21:43:58 +01:00
Meta Vens
997b1fe67e IkReachTests: reach bound at the geometric mean of shipped worst and least claimed mutant (3.77 cm)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 21:28:40 +01:00
Meta Vens
fb30ed52ee IkReachTests: Ymir joint frames pinned to Ik.JointFrame; zero-gravity reach bound, gravity error reported, determinism
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 21:05:34 +01:00
Meta Vens
23925d4552 IkTests: forward kinematics, zero twist, limits, mirror, look, allocation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 21:05:33 +01:00
Meta Vens
388a572828 Ik: zero-twist two-bone arm and clamped look as a Core producer of joint targets
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 21:05:32 +01:00
Meta Vens
c4cc3b0a78 Map: goal targets and IK (body facts, cut order 3b, rationale)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:56:30 +01:00
Meta Vens
13248b7f22 Ragdoll binding: one liquid sensor per airway opening at build; ReadAirway reads live and pooled volume
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:50:43 +01:00
Meta Vens
bbeed80af6 Body plan: airway openings as data (Mouth and Nose on the humanoid head), validated to reach outside their part
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:50:43 +01:00
Meta Vens
ae49a7de8c Map: flesh on the bones (tissue stack, dormant pinning, live budget) and the cost probes behind it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:46:12 +01:00
Meta Vens
4118b4792d Percepts: Touch updates the slot's Kind; a freed slot is zeroed fully; tests for both and for the anonymous-emitter hole
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:36:56 +01:00
Meta Vens
ee23c32898 Percepts: emitters carry an id and kind; Perception remembers sensed things in a bounded slot table; phantom id bit reserved
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:19:38 +01:00
Meta Vens
e3811644c3 Map: Fella's goal AI (percepts, goal targets, seated motion, locomotion chain, interactions)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:16:33 +01:00
Meta Vens
fbc3501d71 Map: BodyPlan authority, derived tree, consumers, verification; drop stale 12-muscle and Region lines
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 01:12:11 +01:00
Meta Vens
28c6a0dfae Sense tolerance comment: weakest mutant reads 0.5
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 00:26:45 +01:00
Meta Vens
30aefa8da7 BodyPlan: refuse fields a shape cannot carry, drop the unreachable root clause; pin sense-point offset, box depth, rotation finiteness; docs name BodyPlan and Ragdoll
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 00:22:51 +01:00
Meta Vens
d9a721611b Ragdoll builds a BodyPlan; Limb, Muscle, Region and the hard-coded Build are deleted
ReadRegions becomes ReadSensePoints; strength and target arrays index by plan joint ordinal.
Ymir limb lane is now the plan part ordinal, so HandTests.BaseHash is re-pinned (the only pin moved).
Proof, BaseCreationHash with the Limb term removed, seed 1, Ymir cdf79b1:
  Lodur d7a626b: 0x65216f91ffc63d24   this cut: 0x65216f91ffc63d24   (equal)
Full function: d7a626b 0xccf5cedb0df1b2e8 (old pin) -> this cut 0xbbcc7aff6c088398 (new pin).
Tests: Core 182/182, Lodur.Tests 46/46; the connected pain box replay is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 00:03:21 +01:00
Meta Vens
f04ad22371 BodyPlan: parts, joints that are the tree, sense points by label and side; Humanoid() carries the old numbers; HumanoidRagdoll.cs renamed Ragdoll.cs (content unchanged)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 00:03:21 +01:00
Meta Vens
d7a626b20a Flail test: seeds 1-20 x three cadences, measured bars (hands 60 mm, body joints 45 mm), ruling flail-bar-honest-multiseed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 22:38:27 +01:00
Meta Vens
bf9ea69457 Hand geometry pinned by behaviour: rest curl, finger limit window, wrist and thumb cones each fail a named test, not only the replay
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 22:31:32 +01:00
Meta Vens
be7102dcaa StrainShake 0.03 -> 0.08 (3-7 cm shake at the palm), pain-box half 0.12 -> 0.125 (hand in the box until the break), measured numbers and the recorded replay re-pinned
Core golden tsv byte-identical.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 21:25:17 +01:00
Meta Vens
5d269eccb9 Ragdoll hands: palm, thumb and fingers per arm (19 bodies, 18 joints, appended); hand region at the palm; shoulder and elbow damping carry the hand mass
Hand gains are bounded by each body's own inertia and every hand joint keeps
passive damping. The pain-box hold point is re-measured at the palm. Three
ConnectedPainBox tests (strain shake bar, hand-in-box until the break, the
recorded replay) are red here and move with the next commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 21:13:45 +01:00
Meta Vens
e3fb0a8582 PdMuscle: Passive damping floor (tissue viscosity); Drive no longer skips limp muscles, PdMuscle decides
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 21:02:00 +01:00
Meta Vens
dedf391699 Docs: who writes what per tick; the MVP map's state columns, cut order and landed state refreshed (will-mix landed before startle-attention)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 09:26:10 +01:00
Meta Vens
f9e302ef96 Perception: Sense refuses a gain outside [0, 1]
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 06:54:42 +01:00
Meta Vens
378febf354 Actor: the ramp's last tick assigns the declared target; the Load lag is documented
A lerp need not land on a nonzero target (0.8 + (0.15 - 0.8) is not 0.15), so the last tick,
which is also the takeover tick of a zero-length ramp, assigns the target itself. Brain, Actor and
lodur-target.md say a gain change reaches Load one tick after the Actor sets it. A huge finite
EntrySeconds is pinned as an unending ramp.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 06:53:37 +01:00
Meta Vens
a9136cbcdd Tests: the entry ramp's length is rounded, not floored
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 06:18:14 +01:00
Meta Vens
1e00157dfe Actor: a goal's entry arousal and sensory gain are reached over EntrySeconds
GoalSpec.EntryArousal (double?, in [0,1]) and GoalSpec.EntrySeconds (finite, not negative, default 0,
rounded to ticks once like the onset). On takeover the Actor records the arousal and gain, and for
the ramp's ticks, after the drive steps, sets them to start + (target - start) x k / ticks (1 when
ticks is 0), so calm's stress bar and flinch drive tail off rather than cut; after it the drive owns
arousal again. EntryResolve stays a snap; the Start goal's targets apply at construction.
lodur:ruling:flinch-tail-after-stimulus

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 06:14:50 +01:00
Meta Vens
f2f5a10226 Perception: a goal's sensory gain gates the sense channels' afferents
GoalSpec.SensoryGain (default 1, in [0,1]) is held in DriveState.SensoryGain, written only by the
Actor at takeover (at construction for the Start goal) and handed to Perception.Sense. The gain
multiplies each channel's afferent as it leaves the conduction ring, so sensitisation still follows
the world; Load is built from the gated afferents; ChannelStimulus stays the world's; the
nociceptive region afferents, the withdrawal reflex and its flinch are not gated.
lodur:ruling:stress-bar-shows-arousal-calm-silences

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 06:11:38 +01:00
Meta Vens
e5a66bbc54 Actor: pin the onset's rounding; clamp an out-of-range onset instead of casting it
A case whose quotient sits just under an integer (0.29 s at dt 0.01 is
28.999999999999996 ticks) kills Round -> Floor. An onset whose tick count is
past the long range, +infinity included, is now one guard (>= long.MaxValue)
rather than a cast that is undefined across runtimes and could go negative on
one that wraps; huge finite onsets (1e300, 1e19) are tested.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 05:21:45 +01:00
Meta Vens
72fc3425ac Tests: an entry effect fires once per entry; the mend is inclusive in Step and Enter
A rage with EntryResolve 1 and Effort drains the will it was given (resolve
below 0.3 after the onset), and a calm/rage pair entered twice sets resolve to
the entry value twice and not again inside the goal. Mutants: Enter applied
every tick instead of on the takeover (2 tests fail); mend made strict in
Enter and in Step (1 test fails each). A goal with EntryResolve equal to
WillMendsAt mends; recovery landing exactly on WillMendsAt mends on that tick.
Addresses findings entry-once-unpinned and mend-boundary-unpinned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 05:04:48 +01:00
Meta Vens
f8f88f53c0 Will: a test seam lowers the Attention and Consciousness slots; tests pin every reader of Will
Attention and Consciousness get internal setters, Actor.SetWillSlots and an
InternalsVisibleTo for Lodur.Core.Tests; nothing public changes and the slots
still start at 1. Tests assert Will = min(resolve x attention, consciousness)
and that reflex suppression, the flinch gate and the voluntary weight each
move when a slot drops with resolve full. Each of six mutants (reflex, weight
or gate reading Resolve; Will as Resolve, without Attention, without the
Consciousness cap) fails the suite. Addresses finding will-slots-unpinned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 05:02:18 +01:00
Meta Vens
9c26a5509a Actor: the Start goal's entry resolve applies at construction
A puppet started in rage (Start = a goal with EntryResolve) began at resolve
1.0 because only goal changes applied the entry effect. The pain-box golden
and the seed-1 body hashes are unchanged (no fixture Start goal carries an
entry resolve). Addresses finding start-goal-entry-ignored.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 04:59:15 +01:00
Meta Vens
91a3c6ffd0 Actor: the involuntary onset is rounded to whole ticks once
Compared as (tick - goalSince) x dt >= seconds in floating point, an onset of
1.85 s at dt 1/120 lasted 223 ticks, not 222. It is now precomputed per goal
beside the dwell and compared as integers (+infinity stays involuntary
throughout); effort and weight read the same count. Addresses finding
onset-boundary-float.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 04:58:19 +01:00
Meta Vens
c7d5fc9917 Drive: every DriveParameters value is validated at construction
A NaN or negative rate (a NaN DrainTrait made Resolve NaN and Tick threw from
PoseBehaviour.Write after the drive had half-stepped) is now a construction
error. DriveParameters.Validate owns the checks, WillMendsAt and WillCurve
included. Addresses finding nan-drive-throws-after-step.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 04:56:59 +01:00
Meta Vens
7ec8d42465 Docs: the will breaks and mends, goals carry entry effects, the will mix
Layer 3 (Breaks, WillMendsAt, Will with its Attention and Consciousness
slots) and layer 4 (EntryResolve, Effort, InvoluntarySeconds, the strength
rule) in docs/lodur-target.md, and the README's one sentence.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 04:19:12 +01:00