The result reported a break 63 s after its own run's end when the session was ticked
through a mend and a second break (probe: break 77740 ms, end 14830 ms).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
At 6 s seeds 55 and 100 ended with a hand at 0.0512 and 0.0521 m/s, over the 0.05 m/s
stillness limit; 7 s gives 0.0259, 8 s gives 0.0124 (seed 100) over seeds 1-100. The limit
is unchanged; the test asserts under 0.025 (half of it). The suite runs the tight seeds;
BDS_SETTLE_SWEEP=1 runs all 100 (about a minute). The office golden is re-captured for the
two extra seconds of rows.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The rage goal gates on Breaks >= 1, refills his will on entry (EntryResolve 1.0), is
involuntary for RageOnsetSeconds (1 s) and then costs RageEffort (0.05) a second. When
that will runs dry and breaks a second time, the calm goal (priority 2, Breaks >= 2,
involuntary for good, his composed pose at normal strength) takes over and is terminal as
data (ruling lodur:ruling:fella-calm-after-rage). ReleaseGoalId defaults to calm and the
run ends ReleaseSeconds (6 s, the settle) after it, headless and body alike.
StressSession keeps the first break as the time to break (a second WillBroke is a row);
OfficeBody.RageTick reads the Rage row by goal; the CLI summary names the rage's span, its
end (calm, or clipped by --max) and the calm time.
Tests: the arc over seeds 1..20, calm is terminal (through a third break, on a bursty
cause), release by id, the rage weakening and the body settling. The office run's own
golden is re-captured (the run now has the arc); rung 3's rows up to the break and the pain
box golden and parity hashes pass unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PainBoxSession read any GoalChanged as the withdrawal; PainBoxParameters.ReleaseGoalId
(default ChamberBrain.WithdrawId) now names the goal, resolved at construction and refused
if the Brain lacks it. The withdraw goal gates on Breaks >= 1 (never falls) and is
involuntary for good, so the will mending neither gives the hand back nor weakens the
withdrawal. Disabled() reads Breaks, BodyPainBox keeps the first break as the snap.
Tests: the one-way chamber, release by id, and the flinch-gain-0 control run with a will
that costs no strength (its premise, that the arm does not feed back into the drive, fails
once strength follows will). Pain box golden and parity hashes unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Findings gpu-skin-path-untested and puppet-must-sit-at-identity. RenderCheck.tscn (not headless,
gl_compatibility) poses the carriers in a bent pose under a moved and turned BodyRenderer, renders
the puppet alone, and compares the silhouette with the mesh skinned on the CPU from the carriers
and the spread bind: IoU at least 0.95 (correct 1.000; a flipped shader weight 0.61, no inverse bind
0.10, creation-pose bind 0.43, inverted CUSTOM1 weight 0.61, ignoring the parent 0.22). It also
bounds the clipped share and the facet spread. Puppet._Process now takes the bones into the skin's
global transform, so the puppet is right under any parent.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Finding facets-saturated. At the shipped sun 0.5 plus ambient 0.2, 30% of the puppet's pixels
were clipped; with the chamber's omni light (3 x glow) near full glow, 56%. Sun 0.25 and
Look.GlowLightEnergy 0.1 leave 0.2% clipped and a 89-level facet spread (before: frame 149 of the
movie render, after: the same frame).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Findings minimum-resolution-unmeasured and stretch-bound-narrow. Resolved is stated: the thinnest
limb spans two cells, one piece, every body owns 48 triangle corners. The sweep over 50 to 100 mm
shows none resolves, so 40 mm stays. Soul's all-joint random bend is committed (200 poses at 45 and
90 degrees) with an explicit ratio and length bound; SminRadius must not exceed the thinnest limb.
The stretch and piece helpers live in PuppetChecks, once, and the smoke uses them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Findings topology-rebuild-untested and build-count-check-late. PuppetModel owns the
first-sight bind, the signature and the one build; Puppet takes its shape. PuppetChecks
(run by the smoke, no scene) drive one rebuild per changed signature (joint removed,
body added or removed, size, kind, joint kind, identity), none for an unchanged one or a
body that only moved, and the bone cap. A rebuild per Reset now fails at the third Reset.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Finding cultlib-reference-unpinned: the sibling is refused unless it is a clean
checkout of Ymir's admitted revision; the comment and README no longer say 'or main'.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PuppetField (engine-free, CultMath): primitives from the shape lanes, a joint
ball and smooth-min per qualifying joint (Revolute, Spherical, Weld), the
bind pose spread 20 degrees at each Spherical joint, surface nets at a 40 mm
cell, two Newton steps onto the isosurface, flatter-diagonal quad split,
two-bone skin weights from the winning term. Puppet builds it once, on a
topology signature change only, and skins it in puppet.gdshader from the pose
carriers' interpolated transforms.
Smoke: triangle count, one connected piece, no skinned edge past 4x its bind
length at the intensity-6 run's end and with each Spherical joint swung 90
degrees, one build across 400 resets.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
MeshFor, FlatShaded, the per-body MeshInstance3D and the StandardMaterial3D go.
The node-per-StableId reconcile survives as Node3D carriers. BodyRenderer
exposes PuppetColor; the smoke's look check reads it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Hud.cs reads BadDay.Core.Goal.Withdraw (the session's goal type). Main's
ShownBoxIntensity special case is deleted: the chamber draws session.BoxIntensity
and the HUD adds 'off' from session.BoxOn. The smoke gains the probe the finding
asks for: Box off after the will broke darkens the chamber and the readout.
The event log prints GoalChanged where it printed Withdrew (a flag's name).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
BoxOn is on until a SwitchOff or the disable time, counted from the call even
after the run has ended, so a run that ended on the will breaking still takes
the switch. BoxIntensity is the written intensity while on and 0 off.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Cause.Senses becomes Character (OfficeFella): setting, cause and character are
three things. StressSession ends ReleaseSeconds after the goal named by
StressParameters.ReleaseGoalId (default rage) takes over, not after any
GoalChanged, and refuses an id the Brain lacks. office --body names a break
whose rage --max clipped. Tests: body-vs-headless break within 0.5 s (a hand
sense gives 3.6 s), the rage over 1 m/s and at full strength (a limp rage gave
0.6), the strikes' forward reach (a shoulder-only change fails); each killed
by hand mutants (limp rage, HandL sense, left shoulder only). README says the
Brains are built in code for now and become content with Lodur's.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
OfficeBody.Run builds SeatedPuppet's world, moves the desk's emitters to where
the head sits and senses them there (Setting.Shifted), and drives the same
StressSession: the Actor commits the rage 100 ms after the break and the arms
wind up and strike left, right, at 0.25 s a key. It records both hands and the
pelvis per step; strikes are forward hand-speed excursions (1 m/s up, under
0.5 m/s down) [P]. office --body prints the rage's length and the strikes;
--silence does not apply to it. Tests: both hands over 3x faster (and over
0.5 m/s) in the 2 s after the switch, the pelvis within 1 cm, two runs equal.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Lodur's Actor takes a Brain and commits every goal switch. ChamberBrain
(hold-hand pulling Payment / (Payment + DollarsAtHalfPull), then withdraw) and
OfficeBrain (keep-composure, then rage) are BDS's data; the sessions read the
goal column back from Actor.GoalIndex and decide no switch. Drive.ObjectivePull
and --pull (chamber) go: --pay DOLLARS, $100 pulls exactly 0.5, so the sweep
and the 14730 ms golden hold. The office no longer ends at the break: it logs a
GoalChanged row 100 ms after it and ends ReleaseSeconds (6 s) later; its goal
column is OfficeGoal (KeepComposure, Rage). BodyPainBoxSession's inline world
moves to SeatedPuppet.Build. PainBoxSession.Disabled tests WillBroken, not the goal.
Outputs against BDS main e4b1b4e: sweeps and office-sweep byte-identical;
run --seed 1 (and --body) differ only in the WillBroke row's goal, HoldHand
instead of Withdraw (the Actor commits Withdraw 100 ms later); office rows up
to the break equal rung 3's bar the goal names.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Slow motion sets Godot's physics ticks per second to a quarter while each frame still steps the session 1/120 s.
The box intensity shown is 0 once a run ended with the box off. Main.Reset catches a failed session start, keeps
Failure, pushes one error and ticks nothing; the HUD shows it. The smoke presses the HUD's own controls, compares
events and hands with BodyPainBox for several seeds and intensities, resets 400 times, asserts interpolation, the
palette, the rendered pose after a reset, and measures slow motion by wall clock. BodyRenderer exposes poses, not
per-body nodes, so the SDF puppet can replace Puppet.cs.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
One rule for every writer, the constructor included, so a level like double.MaxValue cannot half-step a
session. A refused level leaves the old one.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
LastEvents is replaced by DrainEvents into a caller-owned buffer (events queue per tick), the inner
PainBoxSession is no longer exposed (read-only Pain, Strain, Resolve, Goal, BoxIntensity, Chamber, TickIndex
instead), and every member throws ObjectDisposedException after Dispose. Tests pin the drain intervals,
the after-Finished re-drive, end on the confirmed hand-out, the rest-pose Hand, the intensity refusal and
the disposed state.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Create, Step, read Hand and the world's lanes, SetIntensity, SwitchOff, dispose. The Ymir world and its loop
now live only in the session; BodyPainBox.Run is a consumer that steps one to Finished and records the hand.
Past Finished, Step keeps the world moving and the result stays frozen. Four tests pin the live commands
against their scripted equivalents, the next-tick rule and the frozen result.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
BoxIntensity is now PainBox.Level's initial value and BoxDisableAtSeconds is one caller of SwitchOff, so a
scripted and a live switch-off share one primitive. Behaviour unchanged for existing parameters.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A silence lands on the tick its time rounds to (exact, below and above half a tick); an emitter takes
the larger stressor whichever is listed last; the seed's first two draws are the senses' gain and the
drain trait; office --seed 1 and the 50-seed sweep line are pinned. Hand probes of each (one tick
late, one early, ceiling, floor, last writer, gain trait dropped, draws swapped) fail a test.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Both rules were unpinned; hand probes (draw skipped when silenced, silence ignored, sum instead of
max, default nerve instead of the office's) each fail an office test.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
--silence ID@S repeats, --scale and --pull load the cause, --max and --every as the pain box. The pain
box verbs and their output are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Headless StressSimulation and StressSweep drive the same Tick and Silence a client will. The office
breaks near 90 s at pull 0.6 with its own sense nerve; the tests pin the tuning check, monotone
load, silence as the lever, quiet recovery, stress = 1 - resolve, and the pain box output by hash.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Setting holds the emitters and no schedule; Cause holds the stressors, the objective pull and the
sense nerve (threshold 0.05, no sensitisation, no conduction delay) and no geometry. The test
runner takes a name filter so the office tests run without the minutes-long body tests.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PainBoxResult carries HandOutMs (headless: the deliberate withdrawal; body: the
start of the first exit after the break that the hand held for 200 ms without
re-entering, so a flinch excursion is not an exit) and Summary prints hand out
only when there is one. The run ends at the Actor's Withdrew once the exit is
confirmed or the 1 s settle is over. The sustained-exit test runs five
non-default hold sets over 30 seeds. The idle-hold limits cite the drift
measured over substeps 1 to 8.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The CLI usage and run output carry the ruled name in a title line (the render
and the sweep table are untouched). README's build note and determinism
paragraph describe the Lodur-backed slice and the end-of-tick rows, including
the goal column of a same-tick Flinch and break. The scenario doc no longer
says none of Lodur's layers exist or that stable ids are missing.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
BodyPainBox runs to the deliberate withdrawal and settles up to a second for the
hand, so Outcome and the Withdrew row come from the Actor and hand-out is
reported separately (a heavy hold used to leave Outcome Endured). A box
disabled at tick 0 still returns a hand sample. Nerve.Gain and Drive.DrainTrait
are baselines the seed's draw multiplies. Substeps is a named constant. New
tests: the right hand's stimulus, heavy holds over six seeds, the flinch
against a flinch-gain-0 control, disable at tick 0, the trait multiplier.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The scenario ladder marks rung 1 merged and rung 2 connected to it. The Ymir
needs list drops what merged (SoA world, capsules, boxes, joints, force and
torque lanes) and keeps contact facts, body removal and joint springs.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
BodyPainBox creates the Ymir world (ground, a static stool welded to the
pelvis, Lodur's HumanoidRagdoll, the box volume at the right hand's hold
point) and steps it at 1/120 s: the box writes its intensity, ReadRegions,
Actor.Tick, Drive, Step. The result is the headless timeline and outcome plus
the hand-out time, the hand track and the excursions before the break. Tests
cover determinism, the flinch, the hand out within 300 ms of the break, the
box switched off with the will intact, strain as shake, and no phantom pain.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>