Skip to content

docs(cron): clarify trailing NO_REPLY suppression - #161964

Merged
obviyus merged 4 commits into
openclaw:mainfrom
heranliu:docs/cron-trailing-no-reply
Oct 7, 2026
Merged

obviyus merged 4 commits into
openclaw:mainfrom
heranliu:docs/cron-trailing-no-reply

Conversation

@heranliu

@heranliu heranliu commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes #161963
Related: #150808

What Problem This Solves

The cron docs leave users without an explanation when an isolated announcement containing a report followed by NO_REPLY sends no message.

User Impact

Users can recognize intentional suppression and avoid appending NO_REPLY to reports they want delivered. Runtime behavior is unchanged.

Why This Change Was Made

Document the trailing-token rule alongside token-only suppression, with an example and the existing non-trailing-mention and media exceptions. Link the troubleshooting entry to that explanation. This implements the documentation alternative already raised in #150808, preserves the behavior established by #65004, and leaves the broader runtime policy discussion open.

Evidence

  • Three existing dispatcher tests passed: trailing-token text is suppressed, a non-trailing mention is delivered, and media is delivered with its silent caption removed (3 passed, 74 unrelated tests skipped).
  • pnpm check:docs passed, including formatting, Markdown/template lint, MDX, glossary, internal links (14,647 checked, zero broken), config examples, and changelog checks. git diff --check passed.
  • Repository autoreview through P2 and an independent source/test review found no actionable issues.
  • No live channel test was run; this changes documentation only and the focused dispatcher tests use mocks.
Focused test command
pnpm test src/cron/isolated-agent/delivery-dispatch.double-announce.test.ts --maxWorkers=1 -t 'suppresses trailing text reply|delivers a non-trailing NO_REPLY|skips awareness text when direct delivery strips a silent caption'

Maintainer verification: No overlap with Pash/Sarah changes.
Merged current main without conflicts, preserving its new docs content. Scoped Oxfmt and MDX checks passed; internal-link anchor audit checked 15,472 links with zero broken. Media retention and caption removal verified against delivery-payload-normalization.ts:19-44; /cli/cron#silent-token-suppression resolves. git diff --check passed.

@clawsweeper

clawsweeper Bot commented Sep 30, 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 docs Improvements or additions to documentation size: XS labels Sep 30, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 30, 2026
@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

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

ClawSweeper review

What this changes

The PR explains when trailing NO_REPLY suppresses an isolated cron announcement, adds an example and exceptions, and links troubleshooting to that explanation.

Merge readiness

✅ Ready for maintainer review

Keep open: this useful documentation clarification is still missing from current main and matches existing delivery behavior. No actionable findings or additional before-merge blockers were found.

Likely related people: steipete and neo1027144-creator are routing candidates based on related cron work; source-line introduction attribution remains unverified.

Priority: P3
Reviewed head: c6601bc4ae9bfaf603db7f7f08d8f33ff44a98c6

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, accurate documentation patch with supporting source coverage and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Evidence reviewed 8 items Introduced documentation change: The pinned merge-base-to-head diff changes explanatory prose only. It preserves frontmatter, adds a concrete suppressed-output example and media/non-trailing exceptions, and uses the existing root-relative silent-token section anchor.
Still necessary on current main: The fetched main CLI reference still describes only token-only suppression; its troubleshooting page has the same omission. The PR therefore supplies a distinct missing explanation.
Latest-release documentation: The GitHub contents API for v2026.9.8 also shows only token-only suppression. The local release-blob read failed because a required Git object could not be fetched; the read-only API supplied the relevant release text.
Findings None None.
Security None None.

How this fits together

Cron runs scheduled agent turns and passes their output to announcement delivery. Delivery normalization decides whether text or media reaches chat or is intentionally suppressed.

flowchart TD
  A[Scheduled agent turn] --> B[Final text and media]
  B --> C[Announcement normalization]
  C --> D{Trailing silent token}
  D -->|Text only| E[Suppress announcement and fallback]
  D -->|Media present| F[Remove caption and deliver media]
  D -->|Absent| G[Deliver ordinary output]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Docs +10. Total +10 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 2 12 2 +10
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 12 2 +10

Review metrics

None.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #161963
Summary: This PR is the candidate fix for the paired documentation issue; the broader runtime-policy report overlaps only partially.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Keep the suppression contract clearly documented with an example and media exception, while discussing any runtime-policy change separately.

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

Not applicable as a runtime bug reproduction: this is documentation-only, and source inspection confirms both the omission and the behavior being described.

Is this the best way to solve the issue?

Yes: extending the existing suppression explanation and linking troubleshooting is a narrow, maintainable solution that preserves runtime behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 07e9a2519420.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is a focused documentation clarification with no runtime or configuration changes.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • neo1027144-creator: 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 (3 earlier review cycles)
  • reviewed 2026-09-30T15:55:53.311Z sha 24e3cbb :: needs maintainer review before merge. :: none
  • reviewed 2026-10-01T07:59:10.925Z sha a0ca2ba :: needs maintainer review before merge. :: none
  • reviewed 2026-10-04T17:44:37.689Z sha 20f6e64 :: needs maintainer review before merge. :: none

@heranliu

heranliu commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for maintaining OpenClaw and for your time reviewing contributions!

I rechecked the current main documentation, and the explanation of trailing NO_REPLY suppression is still missing. CI has passed, and ClawSweeper has marked this PR as ready for maintainer review with no actionable findings.

When you have a chance, could you take a look at this documentation clarification? I’m happy to adjust the wording or provide any additional context that would help.

Thanks again!

@obviyus

obviyus commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@obviyus
obviyus merged commit 16e94f5 into openclaw:main Oct 7, 2026
71 checks passed
@obviyus

obviyus commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Landed in 16e94f5. Thanks @heranliu! Checked against the cron delivery normalization: a trailing NO_REPLY suppresses the text and fallback summary, a mid-sentence mention does not, and media still delivers when only its caption is silent.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 7, 2026
Document that a text-only isolated cron announcement ending with a trailing NO_REPLY token suppresses the whole text and the fallback summary, a mid-sentence mention does not, and a silent media caption is dropped while the media is delivered.

Fixes openclaw#161963.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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.

[Docs Bug]: Cron docs omit suppression of text ending in NO_REPLY

2 participants