Repository navigation
Conversation
|
Pushed a markdownlint fix for the heading hierarchy failure in docs/reference/rich-output-protocol.md. Local git diff --check passes; the targeted markdownlint command could not complete locally because pnpm install timed out downloading optional packages before running the linter. |
|
@clawsweeper re-review Updated the Real behavior proof with local full-checkout documentation evidence. I validated the PR body locally with
|
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Codex review: needs maintainer review before merge. Reviewed June 21, 2026, 9:36 AM ET / 13:36 UTC. Summary PR surface: Docs +31. Total +31 across 2 files. Reproducibility: yes. Source inspection shows 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:
Next step before merge
Security Review detailsBest possible solution: Land this docs clarification if maintainers accept the docs-only mitigation, while keeping runtime warning or parser-behavior changes separate in #80396. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows Is this the best way to solve the issue? Yes for the docs-only scope. The PR documents the current parser contract on the two public pages that already discuss media output; parser leniency or warning logs are broader runtime choices and are already separate in #80396. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 11a2e03bd4de. Label changesLabel justifications:
Evidence reviewedPR surface: Docs +31. Total +31 across 2 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
|
|
Updated the PR body to satisfy the current Real behavior proof policy:
I also tried to rerun the failed |
|
Restored as #96275 after recreating the fork/head branch. |
Summary
MEDIA:attachments must be standalone plain-text lines.MEDIA:text.Fixes #78495.
Verification
node scripts/format-docs.mjs --checknode scripts/check-docs-mdx.mjs docs README.mdnode scripts/docs-list.jsgit diff --check origin/main...HEADReal behavior proof
Behavior addressed: Readers of the OpenClaw docs can now see that legacy final-reply
MEDIA:attachments are only recognized when emitted as standalone plain-text lines, and that Markdown-wrapped or inlineMEDIA:examples are invalid.Real environment tested: Local full OpenClaw checkout on PR branch
codex/media-directive-docs-78495-reopen-20260618, using the repository documentation scripts directly against the docs tree after the patch.Exact steps or command run after this patch:
Evidence after fix: Terminal capture from the local documentation checks showed the patched documentation renders as valid formatted docs and remains in the generated docs listing:
Observed result after fix: The docs formatter reported a clean tree, the MDX checker passed across the docs and README set,
docs-listincluded the changed docs pages, andgit diff --check origin/main...HEADproduced no whitespace or conflict-marker output.What was not tested: A packaged docs-site build was not started in this environment; this PR changes only Markdown documentation and was validated with the repository docs format, MDX, listing, and diff checks.
Reopened after active-PR limit cleanup. Supersedes closed PR #94389.
What Problem This Solves
Readers need to know that legacy final-reply
MEDIA:attachments are parsed only when emitted as standalone plain-text lines. Without that clarification, examples that wrapMEDIA:in Markdown or place it inline can look valid while failing the legacy parser behavior.Evidence
The repository documentation checks passed after the docs update:
node scripts/format-docs.mjs --check,node scripts/check-docs-mdx.mjs docs README.md,node scripts/docs-list.js, andgit diff --check origin/main...HEAD. The detailed terminal output is included in the Real behavior proof section above. A packaged docs-site build was not started locally.