Quarantine visual cache adapter

This commit is contained in:
Meta Vens 2026-05-19 09:20:32 +01:00
commit b3e41fa2bd
11 changed files with 57 additions and 58 deletions

View file

@ -58,3 +58,4 @@
{"ts": "2026-05-19T08:03:24+00:00", "type": "implementation", "status": "ok", "note": "Diagnostic Spout launcher renamed: scripts/stream_spout.py is now scripts/diagnostic_stream_spout.py, keeping the OpenGL bridge visibly outside the production path while Aquarium Spout publication remains the target."}
{"ts": "2026-05-19T08:07:19+00:00", "type": "implementation", "status": "ok", "note": "Native reservoir ABI now exposes indexed reads over the total rolling buffer and typed views via localcast_reservoir_sample_at and localcast_reservoir_view_sample_at, allowing Aquarium/Faust consumers to walk the live window without owning private histories."}
{"ts": "2026-05-19T09:11:35+01:00", "type": "implementation", "status": "ok", "note": "Native reservoir provenance guard added: LocalcastSampleHandle now carries flags/reserved fields, diagnostic samples are rejected by localcast_reservoir_push and LocalcastRuntime producer calls, and tests prove fallback/diagnostic handles cannot enter the live rolling buffer."}
{"ts": "2026-05-19T09:25:00+01:00", "type": "implementation", "status": "partial", "note": "Python visual CultCache file adapter quarantined under localcast.diagnostics.visual_cache and removed from localcast.sensor_fusion exports; diagnostic producer/Spout/tests now import it explicitly. Import guard passed, but bundled Python cannot run visual-cache round-trip tests because msgpack is not installed."}

View file

@ -236,13 +236,15 @@ research:
typed_visual_state:
summary: docs/typed-visual-state.md
key_decision: >
Live visual state now lives in typed CultCache MessagePack documents:
`localcast.visual.render_frame` in `calibration/runs/visual-state.msgpack`
and `localcast.visual.stream_status` in
`calibration/runs/visual-stream-status.msgpack`. CultNet document_put is
the intended process/network API boundary. Edge JSON may define schemas
or export diagnostics, but runtime data should remain typed documents
because every networked subsystem is under our control.
Diagnostic visual state can still be exported as typed CultCache
MessagePack documents: `localcast.visual.render_frame` in
`calibration/runs/visual-state.msgpack` and
`localcast.visual.stream_status` in
`calibration/runs/visual-stream-status.msgpack`. Production visual state
crosses native/CultNet typed document boundaries; the Python file adapter
is not live authority. Edge JSON may define schemas or export
diagnostics, but runtime data should remain typed documents because every
networked subsystem is under our control.
current_status:
summary: >
@ -298,9 +300,10 @@ current_status:
source time ranges, intended visual presentation time, audio-alignment
time, target render size, Spout sender name, and point draw metadata for
Aquarium/Spout. A deadline OBS Spout sender is now live-shaped:
`scripts/diagnostic_live_sensor_fusion.py` now writes fused render frames into typed
CultCache state at `calibration/runs/visual-state.msgpack`. `scripts/diagnostic_stream_spout.py`
consumes that CultCache document, lowers points into compact anisotropic
`scripts/diagnostic_live_sensor_fusion.py` writes fused render frames into
diagnostic typed CultCache state at `calibration/runs/visual-state.msgpack`.
`scripts/diagnostic_stream_spout.py` consumes that diagnostic document,
lowers points into compact anisotropic
screen brush packets, uploads an OpenGL texture, publishes Spout sender
`LocalCastBridge Point Cloud`, and writes both typed status
`calibration/runs/visual-stream-status.msgpack` and compatibility JSON