Build log
Newest at the bottom. Failures stay in.
2026-12-03: scaffold, first sim, first wart
- Workspace:
murmur-core(no_std, f32,libm) andmurmur-sim. Controllers: position PID -> quaternion attitude P -> rate PI (inertia-scaled) -> X-quad mixer with attitude priority on saturation. Failsafe is a pure function (kill / land / continue). - Tests: 9 unit tests in core (rotation round trip, axes-to-quaternion, mixer inverts allocation, saturation stays in range, failsafe cases); 3 acceptance tests in sim.
- First sim run (ideal state, no estimator): hover from the ground to 1 m. Takeoff overshoot 18.6% (z peak 1.186 m), took 6.7 s to settle within 2 cm. Cause: the position integrator wound up while the drone sat on the ground waiting to leave it.
- Fix: integrate only when position error norm < 0.3 m. After: overshoot 3.1% (z peak 1.031 m), settle 3.7 s. 1 m x-step plus a 1 s, 0.03 N gust: peak x 1.154 m, 1.6 cm RMS in the last 5 s (was 1.288 m peak, 2.3 cm RMS before the fix).
- Not yet true: anything about real flight. Estimator, sensor delay, ESC behavior and the
placeholder airframe numbers (see
docs/EXPERIMENTS.md) are all unmodeled or guessed. - Next: sensor models (gyro/accel bias, flow, ToF with latency) and an EKF in
murmur-core, tested in sim against truth; in parallel, weigh and print the first frame and put one motor on a scale.
2026-12-03 (later): throw recovery in sim, and a panic the Monte Carlo found
-
New requirements from Scott: show flights, autonomous swarm, reactive dance with a human, hand-thrown launches that recover into formation, stackable and compact, as quiet as possible (own props).
-
Added
run_from(arbitrary initial state, motors off until an arm delay, tilt-kill suspended for 2 s after arming) andbin/throw.rs: 300 random throws per arm delay, release at 2.0 m, spin up to 8 rad/s, speed up to 3 m/s, ideal state feedback, gyro noise 0.05 rad/s. -
First run panicked in the mixer:
clamp(min, max)with min a rounding hair above max when the differential span equals max thrust. Fixed by ordering the bounds first; added a regression test. Found only because the Monte Carlo drove the mixer to its limits; the hover tests never did. -
Results (success = no ground contact and < 10 cm RMS over the last 2 s):
arm delay success median altitude lost p95 crashes 50 ms 99.7% 0.57 m 1.08 m 1 100 ms 99.3% 0.67 m 1.26 m 2 150 ms 97.7% 0.83 m 1.64 m 7 200 ms 94.3% 1.05 m 2.00 m 17 300 ms 67.0% 1.65 m 2.00 m 99 -
Reading: the budget is time. Every 50 ms of detect-and-spin-up delay costs roughly 0.15-0.25 m of median altitude. Design target: throw detect + motor arm + spin-up under 150 ms, release height at least 1.7 m for p95 margin. Failsafe finding: the normal "flipped over -> kill" rule must be suspended in a throw window, so the failsafe needs a throw mode (now modeled in the sim).
-
Not yet true: ideal state means no estimator lag and no Lighthouse dropouts during the tumble; motors spin up as a first-order 20 ms lag, not measured; no ESC latency; arm delay is an input, not a throw detector. All of those are open.
2026-12-03 (session 01): repo, guard fixes, attitude estimator, and a failed pass line
- Repo:
git init, scaffold in 6 signed commits,murmur-dance/murmurcreated public (Scott's call; KICKOFF said stop if absent) and pushed. Version 0.1.0 (Scott's call). First CI run failed for real:cargo run -p murmur-simwas ambiguous oncebin/throw.rsexisted (README command broken too); fixed withdefault-run. - Guard: direct invocation found 5 fail-open inputs (no python3, malformed JSON, missing
file_path, two case variants that open the inherited file on case-insensitive APFS). Fixed, plusscripts/hooks/test-guard-tests.sh(12 cases, both directions, in CI; fails 5/12 on the old hook). The live probe did not happen: this session was launched in the parent directory, so the hook was never loaded and an edit to the inherited acceptance test went through (reverted). Open as #3. - Estimator: Mahony on the quaternion (Kp 2, Ki 1, accel gate 0.15 g). Chosen over an Euler complementary filter (singular when a throw tumbles through inverted / 90 deg pitch) and over an EKF (no noise data to tune one; the position EKF comes later). IMU model in sim: specific force, gyro bias + noise, accel noise, all PLACEHOLDER. The true-attitude path is byte-identical to before (E1-sim CSVs and E9-sim output sha256-compared).
- E9-sim-est (estimated-attitude, ideal-position sim), registered first (c4eb79f), run at a6b6388: FAIL. 150 ms arm delay: 93.3 / 93.3 / 92.3% at gyro bias 0 / 0.01 / 0.05 rad/s against >= 95%. Crashes and altitude lost unchanged; the extra failures are drones that never settle. At 0.2 rad/s: 41-47% at <= 200 ms.
- Why (unregistered diagnostic, 6bda172): an oracle gate restores E9-sim exactly at b <= 0.05, so the loss is the accelerometer gate passing thrust as gravity while the drone is still tilted (18-22% of the first second after arming). The 0.2 rad/s cliff is yaw: z bias alone reproduces it, roll/pitch bias alone costs nothing extra.
- Half of my ten registered predictions missed, all optimistic: <= 1 point lost at small bias (1.7-5.0), <= 2 at 0.05 (up to 5.4) and a PASS there, 5-20 points lost at 0.2 (40-55), peak estimate error < 0.1 rad (0.16-0.23).
- Decided unless Scott objects: (1) the estimator needs a throw-mode accelerometer policy, not just a magnitude gate; next slice registers it as E9-sim-est2 on the same protocol and pass line (#1). (2) Gyro bias spec at throw time |b| <= 0.05 rad/s, by stationary calibration before pick-up; flights beyond a few seconds need a heading source, so E2 must deliver yaw, not only position (#2). (3) The 150 ms arm target stands: estimation did not change altitude lost. (4) Session work goes on a branch with a PR; Scott merges.
- Live guard probe (#3), run afterwards by a second session launched in the repo root (HEAD 7f21148, fetch
22:02:58Z): Edit of the inherited acceptance test REFUSED (
guard-tests: ... exists on main (inherited)); Write of a new tests/*.rs ALLOWED; Edit of README ALLOWED; Edit via the case variantcrates/sim/TESTS/acceptance.rsREFUSED. Allowed edits reverted, tree clean (checked from this session). Not probed live: MultiEdit, Write over an existing inherited test, missing refs (direct-invocation test covers the last). - Not yet true: position is still ideal; the estimator starts at true attitude at release (no in-hand convergence, no throw-motion phase); no vibration, accel bias or sensor latency; every IMU and airframe number is a guess.
2026-12-03 (session 02): throw-mode accelerometer policy, E9-sim-est2 passes in sim
- Launched in the repo root, so the guard hook was live (live probe for #3 done just before, from this session).
- Toolchain wart: Homebrew rustc 1.100.1 sits ahead of rustup in PATH and has no thumbv7em target, so the bare-metal
build failed (E0463, no
core). The code was fine. I put~/.cargo/binfirst (rustup stable 1.99.1, the version session 01 used).throw_estoutput was identical under both compilers. - E9-sim-est2 registered before any code (e75d117): same protocol, seeds, conditions and pass line as E9-sim-est. Policy: from release to arm + 2.0 s, use the accelerometer only when the magnitude gate passes and it is within 0.10 rad of the estimated up; magnitude gate alone after. Both numbers inherited (oracle threshold, tilt-kill window). No truth inputs.
- Code (33bb4b4):
ThrowAccelPolicyin core (Mahony::updateuntouched),Attitude::EstimatedThrowPolicyin sim,bin/throw_est2. Two controls (truth = E9-sim, gate = E9-sim-est) void the run before any policy row prints. Probes: a magnitude-only mutant fails 2 of the new tests, a reject-all mutant fails 1; wrong expected counts give exit 2 with no policy rows; E1-sim CSVs, the main table andthrow_estoutput are byte-identical to before. - Result, run once: PASS. b = 0 / 0.01 / 0.05 all give 99.7 / 99.3 / 97.7% at 50 / 100 / 150 ms, the E9-sim numbers, with 0 unsettled. Bad admissions in the first second after arming dropped from 18-22% of steps to 0.15-1.14%. The onboard policy reaches the session-01 oracle bound.
- b = 0.2 got worse: 39.0 / 38.3 / 38.3% at 50-150 ms vs 46.7 / 44.0 / 42.3% with the gate (15-30 throws broken). Not diagnosed; consistent with lockout (gyro-only estimate past 0.1 rad in ~0.5 s). Comment on #2.
- Prediction: the pass line and 5 more hit. Miss: bad admissions < 1% (one cell 1.14%). Not predicted: b = 0.2 worse.
- Wart: I probed the mutants with
git stashinside a scratch worktree, and stashes are shared across worktrees, so a mutant diff sat in the main repo's stash list. I checked its content and dropped it. Also,cargo teststops at the first failing test binary, so I only saw the sim half of one mutant with--no-fail-fast. - PR #9 (base session-01-attitude-estimation).
closingIssuesReferences[] but checked after opening, not before. - Filed #8: the pass depends on a correct estimate at release, which the sim hands over (no in-hand phase).
- Not yet true: in-hand/throw-motion phase and throw detection unmodeled; position ideal; no vibration or accel bias; every IMU and airframe number is a guess. Nothing here has touched hardware.
2026-12-03: blog moved to murmur.dance
- The five drafts in
blog/(posts 00-04) are open PRs in murmur-dance/murmur.dance (#8-#12, unmerged; Scott merges, which publishes).blog/removed here; README points at the site. Historical entries above still sayblog/. - CLAUDE.md still names
blog/(rule text, layout, session-end checklist). The pointer block from murmur.danceeditorial/PROMPTS.md§1 was requested by the website session; CLAUDE.md is Scott's file, so the change is proposed in the PR, not applied.
2026-12-03 (session 03): release-estimate tolerance (#8), E9-sim-est3 passes, tolerance 0.20 rad
- Same session as 02, launched in the repo root, now on main (67c46a5 after #6 and #9 merged). Work relayed from Scott by murmur-dance-be.
- E9-sim-est3 registered before code (8c60476). The estimate starts off by a pure world-frame tilt error e0 = 0-0.5 rad, with policy and gate paired, b <= 0.05. Pass line: the E9-sim-est2 line holds with the policy at every e0 <= 0.10 rad.
- Code (265a1d6):
Attitude::EstimatedFrom,tilt_error,estimate_start,bin/throw_est3(three controls, void before any e0 > 0 row). Tests in a new file (3). Mutants: body-frame error, error ignored and policy ignored each fail one test. A wrong control count gives exit 2 with no e0 > 0 rows.throw_estandthrow_est2still print their registered results. - Result, run once: PASS. Tolerance 0.20 rad (96.3% at 150 ms). 0.30 gives 69.0-73.3%, 0.50 gives 0%. The gate holds at no e0; the policy is at or above it everywhere up to 0.30.
- I predicted 0.30. My physics said lockout costs time, not success, below 0.39 rad, and that the gate cleans up after the window. Wrong: at 0.30 the tilt error at 8 s is larger than it started (p95 0.43 rad).
- Diagnostic (not registered, d53c9b8, 20 s runs): beyond 0.2 rad a share of throws diverge (gate at 0.30: crashes 13 by 8 s, 62 by 20 s; tilt error p95 2.75 rad). Consistent with the accelerometer only saying "up" once the position loop has stopped the acceleration, and the position loop saturating. Filed #12.
- Filed #13: the 0.2 rad release spec, and how to learn what a real throw produces (hand model or IMU logs, Scott's call).
- Not yet true: no in-hand phase or throw detector; release heading error not varied; position ideal; every IMU and airframe number is a guess. Nothing here has touched hardware.
2026-12-03 (session 04): stationary gyro-bias calibration (#15), E9-sim-cal passes, yaw blind spot measured
- Same session as 02 and 03, repo root, off main (67c46a5). Work relayed from Scott by murmur-dance-be.
- E9-sim-cal registered before code (3399961). 1.0 s window mean, with a stillness check: gyro std <= 0.10 rad/s, accelerometer turn between half-windows <= 0.01 rad, |a| within 0.05 g. All PLACEHOLDER pending #5.
- Code (2c5f825):
murmur_core::gyrocal(no_std),calibrate/CalMotion/calibrated_biasin sim,bin/gyro_cal. Ten new tests in new files, each killed by a mutant. Wart: my first mutant for the gyro-std check survived because the mutant itself was wrong (if false && a || b || cstill checks b and c). The test was fine. A surviving mutant has to be checked as a mutant before it counts against the test. - Result, run once: A, B, C PASS. Max residual 0.0056 rad/s against the 0.05 spec. Tilt and pick-up windows 300/300 refused. Calibrated b = 0.2 (random direction and z-only) throws equal E9-sim throw for throw. These passes are what the white-noise model guarantees; hardware noise decides them (#5).
- Yaw blind spot, as predicted: a window taken while turning at 0.1 rad/s about vertical is accepted with a 0.10 rad/s residual. Diagnostic (not registered, e72d4ca): that residual costs the throw line (89.0% at 150 ms); 0.05 rad/s costs nothing within 8 s.
- Miss: uncalibrated 0.2 rad/s on z alone is 0.0% at every delay, not the 35-50% I predicted. Session 01's z-only number used the z component of a random direction.
- Decided unless Scott objects: calibrate with the drone set down (pad or stack), never in the hand.
- Not yet true: bias instability, 1/f noise, temperature drift and drift between calibration and throw are unmodeled; the window and thresholds are guesses; no yaw reference for longer flights (#2). Nothing here has touched hardware.
2026-12-03 (session 05): PLACEHOLDER hand wind-up; the gate fails the release spec, a held policy passes
- Scott picked #13 option 1 (relayed by murmur-dance-be). Issue #17. Branch off main 67c46a5, not stacked on #14 or #16.
- Registered before code (d3ab269): (a) the current magnitude gate through the wind-up, and (b) a "held" policy.
- Held policy: the throw-window innovation gate, applied from the start of the wind-up.
- Hand model: a push to v0 plus a zero-net-velocity swing and a wobble, ending exactly at the E9-sim release state.
- Sweep: T_w 0.15-0.5 s, A 0.25-2 g, Ω 0-4 rad/s; b = 0, 0.05. All of it PLACEHOLDER.
- Pass line (a): release p95 <= 0.2 rad (#13 spec). Pass line (b): the same, plus the throw line end to end.
- Code (f5db95b):
ThrowAccelPolicy::admit_heldin core, which is the throw-window decision without a time limit.hand_path/hand_phase/Attitude::EstimatedFromStatein sim, andbin/hand_throw. New test files only. - Probes: 9 of 10 mutants killed on the first pass.
- M8 survived: a flipped gravity sign is invisible to a still Mahony estimate, because the cross product of antiparallel vectors is zero. I strengthened my new test (d8b7558); M8 is now killed.
- M12 survived: the count control can't see a swapped flight noise seed.
- Wart: probe M12's output showed the hand rows before the registered run. Same code, and registration first; recorded.
- Result, run once at d8b7558, clean:
- (a) FAIL: 4 of 48 conditions above 0.20 rad, worst p95 0.253 (T_w 0.5 s, A 1 g). The bias estimate is corrupted up to 0.131 rad/s p95. End to end, below 95% at 150 ms in 8 of 48 (all at T_w 0.5 s).
- (b) PASS: worst p95 0.032 rad. 99.7 / 99.3 / 97.7% in all 48 conditions, identical to the no-hand control.
- Prediction: the pass and fail calls and 7 more hit. Misses: the T_w 0.5 range, bias corruption (2.3x), and A, my flagged soft call. A is first order and non-monotonic: worst at 1 g, best at 2 g, where most of the push is outside the gate.
- Not yet true: real hand motion, an onboard trigger for the held policy, pick-up and carry, vibration, position, hardware.
- Merges (#11, #10, #14, #16):
- Requested via murmur-dance-be. My permission classifier refused the first; I did not work around it.
- Scott then asked directly, and all four merged with merge commits (final main 7f4a94a, CI 10/10).
- Conflicts were appended BUILDLOG / EXPERIMENTS text only, resolved by merging main into each branch in session order.
- This branch also got three
lib.rshunks, all additions, all kept.hand_throwoutput was unchanged at 53d80f0.
2026-12-03 (session 06): IMU-only held-mode trigger; tilt holds, the throw line fails on heading
- #19, relayed from Scott by murmur-dance-be. The branch was stacked on #18; Scott then had #18 merged (b469311), so the PR targets main.
- Registered before code (76ce3de). Trigger T1, IMU only:
- Held mode begins when the stillness calibration accepts.
- At that moment the bias is subtracted and the estimator's bias estimate is reset (attitude kept).
- Phases: 10 s on the table, then the session-04 pick-up, a 0-30 s hold (tremor or sway), then the session-05 wind-up.
- Plus late-start, already-off and gyro-only stress rows, and the drift bound 0.1 / |r| (17.9 s and 2.0 s).
- Triggers needing a new input are noted on #19 for Scott and not built.
- Code (5b8d5b8):
HeldTriggerin core;prerelease_pathandprerelease_phasein sim;bin/held_trigger. - Probes:
- My harness first ran no tests at all: zsh does not word-split an unquoted
$T. Fixed, and it now reports the suite count. - 10 of 13 mutants killed. Hold sign, pick-up lift and sway survived. I strengthened my new test (be0e22a); all killed.
- The binary's void probe was filtered to control lines; the pass-line probe ran after the run.
- Nothing showed me a result early this time.
- My harness first ran no tests at all: zsh does not word-split an unquoted
- Result, run once at be0e22a, clean: FAIL.
- Release tilt is inside the spec everywhere: worst p95 0.163 rad, tremor holds at most 0.041.
- But throws succeed only 36-72 of 300 at 150 ms in all 32 conditions.
- Unregistered diagnostic (e503a76): the heading error at release is 0.94-1.68 rad at p50. With heading aligned, 292-299 / 300. The pre-release interval integrates unobservable bias into heading, and the #13 spec only covers tilt. Filed #20; commented on #2.
- Prediction: the main-grid PASS was a large miss. Heading never entered my reasoning, although I had seen the mechanism
twice: session 01 found that a z-axis bias collapses throws through yaw drift (#2), and session 04 measured 0.0% recovery
with an uncalibrated yaw-only bias. Other misses:
- sway creep (up to 0.163 rad);
- every late-start value;
- two of the four T_h = 0 already-off values. Hits: the already-off lockout threshold, the gyro-only bound, and calibration 300 / 300.
- Not yet true: a heading source; a measured heading tolerance; real hand motion; a position system and its frame; hardware.
- Wart, caught while checking the blog post against the output: I had quoted 36-75 of 300 (the range over all delays) as the 150 ms range. At 150 ms it is 36-72 (12.0-24.0%). Corrected in the result section, this entry, the session report, the PR body and the issue texts (#19, #20, #2) before review.
2026-12-03 (session 07): release heading tolerance (#20); pass line passes, tolerance 0.20 rad, half my prediction
- Relayed by murmur-dance-be. Issue #20 (not closed: it also asks for a heading source and the frame question).
- Branch off main b469311, as asked. PR #21 (session 06) is unmerged, so this branch lacks session 06's docs; expect a docs conflict.
- Registered before code (3a93cc6): E9-sim-heading, E9-sim-est3 with a world-vertical heading error psi0 = 0-1.5 rad.
- Main grid: no tilt error, policy and gate.
- Combined grid: tilt 0.20 rad, policy, reported.
- Pass line: the throw line at every psi0 <= 0.20 rad. Prediction: tolerance 0.50.
- Code (4b42e57):
release_errorin sim, which is R_z(psi) * the session 03 tilt error, andbin/throw_heading.- New test file
sim/tests/heading_error.rs(3 tests). Inherited tests were not edited.
- Probes: 6 code mutants against the tests, plus a no-op; all killed, and the no-op passes.
- 3 void probes (control counts, grid swap) exit 2 with 0 psi0 > 0 rows.
- M3, a heading sign flip, also failed the flight test on tilt: an effective psi of -0.5 left 0.068 rad of tilt error after 3 s. My physics section had said tilt doesn't depend on heading. I saw this before the run and did not edit the registration.
- Result, run once at 4b42e57, clean, 130 s:
- Controls reproduced, including E9-sim-est3's e0 = 0.20 rows (constants from a
throw_est3rerun at 3a93cc6). - PASS, tolerance 0.20 rad (lowest cell 289; 244 at 0.30).
- Combined: 0.10 rad (288; 279 at 0.20). The gate holds at no psi0.
- Policy at b = 0: 293 at 0.30, 255 at 0.40, 4 at 0.50.
- Tilt p95 at 8 s rises from 0.005 to 0.169 rad by psi0 = 0.50.
- Controls reproduced, including E9-sim-est3's e0 = 0.20 rows (constants from a
- Prediction: 3 hits (PASS, gate none, < 50% at 1.0 and 1.5) and 5 misses:
- tolerance 0.20, not 0.50;
- combined 0.10, not 0.20;
- the gate and the combined grid crash;
- 2 cells have the policy below the gate;
- mechanism: heading does corrupt tilt.
- Diagnostic, not registered (6dfc582):
Attitude::TruthRotated, with exact tilt and a fixed heading error, holds through 0.75 rad and fails at 1.00, as the linear analysis said. Most of the lost margin is in the estimator. - Spec written in #20: release heading within 0.1 rad together with tilt within 0.2 rad. Choosing a heading source is Scott's call.
- Session 06 close-out, the same session: CI on #21 (03f1666) and site #16 (f52a495) was confirmed from the run logs, because the jobs API returned 0 steps.
- Warts:
- zsh word splitting bit twice more outside the probes, in a check-posts loop and a CI query. Both times the output was plainly wrong (an empty file name, a 404).
- Session 06 wrote that E9-sim-hand's hand phase "was 0.5 s"; it was 0.15-0.5 s. Fixed in EXPERIMENTS (03f1666) and #20.
- My regrouping proposal on murmur.dance #6 used bare
#Nfor murmur items, which linked to murmur.dance items. Site #20, the arc-rule PR, showed as "the finding". Fixed by PATCH once the peer asked about other fields. - Session 06 scratch scripts used system
python3; CLAUDE.md says Python only viauv. This session usesuv run.
- Not yet true: a heading source, a real heading error, a real position frame, an estimator change, hardware.
2026-12-03 (session 08): IMU-only release detector (#23); latency and end to end pass, false triggers fail
- Relayed by murmur-dance-be. Issue #23 quotes this log's "arm delay is an input, not a throw detector".
- Base: asked to branch off main. Decided unless Scott objects: stacked on #21 (03f1666), because the hand model,
HeldTriggerandprerelease_pathexist only there. The PR is retargeted when #21 merges. - Registered before code (537808e): E9-sim-detect, D1 = |a| < 0.3 g for 100 samples while held, latched.
- (a) Latency: budget 125 ms (150 - 5 arm - 20 spin-up; that counts the sim's spin-up twice, as margin).
- (b) Zero false triggers in 8,100 no-release and 14,400 throw sequences.
- (c) The throw line with heading set to truth by construction.
- Code (ac5953b):
- core
detect::ReleaseDetector; - sim:
prerelease_detect(session 06's loop shared, which gives the same estimator), the release ramp, pump fake, carry, set-down,detect_after_release, andbin/throw_detect; - new test files
core/tests/release_detector.rs(4) andsim/tests/throw_detect.rs(4).
- core
- Probes: 12 code mutants; 11 killed, and 1 equivalent (removing the latch's early return changes nothing observable, since
firedis never cleared). 3 void probes exit 2 with 0 result rows. One test was strengthened first (a597540). - Harness wart: the failure parse matched
[a-z_]+, so test names with digits never counted as failing, and 4 mutants looked like survivors. I saw it in the raw output and fixed the regex; all 4 are killed. - Result, run once at a597540, clean, 7.7 s:
- Controls reproduced, including two session-06 rows through the refactored path.
- (a) PASS: 100 ms (T_r 0), 94-95 ms (T_r 20 ms), none missed.
- (b) FAIL: 30 no-release fires (22 at A 1 g, T_w 0.5 s; 8 from pump-fake brakes at T_w 0.3) and 44 early fires (all at A 1 g, T_w 0.5 s). Carry and gentle set-downs never came near (longest run 0).
- (c) PASS: lowest 285 / 300, exactly the line, where early fires count as failures.
- Prediction: the three pass/fail calls and most ranges hit. Misses: 11 per 300 at A 1, T_w 0.5 (I said about 7); D1-50 at 2.7x (I said 3-5x); the extras came from brakes, not pushes; the (c) margin was 0-1 throws, not about 10.
- Physics, written before the run and borne out: an accelerometer cannot tell free fall from a hand accelerating the drone down at about 1 g. Closing (b) needs a gyro/torque test (inertia, PLACEHOLDER), a longer window (the budget allows 125 samples, which still leaves the 127 ms swings and the long pushes), or a new input (grip, button). The last is Scott's call, noted on #23.
- Not yet true: real hands, IMU lever arm (spin centripetal), vibration, ESC latency, any detector change, hardware. No code here arms a motor.
2026-12-04 (session 09): merges of #21, #22, #24; arc posts; D2, a torque-free gyro check on the release detector (#23)
- Merges, on Scott's direct "merge 21, 22, 24 when ready":
- Each was merged with a merge commit bound to a CI-green head SHA (
--match-head-commit). No branch deleted. - #21 merged as a7194a8 (head 03f1666). #24 was then retargeted to main before anything else.
- #22 merged as 82b6e8b. Its head eaf88f9 is main merged into e478e10.
- #24 merged as 36caf6a. Its head 832b6e3 is main merged into acdf4ba.
- Conflicts were appended BUILDLOG / EXPERIMENTS text only, kept in session order, plus one README sentence combined each time. The lib.rs hunks auto-merged.
- Binary outputs are identical before and after each merge, apart from the provenance line:
throw_heading(429 lines) andthrow_detect(96 lines). - Main CI on all three merge commits is green: runs 47249931664, 47250886539 and 47251457503, 10/10 steps, 0 errors.
- Each was merged with a merge commit bound to a CI-green head SHA (
- CI wart:
gh run view --logreturned truncated logs (34 lines) for two main runs, so the test counts read 0. The per-job logs API (gh api .../actions/jobs/ID/logs, escape codes stripped) returned the whole log, and the counts were read from that. The jobs API now lists steps, which it did not in session 07. - Arc posts (Scott accepted the regrouping on murmur-dance/murmur.dance#6). These are five PRs on murmur.dance, none labelled or merged:
- murmur-dance/murmur.dance#21: weight 1, 1,359 words of prose.
- murmur-dance/murmur.dance#22: weight 2, 1,886 words. Under the cap, so not split.
- murmur-dance/murmur.dance#23: weight 3, 1,315 words.
- murmur-dance/murmur.dance#24: weight 4, 1,810 words.
- murmur-dance/murmur.dance#25: weight 5, 1,643 words. It also covers session 07.
- murmur.dance PRs 9-16 were closed with links to their replacements; branches kept.
- Arc-post finding: the brief's
@/blog/<file>.mdlinks break when publish-next renames a file to its publication date, and a link to an unpublished post failszola check. murmur-dance-be fixed it in murmur-dance/murmur.dance#20 (a2c8cef): posts now link by/blog/<slug>/URL, and only to lower weights. - zsh word splitting hit three more times in ad hoc loops (an old-post loop, a SHA loop,
$shas). All reruns used bash. - Session 09 work was relayed by murmur-dance-be: way out 1 on #23, an IMU-only gyro/torque check. Scott: "proceed as indicated". The base was meant to stack on #24, but #24 was merged first, so this branch starts from main (36caf6a).
- Registered before code (cc5be9a): E9-sim-detect2. D2 = D1's magnitude run, plus the gyro has to follow a torque-free
prediction (explicit Euler, J = micro45's, PLACEHOLDER) within 0.5 rad/s, with a restart on a break.
- Same sequences and pass lines as E9-sim-detect. D1 runs as a control, which voids the run unless 30 / 44 reproduce.
- New stress rows: late spin-up, detector Izz x 0.9 / x 1.1 / isotropic, and lever arm 10 / 30 mm after release.
- Code (0d10d66, 6ea8a91):
- core:
detect::TorqueFreeDetector,torque_free_step; - sim:
prerelease_detect2,free_flight_imu(lever arm, gyro seed 71) andlate_spin_path. Two refactors, after whichthrow_detectoutput is identical; bin/throw_detect2;- new test files
core/tests/torque_detector.rs(5) andsim/tests/throw_detect2.rs(5).
- core:
- Warts:
- I committed a test failing, at 4539e1e: an f32 exact-zero compare that came out 2.4e-7. Fixed at e2052c7 with a 1e-6 tolerance. The gate pipeline I used to block that commit did not block it.
- A test of my own had wrong arithmetic: a lever arm nearly parallel to w gives 0.18 m/s^2, not 0.9.
quat_angle's f32 acos floor (about 7e-4 rad, the session 06 wart) again; that comparison now goes by component.- zsh has no
PIPESTATUS, and$?after a pipe is tail's, so the first gate check's exit codes were empty or wrong. Rerun under bash: clippy 0, thumbv7em 0.
- Probes, in fresh
~/.xtmpworktrees:- 13 code mutants plus a no-op. The first pass killed 11. M9 (the gyro noise drawn from the accel Rng) and M12 (the wrong
q_releaseinprerelease_from) survived, because the tests pinned onlyfired_atand the attitude landing. After strengthening the tests (e364015), both are killed. - 4 void probes (C1, D1 false, D1 (c), D1 latency): exit 2, 0 result rows. The registered run printed 35 rows that the same regex counts.
- 13 code mutants plus a no-op. The first pass killed 11. M9 (the gyro noise drawn from the accel Rng) and M12 (the wrong
- Result, run once at e364015, clean:
- Controls reproduced.
- (a) PASS: D2 latency equals D1's in every throw, max 100 ms, 0 missed of 14,400.
- (b) PASS: 0 + 0 (D1 30 + 44).
- (c) PASS: lowest 296. A 1 g, T_w 0.5 s went from 285-286 to 296-297.
- Stress: set-down 0.9 g still fires 300 / 300. Late spin-up 7 of D1's 11. Izz x 0.9 / x 1.1: 0 missed, but 120 / 328 over 125 ms (max 194 / 250), filed as #25. Isotropic J: 46.8% missed. Lever arm: no change.
- Prediction: (a), (b), (c), set-down, isotropic and lever arm hit. Two misses:
- Late spin-up: 7, not 11. My physics put the A = 1 g near-0 g phase at tau 0.12-0.38 only, but 8 of the 11 D1 early-fire
windows are at tau 0.60-0.84 (an upward swing direction). I diagnosed it after the run with a scratch
eprintlncopy. - Izz: I predicted misses, but a restart is a ~100 ms delay, not a miss.
- Late spin-up: 7, not 11. My physics put the A = 1 g near-0 g phase at tau 0.12-0.38 only, but 8 of the 11 D1 early-fire
windows are at tau 0.60-0.84 (an upward swing direction). I diagnosed it after the run with a scratch
- The pass rests on the PLACEHOLDER hand turning the drone while it accelerates it. A hand that does not turn it still fools D2, and the detector needs the inertia ratio to better than 10% (#25). Way out 3 (a new input) stays Scott's call.
- PR wart: the body's own disclaimer, "does not close #23", parsed as a closing keyword (
closingIssuesReferences= 1). Reworded and rechecked: 0. - Correction (2026-12-04, found while writing the sessions 08-09 post): the late spin-up diagnosis said that 7 of the 11 runs had no rotation in them. 4 did. 3 caught 6-12 ms of the spin-up and D2 still fired; the 4 that caught 14-20 ms did not. I had read "fired" as "no rotation". Fixed in EXPERIMENTS and docs/sessions/09.md, and noted on #23.
- Not yet true: real hands, real inertia, rotor momentum after release, lever arm before release, vibration, hardware. No code here arms a motor.
2026-12-04 (session 10): sessions 08-09 arc post; a #26 write-up correction; D3, a precession-rate band for D2 (#25)
- Relayed by murmur-dance-be, two items in order.
- Arc post. murmur-dance/murmur.dance#26, weight 6, 1,899 words of prose, labels type:post and area:content, on the board.
It covers D1's FAIL, D2's PASS and every miss.
check-posts.shpassed, both main's and site #20's.sync-contentagainst murmur main 36caf6a andzola checkpassed.- The site build check passed on 911d8b2; deploy was skipped, as on every PR.
- Not merged, no ready-to-publish label.
- Session 09 commits are cited as on #26.
- Finding while writing it. Session 09's late spin-up diagnosis said that 7 of the 11 runs had no rotation; 4 did.
- Corrected at 620e358, on #26. #26's CI is green on it (run 47380955349, 10 steps, 35 suites).
- #23 has a correction comment.
- Wart, rule 3, again. The #23 correction first cited "9b7ff0a": I wrote it in the same batch as the commit, before the commit's output came back. The real SHA is 620e358. I edited the comment, with a note, in the next command.
- Registered before code (c3b9d98): E9-sim-detect3.
- D3 = D2, but the residual is the distance to the nearest torque-free prediction turned about body z by up to beta |w_z| t, with beta = 0.35. That accepts any precession rate within 0.35 of the detector's, which an axisymmetric inertia-ratio error is.
- Lines: (a) and (b) at detector Izz x 0.8-1.2.
- Controls: D1, D2 (session 09's numbers), and D3 with no band = D2.
- Code (280102a): core
TorqueBandDetector,arc_residual,D3_K_TOL; simDetect3Trace,prerelease_detect3.throw_detect2andthrow_detectoutput is identical to 620e358 apart from the provenance line (108 and 96 lines).- New test files
core/tests/band_detector.rs(6) andsim/tests/throw_detect3.rs(4) (dd492c4, 06a57d1). bin/throw_detect3(75bb44c).
- Probes:
- 12 code mutants plus a no-op. M9 survived (D3 always armed before release), because no test had near-0 g while not held. I added one (06a57d1), and all 12 are killed.
- 6 void probes (C1, D1, D2 s=1, D2 x0.9, D2 iso, D3 beta 0): exit 2, 0 result rows. The registered run printed 9.
- Result, run once at 06a57d1, clean, 14 s:
- (a) PASS at all five: 100 / 100 / 100 ms, the same as D2's at the true inertia in every throw. D2's 120 + 328 over-budget throws all came in at 95-100 ms.
- (b) PASS at all five: 0 + 0. The longest run at A 1 g, T_w 0.5 s was 67 (D2 64).
- (c) equal to D2's.
- Stress:
- outside the band, x 0.7 / x 1.3: 72 / 224 over budget;
- isotropic: 5.4% missed;
- D2 at x 0.8 / x 1.2: 7.2% / 7.9% missed;
- plant Ixx x 1.1: no change for either;
- #25's asymmetry: 120 = 120 at T_r 0, and x 1.1's extra 208 all at T_r 20 ms, the ramp, as registered.
- Prediction: every count landed. One mechanism miss: I said D2 at +-20% would miss rather than delay, and more were delayed (1,752 / 2,592) than missed (1,040 / 1,144).
- Not yet true: a measured inertia; that the band costs nothing against real hands (it forgives a hand that turns the drone about body z within the band); rotor momentum; vibration; hardware. No code here arms a motor.
2026-12-04 (session 11): merge of murmur.dance#27; E9-sim-lh, Lighthouse as the heading source (#29)
- Merge, on Scott's direct instruction ("merge 27"). murmur-dance/murmur.dance#27 (publish.yml cadence on manual runs), merge commit d6a5283; the site run 47398288622 built and deployed. Reported to murmur-dance-be.
- Relayed by murmur-dance-be: Lighthouse is the heading source (Scott, on #20). Issue #29, refs #20 and #2.
- Registered before code (1dbf65f): E9-sim-lh.
- (a) Release heading p95 <= 0.1 rad with tilt p95 <= 0.2 rad, in all 48 conditions.
- (b) >= 285 of 300, D3-armed and at 50 / 100 / 150 ms.
- Controls C1-C6, VOID before any Lighthouse row. 11 stress rows, each with a prediction.
- Decided unless you object: the table is now level. Sessions 06-10 put the drone on the table at the release attitude run backward, upside down in some throws. With the photodiodes on top, that alone decides what a station sees. So the table is level, and a 1.0 s turn reaches the old table attitude before pick-up. From pick-up on, the path is unchanged. Heading-by-construction baselines on the new path are reported next to the result.
- Code:
- core
lighthouse(a6a7d0a): a 4-unknown Gauss-Newton yaw fit, with chi-square and sd gates, andMahony::turn_heading; - sim (10ae670): a PLACEHOLDER two-station model, occlusion, dropout, the level-table path, and Lighthouse in the pre-release and in flight;
- tests: new files
core/tests/lighthouse.rs(7) andsim/tests/lighthouse.rs(6) (eaf23c3, d00a4e4); bin/throw_lh(d1ecd79).
- core
- Refactor identity: the 13 existing binaries' output at 10ae670 equals e0317d4's apart from the provenance line. 12 print
sha=10ae670 tree=clean;
throwprints no provenance line, as before. - Probes:
- 19 code mutants plus a no-op. M17 (boot heading ignored), M18 (cover from t = 0) and M20 (the fix after the estimator update) survived the first pass; I strengthened the tests (d00a4e4) and all 19 are killed.
- 6 void probes (C1-C6), each exit 2 with 0 result rows.
- Pass-line probes in a scratch worktree (both predicted before running; the tree prints dirty):
- at heading 0.035 rad and 299 of 300, both lines print FAIL;
- at tilt 0.015 rad and 293, (a) prints FAIL from tilt alone and (b) PASS at its boundary (lowest 293).
- Result, run once at d00a4e4, clean, 147 s.
- (a) PASS: heading p95 0.032-0.037 rad, tilt p95 at most 0.018.
- (b) PASS: (b1) 298 of 300 in every condition; (b2) 299 / 298 / 293, C1's truth row.
- Lighthouse off fails as session 06 did: 58-60 of 300.
- Stress misses.
- sigma x 4: 0.282 rad, FAIL in all 48 (said 0.07-0.11).
- Rectangle / 3: 0.210 (said 0.06-0.09).
- sigma x 20: not identical to Lighthouse off; about 6 fixes per throw passed.
- Rectangle x 2: 0.021 (said 0.03-0.05).
- f 0: 0.008 from main (said 0.005).
- T_h 30 s: FAIL in all 48, not "some".
- Unregistered diagnostic of the misses (scratch, not a result), filed as #30 and not fixed:
yaw_fixclamps a failed inverse to sd 0, so a fit 3.7e7 m away passed both gates. Rejecting that and gating the fitted position moves sigma x 4 to 0.182 and makes sigma x 20 equal to Lighthouse off.- The rest is a per-pose bias: at a fixed pose with sigma x 4 and one photodiode covered, the mean fix error reaches 0.256 rad.
- Warts.
- Five bugs in my own new tests, each caught by its first run: an aliased tilt in the fix test, a wrong sd-constancy assumption, a noise-draw count off by one, an expected D1 fire that the pre-release never produces, and a 0.4 rad threshold I guessed (the observed value was 0.353; the threshold is now 0.25).
- Two compile errors in the binary, and three clippy lints.
- In-flight Lighthouse changed nothing measurable: dropout 8 s equals main.
- Not yet true:
- a measured Lighthouse: noise, photodiode baseline, FOV, sync loss in a tumble, LH2's slanted planes;
- a position estimator (E2): position is ideal here;
- real hands covering real photodiodes;
- hardware. No code here arms a motor.
2026-12-04 (session 12): a figure generator for the posts (#32)
- Relayed by murmur-dance-be: Scott asked for graphs and tables in the posts, both published and drafted. The site contract
is
editorial/FIGURES.mdon murmur-dance/murmur.dance#29, not merged. This repo's part is the generator (#32). Not an experiment, so no registration and no pass line. bin/fig(b584127):fig --list,fig <name> <outdir>,fig all <outdir>.- SVG written by hand, no new dependency. It writes
<name>.svgand a Markdown table view,<name>.md. - The data is
docs/EXPERIMENTS.md, compiled in and read by section heading, exact row label and exact column header. A missing or doubled cell is an error. - The hover trace comes from the sim:
simulate_with_gains, withsimulateunchanged and calling it with the default gains.
- SVG written by hand, no new dependency. It writes
- Seven figures:
- post 01: E9-sim against arm delay; the takeoff before and after conditional integration;
- post 2: truth, gate and rule against arm delay; the E9-sim-est3 tilt cliff;
- post 4: gate p95 against wind-up amplitude; gyro-only hold drift;
- post 5: the heading cliff, with the controller-alone diagnostic.
- Left without a figure:
- post 3 and the detector post: the results are single values, and the tables carry them;
- post 00: editorial.
- Tests, new file
sim/tests/fig.rs(6, 1c1a4ca):- the contract (FIGURES.md, plus what
check-figures.pychecks); - every plotted value against the record's numbers, copied once into the test;
- determinism;
- the seeds in each
<desc>against the binary it names.
- the contract (FIGURES.md, plus what
- Probes:
- 10 contract breaks, each reported. One recorded cell altered: the figure follows it and the value test reports 1 disagreement. A renamed row is an error.
- The site's
check-figures.pypassed all 7, and reported both breaks I fed it. - Two runs gave byte-identical output.
- Identity: the 14 existing binaries' output (with
murmur-sim's CSVs) at 1c1a4ca equals e0317d4's apart from the provenance line. - The hover at HEAD reproduces session 00's BUILDLOG numbers: z peak 1.186 / 1.031 m, overshoot 18.6% / 3.1%.
- Wart: my first split put
pub mod fig;in a commit withoutfig.rs, so that commit did not build. I re-split the unpushed commits with a soft reset before pushing. - Items 2-3, after site #29 merged on Scott's instruction (5e3e289; the site run 47415899393 built and deployed):
- post 01 update: murmur-dance/murmur.dance#30, with 2 figures, the URL unchanged;
- drafts #22-#26: page bundles, with 5 figures in #22, #24 and #25, and 3 rows from the record added to the tables;
- post 00 left alone.
- Every site CI build is green on its head. None merged.
- Wart: a
git stash/stash popturned post 01'sgit mvinto an add plus an unstaged delete. b18d7a4 had the post twice, and my local checks could not see it. Site CI did (run 47416676439, Build: "Found path collisions"). Fixed in 1669700, and re-checked on a clean tree.
2026-12-04 (session 13): the Lighthouse fit's two defects fixed (E9-sim-lh2, #30)
- Relayed by murmur-dance-be; Scott agreed the plan ("agree"). Before this work, on Scott's instruction, I merged #31 (merge commit d4be959, CI run 47423293235 green on it).
- Diagnostics first (unregistered, session 11's fit, sources and output on #30):
- The sigma x 4 error is born in the hand: the hold's fixes have a per-throw mean error of p95 0.412 rad (main 0.023).
- At a fixed pose, removing the sd gate takes the per-pose bias (sigma x 4, 3 photodiodes) from p95 0.642 to 0.094. The bias is mostly selection: the gate, evaluated at the fitted point, keeps one side of the noise.
- Rectangle / 3 is sigma x 3 to the fit.
- Decided, unless Scott objects: the fix is the gates, not the fusion. The sd gate moves to the prior point (geometry and
estimate, not this sweep's noise), and a failed inverse and a fitted position more than 1 m from the start reject. The
gain, max_sd and chi-square gate stay as registered. Session 11's
yaw_fixstays unchanged as the control. - Registered first (8e46f21). Code: 0e8abf5 (core
yaw_fix_gated), d2db1eb (simFitRule). Tests: cfd31f8 and 99e64fa (new filesim/tests/lighthouse2.rs, 6 tests). Binary: 0ebe283 (bin/throw_lh2, with C7: session 11's fit reproduces E9-sim-lh). - Probes: 9 mutants, all killed. Two survived the first test set: with the inverse gate removed, every failed inverse at sigma x 20 also lay more than 1 m away, so the position gate hid it. A 1 mm receiver gives failed inverses near the start, and a new test uses them.
- Line probes: a C7 mismatch in heading, and one in crash count, each VOID the run (exit 2, no gated row). My first probe of the x 20 line was voided by C7 too, since C7 reuses the stress row, and tested nothing. P3b opens the prior gate and zeroes the spec threshold: the x 20 = off line fails (48 conditions differ), and the spec lines and (a) fail.
- Identity: the 16 existing outputs (and murmur-sim's CSVs, the 14 figure files) at 0ebe283 equal c2ee4ae's apart from provenance.
- Result (one run, at 0ebe283, clean): controls C1-C7 reproduced. Main (a) PASS 0.037 and (b) PASS. Sigma x 4 PASS (0.081, from 0.282), rectangle / 3 PASS (0.077, from 0.210), sigma x 20 = Lighthouse off bit for bit. The fit holds (a) to m = 5 and fails at m = 6. Misses: m = 2 and m = 5 (the p95 is flat from m = 2 to 5, not growing with m) and m = 8 (flight fixes pass, because the drone flies nearer the stations).
- Wart: the registered run was not a command I typed. The identity script runs every binary at the new commit, so it ran
throw_lh2once, and that is the run. Nothing was re-run. - Wart:
cargo fmt -- <file>reformatted the whole workspace (51 files, inherited tests included): the project is not rustfmt-formatted, and the guard hook does not see Bash. Everything but my new test file was committed. I restored each file from HEAD and redid the test by hand; the diff against HEAD was then empty. - Wart: two bugs in my new test, both in what it assumed. A +inf inverse is refused by session 11's fit too, and the prior gate can reject a failed fit before the inverse gate does.
- The arc post (weight 7, sessions 11 and 13): murmur-dance/murmur.dance#32, 1,951 prose words, site build green (run
47434847325). Its figure
lh-noise-reachis in a newfig::MOREregistry (tests/fig.rs pinsDEFSat 7), tested by the newsim/tests/fig_more.rs(6 tests; 4 mutants killed: a wrong record row, a typed-in label, a legend marker without its hit circle, a dropped point). Generated at 9afad13, clean.fig allnow writes 8 figures. - Wart: the light/dark check of the post was the figure only (the site's
--viz-*values substituted, rendered with rsvg). A headless-browser screenshot of the built page was refused by the permission system, and I did not work around it.
2026-12-04 (session 14): the PLACEHOLDER sensitivity sweep (E9-sim-sens, #34)
- Relayed by murmur-dance-be from Scott: vary each PLACEHOLDER the throw line rests on, alone, and rank them for the bench kit (#34). Stacked on session 13's branch (it needs the gated fit); #36 has since merged as 60d1fa2.
- Registered first (86c748c): 32 parameters with ranges (my estimates, PLACEHOLDER), margin M, the share F of each range where M < 0, controls C1-C5 and a predicted ranking. Truth varies and the firmware stays nominal.
- Code:
simulate_split(plant drives the dynamics, the accelerometer and a thrust clamp; the model drives what the firmware assumes) and an accelerometer bias in all three IMU streams (b78d38d, 71a3ada). Newsim/tests/sensitivity.rs(4 tests); 10 of 11 mutants killed, the survivor equivalent. Binarythrow_sens(553313e); a wrong C1 target and a C5 leak each VOID it. - Result (one run, at a2423a8, clean, 1,020 s): measure first arm latency (breaks at 93 ms), the true sweep noise against the fit's sigma (x 2.6), plant mass against the firmware's (x 1.155 interpolated), accelerometer bias (0.503 m/s^2), photodiode FOV (49.8 deg). The hand model and the flight IMU noise do not move the line in range.
- Not predicted: sweep noise (the registration named the mechanism and halved its size) and mass. The mass cliff is the position integrator's 0.3 m zone: above about x 1.245 the P error alone exceeds it, so the integrator never starts (analysis after the run; #37). The fit's sigma: #38.
- Figure
sens-tornadoin a third registryfig::MORE14, tested by the newsim/tests/fig_sens.rs(11 of 11 mutants). Ranking posted on #34 (comment 7426725168), with four rows for its measurement table. - Wart: I restored the mut scratch worktree with
git checkout -q -- .without looking at what it held, and it discarded an uncommitted change tolighthouse2.rsthere (rule 10). Scratch only; the committed test is intact, but I can't say what the change was. - Wart: session 13's
fig_more.rspinsMORE.len() == 1, the same pin pattern as session 12'sDEFSpin that forcedMOREin the first place. A third registry was the only way to add a figure without editing an inherited test. The new test checks names are unique instead of pinning a count. - Wart: four claims in my first draft of the result were not taken from a command (rule 3). I checked each against the output and corrected it before the commit.
- The peer offered to run the light/dark browser checks my session's permissions refused. I declined: work my permissions refused doesn't go to another session. The question goes to Scott.
2026-12-05 (session 15): the position integrator's zone against a heavy plant (E9-sim-izone, #37)
- Scott's decision, relayed by murmur-dance-be and recorded on #37: session 15 takes #37, sim only, registered first.
- Registered at e85ee3d: a stillness rule (integrate outside the 0.3 m zone once |v| < 0.3 m/s for 0.5 s), controls that reproduce E9-sim-sens with the old rule, lines L1-L4 and four mechanism probes.
- Code 2ee2643, tests 6d6bafe (
position_still.rs,izone.rs, new), binary a9f3d09 (throw_izone). 8 of 8 rule mutants killed; three line probes as forecast. - Result, one run at a9f3d09, clean:
- The mechanism is confirmed both ways: moving the zone moves the cliff.
- L1 FAIL: x 1.3 recovers 279 of 300 (was 0), under the line in all 48 conditions; mass F falls from 0.364 to 0.094.
- L2 PASS.
- L3 FAIL: 8 of 15 simulation binaries and murmur-sim change. The rule also fires on the slow drift of a wrong
attitude estimate and on a steady gust. Every registered verdict holds;
gyro_calandthrow_headingVOID on their own controls (#40). - L4 PASS: 0.0022 m against 0.368 m.
- Decided after the result, unless Scott objects: the default stays zone-only, and the rule is opt-in as
PositionGains::still_rule()(6eba7a2). At that commit every existing binary's output equals 32c427b's. - Wart: I ran L4's test before committing it. Re-run clean at 6d6bafe, with the same numbers.
- Wart: the third line probe ran the real L1 rows before the registered run. Its script reported only the L2 line and deleted the output unread, but the probe should have been built so it couldn't compute them.
- Wart: four errors in my first draft of the result, caught against the output before the push (rule 3). One was reading est3's "unsettled" column as crashes.
- Wart: my mutation script passed several test targets to one
cargo test, which stops at the first failing binary. So only the core test file ever saw a mutant.
2026-12-05 (session 16): the E2 position estimator in sim (E2-sim)
- Relayed by murmur-dance-be from Scott: session 16 is the E2 position estimator, from main, registered first. Scott merged #41 during the session (8456f3d; CI green on the merge commit). The branch had no commits yet, so it starts there.
- Decided, unless Scott objects:
- A 6-state Kalman filter on (p, v). The accelerometer through the attitude estimate drives it, and each Lighthouse sweep angle is a scalar update.
- q_a 0.01, chosen by analysis, not by a run.
- No innovation gate, because the sim has no outliers.
- "Moving" means a circle.
- Only the Lighthouse stack.
- Registered first (723dadc). Code a7dc33d, e4f0887, 0248833: additions only, 0 deleted lines against main. Tests: new
core/tests/position.rs(7) andsim/tests/position.rs(6). Binarybin/pos_lh(50aecac). 17 mutants, 14 killed; the 3 survivors were forecast. Five line probes as forecast. - Result, one run at f09c8b8, clean, 2.6 s: E2-sim PASS.
- Worst RMS_e 0.95 mm hover and 2.15 mm circle, open loop; 0.95 and 2.21 mm closed loop. Hover tracking RMS 4.37 mm.
- Stress: one station off fails (42.00 mm hover, #47). A 1 s outage in the circle reaches 1180.15 mm (#46).
- Station poses 2 cm / 2 mrad off give a 15.32 mm offset.
- The circle breaks between sigma x 16 and x 64.
- Wart: the registration's circle speed ("about 1.0 m/s") came from a linear analysis that used the z gains. The x and y gains give 0.875 m/s, the run flew 1.418 m/s, and the gap is not explained. The guard held.
- Wart: my first feedback test assumed closed-loop dead reckoning settles. With Lighthouse off it runs away, the truth at (-4.05, 5.84, 0.71) m after 5 s. That is now part of #46. The replacement's first window, [3, 6) s, caught the xy integrator still unwinding (4.2 mm against a 3 mm tolerance); I moved the window, not the tolerance.
- Wart: line probe P2 printed one number from unmutated code on shifted seeds (lowest hover RMS_e 0.9 mm). It is not a registered row, but it previews one. Probes should print verdicts only.
- Wart: rule 3, twice, both caught by a mechanical check of every number before the commit. I wrote "#48" before the issue existed (it is #46), and 0.04 mm for a 0.03 mm difference.
- The arc post (weight 9, session 16): murmur-dance/murmur.dance#34, 1,807 prose words, site build green (run 47467847120). No figure: tables carry the numbers. Unlabelled for publishing, not merged.
2026-12-05 (session 17): REF-bench registered, and a Crazyflie SD-log reader (#42)
- Relayed by murmur-dance-be from Scott: after E2, pre-register #42's proxy measurements and write a Crazyflie SD-log reader into murmur-sim. Stacked on session 16's branch (#48), unless Scott objects.
- Registered first (7b205da), with no hardware yet: REF-imu, REF-lh, REF-place, REF-start, REF-throw on the reference platform. A log is VOID on a bad magic, version or CRC, a missing variable, or more than 0.1% of samples missing. REF-start's motors are run by Scott in person from cfclient, and no code here commands a motor. Every log variable named was checked in crazyflie-firmware's source at 2231bbf.
- Code:
sim::cflog, the reader, re-implemented fromusddeck.candcfusdlog.py(GPL-3.0, nothing copied);sim::refbench, the REF-imu analysis; andbin/cflog. Newsim/tests/cflog.rs, 9 tests. 14 mutants, 13 killed, and the survivor was forecast. - Bitcraze's decoder read my fixture the same as mine: 460 values, 0 mismatches, CRC f921178a equal to zlib's. The check can fail: one altered value gives 1 mismatch. A real log is still the real test.
- Wart: commit 4323ce6 does not compile. I chained the commit after clippy with
;, so it went in on an error. - Wart: the fixture encoder saturated an out-of-range i16 silently (-33000 stored as -32768), so a fixture could carry data other than what its test wrote. It now refuses.
- The E2 post gets a figure after all (murmur-dance-be's suggestion, my call):
fig e2-noise-reach, worst RMS_e against the sweep-noise multiplier, hover and circle, log-log, the 30 and 50 mm lines dashed, read from the record. It is on session-16-e2 (99615de, #48), so the commit the post cites reaches main with #48. This branch merges it. Newsim/tests/fig_e2.rs, 6 tests; 4 mutants, 4 killed. Generated clean at 99615de and added to murmur-dance/murmur.dance#34 (87e5662), with the stress table kept as its table view. - Found:
fig's table reader split the E2 tables'max \|e\|header at each escaped pipe, shifting every column after it. It failed closed (a cell of the wrong shape), and no other section has an escaped pipe. It now reads\|as a pipe. - Wart: a
|-delimited perl substitution, with|in its pattern, wrote the new table-splitter function into line 1 of fig.rs. The compiler caught it, and I repaired it before the commit.
2026-12-05 (session 18): controls that compute their reference rows (#40)
- Scott's decision (relayed by murmur-dance-be): session 18 is #40, session 19 is #46. The controls in
gyro_calandthrow_headingcompute their comparison rows instead of hard-coding them. Bit-equal output at the default gains, no line loosened. - Decided unless Scott objects: the reference rows come from the reference experiments' own loops, copied unchanged into
sim::refrows(E9-sim frombin/throw, E9-sim-est and -est2 frombin/throw_est2, E9-sim-est3 frombin/throw_est3). A reference computed through the binary's own harness could only pass. The reference binaries are not edited (e3a8663). - Identity diff against main:
gyro_calandthrow_headingat e3a8663 (clean) against aa609bb (clean). Every line but the first is identical (57 and 428 lines). The first differs only in sha and the binary's path. Both exit 0. Runtime:gyro_cal12 -> 17 s;throw_heading135 -> 163 s, though that run overlapped the probes. - Probes in scratch worktrees (exit codes and verdicts only; trees dirty by construction):
- Harness break:
gyro_cal's IC seed 42 -> 43 VOIDs 15 cells (truth and uncal), andthrow_heading's tilt-axis seed 17 -> 18 VOIDs 15 pol+tilt cells. Both exit 2. - Stillness rule as the default: at aa609bb both exit 2 (
gyro_cal5 uncal cells,throw_heading15 pol+tilt), which is #40 reproduced. At e3a8663 both exit 0, with E9-sim-cal A, B and C PASS and E9-sim-heading PASS. Estimated-attitude, ideal-position sim, a controller that is not the default.
- Harness break:
- Tests: new
sim/tests/refrows.rs, 3 tests (1489c63). They runbin/throwandbin/throw_est2at the same commit and compare every row withrefrows, which holds at any controller. 4 mutants, 4 killed. - #50 filed: eleven more binaries hard-code their control rows, the same class as #40. Not in scope.
- Wart: my forecast's third mutant, "the bias direction drawn before the throw's state", is equivalent: the two draws come from separate streams. I saw it before the run and drew the state from the bias stream instead.