fix: harden subagent completion fallback delivery#79405
Conversation
|
Codex review: found issues before merge. Reviewed July 3, 2026, 5:06 PM ET / 21:06 UTC. Summary PR surface: Source +526, Tests +152. Total +678 across 9 files. Reproducibility: yes. at source level. Related live reports establish the completion-loss class, and this branch’s blockers are traceable in the task-context, direct-fallback, and persisted-status paths. Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Land or sponsor one rebased durable completion-delivery design that preserves requester-origin fallback, direct-message or durable-queue guardrails, task-ledger compatibility, and live transport proof. Do we have a high-confidence way to reproduce the issue? Yes, at source level. Related live reports establish the completion-loss class, and this branch’s blockers are traceable in the task-context, direct-fallback, and persisted-status paths. Is this the best way to solve the issue? No. This is a plausible mitigation, but the best fix must preserve current-main requester-origin fallback, mirrored or durable delivery semantics, and persisted-status compatibility before it is merge-ready. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 010b61746379. Label changesLabel justifications:
Evidence reviewedPR surface: Source +526, Tests +152. Total +678 across 9 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
This pull request has been automatically marked as stale due to inactivity. |
Summary
Verification
OPENCLAW_TEST_FAST=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.agents-core.config.ts src/agents/subagent-registry-lifecycle.test.ts— 19/19 PASSpnpm check:test-types— PASSpnpm build— PASSHold / not included
Danbi evidence:
/home/danbi/.openclaw/agents/main/logs/delivery-patch-v2-recovery-closeout-20260508-215411.md1B4j8QKb0wtK1G0x17a1xgeVDF9r25_WmvdeMCXuMf-oReal behavior proof
/home/danbi/.openclaw/agents/main/worktrees/openclaw-c97b9f7-20260508, PR head557f7544c8a4248348da7b4ec100500cd2ac782f.391cc989-7104-4eb5-8328-e4bb31ed04a3, confirmed the requester-visible finalization payload, then ran the targeted local verification commands listed above from the same worktree./home/danbi/.openclaw/agents/main/logs/delivery-patch-v2-dev-unreported-verify-corrected-20260508-224031.mdand/home/danbi/.openclaw/agents/main/logs/pr79405-failed-log-excerpts-20260508-231522.md.