Skip to content

fix: honor explicit NO_REPLY on required turns - #156181

Open
sjf-oa wants to merge 7 commits into
mainfrom
sjf/no-reply-explicit-silence
Open

sjf-oa wants to merge 7 commits into
mainfrom
sjf/no-reply-explicit-silence

Conversation

@sjf-oa

@sjf-oa sjf-oa commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Why

An explicit NO_REPLY is a successful request for silence. Required-turn completion policy regressed that behavior in #152786, causing completed silent turns to retry or post an incomplete-response warning.

ChatGPT Image Sep 22, 2026, 10_31_51 PM

What Problem This Solves

Honor successful explicit terminal silence for required and optional turns through runner recovery and immediate replies, queued follow-ups, and outer channel dispatch. Reuse the existing terminal-silence classifier and completion evidence so NO_REPLY does not become a missing-reply warning or source-delivery retry. Preserve authoritative silent completion when the outer channel dispatcher reconciles transport state. Failed, aborted, pending, and genuinely empty turns retain their existing handling.

For example, a user confirms a completed task with “Passed ✅”. If the assistant finishes with NO_REPLY, the conversation stays quiet rather than posting an incomplete-response warning.

Earlier validation

The results in this section predate the current restack and are historical evidence. Current-source validation is listed below.

Dispatch repair validation:

  • Full follow-up delivery, terminal recovery, terminal outcome, and model-fallback classifier suites: 159 tests passed.
  • Focused runReplyAgent entry-point tests: 16 passed, covering immediate and queued silence, genuine empty replies, reasoning/commentary-only replies, and pending continuation.
  • Both immediate and queued regressions fail with the original dispatch code, emitting the exact missing-reply warning, and pass with this repair.
  • Full outer channel dispatcher suite: 306 tests passed. Its authoritative-silence regression fails on the original finalizer by posting the channel fallback and passes with the fix. Existing callback-only and sibling-payload cases still require a visible reply.
  • Fresh independent reviews of the reply and outer channel dispatch changes found no actionable P0-P2 issues.
  • Core and all core-test typechecks passed for the initial dispatch repair. Final outer-dispatch core and messaging-test typechecks passed. Formatting and changed-file lint passed.
  • The full changed-file check stopped at an unchanged parent-stack export: extensions/agentsapi/agentsapi-messages.ts: AgentsApiMessageProjection. This repair does not change that file.

Earlier runner validation:

  • Focused recovery and terminal suites: 80 tests passed.
  • The required-turn regression case fails on the original condition (expected false to be true) and passes with the fix.
  • Core and test typechecking, formatting, export scans, changed-file lint, and required source guards passed.
  • Fresh independent review found no actionable issues.

Live channel proof on an isolated native-architecture Gateway:

  • A natural request to acknowledge a completed release checklist with a ✅ reaction executed the reaction successfully, ended with literal NO_REPLY, and posted no extra reply or warning.
  • A plain “Passed ✅” follow-up after an ordinary answer also ended with literal NO_REPLY and posted no extra reply or warning.
  • Ordinary answers and a conversational acknowledgement still delivered normally.
  • The prompts did not instruct the model to emit NO_REPLY; the assistant chose it through the ordinary channel flow.

Remaining limitation: another model returned a completed final-answer item containing empty text, with no explicit silence marker. That case still produces the existing missing-response warning. Completed status alone does not establish intentional silence, so this repair does not suppress genuinely empty output.

The image above is illustrative, not a captured after-fix screenshot. Internal channel captures cannot be published from this environment.

Earlier retry-context stack

The earlier verification below used #161444, the Agents API retry-context fix, as its parent. Published base: b3d36ee41e668bd364dca621fa90889ac4bba9cf. Published head: 676f8702b57821c4e24821b8b2d8ca6292b0ed91.

All seven repair commits were replayed. The subsequent correction to three stale silence-test expectations is amended into the original repair commit; the final tree differs from the tested b7520c5eea1af3707878f6a8e3a51fe6837ff6fd only in that test file. Production code is identical. In the initial restack, six patches were unchanged. One conflict was adapted to preserve the upstream removal of a redundant hook-block check; current callers already classify hook blocks before the exported silence helper. The helper still rejects failed and aborted results. The Agents API implementation is unchanged by this child PR. Fresh independent source review found no actionable P0-P2 findings.

