Recover Move score dashboard trace

This commit is contained in:
Meta Vens 2026-06-02 15:18:11 +01:00
commit 0ca402ec2d
2 changed files with 12 additions and 6 deletions

View file

@ -1549,15 +1549,20 @@ internal sealed class MimirLiveStatsSnapshot
return null;
}
var line = TailTextFile(trace.FullName, 64 * 1024)
.Split("\n", StringSplitOptions.RemoveEmptyEntries)
.LastOrDefault();
if (string.IsNullOrWhiteSpace(line))
foreach (var line in TailTextFile(trace.FullName, 4 * 1024 * 1024)
.Split("\n", StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries)
.Reverse()
.Where(static candidate => candidate.Contains("\"live_score\"", StringComparison.OrdinalIgnoreCase) ||
candidate.Contains("\"score_gesture_envelopes\"", StringComparison.OrdinalIgnoreCase)))
{
return null;
var parsed = ParseMoveMusicTrace(trace.FullName, line);
if (parsed != null)
{
return parsed;
}
}
return ParseMoveMusicTrace(trace.FullName, line);
return null;
}
private static MimirMoveMusicStat? ParseMoveMusicTrace(string sourcePath, string line)

View file

@ -356,3 +356,4 @@
{"ts": "2026-06-02T15:09:31+01:00", "type": "verification", "status": "ok", "note": "mimir_well_shakedown.py now verifies paired PS Move chirp receipts: scheduled events must have nonzero audio samples, render completion, LED on/off phases, no orphan visual events, and LED schedule error within a configurable ceiling. Good receipt starfire-usb-move-paired-20260602-144135 passes under 5 ms; earlier receipt starfire-usb-move-paired-20260602-144003 fails with 67 ms max error and exit 2 under --fail-on-paired-pulse-error."}
{"ts": "2026-06-02T15:12:44+01:00", "type": "verification", "status": "ok", "note": "Adaptive Well/runtime dashboard cut builds clean: Mimir.Runtime, Mimir.Well, and Mimir.EveDashboard compile after canonical clock mapping, ASIO multiplex drain, adaptive latency telemetry, feature-signal mirror, and richer Eve dashboard lowering. Rebooted lightweight Eve broker/Odin projection on 2026-06-02; health ok at 127.0.0.1:8795 and 8797 without restarting heavy Well capture."}
{"ts": "2026-06-02T15:15:52+01:00", "type": "verification", "status": "ok", "note": "Fixed EveDashboard Well sparsity regression: MimirLiveStatsSnapshot now searches telemetry lines as well as observation lines for mimir.well_snapshot.v1. Nightwing tmux pane gamecult-visible-ops:ops.1 then lowered Well 8/8 sources, seq 108, frame ready 6/6, poll/publish pressure, buffers, and clock-domain rows from the saved Well relay."}
{"ts": "2026-06-02T15:18:04+01:00", "type": "verification", "status": "ok", "note": "Fixed EveDashboard Move Score sparsity regression: fallback trace discovery now scans the tail of the newest move online-sync.jsonl for the latest parseable live_score/score_gesture frame instead of trusting the last line. Nightwing TUI then rendered Move Score with bpm 119, F# major/F# chord, source score summaries, and active voices from the saved move-sync trace."}