feat(glasspane): runtime-aware ingestion so zot panes parse precisely (Sam & Claude) #29
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/glasspane-zot-runtime-ingest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The daemon already spawns agents and streams stdout JSONL into the glasspane
(cmd_spawn_agent: take_stdout + attach_pane + stream_agent_stdout_to_glasspane),
but the streaming ingestor was Pi-only — zot panes were only incidentally
correct (shared lifecycle names) and dropped zot's tool/streaming events to the
default arm.
runtimefield; ingest_line_at normalizes viazot_event_type for Zot panes (tool_use_* -> tool_execution_*, response
success:false -> error, response/usage -> skipped), raw type for Pi/Local.
(existing new/attach_pane_at delegate with Pi — no behavior change).
(
zot-> Zot, else Pi) and attach the pane with it. The stdout streamer isunchanged — it now ingests with the pane's runtime.
Tests: 34 pass incl. a new runtime-aware test feeding RAW zot lines (tool_use_*,
turn_end) through PaneSupervisor.ingest_line_at -> Working mid tool-loop, Done at
turn_end. clippy -D warnings clean.
Completes the daemon spawn -> glasspane wiring for zot (ADR migration step).
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com