Commit graph

40 commits

Author SHA1 Message Date
Meta Vens
81a04b2e3a Docs: the payment's pull, the Brains, the office's rage; ladder rung 4 built
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 03:25:54 +01:00
Meta Vens
acd25f8256 office --body: Office Fella on the seated puppet, the rage visible in both hands
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>
2026-11-20 03:25:54 +01:00
Meta Vens
73433e8256 The chamber and the office author their Brains; the volunteer's pull is his payment; the office runs past the break
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>
2026-11-20 03:25:54 +01:00
Meta Vens
b4fa1907fe Client: slow motion halves the step rate not the delta, box off shows on screen, a failed start is one error, and the smoke drives the real controls against a headless run
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>
2026-11-20 03:11:56 +01:00
Meta Vens
06774227a6 Client: white on dark grey (ruling bds-look-white-on-grey-sdf-puppet); the puppet's mesh from the lanes lives in one class, Puppet
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:34:30 +01:00
Meta Vens
ddfef49b83 README: the Godot client section replaces 'Nothing renders the puppet yet'
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:30:49 +01:00
Meta Vens
e316bcb8e5 Client: the headless smoke (no Godot physics, one step per frame, hand parity with the headless run, render follows the lanes, box off)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:30:48 +01:00
Meta Vens
14b140953e Client: the Synaptic Induction Chamber scene, ticked once per 120 Hz physics frame, drawn from Ymir's lanes, with readout, controls and an orbit camera
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:30:48 +01:00
Meta Vens
4f1686e096 Client: a Godot 4.7.2 C# project over BodyPainBoxSession, Godot physics set to Dummy, ymir_box3d resolver
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:30:48 +01:00
Meta Vens
e4b1b4e1a3 Tests: intensity upper bound and the PainBox.Level setter, a drain through a buffer smaller than the queue, Dispose over every member
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:13:57 +01:00
Meta Vens
39281ddc78 PainBox.Level owns the intensity range: finite, from 0 to MaxLevel; SetIntensity delegates
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>
2026-11-20 02:13:56 +01:00
Meta Vens
dd081e9408 README: events drain, and free motion after the run is not bit-identical across OS
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:10:56 +01:00
Meta Vens
34547b6514 BodyPainBoxSession: an event queue the client drains; the nervous session is private; Dispose is total
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>
2026-11-20 02:10:56 +01:00
Meta Vens
b4db734b7e PainBoxSession.SetIntensity refuses a non-finite or negative level
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:10:56 +01:00
Meta Vens
faab825994 README: the body run is a stepping session; libraries target net8.0
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:10:56 +01:00
Meta Vens
2f4841a95e BodyPainBoxSession: the body run as an interactive per-tick session; Run steps it
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>
2026-11-20 02:10:55 +01:00
Meta Vens
dc104334ff BadDay.Core and BadDay.Ymir target net8.0 so a Godot client can consume them
Executables and tests stay net10.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 02:10:47 +01:00
Meta Vens
4ed6649480 PainBox owns its intensity and switch-off: Level, SwitchOff(tick); the session forwards them
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>
2026-11-20 02:10:47 +01:00
Meta Vens
ff955f8b1d Office tests: pin the silence's seconds-to-tick, the max's order, the seed traits and the office golden
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>
2026-11-20 01:44:22 +01:00
Meta Vens
82c85f96c0 Office tests: silencing leaves the other stressors' draws alone, an emitter takes the largest stressor
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>
2026-11-20 01:06:45 +01:00
Meta Vens
fd275300f9 README and scenario ladder: the office stress scenario (rung 3), built headless
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 01:01:35 +01:00
Meta Vens
f600f57259 baddaysim: office and office-sweep verbs
--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>
2026-11-20 01:01:04 +01:00
Meta Vens
2ea2f4e92c StressSession: the cause's schedule writes the setting's emitters, the player silences stressors, per tick
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>
2026-11-20 01:00:10 +01:00
Meta Vens
d5a456707f Office setting and cause as separate data: named emitters, stressor schedules, office sense nerve
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>
2026-11-20 00:57:38 +01:00
Meta Vens
a218c55090 Hand-out is the start of a sustained exit; Summary reads it; the idle-hold bound is measured
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>
2026-11-19 23:01:26 +01:00
Meta Vens
0e9e1ee837 Synaptic Induction Chamber (the pain box) in the CLI, README and docs; stale build, determinism and scenario text corrected
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>
2026-11-19 22:40:50 +01:00
Meta Vens
92d1478229 Body run ends on the Actor's events, not the hand; the seed's traits multiply the caller's values; tests discriminate
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>
2026-11-19 22:40:49 +01:00
Meta Vens
2cc271d78f docs: README and pain sweep describe the Lodur-backed pain box; scenario doc's Ymir section is current
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>
2026-11-19 22:15:01 +01:00
Meta Vens
72a830d62f BadDay.Ymir: the pain box on the Ymir ragdoll, run --body, and the body tests
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>
2026-11-19 22:15:00 +01:00
Meta Vens
917825cd52 BDS consumes Lodur: the pain box runs on Lodur's Actor, the flattened nervous model is deleted
PainBoxSimulation.cs 58-113 and the nerve, drive, reflex and objective tunables
are gone. BadDay.Core references the sibling Lodur.Core (LODUR_ROOT); the box
schedule (PainBox), the seed and trait draw and the recorder (PainBoxSession,
end-of-tick rows) stay BDS's. Golden 14730/14830 and the sweep table are
unchanged; Flinch rows differ only in the strain and resolve columns. The sweep
gets a csproj in place of the hand csc recipe.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 22:11:36 +01:00
9f597647a6 Merge pull request 'docs: scenario design, Fella's bad day at the office' (#2) from nibu/scenario-fella into main 2026-11-10 17:17:05 +00:00
Nibu
f8f957b17d Merge main 2026-11-10 17:01:38 +00:00
Nibu
bd275e1bde Scenario doc: the pain box is on main; point links at main
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:01:38 +00:00
ed89ebd704 Merge pull request 'Pain box first slice: deterministic virtual human, will-break timeline' (#1) from nibu/pain-box-first-slice into main 2026-11-10 17:01:25 +00:00
Nibu
2bade7b304 Test project: drop the double hyphen from the csproj comment
MSBuild refuses an XML comment containing "--", so dotnet run on the test
project failed to load it. The README command now runs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:00:23 +00:00
Nibu
40f592d087 Scenario doc: ladder at the head, setting and cause as separate documents
Adds Meta's seven-rung build order with status, and splits the scenario into setting (place, emitters),
cause (drivers, break condition, flip, drive mapping) and an actor role, so the office and the sensory-load
cause are one pairing among many rather than hard-coded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 04:08:17 +00:00
f0b80400ec docs: scenario design for Fella's bad day at the office
Two-phase scenario (composure under sensory overload, then a total goal flip to
smashing with limbs failing) as authored data, per-phase measures, coworker
personality axes, what Lodur and Ymir must expose, three tuning checks. All
numbers are placeholders. Name Fella by Deru; concept by Meta.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 18:59:13 +00:00
Nibu
4b54f207a7 Pain sweep: intensity x suppression time-to-break table, csc-built
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 12:16:13 +00:00
Nibu
f86fc743a8 Pain box first slice: deterministic nerve/drive/will simulation, CLI, tests
Engine-free C# core (nociceptor with sensitisation and conduction delay,
suppressible withdrawal reflex with strain, pain/resolve drive, HoldHand and
Withdraw goals), a seeded run/sweep CLI that prints a timeline and time to
break, and tests for determinism and the break-time measure.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 07:12:02 +00:00
Meta Vens
b02049e0bc Bad Day Simulator README front door: a 3D physics sandbox, Lodur's first consumer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 05:03:42 +01:00