From 99938cd1a81b8d300ae7e968c7f8324ad3059aa4 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 19 May 2026 10:48:55 +0100 Subject: [PATCH] Record Aquarium frame source seam --- docs/implementation-plan.md | 5 +++-- notes/fresh-workspace-handoff.md | 3 +++ state/evidence.jsonl | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/implementation-plan.md b/docs/implementation-plan.md index 48f9558..d99f144 100644 --- a/docs/implementation-plan.md +++ b/docs/implementation-plan.md @@ -115,8 +115,9 @@ shape removes independent per-kind storage from the live foundation. 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. + implementing a native `ILocalCastVisualFrameSource` over that binding. + `LocalCastRuntime` already accepts an injected frame source instead of + directly owning the file reader. 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 70c3caa..5aea355 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -36,6 +36,9 @@ Get-Content .\state\evidence.jsonl -Tail 8 - 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. +- Aquarium-Engine commit `8798908` makes `LocalCastRuntime` consume an injected + `ILocalCastVisualFrameSource`; the remaining Aquarium cut is a native source + implementation over the binding. - 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 6062ce0..c4f8686 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -68,3 +68,4 @@ {"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."} +{"ts": "2026-05-19T11:55:00+01:00", "type": "implementation", "status": "ok", "note": "Aquarium-Engine LocalCastRuntime now consumes an injected ILocalCastVisualFrameSource instead of directly owning LocalCastVisualStateReader. Commit 8798908 adds the source seam and tests; Aquarium.LocalCast.Tests passed 11 tests and the branch was pushed."}