Commit graph

24 commits

Author SHA1 Message Date
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