Publish Fensalir reservoir pressure state
This commit is contained in:
parent
561accadf7
commit
1670f05891
6 changed files with 189 additions and 12 deletions
|
|
@ -100,6 +100,10 @@ The worker state is the owner surface for reservoir job selection and pressure:
|
|||
- queue depth, running jobs, completed jobs, dropped jobs, timing confidence,
|
||||
accepted/rejected slice counts, and estimated GPU queue milliseconds are
|
||||
persisted in CultCache;
|
||||
- `mimir.fensalir_reservoir_pressure.v1` reports Well poll/publish pressure,
|
||||
capture bytes, ready-slice ratio, timing confidence, max presentation
|
||||
distance, GPU queue milliseconds, and drop causes for missing bodies,
|
||||
unavailable fences, or degraded timing;
|
||||
- Eve surfaces bind worker metrics to the worker document, not to ad hoc
|
||||
renderer telemetry.
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,10 @@ no longer has to discover the Well stream by scanning old artifacts.
|
|||
Fensalir also consumes `mimir.cultmesh_stream_frame.v1` as the fine-grained
|
||||
stream lane, so accepted timed frames can feed reservoir jobs before a whole
|
||||
capture-page batch is useful.
|
||||
`mimir.fensalir_reservoir_pressure.v1` is the pressure readout for the same
|
||||
owner: Well poll/publish pressure, capture bytes, ready-slice ratio, timing
|
||||
confidence, max distance from presentation, GPU queue milliseconds, and drop
|
||||
causes for missing bodies, unavailable fences, or degraded timing.
|
||||
|
||||
Any path that only paints pixels is not the spatiotemporal machine, but the
|
||||
editor still needs a real flat video compositor backend. The current
|
||||
|
|
|
|||
|
|
@ -167,11 +167,13 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
private readonly CultCache cache;
|
||||
private readonly CultRecordHandle<MimirFensalirDaemonStateDocument> handle;
|
||||
private readonly CultRecordHandle<MimirFensalirReservoirWorkerStateDocument> workerHandle;
|
||||
private readonly CultRecordHandle<MimirFensalirReservoirPressureDocument> pressureHandle;
|
||||
private readonly WellLogTailState tail;
|
||||
private readonly ReservoirWorkerState reservoirWorker;
|
||||
private readonly object gate = new();
|
||||
private MimirFensalirDaemonStateDocument document;
|
||||
private MimirFensalirReservoirWorkerStateDocument workerDocument;
|
||||
private MimirFensalirReservoirPressureDocument pressureDocument;
|
||||
private DateTimeOffset lastStatus = DateTimeOffset.MinValue;
|
||||
|
||||
private FensalirDaemonState(
|
||||
|
|
@ -180,14 +182,18 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
CultRecordHandle<MimirFensalirDaemonStateDocument> handle,
|
||||
MimirFensalirDaemonStateDocument document,
|
||||
CultRecordHandle<MimirFensalirReservoirWorkerStateDocument> workerHandle,
|
||||
MimirFensalirReservoirWorkerStateDocument workerDocument)
|
||||
MimirFensalirReservoirWorkerStateDocument workerDocument,
|
||||
CultRecordHandle<MimirFensalirReservoirPressureDocument> pressureHandle,
|
||||
MimirFensalirReservoirPressureDocument pressureDocument)
|
||||
{
|
||||
this.options = options;
|
||||
this.cache = cache;
|
||||
this.handle = handle;
|
||||
this.workerHandle = workerHandle;
|
||||
this.pressureHandle = pressureHandle;
|
||||
this.document = document;
|
||||
this.workerDocument = workerDocument;
|
||||
this.pressureDocument = pressureDocument;
|
||||
tail = new WellLogTailState(options.WellLogPath, options.FromStart);
|
||||
reservoirWorker = new ReservoirWorkerState(options);
|
||||
}
|
||||
|
|
@ -214,6 +220,17 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
}
|
||||
}
|
||||
|
||||
public MimirFensalirReservoirPressureDocument PressureDocument
|
||||
{
|
||||
get
|
||||
{
|
||||
lock (gate)
|
||||
{
|
||||
return pressureDocument;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static async Task<FensalirDaemonState> OpenAsync(FensalirDaemonOptions options)
|
||||
{
|
||||
var cache = await CultCacheMessagePack.OpenAsync(options.CultCachePath, new CultCacheOpenOptions
|
||||
|
|
@ -230,8 +247,12 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
var existingWorker = cache.Get<MimirFensalirReservoirWorkerStateDocument>(workerKey);
|
||||
var workerDocument = existingWorker ?? BuildInitialWorkerDocument(options);
|
||||
var workerHandle = await cache.UpsertAsync(workerDocument, new CultRecordHandle<MimirFensalirReservoirWorkerStateDocument>(workerKey)).ConfigureAwait(false);
|
||||
var pressureKey = new CultRecordKey(options.DaemonId + "-reservoir-pressure");
|
||||
var existingPressure = cache.Get<MimirFensalirReservoirPressureDocument>(pressureKey);
|
||||
var pressureDocument = existingPressure ?? BuildInitialPressureDocument(options);
|
||||
var pressureHandle = await cache.UpsertAsync(pressureDocument, new CultRecordHandle<MimirFensalirReservoirPressureDocument>(pressureKey)).ConfigureAwait(false);
|
||||
await cache.FlushAsync().ConfigureAwait(false);
|
||||
return new FensalirDaemonState(options, cache, handle, document, workerHandle, workerDocument);
|
||||
return new FensalirDaemonState(options, cache, handle, document, workerHandle, workerDocument, pressureHandle, pressureDocument);
|
||||
}
|
||||
|
||||
public async Task RunAsync(CancellationToken stopping)
|
||||
|
|
@ -259,6 +280,7 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
{
|
||||
document = ApplyWorkerSample(document, workerSample);
|
||||
workerDocument = BuildWorkerDocument(options, document, workerSample);
|
||||
pressureDocument = BuildPressureDocument(options, document, workerSample);
|
||||
}
|
||||
|
||||
touched = true;
|
||||
|
|
@ -268,6 +290,7 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
{
|
||||
await cache.UpsertAsync(document, handle).ConfigureAwait(false);
|
||||
await cache.UpsertAsync(workerDocument, workerHandle).ConfigureAwait(false);
|
||||
await cache.UpsertAsync(pressureDocument, pressureHandle).ConfigureAwait(false);
|
||||
await cache.FlushAsync(soft: true).ConfigureAwait(false);
|
||||
if (options.Once)
|
||||
{
|
||||
|
|
@ -446,6 +469,24 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
0,
|
||||
0.0);
|
||||
|
||||
private static MimirFensalirReservoirPressureDocument BuildInitialPressureDocument(FensalirDaemonOptions options) =>
|
||||
new(
|
||||
options.DaemonId + "-reservoir-pressure",
|
||||
DateTimeOffset.UtcNow.ToString("O"),
|
||||
options.DaemonId,
|
||||
0.0,
|
||||
0.0,
|
||||
0,
|
||||
0.0,
|
||||
0.0,
|
||||
0,
|
||||
0.0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
"no capture pressure observed yet");
|
||||
|
||||
private static MimirFensalirDaemonStateDocument ApplyWorkerSample(
|
||||
MimirFensalirDaemonStateDocument current,
|
||||
ReservoirWorkerSample sample)
|
||||
|
|
@ -507,14 +548,39 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
sample.MaxDistanceFromPresentationNs,
|
||||
sample.GpuQueueMs);
|
||||
|
||||
private static MimirFensalirReservoirPressureDocument BuildPressureDocument(
|
||||
FensalirDaemonOptions options,
|
||||
MimirFensalirDaemonStateDocument current,
|
||||
ReservoirWorkerSample sample) =>
|
||||
new(
|
||||
options.DaemonId + "-reservoir-pressure",
|
||||
DateTimeOffset.UtcNow.ToString("O"),
|
||||
options.DaemonId,
|
||||
current.PollAverageMs,
|
||||
current.PublishAverageMs,
|
||||
sample.CapturePageBytes,
|
||||
current.TotalSlices <= 0 ? 0.0 : current.ReadySlices / (double)current.TotalSlices,
|
||||
sample.TimingConfidenceMin,
|
||||
sample.MaxDistanceFromPresentationNs,
|
||||
sample.GpuQueueMs,
|
||||
sample.ReservoirHistoryRowsUsed,
|
||||
sample.DroppedBecauseBodyMissing,
|
||||
sample.DroppedBecauseFenceUnavailable,
|
||||
sample.DroppedBecauseTimingDegraded,
|
||||
sample.PressureReason);
|
||||
|
||||
private static ReservoirJob BuildReservoirJob(JsonElement root, MimirFensalirDaemonStateDocument current, long captureSequence)
|
||||
{
|
||||
var samples = DaemonUtil.JsonArray(DaemonUtil.JsonGet(root, "samples")).ToArray();
|
||||
var frame = DaemonUtil.JsonGet(root, "frame");
|
||||
var composite = DaemonUtil.JsonGet(root, "configuredComposite");
|
||||
var videoComposite = DaemonUtil.JsonArray(DaemonUtil.JsonGet(composite, "video")).ToArray();
|
||||
var rawBytes = Encoding.UTF8.GetByteCount(root.GetRawText());
|
||||
var accepted = 0;
|
||||
var rejected = 0;
|
||||
var droppedBecauseBodyMissing = 0;
|
||||
var droppedBecauseFenceUnavailable = 0;
|
||||
var droppedBecauseTimingDegraded = 0;
|
||||
var oldestNs = long.MaxValue;
|
||||
var newestNs = long.MinValue;
|
||||
var minConfidence = 1.0;
|
||||
|
|
@ -543,8 +609,25 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
if (confidence < 0.20)
|
||||
{
|
||||
reasons.Add("low-timing-confidence");
|
||||
droppedBecauseTimingDegraded++;
|
||||
}
|
||||
}
|
||||
|
||||
var body = DaemonUtil.JsonGet(sample, "body");
|
||||
var sampleMeta = DaemonUtil.JsonGet(sample, "sample");
|
||||
var video = DaemonUtil.JsonGet(sampleMeta, "video");
|
||||
var bodyStatus = DaemonUtil.JsonText(body, "status") ?? "";
|
||||
var producerFence = DaemonUtil.JsonNumber(video, "producerFenceValue", "ProducerFenceValue");
|
||||
if (string.Equals(bodyStatus, "empty", StringComparison.OrdinalIgnoreCase) ||
|
||||
string.Equals(bodyStatus, "metadata-only", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
droppedBecauseBodyMissing++;
|
||||
}
|
||||
|
||||
if (video.ValueKind == JsonValueKind.Object && producerFence <= 0.0)
|
||||
{
|
||||
droppedBecauseFenceUnavailable++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ReservoirJob(
|
||||
|
|
@ -562,7 +645,11 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
videoComposite.Length == 0 ? "configuredComposite" : $"configuredComposite/video:{videoComposite.Length}",
|
||||
reasons.ToArray(),
|
||||
Math.Max(0, current.AudioSources),
|
||||
Math.Max(0, current.VideoSources));
|
||||
Math.Max(0, current.VideoSources),
|
||||
rawBytes,
|
||||
droppedBecauseBodyMissing,
|
||||
droppedBecauseFenceUnavailable,
|
||||
droppedBecauseTimingDegraded);
|
||||
}
|
||||
|
||||
private static ReservoirJob BuildStreamFrameReservoirJob(JsonElement root, MimirFensalirDaemonStateDocument current, long captureSequence)
|
||||
|
|
@ -590,11 +677,28 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
var bodyStatus = DaemonUtil.JsonText(body, "status") ?? "";
|
||||
var hasBodyRef = bodyRef.ValueKind == JsonValueKind.Object;
|
||||
var transport = DaemonUtil.JsonText(frame, "bodyTransport") ?? bodyStatus;
|
||||
var droppedBecauseBodyMissing = 0;
|
||||
var droppedBecauseFenceUnavailable = 0;
|
||||
var droppedBecauseTimingDegraded = 0;
|
||||
if (confidence < 0.20)
|
||||
{
|
||||
droppedBecauseTimingDegraded++;
|
||||
}
|
||||
|
||||
if (string.Equals(transport, "metadata-only", StringComparison.OrdinalIgnoreCase) ||
|
||||
string.Equals(bodyStatus, "empty", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
reasons.Add("body-metadata-only");
|
||||
accepted = 0;
|
||||
droppedBecauseBodyMissing++;
|
||||
}
|
||||
|
||||
if (string.Equals(kind, "Video", StringComparison.OrdinalIgnoreCase) &&
|
||||
DaemonUtil.JsonNumber(frame, "producerFenceValue", "ProducerFenceValue") <= 0.0 &&
|
||||
string.IsNullOrWhiteSpace(DaemonUtil.JsonText(frame, "nativeHandleKind", "NativeHandleKind")))
|
||||
{
|
||||
reasons.Add("fence-unavailable");
|
||||
droppedBecauseFenceUnavailable++;
|
||||
}
|
||||
|
||||
var videoSources = string.Equals(kind, "Video", StringComparison.OrdinalIgnoreCase) ? 1 : 0;
|
||||
|
|
@ -614,7 +718,11 @@ internal sealed class FensalirDaemonState : IAsyncDisposable
|
|||
$"streamFrame/{DaemonUtil.JsonText(stream, "streamId") ?? "unknown"}:{(hasBodyRef ? "paged" : transport)}",
|
||||
reasons.ToArray(),
|
||||
audioSources,
|
||||
videoSources);
|
||||
videoSources,
|
||||
Encoding.UTF8.GetByteCount(root.GetRawText()),
|
||||
droppedBecauseBodyMissing,
|
||||
droppedBecauseFenceUnavailable,
|
||||
droppedBecauseTimingDegraded);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -729,7 +837,12 @@ internal sealed class ReservoirWorkerState
|
|||
job?.TimingConfidenceMin ?? 0.0,
|
||||
job?.MaxDistanceFromPresentationNs ?? 0,
|
||||
queueMs,
|
||||
running > 0 ? WorkerBudget() : 0.0);
|
||||
running > 0 ? WorkerBudget() : 0.0,
|
||||
job?.CapturePageBytes ?? 0,
|
||||
Math.Max(1, job?.AcceptedSlices ?? 0),
|
||||
job?.DroppedBecauseBodyMissing ?? 0,
|
||||
job?.DroppedBecauseFenceUnavailable ?? 0,
|
||||
job?.DroppedBecauseTimingDegraded ?? 0);
|
||||
}
|
||||
|
||||
private double WorkerBudget() => Math.Clamp(options.GpuBudget * 0.70 + options.CpuBudget * 0.30, 0.05, 1.0);
|
||||
|
|
@ -760,7 +873,11 @@ internal sealed record ReservoirJob(
|
|||
string SelectedCompositeVersion,
|
||||
string[] RejectionReasons,
|
||||
int AudioSources,
|
||||
int VideoSources);
|
||||
int VideoSources,
|
||||
long CapturePageBytes,
|
||||
long DroppedBecauseBodyMissing,
|
||||
long DroppedBecauseFenceUnavailable,
|
||||
long DroppedBecauseTimingDegraded);
|
||||
|
||||
internal sealed record ReservoirWorkerSample(
|
||||
long InputCaptureSequence,
|
||||
|
|
@ -781,7 +898,12 @@ internal sealed record ReservoirWorkerSample(
|
|||
double TimingConfidenceMin,
|
||||
long MaxDistanceFromPresentationNs,
|
||||
double GpuQueueMs,
|
||||
double Utilization)
|
||||
double Utilization,
|
||||
long CapturePageBytes,
|
||||
int ReservoirHistoryRowsUsed,
|
||||
long DroppedBecauseBodyMissing,
|
||||
long DroppedBecauseFenceUnavailable,
|
||||
long DroppedBecauseTimingDegraded)
|
||||
{
|
||||
public static ReservoirWorkerSample Empty { get; } = new(
|
||||
-1,
|
||||
|
|
@ -802,7 +924,12 @@ internal sealed record ReservoirWorkerSample(
|
|||
0.0,
|
||||
0,
|
||||
0.0,
|
||||
0.0);
|
||||
0.0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
}
|
||||
|
||||
internal sealed class FensalirDaemonEveServer(FensalirDaemonOptions options, FensalirDaemonState state) : IDisposable
|
||||
|
|
@ -854,6 +981,7 @@ internal sealed class FensalirDaemonEveServer(FensalirDaemonOptions options, Fen
|
|||
cultCache = options.CultCachePath,
|
||||
cultMeshDocument = "mimir.fensalir_daemon_state",
|
||||
workerDocument = "mimir.fensalir_reservoir_worker_state",
|
||||
pressureDocument = "mimir.fensalir_reservoir_pressure",
|
||||
}, JsonOptions);
|
||||
await DaemonUtil.WriteHttpResponseAsync(stream, "200 OK", "application/json", Encoding.UTF8.GetBytes(health)).ConfigureAwait(false);
|
||||
return;
|
||||
|
|
@ -883,7 +1011,8 @@ internal sealed class FensalirDaemonEveServer(FensalirDaemonOptions options, Fen
|
|||
{
|
||||
var document = state.Document;
|
||||
var worker = state.WorkerDocument;
|
||||
var dashboard = BuildDashboard(document, worker);
|
||||
var pressure = state.PressureDocument;
|
||||
var dashboard = BuildDashboard(document, worker, pressure);
|
||||
if (binary)
|
||||
{
|
||||
var cultMesh = ToCultMesh(dashboard);
|
||||
|
|
@ -894,10 +1023,13 @@ internal sealed class FensalirDaemonEveServer(FensalirDaemonOptions options, Fen
|
|||
await DaemonUtil.SendTextFrameAsync(stream, JsonSerializer.Serialize(dashboard, JsonOptions)).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
private DashboardState BuildDashboard(MimirFensalirDaemonStateDocument doc, MimirFensalirReservoirWorkerStateDocument worker)
|
||||
private DashboardState BuildDashboard(
|
||||
MimirFensalirDaemonStateDocument doc,
|
||||
MimirFensalirReservoirWorkerStateDocument worker,
|
||||
MimirFensalirReservoirPressureDocument pressure)
|
||||
{
|
||||
var readiness = doc.TotalSlices <= 0 ? 0.0 : doc.ReadySlices / (double)doc.TotalSlices;
|
||||
var pressure = Math.Clamp(Math.Max(doc.PollAverageMs / 16.0, doc.PublishAverageMs / 16.0), 0.0, 1.0);
|
||||
var streamPressure = Math.Clamp(Math.Max(doc.PollAverageMs / 16.0, doc.PublishAverageMs / 16.0), 0.0, 1.0);
|
||||
var workerPressure = Math.Clamp(worker.GpuQueueMs / 1000.0, 0.0, 1.0);
|
||||
var nodes = new List<DashboardNode>
|
||||
{
|
||||
|
|
@ -957,8 +1089,10 @@ internal sealed class FensalirDaemonEveServer(FensalirDaemonOptions options, Fen
|
|||
]),
|
||||
Ui.Pane("pressure-pane", "Pressure",
|
||||
[
|
||||
Ui.Bar("pressure-bar", "publish/poll pressure", pressure, DaemonUtil.Tone(1.0 - pressure), $"{Math.Max(doc.PollAverageMs, doc.PublishAverageMs):0.000}ms"),
|
||||
Ui.Bar("pressure-bar", "publish/poll pressure", streamPressure, DaemonUtil.Tone(1.0 - streamPressure), $"{Math.Max(doc.PollAverageMs, doc.PublishAverageMs):0.000}ms"),
|
||||
Ui.Text("pressure-detail", $"poll {doc.PollAverageMs:0.000}ms publish {doc.PublishAverageMs:0.000}ms", "caption", Bind("/pollAverageMs")),
|
||||
Ui.Text("pressure-drops", $"body {pressure.DroppedBecauseBodyMissing} fence {pressure.DroppedBecauseFenceUnavailable} timing {pressure.DroppedBecauseTimingDegraded}", "caption", PressureBind("/droppedBecauseBodyMissing")),
|
||||
Ui.Text("pressure-distance", $"bytes {pressure.CapturePageBytes} max distance {pressure.MaxDistanceFromPresentationNs}ns", "caption", PressureBind("/capturePageBytes")),
|
||||
Ui.Text("notes", string.Join("\n", doc.Notes.Take(4)), "caption", Bind("/notes")),
|
||||
]),
|
||||
]),
|
||||
|
|
@ -987,6 +1121,16 @@ internal sealed class FensalirDaemonEveServer(FensalirDaemonOptions options, Fen
|
|||
Authority = "Mimir.FensalirDaemon",
|
||||
};
|
||||
|
||||
private UiBinding PressureBind(string path) => new()
|
||||
{
|
||||
DocumentSchema = "mimir.fensalir_reservoir_pressure.v1",
|
||||
DocumentId = options.DaemonId + "-reservoir-pressure",
|
||||
Path = path,
|
||||
ValueKind = "state",
|
||||
Access = "read",
|
||||
Authority = "Mimir.FensalirDaemon",
|
||||
};
|
||||
|
||||
private static MimirEveDashboardStateDocument ToCultMesh(DashboardState state) =>
|
||||
new(
|
||||
state.ProviderId,
|
||||
|
|
|
|||
|
|
@ -168,6 +168,27 @@ public sealed record MimirFensalirReservoirWorkerStateDocument(
|
|||
[property: Key(25)] long MaxDistanceFromPresentationNs,
|
||||
[property: Key(26)] double GpuQueueMs);
|
||||
|
||||
[CultDocument("mimir.fensalir_reservoir_pressure", "mimir.fensalir_reservoir_pressure.v1")]
|
||||
[MessagePackObject]
|
||||
public sealed record MimirFensalirReservoirPressureDocument(
|
||||
[property: Key(0)]
|
||||
[property: CultName]
|
||||
string PressureId,
|
||||
[property: Key(1)] string UpdatedAtUtc,
|
||||
[property: Key(2)] string DaemonId,
|
||||
[property: Key(3)] double WellPollMs,
|
||||
[property: Key(4)] double WellPublishMs,
|
||||
[property: Key(5)] long CapturePageBytes,
|
||||
[property: Key(6)] double ReadySliceRatio,
|
||||
[property: Key(7)] double TimingConfidenceMin,
|
||||
[property: Key(8)] long MaxDistanceFromPresentationNs,
|
||||
[property: Key(9)] double GpuQueueMs,
|
||||
[property: Key(10)] int ReservoirHistoryRowsUsed,
|
||||
[property: Key(11)] long DroppedBecauseBodyMissing,
|
||||
[property: Key(12)] long DroppedBecauseFenceUnavailable,
|
||||
[property: Key(13)] long DroppedBecauseTimingDegraded,
|
||||
[property: Key(14)] string PressureReason);
|
||||
|
||||
[CultDocument("mimir.eve_dashboard_manifest", "mimir.eve_dashboard_manifest.v1")]
|
||||
[MessagePackObject]
|
||||
public sealed record MimirEveDashboardManifestDocument(
|
||||
|
|
|
|||
|
|
@ -363,3 +363,4 @@
|
|||
{"ts": "2026-06-02T18:09:09+01:00", "type": "implementation", "status": "ok", "note": "2026-06-02: Extended Mimir.FensalirDaemon from surface owner to reservoir scheduler owner. Added mimir.fensalir_reservoir_worker_state.v1 plus daemon summary worker counters, queue/running/completed/dropped job telemetry, accepted/rejected capture slice accounting, timing-confidence and GPU-queue pressure. Verified isolated daemon build succeeded and disposable fixture capture page completed one reservoir job with droppedJobs=0 while an empty smoke capture page was dropped as unusable."}
|
||||
{"ts": "2026-06-02T18:14:37+01:00", "type": "implementation", "status": "ok", "note": "2026-06-02: Wired Fensalir daemon into the online Verse supervisor. VerseRecorder now accepts --run-id, start-online-verse-daemons passes the supervisor runId, and FensalirDaemon starts against the exact VerseCaptures/<runId>/observations.jsonl with a run-local CultCache instead of artifact discovery. Dry-run verified relay, recorder, and Fensalir command shapes; VerseRecorder and FensalirDaemon builds passed."}
|
||||
{"ts": "2026-06-02T18:17:56+01:00", "type": "implementation", "status": "ok", "note": "2026-06-02: Fensalir daemon now consumes mimir.cultmesh_stream_frame.v1 as a fine-grained reservoir job lane in addition to well_capture_page batches. Timed frames with usable body/native/shared transport enqueue jobs; metadata-only or low-confidence frames drop with reasons. Isolated build passed and a stream-frame fixture on port 8802 completed one worker job with droppedJobs=0."}
|
||||
{"ts": "2026-06-02T18:23:46+01:00", "type": "implementation", "status": "ok", "note": "2026-06-02: Added mimir.fensalir_reservoir_pressure.v1. Fensalir daemon now persists pressure cause metrics alongside worker state: Well poll/publish ms, capture bytes, ready-slice ratio, timing confidence/distance, GPU queue ms, and missing-body/fence-unavailable/timing-degraded drop counters. Fixture on port 8803 completed one stream-frame job and health advertised worker + pressure documents."}
|
||||
|
|
|
|||
|
|
@ -73,6 +73,9 @@ invariants:
|
|||
authority path.
|
||||
`mimir.cultmesh_stream_frame.v1` records are also accepted as fine-grained
|
||||
reservoir jobs when their slice timing and body transport are usable.
|
||||
`mimir.fensalir_reservoir_pressure.v1` is the daemon-owned pressure surface
|
||||
for capture bytes, ready ratio, timing confidence/distance, GPU queue
|
||||
pressure, and drop-cause counters.
|
||||
- `FieldEvidenceFrame` is not a flat video compositor. Camera Texture2D
|
||||
resources and claims are typed evidence declarations; they do not draw live
|
||||
Fensalir-owned texture leases as 2D program layers until Fensalir has an
|
||||
|
|
|
|||
Loading…
Reference in a new issue