Skip to content

The wire capture records whole messages (native tool calls and results), so a sent result is no longer read as lost - #5592

Merged
joelteply merged 2 commits into
canaryfrom
fable/wire-capture-whole
Oct 29, 2026
Merged

joelteply merged 2 commits into
canaryfrom
fable/wire-capture-whole

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Serves diagnosis of the residents' minds (#5591 Fault 3, step 2): the capture is the input of record, and it wrote content_text() (Text parts only), so native ToolCall/ToolResult parts were dropped and Aiko's newest result read as a bare label while its body was sent (M5 2026-10-29; retraction on airc). Now each row carries the whole ChatMessage (role, typed parts, name). The mind-room privacy guard is unchanged.

  • llm_deliberation_faculty.rs append_wire_capture: "messages": request.messages.
  • Test the_wire_capture_records_native_tool_results_whole.

Measured

Local, M5, serving down 19:52-19:57Z at cfd367c: cargo test -p continuum-cognition --lib -- wire_capture 2/0 (the new test and the mind-room privacy test).

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

@joelteply

Copy link
Copy Markdown
Contributor Author

Codex review: PASS for the complete two-file capture change at exact 2413319. Direct message serialization preserves typed parts; regression now deserializes mixed Text/ToolUse/ToolResult messages and compares roles, names, IDs, content and error flags. Existing private-room withholding remains unchanged. Boundary documentation accurately says adapter input, not final HTTP payload, and missing capture is not proof of no request. Source review only; local tests reported by owner, exact-head CI remains the merge gate. Existing silent capture I/O and storage governance remain outside this patch.

@joelteply

Copy link
Copy Markdown
Contributor Author

Local, M5, serving down 20:47-20:51Z at 2413319: cargo test -p continuum-cognition --lib -- wire_capture 2/0 (the_wire_capture_records_every_message_whole + the mind-room privacy test).

@joelteply
joelteply merged commit 04ed777 into canary Oct 29, 2026
17 checks passed
@joelteply
joelteply deleted the fable/wire-capture-whole branch October 29, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant