Repository navigation
fix(reply): surface empty interactive completions - #99878
qingminglong wants to merge 2 commits into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 4, 2026, 6:06 AM ET / 10:06 UTC. Summary PR surface: Source +121, Tests +238. Total +359 across 5 files. Reproducibility: yes. at source level: current main has direct and follow-up empty-result exits that return without a visible payload, and the PR tests simulate those empty results. I did not establish a live Telegram reproduction in this read-only review. Review metrics: none identified. 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:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land one canonical shared final-output fallback PR, this branch or a sibling, only after redacted Telegram Desktop, Mantis, or equivalent live-channel proof covers the fallback and silent side-effect exceptions. Do we have a high-confidence way to reproduce the issue? Yes at source level: current main has direct and follow-up empty-result exits that return without a visible payload, and the PR tests simulate those empty results. I did not establish a live Telegram reproduction in this read-only review. Is this the best way to solve the issue? Yes for code shape: the final auto-reply and follow-up delivery boundaries have the right facts to distinguish empty failure from intentional silence or side effects. The remaining blocker is proof, not a better implementation location. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 79d2e568a0aa. Label changesLabel justifications:
Evidence reviewedPR surface: Source +121, Tests +238. Total +359 across 5 files. View PR surface stats
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
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@openclaw-mantis telegram desktop proof: verify an empty interactive completion sends the fallback while message-tool-only and child-session-spawn side effects stay quiet. |
Closes #99712
What Problem This Solves
Fixes an issue where an interactive direct turn could finish successfully with no assistant payload and no committed source reply, causing the user-facing channel turn to silently complete without any visible deliverable.
Why This Change Was Made
Direct reply and queued follow-up delivery now share a bounded empty-interactive fallback that emits a visible error payload only when the run otherwise has no visible output. Existing silent paths remain silent for heartbeats, explicitly silent runs, message-tool-only delivery, and runs that already committed a message-tool, cron, approval, media, accepted child-session spawn, or other side-effect delivery.
User Impact
Users get a visible failure message when an interactive channel turn produces no deliverable output, instead of seeing the turn disappear. Message-tool-only, accepted child-session spawn, and known side-effect flows continue to avoid duplicate automatic replies.
Evidence
node scripts/run-vitest.mjs src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts src/auto-reply/reply/followup-runner.test.tspassed: 2 files, 151 tests.git diff --checkpassed.python .agents\skills\autoreview\scripts\autoreview --mode localexited 0 withautoreview clean: no accepted/actionable findings reported. The helper printed a Windows GBK decode thread exception after the clean result, but the command returned 0.message_tool_onlysuppression, follow-up empty fallback routing, source-delivered suppression, cron/approval suppression, compaction/progress paths that still finish with no visible final payload, and direct/follow-up acceptedSessionSpawns-only completions staying silent with no fallback routed.Real behavior proofpassed on head cbdf121.