Project history¶
Consolidated 2026-08-18 from twelve retired project records (planning
documents, campaign checklists, and study reports — the full list is
in the Retired documents index). This file
is the single record of what was tried, what was found, and what was
decided. Old document names survive only as historical labels — most
visibly inside the immutable evidence files under data/ (e.g.
data/efl_study/results.json embeds the name of its retired study
definition) and in milestone identifiers such as M-GC1 or D4 that
code comments still cite.
The current capability status lives in the guide overview; the theory notes carry the interpretive narratives. This file records the past: it is append-only in spirit — the decisions below are closed.
Timeline at a glance¶
| Date (2026) | Event |
|---|---|
| 07-17 | Plan approved after two external review rounds (M0–M8) |
| 07-21 | All milestones hardware-verified. x7_wave position-mode parity (M6); x7_float gravity float (M7); computed-torque tracking accepted at the reduced envelope after a nine-run campaign (M8) |
| 07-23 | Pass-1 tracking instrumentation hardware-validated (pass1.csv) |
| 07-27 | Flexible-mode identification campaign: qualification holds, one valid survey at P1 joint 1, amplitude pilot to the 0.30 Nm hard cap — stop rule triggered |
| 07-28 | Identification closed, null result; the 0.6 excursion-scale cap declared FINAL. x7_track settle-phase incident → PARKED |
| 07-29 | x7_float incident (gravity over-compensation) → parked; offline EFL study closed, negative at its first gate |
| 07-30 | M-GC3 objective float acceptance PASSED; subjective back-drive criterion FAILED |
| 07-31 | Owner WAIVES the back-drive criterion; x7_float un-parked under enforced conditions; default-scale adoption declined; M-GC3 formally closed by the reviewer |
| 08-04 | CT mass-error simulation study; --evaluation-time demonstration disposition |
| 08-18 | Project cleanup: records consolidated here; the closed x7_ident hardware app removed |
| 08-19 | x7_gravity_demo added (simplified gravity-compensation demonstration with customizable torque constants) and reviewed — the --experimental-calibration opt-in gate and the operator page followed; apps/ sources reorganized into domain subdirectories (binaries stay flat in build/apps/) |
| 08-20 | Docs renamed lowercase and nested by nav section (published URLs changed; no redirects, by owner decision); Apache-2.0 license adopted; MITOU Target Program (IPA, FY2026) acknowledgment added; docs em-dash convention recorded with docs/records/ exempt |
| 11-03 | Control-rate E0 and E1, torque-off on the legacy read path: 200 Hz is the highest rate that passes every criterion, while some 500 Hz runs kept their frequency but failed the headroom criterion (no rate qualified for powered control); E1 calibration stopped because torque-off goal read-back does not work on the servos; checkpoint 1 decided the same day |
| 11-04 | Control-rate torque-off runs on the bounded read path (Phase R): 1,000,929 reads without a transport fault and the same pass or fail as the legacy path; the reviewer closed Phase R for development, and the motion-only read and Fast Sync Read proceed |
| 11-05 | Control-rate torque-off runs of the motion-only read and Fast Sync Read (B2, B3): 295 runs, one timeout and the first recovery on hardware; read time fell by the wire bytes saved, 200 Hz stays a candidate for selected real-time profiles, and 500 Hz fails the headroom criterion in every run; the reviewer accepted them as completed exploratory measurements and set a 5.1 ms provisional wake allowance |
Decision ledger¶
| Date | Decision | Status | Record |
|---|---|---|---|
| 2026-07-28 | The 0.6 excursion-scale cap in x7_track is the final supported operating boundary; full-amplitude torque mode is a closed goal |
FINAL | Computed torque |
| 2026-07-28 | Flexible-mode identification (pass 2 step A) closed on a precisely scoped null result | CLOSED-NULL | Identification |
| 2026-07-28 | x7_track parked behind a reviewer-gated settle-phase fix (unimplemented) |
PARKED | Settle incident |
| 2026-07-29 | Offline EFL study closed negative at the preregistered gain gate; no hardware consequence | CLOSED-NEGATIVE | EFL study |
| 2026-07-31 | Subjective back-drive criterion WAIVED by the owner (risk/quality decision, not a test pass); x7_float un-parked under enforced conditions |
WAIVED | Gravity |
| 2026-07-31 | Default-scale adoption DECLINED — calibration stays per-application config | FINAL | Vendor scales |
| 2026-08-18 | x7_ident hardware app removed (campaign closed; sim twin and analysis retained) |
REMOVED | Removed app |
| 2026-08-19 | x7_gravity_demo refuses non-vendor torque constants without the explicit --experimental-calibration opt-in (review directive: the config's [0.5, 1.0] scale bound is an electrical bound, not a validated float envelope) |
ENFORCED | Gravity demo |
| 2026-11-03 | Control-rate checkpoint 1: Phase B takes Fast Sync Read and a selectable motion-only read, records the existing Return Delay Time 0, keeps the contiguous cbp goal conditional; cbp targets 500 Hz first; SCHED_FIFO with explicit affinity is the scheduling baseline; acceptance thresholds unchanged | DECIDED | Checkpoint 1 |
| 2026-11-04 | Control-rate Phase R closed for development: B2 and B3 proceed on the bounded path, keeping the 35 ms budget and equal guard; provisional real-time wake allowance raised to 0.75 ms; a T6a pass establishes host-side throughput only; no rate above 100 Hz qualified for powered control | DECIDED | Phase R on hardware |
| 2026-11-05 | Control-rate B2 and B3 accepted as completed exploratory measurements: 200 Hz a candidate for selected real-time profiles only; one provisional real-time wake allowance of 5.1 ms (an assumption, not a T5 threshold); budget and guard unchanged; targeted USB and scheduler tracing next; no rate above 100 Hz qualified for powered control | DECIDED | B2 and B3 on hardware |
Origin and milestones M0 to M8¶
The project began from an owner brief (July 2026): rebuild the CRANE-X7 control stack on mi-lib with a strict testing ladder (pure logic → unit tests; bus behavior → wire-level emulator; motion → sim acceptance before hardware). The approved plan ran M0 scaffold → M1 URDF→ztk model port → M2 trajectories/.zvs/IK → M3 roki dynamics sim bridge → M4 Dynamixel layer + emulator + inspection tools → M5 hardware bring-up → M6 vendor parity → M7 torque estimation and gravity compensation → M8 torque control. All milestones completed and hardware-verified 2026-07-21.
Durable hardware findings from bring-up (M5): glibc ≥ 2.42 broke the
DynamixelSDK termios baud setup (fixed in dxl::Port); the servo Bus
Watchdog counts reads as traffic and freezes with torque ON on a
silent bus; deactivate() is not an e-stop — the layered watchdog
design (servo-side Bus Watchdog + host deadman that escalates to bus
silence) came out of this milestone. M7 closed with x7_float
floating and back-drivable on hardware, measured vs predicted torque
within ~0.01–0.03 Nm per joint at static poses — a result later
re-scoped by the calibration arc below. Post-completion hardening
fixed four defects and two review passes (pass 1 instrumentation,
pass 2 identification) followed; their outcomes are the chapters
below.
Gravity compensation and torque-constant calibration¶
The 2026-07-29 float failure¶
A hardware float session accelerated the untouched arm toward the
upright posture, peaking near 2.37 rad/s with joints riding their
upper limits. Two phases were distinguished: phase 1 was a
zero-current activation drop (an implementation gap — the arm
free-fell before compensation engaged — not miscalibration evidence);
phase 2 was strong evidence of excess actuation: with a command
scaling α > 1 the closed loop is M q̈ + C q̇ = (α − 1) g(q) — the
compensation itself pumps the arm uphill. The session was classified
a FAILED hardware float test and x7_float was parked.
Vendor-scale hypothesis and evidence honesty¶
The leading explanation was the torque→current calibration: rtctrl
used the datasheet torque constants (1.783 Nm/A XM430-W350, 2.409
XM540-W270) where the vendor's software uses empirically tuned
constants (2.20, 3.60) — so rtctrl commanded ~23 % more current on
XM430 joints and ~49 % on the XM540 shoulder per model-torque. The
correction scales 1.783/2.20 = 0.810455 (XM430) and 2.409/3.60 =
0.669167 (XM540) were adopted into
config/crane_x7_vendor_scale.toml — and deliberately stated as
hypotheses, not measurements: measured torque is reconstructed from
current through the same nominal constant that produced the command,
so the telemetry cannot independently estimate the output-torque gain
α, and no per-joint α was ever claimed. A proper per-joint
calibration experiment (known mass at a known lever arm, breakaway
asymmetry both directions) remains the open M7 follow-up.
Gate outcomes and the waived back-drive criterion¶
The combined remediation (calibrated scales + position-held/preloaded startup that removed the activation drop) PASSED the objective M-GC3 acceptance with wide margins — peak speed 0.024 rad/s (bound 0.1), displacement 0.0123 rad (bound 0.05), zero gate/clamp engagements, final-second drift 0.0015 rad (bound 0.01). The subjective back-drive criterion FAILED (reviewer disposition 2026-07-30): a j1 notch under hand-guiding — an energized actuator-side behavior strongly associated with crossing the low-current transition region q1 ≈ +0.27…+0.53 rad — and a small j4 positive hand-guided tendency (command ≤ 0.055 Nm).
Decisions taken (owner, 2026-07-31; reviewer's statement of record — waiving is "a risk/quality decision, not a test pass"):
- Default scales — adoption DECLINED. The library keeps only the nominal datasheet constants; the repo default config keeps scale 1.0 (the known-failed float configuration). Calibration remains a per-application configuration.
x7_float— UN-PARKED with the waiver, under enforced conditions: the vendor-calibration gate is mode-independent (every session refuses any other scale vector before bus contact), and--logis required and created exclusively — an existing file is refused, never overwritten.- M-GC3 FORMALLY CLOSED (reviewer, 2026-07-31): the gravity-calibration arc has no remaining findings or decisions.
Post-closure timing disposition (2026-08-04): --evaluation-time
selects a non-default 5–50 s window for demonstrations only; such
logs self-label run_mode: demonstration and are rejected by the
--vendor acceptance path. The archived M-GC3 evidence keeps its
original 5 s protocol.
Open questions and non-goals¶
The j1 notch mechanism was not isolated (current-loop dynamics vs
load-dependent drivetrain friction): a power-off differential showed
no notch with the servo unpowered (a torque-enabled phenomenon); a
gate-free diagnostic showed clean static current delivery (error ≤ 7
counts, p95 = 3) with all large present-current steps
motion-concurrent; and a model replay closed the gravity-model line
for j1 (rtctrl vs vendor gravity models agree within ±0.015 A mean,
worst 0.044 A) while quantifying the j4 tendency as an amplitude
mismatch (rtctrl commands 1.37–1.49× the vendor model's j4 current,
within 1–3 goal counts). Standing non-goals: no host-side damping in
the float (it walks into the delayed-D-path anti-damping that parked
x7_track's settle phase); no change to dxl::torqueConstant — the
calibration is an explicit, configured, command-side quantity applied
at exactly one boundary.
Position-mode tracking on hardware¶
Position-mode control is the project's other hardware success, and
the closure of the torque-mode work made it the supported route for
large fast motions. examples/x7_wave (multi-joint synchronized wave
through RealArm, reference anchored to a captured posture) was
confirmed on the physical arm 2026-07-21 as the M6 vendor-parity
milestone — the capability mapping lives in parity.md.
apps/x7_move_simple (single-joint velocity-limited min-jerk) and
apps/x7_pose (placement onto a canonical posture with
measured-posture convergence) complete the position-mode toolset;
none of them touches the current-command path.
Current-based position gain decision (2026-08-27)¶
A servo-side gain sweep on the tabletop pick-approach trajectory selected a
provisional current-based position configuration for the tested Crane-X7 and
firmware 47: position P gain 800 on every motor except ID 5 at 900, position I
gain 0, and position D gain 3525 on XM430 motors and 6375 on XM540 motors. The
host ran at 100 Hz with a 2.5 Nm per-joint effort ceiling. This is an
experiment-specific selection, not a new project-wide motor default. The
loadable config/follow_cbp_75pct_d_id5_p900_params.toml and matching
config/follow_pick_cbp_75pct_d_id5_p900.toml retain the selected setup.
Three repeated runs produced aggregate joint RMS errors of 0.017995 to 0.018138 rad and elbow peak errors of 0.064110 to 0.065628 rad, with no overruns, skipped cycles, or stale commands. Compared with the vendor-reset current-based position gains, high-frequency measured torque was about 22% lower. Reducing D to 25% increased high-frequency velocity and made visible vibration worse, so that setting was rejected; D=0 was not attempted. The intermediate configurations and all raw evidence are indexed in data-archive.md.
Manual teaching and playback validation (2026-08-28)¶
The complete manual-teaching workflow ran on the physical arm in both
x7_teach acquisition modes. The torque-off session recorded 1,924 raw
samples and produced 1,152 uniform ZVS frames over 11.520 s. The calibrated
gravity-compensation session recorded 2,514 full-session samples and produced
1,216 frames over 12.160 s, including the separate support confirmation before
torque-off. Both bundles report status = "success".
The campaign then exercised the taught-reference playback ladder: position and current-based-position dynamics simulations completed successfully before the two hardware runs. The archived hardware comparison used the torque-off taught trajectory and completed with worst tracking errors of 0.1061 rad in position mode and 0.1057 rad in the selected tuned CBP mode. Aggregate RMS error was 0.02715 rad for position and 0.02504 rad for CBP. The operator also confirmed the workflow with the gravity-compensation teaching path. These results establish the acquisition and playback procedure; they do not certify an arbitrary future taught trajectory.
The complete bundles and comparison products are indexed in data-archive.md.
Computed torque¶
Simulation results¶
The textbook law τ = ID(q_d, q̇_d, q̈_d) + Kp·e + Kd·ė tracks the M2
trajectory in the roki simulation at RMS 0.0050 rad, 3.1× tighter
than bare PD (asserted by tests/integration/tracking_sim_test.cpp
to this day). Simulation, including reflected rotor inertia, shows
none of the hardware pathologies below — the clearest illustration of
the testing ladder's rule that a sim pass is necessary, never
sufficient.
Hardware campaign and the final 0.6 scale cap¶
Nine hardware runs (2026-07-21, eight logged as trackN.csv) showed
the textbook law is not hardware-stable as written. The shipped
controller became
tau = ID + LP(scale_i · (Kp e + Kd e_dot_host)) + clamp(Ki ∫e)
with every added term tracing to a logged failure: the servo's
PresentVelocity estimate (~50 ms lag, 2× attenuation) destabilizes
Kd, so velocity is estimated host-side from positions; the ~13 Hz
gear-train resonance forces the low-pass on the PD and caps Kp ≈ 6;
the resulting ~1 Nm friction sag needs the clamped integrator;
per-joint gain scales keep the low-inertia distal joints out of
~5 Hz backlash limit cycles; a damped, quiescence-gated settle phase
precedes tracking; and feedback positions wrap to the principal angle.
So configured, tracking was accepted on hardware at RMS 0.019/0.022
rad within the reduced-speed envelope (2026-07-21).
The limitation: excursions beyond scale ≈ 0.6 extend the arm into configurations whose ~4–5 Hz structural mode (shoulder gear compliance vs arm inertia) the 100 Hz loop actively pumps — runs 7–8 oscillated coherently there even at matched trajectory rates. The 0.6 excursion-scale cap is FINAL (owner closure 2026-07-28): the notch/phase-compensated D-path redesign and the full-amplitude torque-mode end goal are closed, not deferred — the identification that a notch design required stopped at its first gate (next chapter). Large fast motions beyond scale 0.6 belong to position-mode tracking.
Root mechanism: delayed D-path phase¶
External review attributed the full-amplitude oscillation to the sampled-feedback architecture, not to model error: ~117° of D-path phase at the 4–5 Hz mode (≈55° from the 50 ms PD low-pass with its 3.2 Hz corner, ≈30° from the velocity filter, ≈32° from the bus pipeline), so nominally dissipative damping injects energy at the mode. This mechanism reappears twice below: the EFL study's 13 Hz flexible screen grows under the study controller, and the mass-error study demonstrates that the model-error axis people usually blame first is comparatively benign.
x7_track parked: settle-phase anti-damping¶
On 2026-07-28 a scale-0.5 session never left the settle phase: from a
compact resting posture the pan (canonical joint 0) anti-damped at
4.33 Hz, growing ~50 → ~350 mrad peak-to-peak within a second of
torque-on; the operator cut power. The failure precedes the scale
argument (no scale is safe) and no code or configuration change
preceded it. x7_track is PARKED until a reviewer-approved
settle-phase fix lands — none is implemented; the authoritative
operational status is the registry in
bringup.md. Incident telemetry:
track9.csv/track9.csv.settle (data-archive.md,
incidents-2026-07/).
Pass-1 instrumentation evidence¶
The pass-1 hardening (stale-feedback policy, controller-state
preservation through turnaround, quiescence gate that actually gates,
loop-signal logging — the D1–D8 items cited by code comments) was
hardware-validated 2026-07-23 (pass1.csv, scale 0.5): feedback
intervals 10.0 ms median / 10.4 ms max with zero sequence gaps,
receipt-matched first-apply delay 9.6–10.3 ms across 401 commands
(bound 20 ms), zero saturation or gate engagements, and the identity
ff + pd + i ≡ tau_raw holding on hardware.
Integrator findings¶
Stationary current-mode holds (from the identification campaign)
exposed integrator–stiction hunting: a joint sticks in tolerance,
the integral winds at exactly Ki·e, commanded torque falls until
static friction releases, and the joint breaks ~26 mrad across the
band — recurring after every honest acceptance. Gain scaling cannot
fix it (the scales are PD-only; the integral is unscaled). The
reviewer-directed fix was per-joint integral latching: each joint
freezes its integral at its own 0.3 s in-band-and-quiet readiness,
with the frozen bias persisting (PracticalComputedTorque::freezeIntegral and
the per-joint freeze mask — still in the library). A separate 8.9 Hz
±13 mrad controller-pumped pan limit cycle under stationary holds was
bounded by a joint-0 PD scale of 0.5 (kIdentScale0; FRFs are
controller-specific, so the tuning is recorded with any dataset).
EFL offline study (closed negative 2026-07-29)¶
Question and preregistered gain gate¶
After the cap closure, an external-reviewer-defined offline study
asked whether an exact-feedback-linearization controller (the model
evaluated at the measured state, acceleration-domain error dynamics
q̈ = q̈_d + Kd(q̇_d − q̇) + Kp(q_d − q), τ = M_model(q)·v) could beat
the shipped PRACTICAL law inside the same envelope. The study was
offline-only by charter — no hardware was operated, no x7_track
change was in scope. It was preregistered: cases (rigid R1/R2,
latency L1/L2, disturbance D±, flexible screens F4/F13 on the
two-mass fixture), metrics, gain grid (ω_n ∈ {4, 6, 8} rad/s,
ζ ∈ {0.7, 1.0}), a four-part decision rule C1–C4, and a discard gate:
any EFL-host cell exceeding 1.1× the baseline's peak error on the
development scenario eliminates that gain pair before the main grid.
Frozen specification¶
This subsection is the live specification referenced by
apps/study/x7_efl_study.cppandtests/unit/{efl_test,study_metrics_test,lagged_arm_test}.cpp. Do not edit it without re-running the study gate; it is preserved verbatim from the retired implementation plan.
The study definition requires these fixed but leaves them unnumbered; they were frozen before implementation and baked into the study executable as constants.
- Torque-limit vector [Nm], the REAL hardware rule
max(0, min(effort_limit, kt·I_servo) − current_limit_margin·kt)evaluated with a frozen ASSUMED servo current-limit vector (offline there is no runtime reading), in raw units:[1193, 2047, 1193, 1193, 1193, 1193, 1193, 1193]— 1193 is the XM430-W350 factory default recorded insrc/emu/motor_emulator.cpp; 2047 is the XM540-W270 vendor factory default (an assumption, not repo-recorded). With the checked-inconfig/crane_x7.tomlefforts/margins,kCurrentUnitAmps = 0.00269, and kt 1.783 (XM430-W350) / 2.409 (XM540-W270):
[4.8305, 8.7955, 3.1085, 3.1085, 3.1085, 3.1085, 3.1085, 3.1085]
Joint 0 is current-limit bound (kt·I = 5.7220 Nm < the 10 Nm
effort limit). Both the assumed current-limit vector and the
resulting torque limits are recorded in every result row.
- Development-scenario start pose (the authority's "existing
rigid-sim start pose", frozen numerically — the
tests/integration/tracking_sim_test.cpp initial pose):
[0.0, 0.2, 0.0, -0.4, 0.0, -0.2, 0.0, 0.1]
- Gear deflection (F4/F13):
deflectGear(probe_joint, 0.005)— 5 mrad motor-side against the held link, applied once before the first control cycle, identically for every compared controller. - Flexible-case run length: 3.0 s. Modal fitting window: t ∈ [0.5, 2.5] s, split at 1.5 s into two equal halves.
-
Amplitude estimator: fixed-frequency least-squares fit of
a·cos(2πft) + b·sin(2πft) + cto the probe joint's link position over each window (f = the planted mode frequency), amplitudeA = √(a² + b²)[rad] — exact for arbitrary phase and noninteger cycle counts, unlike a normalized Goertzel coefficient. Windows:A_earlyon [0.0, 0.5) s,A₁on [0.5, 1.5) s,A₂on [1.5, 2.5) s. Censoring rule (floor ε = 1e-9 rad): a below-floor amplitude is a censored observation, never a zero. Per screen and controller, exhaustively and mutually exclusively: -
A₁ ≥ ε ∧ A₂ ≥ ε→ uncensored rateln(A₂/A₁)/1.0 s; A₁ ≥ ε ∧ A₂ < ε→ censored-decayed;A₁ < ε ∧ A₂ ≥ ε→ censored-grown (vanished, then reappeared): fails C4 outright;A₁ < ε ∧ A₂ < ε ∧ A_early ≥ ε→ censored-decayed (the ring existed and vanished below resolution);A₁ < ε ∧ A₂ < ε ∧ A_early < ε→ inconclusive (nothing measurable was excited): fails C4, recorded with its amplitudes.
Censored-decayed satisfies the negativity requirement and compares
as more negative than any uncensored rate; two censored-decayed
results tie (which satisfies the no-greater-than-comparator test).
- Delay-queue initialization (study mode): delay_cycles = 2, the
queue preloaded with two zero-current commands — the command accepted
at cycle k is applied at cycle k+2, from the first cycle on, with no
first-command passthrough. (Legacy mode — one-cycle delay with
first-command passthrough — remains the default and is what
x7_track_sim keeps using.)
- D+/D− hold and scoring: the loop runs for
trip.duration() + 3.0 s, holding the trajectory's clamped endpoint
sample as the reference after the trip ends (verify the endpoint
clamp at implementation; otherwise hold the final sample explicitly).
Settling time = first time after trajectory end at which the
disturbed joint's |e| remains ≤ 0.01 rad continuously for 0.5 s;
steady-state error = mean |e| over the final 1.0 s. Joint 1 (the
disturbed joint) is scored; all joints are recorded.
Frozen decision-rule formulas¶
The authority's four-part rule (the retired study definition's
"Metrics and decision rule" — see
the section above), made
executable without judgment. Comparator: PRACTICAL in the six
rigid/delayed/disturbed cases S = {R1, R2, L1, L2, D+, D−};
PRACTICAL-GF in {F4, F13}. Per case,
RMS is the total all-joint, all-sample tracking RMS; peaks are maxima
over all joints and samples; sat(c) is a controller's
controller-side clamp event count.
- C1 (≥20% improvement in a majority):
|{c ∈ S : RMS_EFL(c) ≤ 0.8 · RMS_PRACTICAL(c)}| ≥ 4. - C2 (no regression, required in EVERY
c ∈ TwhereT = S ∪ {F4, F13}, against that case's comparatorcmp— PRACTICAL in S, PRACTICAL-GF in F4/F13):peak_err_EFL(c) ≤ 1.1 · peak_err_cmp(c)andpeak_τ_EFL(c) ≤ 1.1 · peak_τ_cmp(c)andsat_EFL(c) ≤ sat_cmp(c)(which implies no saturation where the comparator has none). - C3 (delayed completion): EFL-host completes L1, L2, D+, D−, F4,
and F13 with finite states and metrics. A validly censored modal
result counts as a COMPLETED metric (the classification is the
result); its numeric rate is encoded as JSON
null— never an infinity or a sentinel value. - C4 (flexible screens): for BOTH F4 and F13, EFL-host is
uncensored-negative or censored-decayed, AND it is no worse than
PRACTICAL-GF under the complete comparator ordering:
comparator censored-decayed → only EFL censored-decayed is no worse;
comparator uncensored → EFL censored-decayed passes, and EFL
uncensored requires
rate_EFL ≤ rate_cmp; comparator censored-grown → any uncensored-negative or censored-decayed EFL result is better; comparator inconclusive → the comparison is inconclusive and C4 fails. EFL censored-grown or inconclusive fails C4 regardless of the comparator.
Verdict promising = C1 ∧ C2 ∧ C3 ∧ C4, computed by the executable
and written into the JSON as per-criterion booleans plus the
conjunction; prose interpretation stays in EFL-2.
Results and interpretation¶
The preregistered gain selection produced no surviving EFL-host
candidate, terminating the study at its first gate. On the frozen
development scenario the PRACTICAL baseline's peak error was
0.0426 rad; every EFL-host cell posted ≥ 0.1388 rad (and every
DESIRED-host cell was far worse still, up to 1.32 rad). All 28 result
cells, including the explicit not-run failures for the held-out
cases, are preserved in data/efl_study/results.json (canonical,
byte-reproducible: schema 2, embedded clean-worktree build SHA).
Attribution, carefully scoped:
- Established: measured-state evaluation genuinely helps — at identical gains EFL-host beats DESIRED-host by 2.5–9.4× in peak error.
- Inferred, not isolated: the residual gap to PRACTICAL is
consistent with the simulation's uniform 0.05 kg·m² reflected rotor
inertia that the ID model omits (errors concentrated on moving
joints, worst at the wrist, nearly gain-independent). There was no
reflected_inertia = 0ablation and PRACTICAL differs from EFL-host in more than model evaluation, so this remains the leading explanation, not an experimentally isolated cause. - Byproduct: on the flexible screens the planted 4.5 Hz ζ0.03 mode decays (−1.56 s⁻¹) but the planted 13 Hz ζ0.05 mode grows (+0.10 s⁻¹) under the study controller — a miniature of the delayed-D-path mechanism from the computed-torque chapter.
Decision: further offline EFL work is not justified (competitiveness
would require at least a reflected-rotor-inertia model term plus the
M7 friction feedforward — new modeling belonging to a separate
proposal). No hardware flag, no x7_track change, no cap change.
Flexible-mode identification (closed null 2026-07-28)¶
Closure decision and precise scope¶
Decision (owner, 2026-07-28, following the reviewer-confirmed stop condition): pass 2 step A ended, and with it the notch/phase D-path redesign — this is what made the 0.6 cap final.
What the experiment established is exactly this: joint 1 at posture P1 is not identifiable with the stationary small-signal current probe up to the 0.30 Nm hard cap. Gearbox stiction locked the output shaft at every admissible amplitude (the probe joint reported a single encoder count through 13 of 16 survey windows; pilot responses of 22–68 µrad sat 10–30× below their run-measured 0.4–1.1 mrad noise floors, non-monotonic in amplitude and phase-incoherent), and the servo's output-shaft encoder is structurally blind to motor-side gear wind-up. Other joints, other postures, other sensing, and other excitation strategies were NOT tested. The closure generalizes by judgment, not by experiment: the ~4–5 Hz whole-arm mode that forced the cap participates most strongly at the gravity-loaded shoulder joints — exactly where stiction is highest — so in-method adjustments were judged unlikely to close the gap, and the out-of-method routes were judged not worth their cost absent a concrete need for scale > 0.6.
What survives¶
- The commanded→measured actuator transfer: magnitude ~1.00–1.05 flat across 2–20 Hz; phase −8° to −76° AFTER the receipt-matched ~9.9 ms apply-delay correction (i.e. a further ~10.6 ms of report-side/effective delay — total command→measured lag ≈ two cycles). This is the phase-budget input for any future compensator.
- The first empirical stationary-hold noise floors (0.4–1.1 mrad, 10–30× the analytic figure): the servo encoder cannot support small-signal stationary work.
- The session-safety machinery (deadline ladder, quiesce,
watchdogs), the pose-first startup pattern, and the analysis
tooling (
tools/ident_analysis.py) with its dataset-integrity guards. - The preserved null-result datasets (
p1_j1_survey_r2,p1_j1_amp020/025/030), which never enter mode fitting — sidecars tracked underdata/, raw CSVs in the private archive (data-archive.md).
Reopening conditions¶
Reopening requires BOTH a concrete application need for scale > 0.6 AND one of: external link-side sensing (IMU/accelerometer — in the tested configuration the flexible response was invisible to the servo encoder); identification around a moving operating condition, where motion linearizes the friction that defeated the stationary probe; or dither-assisted excitation with its own safety analysis. Any reopening restarts from the external review process. Until then, large fast motions beyond scale 0.6 belong to position-mode tracking.
Protocol and campaign summary¶
The campaign (stepped-sine current probes on one joint under a
constant-anchor computed-torque hold; nine external design-review
rounds) was implemented and sim-validated first — the sim twin
recovers planted modes at 4.51 Hz ζ0.033 and 13.01 Hz ζ0.058 — then
executed on hardware 2026-07-27. Hand placement failed four sessions
(gravity-loaded joints lost 0.06–0.18 rad in the limp gap), replaced
by the integrated pose-first placement/capture (transition sag
3.2 mrad vs the 80 mrad envelope). Qualification holds surfaced and
fixed the integrator–stiction hunting and the pan limit cycle
(computed-torque chapter). One mechanically flawless survey and the
three-point amplitude pilot then triggered the preregistered stop
rule. The full run-by-run record lives in the 14 tracked
data/*.dwells.json sidecars (tuning, per-dwell verdicts, frozen
biases) and the archived CSVs; tools/ident_analysis.py re-analyzes
them, refusing mode fits on data below the observability floor
("INSUFFICIENT USABLE DATA" — the truthful null verdict).
Removed hardware app x7_ident¶
With the campaign closed, the parked hardware app x7_ident and its
session watchdog were removed on 2026-08-18. The simulation twin
(apps/ident/x7_ident_sim.cpp over the TwoMassArm fixture), the dwell
state machine (apps/ident/ident_common.hpp, still pinned by its unit and
sim-integration tests), and the analysis pipeline remain — method
validation and re-analysis of the archived datasets stay
reproducible. Reopening restarts from external review regardless.
CT mass-error simulation study (2026-08-04)¶
A follow-up sim study asked how sensitive the shipped computed-torque law is to mass/COM model error — the axis people usually blame first, and the one the incident record shows was NOT the hardware killer (that was the delayed D-path phase). 166 runs (correlated mass scaling ×0.7–×1.3; randomized per-link mass ±20 %, COM ±10/±20 mm; with/without integrator; 20 seeds per condition):
- Every sampled randomized case was milder than the correlated references — independent link errors partially cancel where a uniform scale cannot.
- No numerical failure or divergence in any run (finite-horizon claim only); randomized aggregate RMS within 5 % of the no-error baseline.
- COM error is the stronger class, millimeter for percent: ±10 mm ≈ ±20 % mass in median j1 effect.
- The shipped integrator improved j1 in 19/20 paired seeds.


Limitations: the rigid, lag-free simulation excludes precisely the
mechanisms that parked computed torque on hardware — this study
bounds model-error sensitivity only; a sim pass is necessary, never
sufficient. Evidence: data/ct_mass_error_study/ (results, seeds,
binary/model SHA provenance); reproduction:
tools/ct_mass_error_study.py driving examples/x7_ct_mass_error.
Control-rate exploration: E0 and E1 (2026-11-03)¶
The first hardware steps of the
control-rate qualification ran torque-off on
the legacy read path, driven by tools/e1_prod.sh and tools/e1_cal.sh at
commit dba323d. They are exploration, never acceptance evidence; the
results went to the reviewer for checkpoint 1.
E0 inventory. All eight servos run firmware v47 with Drive Mode 0
(Torque On by Goal Update clear), Status Return Level 2 and baud register 5.
Return Delay Time was already 0 on every servo, not the factory 250 the plan
assumed; who set it is unrecorded. The adapter is an FTDI FT232H
(0403:6014) with latency_timer 1.
E1 production traffic. 33 runs of 60 s covered the three profiles, with rates climbing from 100 Hz, idle and loaded, under default and SCHED_FIFO scheduling. The verdicts, the same for the three profiles except where noted:
| Condition | 100 Hz | 200 Hz | 500 Hz |
|---|---|---|---|
| idle | pass | pass | fail (T1, T2, T6a) |
| loaded, default scheduling | fail (T5) | fail (T5, T6a; T2 for two profiles) | not run |
| SCHED_FIFO, idle | pass | pass | fail (T6a; T2 for current) |
| SCHED_FIFO, loaded | pass | pass | fail (T1, T2, T6a) |
Idle, the eight-servo sync read takes 1.37 to 1.48 ms at the median, about twice its 0.71 ms of wire bytes, which fills the 1.4 ms host-work budget at 500 Hz; 1000 Hz was never feasible on this path. SCHED_FIFO on a dedicated core removed the load's effect on wakes (99.9th-percentile lateness 0.004 to 0.009 ms, against 0.94 to 2.73 ms with default scheduling), but load still slowed the read to 1.59 to 1.95 ms.
E1 calibration stopped. With torque off, the servos accept goal writes
and then overwrite them with present values: Goal Position follows Present
Position, and Goal Current stays 0. A direct dxl_inspect write and read on
id 9 (operating mode 0) confirmed it. The --confirm-writes read-back
therefore cannot bound write completion, and no completion offset was
measured. dxl_emu keeps such writes, so the pty tests did not show the
problem. How to measure write completion went to the reviewer.
Incident. Before the session, a test of e1_prod.sh reached the arm:
14 torque-off probe runs of 1 s and six stress-ng load windows, outside
the procedure. No motion was possible, and the data was deleted. The scripts
now require a typed confirmation before any bus contact.
Checkpoint 1 (2026-11-03). The reviewer found the legacy receive path to be the main bottleneck: SCHED_FIFO removes most of the scheduling jitter, but the read stays too slow. Torque-off measurements qualify neither 200 nor 500 Hz for powered control, and 500 Hz is insufficiently robust. The reviewer also revised the calibration conclusion above: a valid response to the read that follows a write bounds that write's completion even when the firmware overwrites the goal. The acknowledgement therefore now reads Model Number after the unchanged production write. The first runs' matched rows remain per-write bounds but give no distribution or envelope. Phase B takes Fast Sync Read and the motion-only read, records the existing Return Delay Time 0, and keeps the contiguous cbp goal conditional; cbp targets 500 Hz first. The decisions are recorded in the control-rate qualification.
Control-rate Phase R on hardware (2026-11-04)¶
With Phase R implemented (the strict status parser, the bounded read with
collision-safe recovery, the bus checks before arming it, and the probe on
the bounded path: 5396cde to 23648bc), the E1 runs were repeated
torque-off on the bounded read path at commit 5f73a08, with the 35 ms
budget and an equal guard. The 48 production-traffic runs covered every
condition, profile and rate (e1_prod.sh --no-climb); 11 calibration runs
ran under SCHED_FIFO. They are exploration, never acceptance evidence; the
files are in r4_bounded/ of the archive manifest.
Results. The 1,000,929 bounded reads had no timeout, malformed reply, recovery or guard wait, so the recovery path was never entered on hardware. Pass or fail matched the legacy runs in all 33 paired runs. Under SCHED_FIFO the median transaction percentiles agree with the legacy path within 0.1 ms; 200 Hz is still the highest rate that passes every criterion, 500 Hz fails the headroom criterion in every run, and 1000 Hz settles at about every other period. Under default scheduling with load the reads were slower than the day before (median transaction p99 over the paired runs 2.89 to 4.88 ms), but the same stress command also loaded the machine more (median wake lateness p99.9 1.93 to 2.44 ms). Separate-day runs cannot exclude an implementation effect, so the difference cannot yet be attributed. The calibration bound reproduced the legacy result: median 1.91 ms, values about 1 ms apart, no invalid acknowledgement.
Review (2026-11-04). The reviewer checked the 59 runs and the 177 checksums, recomputed the 48 production verdicts, and closed Phase R for development. The hardware results establish compatibility in healthy operation, the recovery evidence remains the emulator fault tests, and the unchanged read latency shows that replacing the SDK's receive logic alone does not solve the throughput problem. B2 and B3 proceed, each measured separately (including the longest auxiliary-read cycle), with the budget and guard unchanged. The 200 Hz loaded worst case is addressed now: in one real-time loaded cbp cycle the write started 4.818 ms after the read, and the 102-byte write needs at least 0.340 ms at 3 Mbps, so it could not complete within the 5 ms period even before controller computation. A T6a pass therefore establishes host-side throughput only. The provisional real-time wake allowance rises from 0.25 to 0.75 ms (largest observed 0.575 ms; 1.25 times that is 0.719 ms), an assumption for the present configuration. The reviewer also corrected two interpretations: small wake lateness does not exclude interruptions during the receive transaction, and a reply span is a host observation of batched replies, not their arrival on the bus. USB tracing is the next diagnostic. The decisions are recorded in the control-rate qualification.
Control-rate B2 and B3 on hardware (2026-11-05)¶
With the motion-only read (B2, 856723f) and Fast Sync Read (B3,
da3854c) implemented and their review fixes in (af481ed, 630df10),
the Phase R matrix was repeated torque-off at commit 630df10 for five
variants of the bounded read: the motion-only read with an auxiliary read
every 100 ms or none after the initial one, Fast Sync Read of the full
window, and Fast Sync Read with each motion-only cadence. Each variant had
48 production-traffic runs (e1_prod.sh --no-climb) and 11 calibration
runs under SCHED_FIFO, with the 35 ms budget and an equal guard: 295 runs,
5,224,577 bounded reads. They are exploration, never acceptance evidence;
the files are in b2b3_bounded/ of the archive manifest.
Results. One read timed out (current, 1000 Hz, real-time loaded, Fast Sync Read with the motion-only read): the receive loop observed the expiry 50.954 ms after the read started, past its 35 ms deadline, so the worker was most likely not running for about 50 ms. The guard held and the next read, the recovery read, succeeded: the first recovery on hardware, seen from the host. No variant moved a verdict boundary. At 200 Hz all 15 real-time idle runs passed and 14 of 15 real-time loaded; Fast Sync Read of the full window with current commands failed T6a under load (host work p99.9 3.670 ms against 3.500 ms), and default scheduling passed 11 of 15 idle and none loaded. Every 500 Hz run failed T6a (best real-time idle host work p99.9 1.696 ms against 1.400 ms), and every 1000 Hz run failed T1, T2 and T6a (best mean rates 695.6 Hz for current and 676.5 Hz for position, with skipped cycles; cbp stayed at 500 Hz). The median host transaction fell by about 0.22 to 0.30 ms. The calibration bound stayed loose (median about 1.91 ms in 54 of 55 runs, 2.894 ms in one). Six real-time runs exceeded the 0.75 ms wake allowance, the largest 4.042 ms in an idle run.
Review (2026-11-05). The reviewer verified the 295 runs and the 885
checksums against the repository copies and the archive, recomputed the
240 production verdicts, and accepted B2 and B3 as completed exploratory
measurements after five corrections to the first report:
- 200 Hz is a candidate for selected real-time profiles, not a pass across
variants or conditions. In the failing run, cycle 4394's earliest write
completion is 5.044 ms, past the 5 ms period, and a motion-only Sync Read
run has another at 5.049 ms: a host-work pass is not completion
qualification.
- The 50 ms stall was first attributed to the real-time throttling reserve
from the two sysctl values, but the kernel is built without
CONFIG_RT_GROUP_SCHED. The fair deadline server (50 ms per 1000 ms
upstream) is a candidate; its CPU 3 settings are to be recorded, and
scheduler events captured, before any setting changes.
- The host log supports correct recovery behavior; it is not a wire
capture, and the write's return after the guard does not establish when
its bytes left.
- One provisional wake allowance of 5.1 ms (1.25 times the 4.042 ms
maximum, rounded up) covers these unchanged real-time profiles; 1.25 ms
would have excluded a known observation. It is an assumption, not a T5
threshold, and is remeasured after the scheduling environment is
addressed.
- The first report compared the 0.820 ms worst-case Sync Read budget with
Fast Sync Read's 0.473 ms. Unstuffed, the Sync Read takes 0.713 ms: the
0.240 ms reduction is consistent with the median improvement, so the
claim that the gain fell short of the serialization saved was not
established. Millisecond clustering of the transactions motivates the USB
investigation but does not identify the adapter's latency timer.
Targeted torque-off diagnostics come next: usbmon and scheduler events correlated with the probe's timestamps (through the worker's thread ID and an absolute monotonic origin), with and without competing load on CPUs 2 and 3, which share a physical core. The decisions are recorded in the control-rate qualification.
The fair server's settings were read on 2026-11-06. Secure Boot's integrity lockdown refuses the debugfs files even to root, so a read-only bpftrace probe read the kernel's live structures instead: on every CPU, CPU 3 included, 50 ms per 1000 ms, deferred, the upstream defaults (unchanged since boot, since the lockdown also refuses writes). This keeps the fair server a candidate for the stall, not an established cause.
Control-rate traced torque-off diagnostics (2026-11-06)¶
The traced torque-off diagnostics (tools/trace_session.sh at b593b4d,
after an emulator rehearsal that verified the recorders and the clock
alignment) ran seven conditions, each untraced and traced, 60 s
each, with no transport error and no lost trace event or usbmon packet.
tools/trace_correlate.py associated every timer wake, bulk transfer and
reply completion with the probe's own stamps in all seven traced runs. The
read's time is mostly before the host has the data: the adapter delivered
at a nominal 1 ms cadence, matching its configured 1 ms latency timer, and
a reply straddling a delivery arrived in two, about 1 ms apart (37 to 81%
of the replies), which supports the replies waiting in its buffer (the
RS-485 side is not observed, and whether a lower latency setting delivers
sooner is untested, so no 1 kHz hardware limit is established). At
1000 Hz the time before the last completion was the largest measured part
of every overrun but a few hundred, and 29,985 of the cbp run's 30,001
cycles overran, holding it at 500 Hz. Idle, the host then delivered the data to the worker
within about 8 us at the median, but each read's last step waits for the
TTY work (flush_to_ldisc) on a normal-priority kernel worker: under the
full load its queue wait was 104 to 307 us at the median and up to 3.8 ms
(reads whose TTY work was already pending, without a queue time, are
reported apart), and
keeping the load off CPUs 2 and 3 removed the median wait but not the tail
(up to 2.9 ms). The 50 ms stall did not recur (longest host transaction
5.170 ms), and one traced loaded run's late wakes (to 1.427 ms) came from
the worker reaching its sleep up to 1.6 ms after its cycle-end stamp, for
reasons the events do not show.
These are exploratory measurements; the details are in the
control-rate qualification.
The adapter latency timer experiment followed (--latency-steps 1,0,1,
torque-off, at 50e1169). At 1 ms the runs completed as before. At 0 ms,
which the adapter held, the probe's first startup ping got no reply: a
traced repetition showed the ping accepted over USB and every following
USB delivery carrying only the adapter's two status bytes, while the same
startup at 1 ms got its reply 0.58 ms after the ping. The failure lies
before the adapter delivered any reply byte; whether the servo answered,
or the adapter held or dropped the reply, is not resolved. 1 ms stays the
working setting, and a hold diagnostic (tools/latency_hold.py) tests
whether the adapter holds the reply at 0 ms.
The hold diagnostic (rate-hold-20261106-1) answered it: at 0 ms the
adapter returned only status bytes for the 50 ms after its one ping, then,
with nothing further sent, delivered the servo's complete reply within a
millisecond of its timer's return to 1 ms. No payload was delivered for
50 ms after the ping at 0 ms, so 1 ms is the lowest working setting tested
on this adapter and software configuration. That closes the latency timer
experiment, with 1 ms kept; it does not establish a general limit of the
transport.
The profiled torque-off matrix followed (--modes untraced,traced,profiled
at c766bec, nine runs at 500 and 1000 Hz under the full and -excl
loads, after an emulator rehearsal of the profiled mode; archived in
profiled_torque_off/). The receive path repeated the earlier result. The
earlier late-sleep pattern did not recur (no sleep call came more than
10.4 us after its cycle-end stamp in 101,659 profiled sleeps), so what the
worker did then stays open. The latest traced wakes came instead from the
worker's timer being served late on CPU 3 after it had reached its sleep:
127 cycles 50 us or more late, 50 to 198 us with CPU 3 idle and up to
941 us with a task running there, with no timer interrupt recorded in
between. The source of that late service is not established. Two profiles'
sampling is degraded by lost records, and the two 500 Hz full-load runs
without profiling had an uncontrolled background load (exiftool). A
timer-focused capture of CPU 3 is proposed next; no rate is qualified.
Control-rate timer service rehearsal (2026-11-07)¶
A timer-focused capture of CPU 3 (tools/trace_session.sh --modes timer)
was built and reviewed: the TSC deadline writes, idle transitions, timer
armings and interrupts on CPU 3, with the deadlines converted to the trace's
clock through a second, TSC-clock trace instance and checked against an
independent bracketed sampler, and a timer exerciser for the rehearsal. Its
emulator rehearsal (at bc8413b, current at 1000 Hz, rt-idle, 10 s,
archived in timer_rehearsal/) was accepted on review once the analysis
left four suspect conversion anchors out and counted armings made after
their own expiry apart (8a68857). Both buffers lost nothing; U is
2,580 ns over the whole run, within its 5 us limit; none of the exerciser's
6,180 actions is unexplained (3,019 stay INDETERMINATE for unknown
residency); and no worker timer service reached the 50 us classification
threshold. The four suspect anchors show a 3 to 11 us delay between
recorded events in their interrupts, of unestablished cause. The USB part
of the association check fails over the emulator's pty, as expected. The
details are in the
control-rate qualification.
The targeted torque-off captures follow; no rate is qualified.
Control-rate Stage 1 rehearsals (2026-11-08)¶
The fair server's probes and controls and the observer placement comparison
(Stage 1 of the 1 kHz diagnosis) were rehearsed over the emulator, current at
1000 Hz, rt-idle, 10 s per run, and archived in stage1_rehearsal/. The first
rehearsal (attempt 1, dcb3244) showed that a return probe read through a
pointer that can be NULL (56,712 NULL-page kernel faults); the probes were
corrected (de74364, 3a2d12d). On the corrected probes (attempts 3 and 4)
the three controls passed with their preconditions established, and every
observer thread of the confined runs was confined and restored with no
failure. No timer capture passed every evidence check: two lost events on
CPU 3 (108,445 and 2,674,161) and all three failed the SMI coverage rule.
Each loss and each long SMI interval coincided with trace-cmd and perf in
uninterruptible sleep together; the reviewer keeps the cause provisional. The
rehearsal was not accepted (2026-11-09), and staging the recorders' outputs
on a private bounded noswap tmpfs was approved for implementation, with the
evidence rules unchanged. The implementation's review (2026-11-09) found
two blockers, fixed before the rehearsals: the stage's cleanup failed past a
real unmount (a root-owned mount point refusing the operator), and a short
untraced stage was smaller than its guard's free-space bound. Split at the
recorders' wakeups, the stalls above were blocked in all but at most
0.02 ms. Rehearsals 5 and 6 (2026-11-09, at b6d9fde, the first on the
staging, archived in stage1_rehearsal/) ran no controls workload or
timer-mode probe: the trace buffers' readback stopped both before them, its
allowance having ignored the kernel's rounding of each CPU's buffer to whole
subbuffers (524,384 KiB read back per array against 524,288). Real noswap
stages were mounted, published with verified ledgers and released, and the
open untraced control ran. The rehearsal was not accepted, and the readback
was corrected to the kernel's rounding (approved 2026-11-09). Rehearsals 7
and 8 (2026-11-09, at 8318db6, archived in stage1_rehearsal/) recorded
completely: the controls passed, and both timer runs had zero main-trace and
TSC-instance losses and complete clock, sampler and SMI coverage, failing
only the expected PTY USB association; attempt 7 was accepted for its
recording and controls checks. The confined untraced control failed its
placement check: halfway through it, a thread of an observer, absent from
the placement record, was allowed on every CPU, consistent with its creation
between confine's listing of its process and the change of its creator.
Confine now repeats its pass until one finds nothing new, and the halfway
snapshot and the trace follow the observers' lineage (approved 2026-11-09).
That fix's review found unreadable identities and task directories taken for
exits and the halfway snapshot's status discarded; both now fail the run,
and the evidence is limited to what the passes, the listings and the trace
could attribute (a descendant reparented out of the trees unseen is not).
Attempt 9 (2026-11-09, at 6933d33, archived in stage1_rehearsal/) was
accepted as the emulator recording and placement rehearsal within those
limits: both timer runs complete in events and coverage, both confined runs
keeping every attributable observer task off CPUs 2 and 3 (the untraced one
by its midpoint snapshot); its confine caught, in its second pass, a thread
still on the excluded CPUs. It qualifies no hardware control rate, and
hardware runs wait for the review of their run plan.
H2 attempt 6 (2026-11-10) failed its validity check on two NULL-page kernel
faults on CPU 3 from the session's then unpinned sudo refresh, which led to
the pinned refresh, its confirmed end and its placement check (96e79a3,
d710b9f, e416178, corrected after review in fb0d514 and 53386ed;
25eb359 repeats the stop request). Attempt 10 (at 25eb359, on 7.0.0-42,
to which the machine was returned after an upgrade to 7.0.0-43) failed as a
complete rehearsal: the anchor matcher could not establish an acceptable
match at anchor 44370, so the timer conversion did not cover the run. The
reviewer authorized one retry with every rule unchanged, and attempt 11 was
accepted within its task-attribution limits and the emulator's PTY USB
exception. Both are archived in stage1_rehearsal/, attempt 10 under its
failed verdict. Neither qualifies a hardware control rate.
H2 attempt 7 then ran on the arm, torque-off, in a third sitting: the open pair
and the confined untraced run were accepted, the latter within its
midpoint-snapshot and ancestry limits. The confined timer run failed validity
check 3, because the matcher could not establish an acceptable match where
periodic anchors passed its continuation test at offsets -2, 0 and +2, and
its STOP ended the sitting. H2 is incomplete and hardware is paused for an
offline clock-alignment and anchor-exclusion design. H1, the failed attempt 6
and all three attempt 7 invocations are archived in stage1_hardware/, each
with its own verdict.
The details are in the
control-rate qualification.
x7_float_log_smoke intermittent failure (open, 2026-11-05)¶
The pty smoke of x7_float (tests/integration/float_log_smoke.sh)
fails intermittently: its run ends on the feedback-interval policy, the
25 ms run interval, with no transport fault. An earlier failure of this
kind, from log writes on the control thread, was fixed on 2026-10-16
(11ccc96..9d60caa, util::AsyncWriter); these failures came after it.
| Date | Context | Result |
|---|---|---|
| 2026-11-05 | the reviewer's test selection, while another project's 30-worker sweep held the load near 31 on 32 CPUs | failed: a 29.075 ms feedback gap |
| 2026-11-07 | a full ctest during that sweep |
failed |
| 2026-11-08 | two full ctest -j8 runs in the morning, no sweep (load 0.11 and 0.47) |
passed |
| 2026-11-08 | a full ctest -j8 at 14:35, no sweep (load near 1), early in the run, when the heavier integration tests start |
failed: "feedback interval too long in cycle 241", 29.7 ms between samples, wake lateness up to 8.1 ms |
| 2026-11-08 | the smoke alone right after, three times | passed |
| 2026-11-08 | a full ctest -j8 at 15:27, no sweep (load 0.90), the seventh test to finish |
failed: "feedback interval too long in cycle 765" in its marker-timeout case, 30.2 ms between samples, a host transaction up to 7.9 ms |
| 2026-11-08 | the smoke alone right after, three times | passed |
| 2026-11-08 | a full ctest -j8 at 16:25, no sweep (load 0.99) |
passed |
| 2026-11-08 | a full ctest -j8 at 18:45, no sweep (load 0.45) |
passed |
| 2026-11-08 | six full ctest -j8 runs from 19:53 to 21:19 (the preflights of the Stage 1 commits), no sweep (load 0.6 to 2.9 at their starts) |
passed, each |
| 2026-11-08 | the full ctest -j8 runs of the preflights from 21:56 to 23:57 (the Stage 1 fixes, 8242631 to 96e6602), no sweep |
passed, each |
| 2026-11-09 | full ctest -j8 runs at about 09:00, 09:10 and 09:19, no sweep (the last beside a 30-million-line trace analysis) |
passed, each |
| 2026-11-09 | a full ctest -j8 at about 09:31, no sweep (load near 2) |
failed: "command rejected in cycle 1112" (source feedback stale), 1 stale sample, 1 deadline miss, a 7.0 ms cycle |
| 2026-11-09 | full ctest -j8 runs at 09:37, 10:22 and 10:31, no sweep |
passed, each |
| 2026-11-09 | full ctest -j8 runs at about 13:13, 13:26 and 14:57, no sweep |
passed, each |
| 2026-11-09 | full ctest -j8 runs at about 18:19, 18:38 and 18:48, no sweep |
passed, each |
| 2026-11-09 | full ctest -j8 runs at about 19:23, 19:32, 20:03, 20:18 and 20:36, no sweep |
passed, each (at 19:23 gravity_demo_smoke failed, at 20:18 an hw_test case; below) |
The reviewer keeps it open (2026-11-08): the passes on a quiet host support load sensitivity, but eight parallel tests still contend without the sweep, and the isolated passes do not settle the cause. No limit is changed for it.
trace_session_script_smoke stand-in stop failure (open, 2026-11-09)¶
In one full ctest -j8 run (about 13:13, no sweep), the session smoke test
failed at its attempt 28: the stand-in tcpdump (a test script, not the real
tool) did not act on its SIGINT, and the session killed it after its 120 s
bound, so the run's verdict named the kill (exit 137) beside the expected
lost events. The stand-in had installed its handler before it reported ready.
It stopped promptly in 150 of 150 isolated tries on the unloaded host, and the
next full run (about 13:26) passed; neither establishes its cause, and it
stays open (reviewer, 2026-11-09). It does not block the emulator
rehearsals, and no bound is changed for it.
| Date | Context | Result |
|---|---|---|
| 2026-11-09 | a full ctest -j8 at about 13:13, no sweep |
failed: the stand-in tcpdump ignored its SIGINT for 120 s (attempt 28) |
| 2026-11-09 | the stand-in alone, 150 SIGINTs at random delays | stopped promptly, each |
| 2026-11-09 | a full ctest -j8 at about 13:26, no sweep |
passed |
| 2026-11-09 | full ctest -j8 runs at about 14:57, 18:19, 18:38, 18:48, 19:23, 19:32, 20:03, 20:18 and 20:36, no sweep |
passed, each |
gravity_demo_smoke silent failure (open, 2026-11-09)¶
In one full ctest -j8 run (about 19:23, no sweep), the pty smoke of
x7_gravity_demo (tests/integration/gravity_demo_smoke.sh) failed 6 s in,
the eleventh test to finish: after its default-log and custom-kt checks
passed, its phase 3 (ENTER ends the session early) ended the script without
a message. The demo's exit inside a command substitution under set -e
stops the script before the test prints what the demo said, so neither its
status nor its verdict was kept. It passed five times alone right after. The
change under test (the observer placement tools) does not touch the demo; the
cause is unknown and no bound is changed for it.
| Date | Context | Result |
|---|---|---|
| 2026-11-04 | a full run while another project's 30-worker sweep held the load near 31 on 32 CPUs | failed once |
| 2026-11-09 | a full ctest -j8 at about 19:23, no sweep |
failed silently in phase 3 (the early stop) |
| 2026-11-09 | the smoke alone, five times | passed, each |
| 2026-11-09 | the next full ctest -j8 runs, at about 19:32, 20:03, 20:18 and 20:36, no sweep |
passed, each |
hw_test exact deadline-miss count (open)¶
The unit test "feedback-synchronized deadline fallbacks are mode safe"
(tests/unit/hw_test.cpp, a 5 ms real-clock cycle on emu::FakePacketIO)
expects exactly one controller deadline miss. A scheduling race can make it
two: if the background thread finishes the accepted cycle before the test
reads the cycle count right after its submission, the test's choreography
waits one cycle too many. An earlier probe (2026-10-19, with temporary
sleeps since reverted) showed it: a 5 us sleep at that point failed 39 of 40
tries with "2 == 1". It is a property of the test's timing, not of the
deadline fallback it checks, and no bound is changed for it.
| Date | Context | Result |
|---|---|---|
| 2026-10-15 | a local ctest -j8 under I/O load |
failed once |
| 2026-11-09 | a full ctest -j8 at about 20:18, no sweep |
failed: controller_deadline_misses == 1 read 2 |
| 2026-11-09 | the test alone, ten times right after | passed, each |
| 2026-11-09 | the next full ctest -j8, at about 20:36, no sweep |
passed |
Consistency audit¶
A post-closure audit (executed 2026-07-28, two commits) unified shutdown verification (exception-safe guards escalating to bus silence on unconfirmed stops), strict CLI parsing across the hardware apps, and documentation truth. No control behavior changed. One deliberate scope choice stands: simulation-only apps keep permissive parsing, because a sim app cannot torque hardware.
Retired documents index¶
Consolidated 2026-08-18; the git history preserves every retired document in full.
| Retired document | Content now lives in |
|---|---|
PLAN.md (original brief + review rounds) |
Origin and milestones |
IMPLEMENTATION_PLAN.md (M0–M8, annotated) |
Origin and milestones, Computed torque |
REMEDIATION_PLAN.md (pass-1 D1–D8) |
Pass-1 evidence, Root mechanism |
IDENTIFICATION_PLAN.md (pass-2 design + Closure) |
Flexible-mode identification |
IDENTIFICATION_PROTOCOL.md / IDENTIFICATION_CAMPAIGN.md |
Protocol and campaign summary |
CONSISTENCY_REMEDIATION_PLAN.md |
Consistency audit |
ENVELOPE_STABILITY_PLAN.md (EFL study definition) |
EFL study |
EFL_STUDY_IMPLEMENTATION_PLAN.md (frozen spec) |
Frozen specification |
EFL_STUDY_RESULTS.md |
Results and interpretation |
CT_MASS_ERROR_STUDY.md |
CT mass-error study |
GRAVITY_CALIBRATION_PLAN.md (M-GC0–M-GC3) |
Gravity compensation |
Historical labels that remain valid greppable citations: milestone
ids (M0–M8, M-GC1–M-GC3, D1–D8, EFL-2, pass 1/2),
dataset bare filenames (resolved by data-archive.md),
and retired document names embedded in immutable evidence files under
data/.