diff --git a/docs/fensalir-rendering-rebuild-migration.md b/docs/fensalir-rendering-rebuild-migration.md index ac9fa2d..bfe4b36 100644 --- a/docs/fensalir-rendering-rebuild-migration.md +++ b/docs/fensalir-rendering-rebuild-migration.md @@ -437,18 +437,26 @@ Acceptance: ### Phase 6: Program Output Receipts -Once field identity is coherent, wire final program output: +Field identity now reaches the OBS-facing program boundary: -- D3D12 shared texture or Spout for OBS/EVE surfaces; -- separately controllable Faust/native DSP stems; -- telemetry proving timing, evidence confidence, dropped/late observations, and - current selected cuts. +- Fensalir publishes the completed program surface through named shared D3D12 + textures and `Global\MimirFensalirProgramFence`; +- `Mimir Program Texture` opens those textures in OBS and performs the explicit + D3D12-to-libobs-D3D11 GPU copy without CPU readback or Spout2; +- optional texture rings and `Global\MimirObsProgramConsumerFence` prevent blind + producer/consumer reuse; +- `Mimir Audio Stem` receives separately controllable Faust/native DSP stems + from `Local\MimirObsStemBus`; +- telemetry and receipts record timing, evidence confidence, dropped/late + observations, and current selected cuts. Acceptance: -- OBS sees final program surfaces/stems only; +- OBS sees final program surfaces/stems through the Mimir OBS plugin; - raw feeds remain debug inputs, not synchronization truth; -- a recorded receipt can explain how each visible surface was derived. +- recorded receipts explain the stem path, installed OBS plugin, live program + texture proof, optional ring proof, dedicated producer fence proof, and + two-way consumer fence proof. ## Verification Matrix diff --git a/docs/implementation-plan.md b/docs/implementation-plan.md index 3de281e..9a1018e 100644 --- a/docs/implementation-plan.md +++ b/docs/implementation-plan.md @@ -277,6 +277,11 @@ a named invariant that the native runtime cannot protect yet. It also proves a synthetic multi-camera marker candidate using the same FieldEvidence authority: deterministic marker features plan as `DebugOverlay` packets while ambiguous raw camera features still defer. + Phase 6 program-output receipts are also structurally complete: Fensalir + publishes the final program surface through named shared D3D12 texture/fence + resources, the OBS plugin consumes that surface with an explicit D3D12-to- + libobs-D3D11 GPU copy, optional producer/consumer fences prevent blind ring + reuse, and audio stems cross through the fixed OBS stem shared-memory ABI. - Fensalir now owns the first in-process D3D12 field resource resolver cut: shared structured/curve buffer resources import/alias GPU-resident handles, and Fensalir-owned resources allocate GPU slots only when Fensalir is the diff --git a/notes/current-system-map.md b/notes/current-system-map.md index 2ae8bc5..ef57798 100644 --- a/notes/current-system-map.md +++ b/notes/current-system-map.md @@ -361,6 +361,11 @@ the latest completed slot from the program-output fence value. OBS can publish publication instead of reusing a ring slot OBS has not acknowledged. `scripts/build-obs-stem-plugin.ps1` stages the upstream OBS plugin-template SDK under `artifacts/obs-sdk/` and builds the plugin DLL locally. +The rendering migration's program-output receipt phase is structurally +complete: OBS consumes final Mimir/Fensalir surfaces and stems through the +native plugin, raw feeds remain debug inputs, and the ledger records the live +program texture, texture ring, dedicated producer fence, and consumer-fence +proofs. ## Visual Fusion diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 5fdd2a4..b03468e 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -207,3 +207,4 @@ {"ts": "2026-05-28T12:06:53+01:00", "type": "implementation", "status": "ok", "note": "Fensalir now selects FieldEvidence AudioPath Phase/Confidence claims as DebugOverlay backend packets, so Mimir acoustic calibration constraints are planned rather than deferred. Mimir profile smoke now reports acousticPlanned=1 acousticDeferred=0; acoustic source volumes remain Phase 5 fusion work."} {"ts": "2026-05-28T12:10:23+01:00", "type": "implementation", "status": "ok", "note": "Phase 5 synthetic audio-source proof added: Mimir lowers an SRP/PHAT-style localized source candidate with calibration/source identity and a world-space confidence envelope; Fensalir plans it as a FieldEvidence DebugOverlay packet. Live room geometry still needs an explicit coordinate frame before physical candidates become runtime truth."} {"ts": "2026-05-28T12:13:46+01:00", "type": "implementation", "status": "ok", "note": "Phase 5 synthetic marker proof added: deterministic multi-camera marker candidates lower with calibration/marker identity and world-space support, and Fensalir plans them as FieldEvidence DebugOverlay packets. Ambiguous raw camera feature claims still defer."} +{"ts": "2026-05-28T12:14:54+01:00", "type": "implementation", "status": "ok", "note": "Rendering migration Phase 6 reconciled as structurally complete: OBS consumes final Mimir/Fensalir program surfaces and stems through the native plugin, with recorded live texture, ring, producer-fence, and consumer-fence proofs. Raw feeds remain debug inputs, not synchronization truth."} diff --git a/state/map.yaml b/state/map.yaml index 11d7e1c..91d026b 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -212,6 +212,11 @@ accepted_design: `Global\MimirObsProgramConsumerFence`; when Fensalir is launched with `FENSALIR_PROGRAM_OUTPUT_CONSUMER_FENCE_NAME`, it skips publication instead of reusing a ring slot OBS has not acknowledged. + The rendering migration's program-output receipt phase is structurally + complete: OBS consumes final Mimir/Fensalir program surfaces and stems + through the native plugin, raw feeds remain debug inputs, and the ledger + records the live texture, texture ring, producer-fence, and consumer-fence + proofs. `scripts/build-obs-stem-plugin.ps1` stages the upstream OBS plugin template SDK under `artifacts/obs-sdk/` and builds the plugin DLL locally. The synthetic