Plan Mimir spectrum intents as resource-backed packets

This commit is contained in:
Meta Vens 2026-05-26 16:44:24 +01:00
commit fd01d44677
7 changed files with 127 additions and 11 deletions

View file

@ -139,3 +139,4 @@
{"ts": "2026-05-26T14:44:02+01:00", "type": "implementation", "status": "ok", "note": "Added BufferSmoke --fensalir-field-evidence-smoke as a hardware-free contract receipt. It builds a synthetic rolling audio window, observation, bioacoustic calibration constraint, and audio-spectrum surface intent, lowers them through MimirFensalirFieldLowering, validates with AquariumFieldEvidenceValidator, and verifies Fensalir receives three pending lowering requests and zero backend packets. Smoke passed: domains=4 claims=3 candidates=3 packets=0 requests=3 errors=False."}
{"ts": "2026-05-26T14:50:33+01:00", "type": "implementation", "status": "ok", "note": "MimirRuntime now publishes AquariumFieldEvidenceFrame on every AquariumSceneState from live rolling buffers, latest observations, audio sync calibration constraints, and per-source surface intent. Existing direct spectrum splines remain diagnostic; Fensalir receives backend-neutral domains/claims/candidates through FieldEvidenceFrame. dotnet build Mimir.slnx --no-restore passed with the pre-existing EveRelay CA2024 warning, and --fensalir-field-evidence-smoke still passes."}
{"ts": "2026-05-26T16:21:31+01:00", "type": "implementation", "status": "ok", "note": "Added the typed Fensalir resource boundary for field evidence. AquariumFieldEvidenceFrame now carries AquariumFieldResourceDeclaration rows; claims/packets that use mimir:resource:* handles validate against declared resources, and the lowering planner defers missing, CPU-only, or backend-incompatible resource requests. MimirFensalirFieldLowering emits resource declarations from live MimirBridgePayloadView/native handles, and observation claims reference those resource keys instead of bare kind:handle strings. dotnet build Mimir.slnx passed with the pre-existing EveRelay CA2024 warning; BufferSmoke --fensalir-field-evidence-smoke passed with domains=4 resources=1 claims=3 candidates=3 packets=0 requests=3 errors=False."}
{"ts": "2026-05-26T16:42:17+01:00", "type": "implementation", "status": "blocked", "note": "Resource-backed Fensalir lowering now reaches planned packets but not visible rendering. Mimir audio spectrum/waveform surface intents use the source observation's mimir:resource:* key, so --fensalir-field-evidence-smoke produces one planned TubeField packet and two deferred non-backend claims. Fensalir's AquariumFieldScriptCompiler.CompileEvidence can bind declared resources in DSL; --fensalir-field-dsl-resource-smoke produces one planned TubeField packet with no deferred requests. The next blocker is engine-side D3D12 packet/resource resolution: Fensalir must import/alias GPU-resident structured buffers, textures, meshes, surface pages, and volumes and bind them to selected shader lowerings before planned packets can render visibly."}

View file

@ -291,9 +291,17 @@ accepted_design:
rows for live payload views. Observation claims reference
`mimir:resource:*` keys, and Fensalir validation/planning can reject or
defer packets whose resource declaration is missing, CPU-only, or
backend-incompatible. `Mimir.BufferSmoke --fensalir-field-evidence-smoke`
proves the current receipt: one declared resource, three claims, three
pending lowering requests, zero backend packets, and no validation errors.
backend-incompatible. Audio spectrum/waveform surface intents now use the
source observation resource key and plan as `TubeField` packets when the
resource is compatible. `Mimir.BufferSmoke --fensalir-field-evidence-smoke`
proves one declared resource, three claims, one planned resource-backed
`TubeField` packet, two deferred non-backend claims, and no validation
errors. `--fensalir-field-dsl-resource-smoke` proves Fensalir's field
evidence DSL can bind a declared resource directly and produce one planned
`TubeField` packet with no deferred requests. Visible packet rendering is
blocked on a Fensalir D3D12 packet/resource resolver that imports/binds
structured buffers, textures, meshes, surface pages, and volumes to selected
shader lowerings.
- `config/perfect-machine.example.json` declares live owners, sensors,
reservoir views, and runtime policy.
- `src/Mimir.Runtime/Synchronization` now includes the Perfect Machine module