Repository navigation
fix(talk): preserve source outcomes when native tool presentation fails - #159693
roboclaw-bot wants to merge 5 commits into
Conversation
Keep raw tool execution facts separate from middleware presentation and optional diagnostics. Retire voice bindings on definitive run lifecycle events. Co-authored-by: brokemac79 <[email protected]>
Keep raw operational emission internal. Supply native adapters an action-bound host reporter, fence new reporting work with admitted authority, and preserve one terminal settlement for accepted work after cancellation or closure. Carry the same reporter through native hook retention and side-run adapters. Add source composition of persisted spoken yes/no with actual core exec, request replay and consumed-grant controls, and enforced host security denial. Document the additive optional host SDK contract without increasing export caps. Co-authored-by: brokemac79 <[email protected]>
Declare the synthetic Codex inference environment and restore it through the existing test lifecycle. Keep native HTTP relay fixtures on their owned loopback endpoint, reject unexpected responses before policy entry, and share the same scoped transport with byte-limit and token-binding coverage. Preserve production proxy and CA behavior, cancellation and late-approval assertions, and the existing test line caps. Co-authored-by: brokemac79 <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed October 2, 2026, 4:58 PM ET / 20:58 UTC (Revision 5). ClawSweeper reviewWhat this changesThe branch separates actual tool execution outcomes from native result presentation so Talk retains successful effects when presentation fails, and ties voice-run cleanup to definitive lifecycle events. Merge readiness⛔ Blocked before merge - 4 items remain This remains useful work absent from current main, but the prior released-host admission blocker is unresolved. The updated body correctly keeps the reporter’s rollout decision separate from voice-permission parity. Likely related people: Peter Steinberger and Vincent Koc, as routing candidates from merged area history. Priority: P2 Review scores
Verification
How this fits togetherTalk records tool effects from voice consultations for continuity and mutation summaries. Core tool wrappers and the Codex adapter supply execution facts, which feed voice-session records independently of model-facing results and optional diagnostics. flowchart TD
A[Voice consultation] --> B[Admitted agent run]
B --> C[Core tools or native Codex tools]
C --> D[Source execution facts]
C --> E[Result presentation]
D --> F[Voice effect records]
B --> G[Definitive run completion]
G --> F
Decision needed
Why: No shipping reporter version or approved coordination contract is established, so a reviewer cannot safely invent a version floor or publication guarantee. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +153, Tests +966, Docs +37. Total +1156 across 51 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep source-owned reporting and ship the host capability before admitting dependent plugin updates, with verified incompatible-host rejection and compatible fresh-install and published-driver upgrade behavior. Do we have a high-confidence way to reproduce the issue? Yes, source establishes both the presentation-before-source-reporting failure path on current main and the introduced missing-reporter rejection on released hosts; this read-only review did not execute either. Is this the best way to solve the issue? Yes for separating source facts from presentation, but the proposed delivery is incomplete until plugin admission matches a verified shipping host or approved coordinated rollout. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cb450bced528. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
Merge main at 1fe2f50. Preserve the admitted execution reporter and carry upstream source-wrapper authority through its existing extracted owner. Co-authored-by: brokemac79 <[email protected]>
Preserve source-owned execution facts through the native lifecycle and failure-buffer refactors. Keep participant authority and asynchronous quarantine settlement intact; extract the touched side-tool composition without changing its behavior. Shipping admission remains an independent release decision. Co-authored-by: brokemac79 <[email protected]>
|
Closing at Martin’s request: this separate draft is no longer needed for the completed voice/text permission-parity goal. This closure does not claim that its distinct source-outcome reporting changes were merged or comprehensively tested. The branch and retained work, evidence, and accounting history are being preserved. |
Related: #153299
What Problem This Solves
Fixes successful voice-originated tool effects being reported as blocked or failed when native middleware changes the presented result after execution.
User Impact
Talk records the execution owner's actual outcome separately from presentation failures and optional diagnostics. This change does not grant execution permission or change ordinary approvals. Generic voice/text permission parity and optional Linux app launch do not depend on this reporter.
Open compatibility finding: released-host admission is not established for the reporter required by the updated Codex plugin. The previously inspected published 2026.9.6 host lacks it; the pinned main's newer plugin-API declaration is not evidence that this reporter shipped. A real coordinated rollout or host-first release/floor decision and published-driver acceptance proof remain necessary. Do not independently release the updated plugin against unsupported hosts. No release version or floor is invented here.
DRAFT — no merge-readiness, deployment, full-product-build or full-CI claim.
Why This Change Was Made
Execution owners record source facts. Native adapters use an action reporter bound to the admitted run, plugin and tool. Live authority is required to bind or start work; an already accepted handle may record one terminal settlement after cancellation without retaining permission to execute. Diagnostics and model-facing presentation cannot overwrite those facts.
The normal merge preserves main's native participant authority, consolidated timing, extracted failure buffer and asynchronous quarantine cleanup. The touched side-tool composition was moved unchanged to its own module to meet the existing line cap. No permission manager, public free emitter, diagnostic fallback, schema change or cap increase is added.
Source and dependency scope
main; not a prerequisite for the parity or app drafts.0f64900c67abb437cb088658eae49f6af9355f68.f59e97921315d14e6316598d889009b97710e67b.6ff285da40af30dad5135b0edc6928e5717a742cand that pin. Nine actual conflicts justified integration. History is preserved; no rebase or force push.Evidence
Exact-commit composition command:
node --import ./scripts/tsx.mjs scripts/test-projects.mts test/client-voice-source-outcome.codex.integration.test.tsSource composition · Host custody · Native reporting
One bounded merge/repair review invocation completed in 80.09 s, automatically partitioned into three chunks, with no new actionable P0–P2 findings in that scope. Unchanged-file and cross-chunk context was limited; this is not whole-product signoff and does not close the shipping-admission finding.
The exact Codex dependency was personally inspected: dynamic response ownership and app-server response routing. Its model-facing terminal is not authoritative evidence of the OpenClaw source effect.
Limits: controlled source composition, not microphone/ASR, live-provider inference, a product Codex binary, GUI or production-node proof. Published-driver installation/upgrade/rollback was not executed. Earlier-head CI and package inspection remain historical evidence, not current-head acceptance. No readiness change is implied by these retained results.
Against the pinned main: production +485/−335 (net +150); tests/fixtures +1,078/−109 (net +969); docs +37. Growth supplies bound reporting and distinct admission/settlement lifetimes; the side-tool extraction moves existing code rather than duplicating it.
Cross-PR proof boundary — 2026-10-02
Core parity #159697 now has independently verified integrated-package fresh/update evidence at 61ec99c. That package does not contain this reporter and is not reporter installation/upgrade proof. This reporter’s shipping-floor/host-first versus coordinated-rollout decision remains separate and does not block core parity.
Worked on by: @brokemac79.