feat: feed every capture into the expert plane from the proxy #40

Merged
lost-rob0t merged 1 commit from fix/expert-ingest-wiring into main 2026-08-31 18:02:49 +00:00
lost-rob0t commented 2026-08-31 18:02:46 +00:00 (Migrated from github.com)

Wire the capture hot path to the Common Lisp expert plane, fail-open:
after each recorded event the proxy schedules observe_request and, when
the request carries a user message, query_classification. The adapter
gains observe_request/classify_request with the full protocol envelope
(event_id/session_id/task_id) the expert contract requires.

Ingest never blocks or fails the relay: it runs as a bounded task,
invalidated adapter children restart on the next ingest, and cleanup
drains pending ingests before closing the plane.

This is migration debt by design: the Common Lisp proxy runtime owns
this responsibility in the target architecture and will replace it at
cutover (see the CL ingest slice spec). tests/test_expert_ingest.py is
the executable reference contract for that port.

Wire the capture hot path to the Common Lisp expert plane, fail-open: after each recorded event the proxy schedules observe_request and, when the request carries a user message, query_classification. The adapter gains observe_request/classify_request with the full protocol envelope (event_id/session_id/task_id) the expert contract requires. Ingest never blocks or fails the relay: it runs as a bounded task, invalidated adapter children restart on the next ingest, and cleanup drains pending ingests before closing the plane. This is migration debt by design: the Common Lisp proxy runtime owns this responsibility in the target architecture and will replace it at cutover (see the CL ingest slice spec). tests/test_expert_ingest.py is the executable reference contract for that port.
Sign in to join this conversation.
No description provided.