Keep Mimir field evidence backend-neutral

This commit is contained in:
Meta Vens 2026-05-26 14:40:29 +01:00
commit 3e09400ed3
2 changed files with 1 additions and 19 deletions

View file

@ -62,7 +62,6 @@ public sealed class MimirFensalirFieldLowering(MimirFensalirLoweringOptions? opt
claim.Confidence,
Math.Max(0.0f, (float)intent.SupportPolicy.MaximumAgeSeconds));
candidates.Add(CandidateForClaim(claim, guide));
packets.Add(PacketForSurfaceIntent(intent, claim, guide));
}
return new AquariumFieldEvidenceFrame
@ -339,21 +338,6 @@ public sealed class MimirFensalirFieldLowering(MimirFensalirLoweringOptions? opt
Proposal: claim.Proposal,
Guide: guide);
private static AquariumFieldBackendPacket PacketForSurfaceIntent(
MimirSurfaceIntent intent,
AquariumFieldClaim claim,
AquariumFieldGuide guide) =>
new(
PacketKey: $"packet:{intent.IntentKey}",
ClaimKey: claim.ClaimKey,
DomainKey: claim.DomainKey,
Layer: claim.Layer,
Encoding: claim.Encoding,
Backend: BackendForSurfaceIntent(intent),
Support: claim.Support,
Guide: guide,
PayloadHandle: intent.MaterialGraph.IntentId);
private AquariumFieldSupport SupportForTiming(long uncertaintyNs)
{
var radius = Math.Max(options.DefaultSupportRadius, (float)(Math.Max(0, uncertaintyNs) / 1_000_000_000.0));
@ -455,9 +439,6 @@ public sealed class MimirFensalirFieldLowering(MimirFensalirLoweringOptions? opt
? AquariumFieldProposalKind.DebugIntent
: AquariumFieldProposalKind.DeterministicStructural;
private static AquariumFieldBackendKind BackendForSurfaceIntent(MimirSurfaceIntent intent) =>
AquariumFieldBackendKind.Unknown;
private static string PayloadHandle(MimirBridgePayloadView payload)
{
if (payload.NativeHandle == 0)

View file

@ -135,3 +135,4 @@
{"ts": "2026-05-26T11:46:55+01:00", "type": "decision", "status": "ok", "note": "Recorded the support-scale reservoir invariant: Fensalir may resolve at pixel level, but reservoir contents are not pixel-sized by default. Smooth surfaces can be represented by few broad claims; Aquarium-style heightfields should use brush-painted quadtree tiles and emit SDF surface splats adaptively by projected footprint, curvature, brush/material detail, silhouette risk, and temporal uncertainty."}
{"ts": "2026-05-26T13:26:28+01:00", "type": "decision", "status": "ok", "note": "Initiated the full Mimir/Fensalir rendering teardown protocol. Mimir now has docs/fensalir-rendering-rebuild-migration.md as the app-side migration map: Mimir owns rolling physical observations, calibration constraints, and surface intent; Fensalir owns field claims, selected lowerings, evidence reservoirs, temporal guide lanes, and program presentation. Direct spectrum splines remain diagnostic until they are expressed as surface intent."}
{"ts": "2026-05-26T14:04:08+01:00", "type": "implementation", "status": "ok", "note": "Phase 1 Mimir bridge skeleton is live in src/Mimir.Runtime/Synchronization/MimirFensalirBridgeContracts.cs. It defines pure DTOs for rolling stream windows, observations, calibration constraints, and surface intent plus mappers from rolling buffers and audio sync state/report surfaces. No rendering, device reads, timers, JSON/base64 hot paths, or backend-specific visual choices were added. dotnet build Mimir.slnx passed with one pre-existing EveRelay CA2024 warning."}
{"ts": "2026-05-26T14:39:17+01:00", "type": "correction", "status": "ok", "note": "Corrected the Phase 1 field evidence boundary: Mimir no longer emits AquariumFieldBackendPacket rows with Backend=Unknown for surface intents. Surface intent now lowers only to field domains, claims, and candidates; backend packet selection remains Fensalir authority. dotnet build Mimir.slnx --no-restore passed with 0 warnings and 0 errors after the cut."}