From 3c6bdf108391905baa8632b745f8e7c435dfe7c4 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 19 May 2026 10:43:52 +0100 Subject: [PATCH] Record Aquarium native binding --- docs/implementation-plan.md | 3 +++ notes/fresh-workspace-handoff.md | 3 +++ state/evidence.jsonl | 1 + 3 files changed, 7 insertions(+) diff --git a/docs/implementation-plan.md b/docs/implementation-plan.md index 7deb2d7..48f9558 100644 --- a/docs/implementation-plan.md +++ b/docs/implementation-plan.md @@ -114,6 +114,9 @@ shape removes independent per-kind storage from the live foundation. diagnostic JSON render-frame adapters, diagnostic JSON LOD adapters, and Python reservoir-window clipping. 2. Bind Aquarium/Faust to the rolling-buffer `LocalcastRuntime`. + Aquarium now has a safe-code native reservoir binding layer; the next cut is + switching `LocalCastRuntime` from file polling to that injected native + runtime seam. 3. Move camera/mic/loopback ingest into native capture workers that use `LocalcastProducer` to append typed sample handles. 4. Move feature extraction, flow, cross-view matching, LOD reconciliation, diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 5e887b9..70c3caa 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -33,6 +33,9 @@ Get-Content .\state\evidence.jsonl -Tail 8 - `LocalcastRuntime` now exposes producer pushes and consumer reads. `LocalcastProducer` owns source identity and sequence assignment for native capture workers. +- Aquarium-Engine commit `4d5aec7` adds the first safe-code C# binding layer for + this native ABI. It is not yet wired into `LocalCastRuntime` as the live + source. - 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 diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 78193a1..6062ce0 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -67,3 +67,4 @@ {"ts": "2026-05-19T10:48:00+01:00", "type": "implementation", "status": "ok", "note": "Removed the Python visual producer from the scripts command surface by moving it to localcast.diagnostics.visual_producer and updating tests/docs to import it as diagnostic code. It remains a fossil to delete after native/Aquarium equivalents own the behavior."} {"ts": "2026-05-19T11:02:00+01:00", "type": "implementation", "status": "ok", "note": "LocalcastRuntime now exposes total and typed-view window reads through the C ABI: len, view_len, sample_at, view_sample_at, and latest_for_sensor. Aquarium/Faust consumers can walk the same rolling buffer that native producers append to instead of building private caches."} {"ts": "2026-05-19T11:20:00+01:00", "type": "implementation", "status": "ok", "note": "Added LocalcastProducer to the native ABI. Producers own sample kind, source hash, and sequence assignment, create live flags==0 handles, and append into LocalcastRuntime so hardware adapters do not manufacture reservoir metadata by hand."} +{"ts": "2026-05-19T11:40:00+01:00", "type": "implementation", "status": "ok", "note": "Aquarium-Engine now has a safe-code LocalCast native reservoir binding layer committed as 4d5aec7. It mirrors LocalcastSampleKind, LocalcastSampleHandle, LocalcastRuntimeStatus, and exposes mockable runtime/producer interfaces plus DllImport wrappers; Aquarium.LocalCast.Tests passed 10 tests."}