diff --git a/notes/current-system-map.md b/notes/current-system-map.md index 4df34dd..73cd24f 100644 --- a/notes/current-system-map.md +++ b/notes/current-system-map.md @@ -140,6 +140,10 @@ Ownership: scene reconstruction. - The rolling reservoir owns the live edge, retention, ordering, and typed lookup. +- `LocalcastProducer` owns source identity and sequence assignment before native + capture workers append sample handles into `LocalcastRuntime`. +- `LocalcastRuntime` owns the one live rolling window and exposes both producer + pushes and consumer reads for Aquarium/Faust. - Aquarium owns dense visual fusion, material fitting, point/brush/splat lowering, render budgeting, and Spout2 publication. - CultNet typed documents carry status/control/process state. JSON is schema or diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 42c16c8..5e887b9 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -30,6 +30,9 @@ Get-Content .\state\evidence.jsonl -Tail 8 - Native reservoir samples carry provenance flags; diagnostic/fallback samples are rejected at both the raw reservoir push and `LocalcastRuntime` typed producer boundary. +- `LocalcastRuntime` now exposes producer pushes and consumer reads. + `LocalcastProducer` owns source identity and sequence assignment for native + capture workers. - Edge JSON is schema/diagnostic only. Runtime network/process data should remain typed CultNet documents. - Python live producers and diagnostic CultCache/JSON file adapters are diagnostics, not production foundations. The OpenGL Spout sink has been @@ -49,8 +52,8 @@ The useful next work is foundation surgery, not hardware feature expansion: - bind Aquarium/Faust/native workers to the rolling-buffer `LocalcastRuntime` - delete production dependence on `localcast.diagnostics.visual_producer` and diagnostic file adapters -- bind Aquarium/Faust against the native runtime instead of reviving the deleted - Python/OpenGL publisher +- bind Aquarium/Faust against the native runtime/producer ABI instead of + reviving the deleted Python/OpenGL publisher - route future visual/audio runtime work through Aquarium/Faust/native runtime plus typed CultNet docs - keep FFmpeg/SRT bridge scripts only as simple LAN ingest and capture utilities diff --git a/state/map.yaml b/state/map.yaml index 14cc0d2..2a66280 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -51,6 +51,9 @@ accepted_design: - `native/reservoir` is the first native Rust crate. It now uses one time-ordered rolling buffer with typed views, so retention has exactly one owner while Aquarium/Faust still get kind-scoped queries. + - `LocalcastRuntime` exposes typed producer pushes plus total/typed window + reads. `LocalcastProducer` owns source identity and sequence assignment + before hardware adapters append live sample handles. - `config/localcast.example.json` defines receiver address, base port, video encode settings, and audio sources. - `scripts/sender-discover.ps1` lists FFmpeg devices, protocols, and encoders. - `scripts/sender-start.ps1` launches one FFmpeg process per enabled source. @@ -58,11 +61,13 @@ accepted_design: - Persistence follows the active repo pattern: map, scratch, evidence, branches, handoff, system map, implementation plan, state helpers. active_subgoals: - - Bind Aquarium/Faust to the rolling-buffer `LocalcastRuntime` in the native - reservoir C ABI described by `native/reservoir/include/localcast_reservoir.h`. + - Bind Aquarium/Faust to the rolling-buffer `LocalcastRuntime` and + `LocalcastProducer` C ABI described by + `native/reservoir/include/localcast_reservoir.h`. - Delete or quarantine Python live producers and the OpenGL Spout sink before adding new live features. - - Bind Aquarium/Faust to `LocalcastRuntime` in the native reservoir C ABI described by `native/reservoir/include/localcast_reservoir.h`. + - Bind Aquarium/Faust to `LocalcastRuntime`/`LocalcastProducer` in the native + reservoir C ABI described by `native/reservoir/include/localcast_reservoir.h`. - Move dense visual fusion/material fitting/brush generation into Aquarium GPU compute. - Move hot audio DSP/voice separation/room suppression/spatialization into Faust/native runtime. - Validate the actual sender FFmpeg build and capture device names.