Repository navigation
test(qa): prove real yielded-child completion and channel delivery - #118707
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 3, 2026, 10:24 AM ET / 14:24 UTC. ClawSweeper reviewWhat this changesThe branch strengthens a live QA Lab scenario so yielded child-agent completion, parent continuation, final reply visibility, and QA-channel outbound delivery must be genuinely observed rather than inferred from prompt or log markers. Merge readinessKeep this maintainer-labeled PR open for normal maintainer review and the remaining exact-head CI. The patch replaces a QA scenario that could infer success from visible markers with transcript-authenticated tool chronology, child completion, a projected final reply, and QA-channel delivery checks; no discrete correctness defect was found in the proposed diff. Priority: P2 Review scores
Verification
How this fits togetherQA Lab runs agent scenarios through an ephemeral Gateway and QA channel, then reads the persisted session transcript and transport events for proof. This change makes the yielded-child completion scenario consume those owner-bound facts before reporting a pass. flowchart LR
A[Live QA scenario] --> B[Requester agent]
B --> C[Yielded child task]
C --> D[Durable task record]
B --> E[Persisted session transcript]
E --> F[Authenticated tool chronology]
B --> G[QA channel outbound]
D --> H[Completion and delivery assertions]
F --> H
G --> H
Before merge
Agent review detailsSecurityNone. PR surfaceSource +17, Tests +947, Other +117. Total +1081 across 4 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve the bounded QA-only transcript evidence and land the scenario hardening after the remaining exact-head checks and maintainer review confirm the live-provider proof remains stable. Do we have a high-confidence way to reproduce the issue? Yes. Current-main source shows the earlier scenario could pass with a proof-file/Gateway-log marker and a visible yield call; the branch’s focused fixtures reproduce those false-positive shapes and show the intended rejection conditions. Is this the best way to solve the issue? Yes. Recording authenticated result identity and timing at the persisted transcript owner is safer than deriving tool completion from public chat history, then combining it with durable task and transport evidence for the live scenario. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ffcca757eb3a. LabelsLabel 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
|
|
Merged via squash.
|
* origin/main: fix(onboard): keep referenced provider secrets out of plaintext (#118702) docs: show canonical agent roster configuration (#118722) fix(channels): generate catalog from package manifests (#118097) fix(zalouser): distinguish probe timeout from auth failure (#111336) improve(ui): cut E2E shard runtime by reusing the bundle (#118697) fix(cli): publish completion caches atomically (#118715) fix(whatsapp): honor disabled self-chat without widening group access (#118711) fix(voice-call): terminate carrier calls after realtime startup failures (#118699) fix(slack): isolate GovSlack media trust and delivery (#118695) fix(browser): wrap page-controlled action results (#118691) fix(security): sanitize JSON-escaped forged content boundaries (#118698) test(qa): prove real yielded-child completion and channel delivery (#118707) fix(doctor): honor explicit plugin-only migration authority (#118700) fix(security): detect child_process calls through aliases and computed members (#116304) test(gateway): avoid async facade mock race (#118708) fix(gateway): preserve final speech during transcription shutdown (#118693) fix(gateway): resume durable outbound delivery retries (#118694) fix(plugins): reject external public-artifact hardlinks (#118689)
* origin/main: (78 commits) fix(parallels): recover Windows poll transport failures (#118479) fix(channels): deny unauthorized Discord and Telegram binding access (#118704) fix(test): bound shared git inventory lookup (#111171) fix(onboard): keep referenced provider secrets out of plaintext (#118702) docs: show canonical agent roster configuration (#118722) fix(channels): generate catalog from package manifests (#118097) fix(zalouser): distinguish probe timeout from auth failure (#111336) improve(ui): cut E2E shard runtime by reusing the bundle (#118697) fix(cli): publish completion caches atomically (#118715) fix(whatsapp): honor disabled self-chat without widening group access (#118711) fix(voice-call): terminate carrier calls after realtime startup failures (#118699) fix(slack): isolate GovSlack media trust and delivery (#118695) fix(browser): wrap page-controlled action results (#118691) fix(security): sanitize JSON-escaped forged content boundaries (#118698) test(qa): prove real yielded-child completion and channel delivery (#118707) fix(doctor): honor explicit plugin-only migration authority (#118700) fix(security): detect child_process calls through aliases and computed members (#116304) test(gateway): avoid async facade mock race (#118708) fix(gateway): preserve final speech during transcription shutdown (#118693) fix(gateway): resume durable outbound delivery retries (#118694) ...
* origin/main: fix(onboard): keep referenced provider secrets out of plaintext (openclaw#118702) docs: show canonical agent roster configuration (openclaw#118722) fix(channels): generate catalog from package manifests (openclaw#118097) fix(zalouser): distinguish probe timeout from auth failure (openclaw#111336) improve(ui): cut E2E shard runtime by reusing the bundle (openclaw#118697) fix(cli): publish completion caches atomically (openclaw#118715) fix(whatsapp): honor disabled self-chat without widening group access (openclaw#118711) fix(voice-call): terminate carrier calls after realtime startup failures (openclaw#118699) fix(slack): isolate GovSlack media trust and delivery (openclaw#118695) fix(browser): wrap page-controlled action results (openclaw#118691) fix(security): sanitize JSON-escaped forged content boundaries (openclaw#118698) test(qa): prove real yielded-child completion and channel delivery (openclaw#118707) fix(doctor): honor explicit plugin-only migration authority (openclaw#118700) fix(security): detect child_process calls through aliases and computed members (openclaw#116304) test(gateway): avoid async facade mock race (openclaw#118708) fix(gateway): preserve final speech during transcription shutdown (openclaw#118693) fix(gateway): resume durable outbound delivery retries (openclaw#118694) fix(plugins): reject external public-artifact hardlinks (openclaw#118689)
Summary
Root cause and canonical QA evidence ownership
The existing so-called live proof could pass because a completion phrase or exec marker appeared in its own initial prompt, logs, or tool stdout; neither a successful child, an actually yielded parent, a resumed final answer, nor a delivered outbound reply was required. Public Gateway history intentionally omits raw tool results, so visible-history timestamps cannot prove successful tool completion.
The existing QA transcript owner now exposes an optional bounded latest-64 list of authenticated successful tool-call identities/timestamps, matched to their actual assistant tool calls; existing summaries remain byte-compatible when timing evidence is unavailable. The scenario uses a child-only unpredictable token, exact current requester/task generation, authenticated spawn→yield→child completion→exec ordering, an immutable non-reading exec command, an actual projected non-mirror parent final, and a post-checkpoint real QA-channel outbound event for the correct account/conversation.
Adversarial proof
Genuine failing fixtures covered prompt/tool-output spoofing, attempted versus successful calls, premature parent execution, delayed child completion, reused task generations, unauthorized filesystem discovery, late parent yields, missing final replies, commentary-only replies, synthetic delivery mirrors, false rejection of legitimate provider mirror identities, stale outbound events, wrong accounts/conversations, and silently dropped channel delivery.