The reason for testing this stack is a real Gateway regression: after a controlled post-completion artifact HTTP 503, the Agents API context fix allowed the same run to retry successfully, but its naturally chosen terminal NO_REPLY was turned into a missing-reply warning by current base code. The same flow was rerun here without prompting the model to emit NO_REPLY. Correct silence is successful completion with no extra warning or reply, not proof that the earlier answer was delivered.

Earlier unit and scoped static checks

At b7520c5eea1af3707878f6a8e3a51fe6837ff6fd, 495 cases passed with no failures. Commands used the native node scripts/run-vitest.mjs wrapper with exact owner paths and --maxWorkers=1.

Scope Passed Wrapper wall time
Agents API attempt regressions 9 88.081 s
Recovery, terminal resolution, fallback classifier, follow-up delivery, and outer dispatch suites 478 129.437 s
Selected runReplyAgent reply-obligation cases 8 910.112 s

The eight selected reply-entry cases cover required/optional terminal silence, queued answers, genuinely empty output, and pending continuation. Their test bodies totaled 5.036 s; the 910.112 s wrapper time includes cold runtime/declaration compilation and worker preparation. The suite's other 215 cases were deliberately deselected.

Formatting for the 13 changed files, scoped TypeScript lint, MDX syntax, whitespace/conflict checks, line-count and assertion-safety guards, core graph ownership, and core/agent-test/messaging-test typechecks passed. The source remained clean and unchanged throughout these checks. The aggregate changed checker and the parent's known upstream import-cycle CI failure were not rerun; these scoped results do not claim a green full CI run.

Silence-fixture correction

The earlier hosted run failed three assertions in src/agents/embedded-agent-runner/run/settled-turn-finalization.silence.test.ts. Those fixtures expected literal NO_REPLY to start another answer, contrary to the approved explicit-silence behavior. The required phased-silence case now requires no finalization. The two cases that observe delivery changing during recovery use genuinely empty output, with no retained earlier answer; they still require the finalizer to run exactly once and preserve their delivered/pending assertions. No production behavior, deadlines, or mocks were changed.

A first correction still retained the earlier answer and failed two cases. The final published correction removes that answer only from the genuinely empty fixtures. The correction is amended into the original repair commit.

At 676f8702b57821c4e24821b8b2d8ca6292b0ed91:

  • All seven existing cases passed through node scripts/run-vitest.mjs src/agents/embedded-agent-runner/run/settled-turn-finalization.silence.test.ts --maxWorkers=1: 21.158 s wrapper wall, 1.281 s test bodies.
  • The original 18-file CI selection passed all 284 cases through node --import tsx scripts/ci-run-node-test-shard.mts: 60.876 s wrapper wall, 53.53 s Vitest duration. This reused the captured file selection and worker setting on macOS, not identical Linux scheduling. The seven focused cases are included in the 284.
  • One-file formatting and lint, the agent-test typecheck, and whitespace checks passed. Tracked source stayed clean and unchanged. The automated reviewer identified the old indexed fixture and confirmed that the final working-tree correction resolved it; the corrected bytes were staged before committing.

The earlier hosted CI run tested the previous head against main before the PR base changed to the parent branch. Its 18-file group took 48.14 s, with 281 passing and three failing cases. Current-head CI is still running; these scoped results do not claim a green hosted run or current hosted case timing.

Combined Docker Gateway evidence and limits

The native ARM64 image at b7520c5eea1af3707878f6a8e3a51fe6837ff6fd passed the maintained offline image verifier. The build client stalled after exporting the immutable image and was stopped; no successful build-wrapper exit is claimed.

The initial seed request timed out and the Gateway aborted/drained its run. Later saved native history contained the completed answer; the exact timeout cause remains unresolved. After the same conversation became idle and its local queues drained, one ordinary continuation exercised the intended test: a real tool barrier, accepted steering, one injected artifact-read HTTP 503 after native completion, and automatic retry of the same Gateway run. Both prompt-hook calls received the identical one-message prior history and original input identity. The native binding stayed the same and no input was duplicated.

The continuation naturally returned NO_REPLY. The Gateway settled successfully with empty delivery/outbox/input queues; channel readback showed no additional reply or missing-response warning. A subsequent ordinary user turn delivered its exact requested answer. The retry-context and intentional-silence checks passed.

The answer generated before the injected failure was not delivered, so this is not an overall answer-delivery pass. The earlier seed timeout remains a failed attempt. This used a controlled artifact HTTP 503, not a reproduced remote model 429 or outage.

Rebase verification, 2026-10-01 PDT

Rebased all seven repair commits onto captured main df75da27bcdf0e1fb5f9025bb41613347b212f36. Published head: 4245e3571a9947db029936388388c538888a9505; PR base: main. Five patches replayed identically and two documentation patches differ only in inherited context. Whitespace checks passed. Earlier live and unit results above remain tied to their recorded revisions; they were not rerun for this rebase.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS labels Sep 23, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 4, 2026, 6:09 AM ET / 10:09 UTC (Revision 16).

ClawSweeper review

What this changes

The PR preserves successful explicit NO_REPLY as silent completion through agent recovery, immediate replies, queued follow-ups, and channel dispatch, with corresponding documentation and regression coverage.

Merge readiness

✅ Ready for maintainer review

This PR remains necessary: current main and the latest release still misclassify successful explicit silence on required turns. No actionable introduced defect was found, and the recorded runtime evidence remains relevant after the restack.

Priority: P1
Reviewed head: 0a4f13e6cb41ee63d88d86cc6c7beb1bec188bdf

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused shared-owner repair with relevant real-runtime observations, explicit failed-attempt limits, and regression coverage; no actionable defect remains.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Recorded isolated Gateway runs exercise terminal silence through real channel input and dispatch, observing no extra reply or warning and a successful later ordinary answer. Exact historical source confirms the relevant recovery and finalizer branches remain present; the additional Telegram probe was inconclusive. No stored-data contract changes.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Recorded isolated Gateway runs exercise terminal silence through real channel input and dispatch, observing no extra reply or warning and a successful later ordinary answer. Exact historical source confirms the relevant recovery and finalizer branches remain present; the additional Telegram probe was inconclusive. No stored-data contract changes.
Evidence reviewed 9 items Verified introduced scope: Inspected the pinned merge-base-to-head changes. The recorded test merge has the exact base and PR-head parents, and its finalizer change matches the introduced patch; unrelated base-only storage changes are excluded.
Still missing on current main: Current main permits empty-output silence only when completion is already optional; it lacks the branch accepting successful explicit terminal silence on required turns.
Latest-release check: The supplied latest release, v2026.9.8, still excludes explicit silent evidence from required reply completion. This PR is not already shipped.
Findings None None.
Security None None.

How this fits together

OpenClaw’s reply-completion pipeline combines assistant output with delivery and pending-work evidence. It determines whether channels deliver an answer, remain silent, or recover a missing response.

flowchart TD
  A[Incoming request] --> B[Reply expectation]
  B --> C[Agent terminal output]
  C --> D[Completion evidence]
  E[Delivery and pending work] --> D
  D --> F[Channel dispatch]
  F --> G[Visible reply or intentional silence]
  D --> H[Missing-response recovery]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +22, Tests +20, Docs 0. Total +42 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 7 58 36 +22
Tests 5 73 53 +20
Docs 2 3 3 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 14 134 92 +42

Review metrics

None.

Technical review

Best possible solution:

Keep explicit successful silence in the shared completion owner while preserving recovery for genuinely empty results and custody for pending delivery.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: a required turn with successful terminal NO_REPLY and missing delivery reaches the current missing-response path. This review did not execute a failing current-main reproduction.

Is this the best way to solve the issue?

Yes. Reusing the existing terminal classifier and shared completion evidence repairs the runner and dispatch boundaries without adding configuration or a competing silence owner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 96c7ddc7e798.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.
  • remove merge-risk: 🚨 compatibility: Current PR review selected no merge-risk labels.
  • remove merge-risk: 🚨 message-delivery: Current PR review selected no merge-risk labels.

Label justifications:

  • P1: Recorded real channel turns produce false missing-response warnings or recovery after successful intentional silence.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): Recorded isolated Gateway runs exercise terminal silence through real channel input and dispatch, observing no extra reply or warning and a successful later ordinary answer. Exact historical source confirms the relevant recovery and finalizer branches remain present; the additional Telegram probe was inconclusive. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded isolated Gateway runs exercise terminal silence through real channel input and dispatch, observing no extra reply or warning and a successful later ordinary answer. Exact historical source confirms the relevant recovery and finalizer branches remain present; the additional Telegram probe was inconclusive. No stored-data contract changes.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. Telegram can observe the changed behavior: intentional silence without a false warning, followed by normal answer delivery.

Evidence

What I checked:

  • Verified introduced scope: Inspected the pinned merge-base-to-head changes. The recorded test merge has the exact base and PR-head parents, and its finalizer change matches the introduced patch; unrelated base-only storage changes are excluded. (0a4f13e6cb41)
  • Still missing on current main: Current main permits empty-output silence only when completion is already optional; it lacks the branch accepting successful explicit terminal silence on required turns. (src/agents/embedded-agent-runner/run/incomplete-turn-recovery.ts:138, 96c7ddc7e798)
  • Latest-release check: The supplied latest release, v2026.9.8, still excludes explicit silent evidence from required reply completion. This PR is not already shipped. (src/agents/reply-completion.ts:9, fc23bc864e45)
  • Failure and continuation safeguards: The shared terminal-silence classifier rejects errored and aborted results. Immediate and queued completion check pending work before silence; runner recovery also excludes unfinished lifecycle items, failed tools, timeouts, and asynchronous work. (src/agents/embedded-agent-runner/result-fallback-classifier.ts:59, 0a4f13e6cb41)
  • Historical review disposition: The recorded obviyus review explicitly approved honoring NO_REPLY, including group chatter and reaction-only turns, while retaining recovery for empty, failed, aborted, and pending results. That approval was subsequently dismissed during restacking; it supplies design context, not current merge approval. The latest completed ClawSweeper projection contains no findings. (226474023fba)
  • Recorded real Gateway observations: The captured body, sourceRevision 6e1d11c51871724569ad5e7c386c79c7ed18d73394928867bc04a95c851ec6f6, records natural terminal NO_REPLY after ordinary channel input, no additional reply or missing-response warning, settled queues, and a subsequent ordinary answer delivered successfully. The failed seed timeout and undelivered pre-retry answer are explicitly excluded from the successful silence claim. The downloaded image was inspected and is illustrative, not after-fix proof. (b7520c5eea1a)

Likely related people:

  • obviyus: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (15 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-25T22:44:39.716Z sha 5fa0b7d :: needs real behavior proof before merge. :: [P1] Preserve required replies without a source acknowledgment
  • reviewed 2026-09-26T02:42:52.764Z sha 7efdb4c :: needs real behavior proof before merge. :: [P1] Preserve required replies without a source acknowledgment
  • reviewed 2026-09-30T00:22:19.098Z sha b7520c5 :: needs real behavior proof before merge. :: [P1] Require a source acknowledgment before silencing required turns
  • reviewed 2026-09-30T01:13:32.435Z sha 676f870 :: needs real behavior proof before merge. :: [P1] Require source completion before silencing required turns
  • reviewed 2026-09-30T02:29:30.849Z sha 676f870 :: needs real behavior proof before merge. :: [P1] Require source completion before silencing required turns
  • reviewed 2026-10-01T09:42:26.747Z sha 79ed2de :: blocked before merge. :: [P1] Require source completion before silencing required turns
  • reviewed 2026-10-02T03:47:04.598Z sha 4245e35 :: blocked before merge. :: [P1] Require source completion before silencing required turns
  • reviewed 2026-10-02T03:59:33.618Z sha 4245e35 :: needs maintainer review before merge. :: none

@sjf-oa
sjf-oa requested a review from obviyus September 23, 2026 05:23
@sjf-oa
sjf-oa force-pushed the sjf/no-reply-explicit-silence branch from 26975d1 to 2264740 Compare September 23, 2026 06:02
@clawsweeper clawsweeper Bot added the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Sep 23, 2026
obviyus
obviyus previously approved these changes Sep 23, 2026

@obviyus obviyus left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. This removes the required-reply regression from #152786: explicit NO_REPLY is honored again, including for group chatter and reaction-only turns. Empty output, errors, aborts and pending work still go through recovery. Follow-ups on directly addressed messages that end silently are tracked in #156257.

@sjf-oa
sjf-oa force-pushed the sjf/no-reply-explicit-silence branch from 2264740 to 88abfcc Compare September 23, 2026 07:32
@sjf-oa
sjf-oa changed the base branch from main to sjf/agentsapi-output-parity September 23, 2026 07:32
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Sep 23, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 23, 2026
@sjf-oa
sjf-oa force-pushed the sjf/agentsapi-output-parity branch from 8d6057c to 5f5c49f Compare September 24, 2026 00:18
@sjf-oa
sjf-oa force-pushed the sjf/no-reply-explicit-silence branch from af493b2 to ff466f2 Compare September 24, 2026 00:37
@sjf-oa
sjf-oa changed the base branch from sjf/agentsapi-output-parity to sjf/agentsapi-tools-files September 24, 2026 00:37
@sjf-oa
sjf-oa force-pushed the sjf/no-reply-explicit-silence branch from ff466f2 to 6216e4f Compare September 24, 2026 01:31
@sjf-oa
sjf-oa force-pushed the sjf/agentsapi-tools-files branch from b637979 to 53d6026 Compare September 24, 2026 01:31
@clawsweeper clawsweeper Bot removed the status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. label Sep 24, 2026
@postoso

postoso commented Oct 10, 2026

Copy link
Copy Markdown

This is problem evidence from a Codex-harness deployment on 2026.9.9. It's not a review of the implementation.

Five Discord DM turns ran tools, reacted to the user's message with message(action=react) (no final), and ended with exactly NO_REPLY. Every one of them posted "The tool run finished, but no final summary was produced. I did not repeat any completed actions." That isn't just a log line: it showed up in my DMs as a real message after every link I sent, so a burst of links meant a burst of identical canned messages, where the whole point of reacting was to stay quiet. The same three log lines appeared each time (IDs removed):

[agent/embedded] settled post-tool turn lacked a final answer: runId=… sessionId=… provider=openai/gpt-6.1-sol — running isolated finalization
[agents/harness] Codex agent harness failed; not falling back to embedded OpenClaw backend harnessId=codex provider=openai modelId=gpt-6.1-sol error="Codex settled-turn finalization context is unavailable"
[agent/embedded] settled-turn finalization failed: runId=… sessionId=… provider=openai/gpt-6.1-sol error=Codex settled-turn finalization context is unavailable — using terminal fallback reply

On the Codex harness the host does request finalization, but the Codex finalizer throws at its context check before it reaches the model call (settled-turn-finalizer.ts L36-L67). So the fallback here isn't the result of a finalization attempt that came back empty. Reading the release source, the adapter captures finalization context only when every collected assistant text is blank (run-attempt-finalize.ts L468-L498), and the collector keeps a trailing silent token (event-projector-assistant.ts L318-L340). That would leave a turn ending in NO_REPLY without context. I didn't log assistantTexts or the other inputs to that check, so this is a source reading. The journal shows neither codex settled-turn finalization context capture failed nor the adapter's own unavailable-context warning, which fits capture being skipped rather than rejected.

This PR changes the required phased NO_REPLY case in settled-turn-finalization.silence.test.ts to expect no finalization. If that covers this turn (I didn't log the item phase), this shape should stop reaching the Codex finalizer at all. If the PR doesn't land or doesn't cover it, the host and the Codex adapter still disagree about whether this turn gets recovery context, and I'm happy to open a separate issue for that.

On my side, the reactions didn't pass final=true, which #156790 made a valid way to complete a required reply with a reaction. I haven't tested that in a Discord DM yet.

Measured on stable 2026.9.9 (@openclaw/codex 2026.9.9, openai/gpt-6.1-sol, OpenAI OAuth). I read main at 46d5488, where the capture check is unchanged. I haven't run main or this PR.

@postoso

postoso commented Oct 10, 2026

Copy link
Copy Markdown

Follow-up: passing final=true on the react fixed it here. On the same 2026.9.9 Codex-harness Discord DM, reaction-only turns now end with no message and no finalization lines in the journal.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants