Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 7:25 AM ET / 11:25 UTC. ClawSweeper reviewWhat this changesThe branch documents that legacy final-reply Merge readinessThis is a narrowly scoped docs-only clarification that previously passed review without findings and has contributor-supplied documentation validation. It remains useful because the linked documentation issue is still open, but the PR is currently marked dirty against Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s reply-directive parsing can normalize legacy flowchart LR
A[Assistant final reply] --> B[Legacy MEDIA line parser]
B --> C{Standalone plain-text line?}
C -->|Yes| D[Outbound media attachment]
C -->|No| E[Visible text remains]
F[Structured media fields] --> D
G[Rich output docs] --> A
Before merge
Agent review detailsSecurityNone. PR surfaceDocs +34. Total +34 across 3 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase the focused documentation clarification onto current Do we have a high-confidence way to reproduce the issue? Not applicable: this PR changes documentation only. The supplied documentation checks and the prior review establish a concrete validation path, but no runtime behavior is altered by this branch. Is this the best way to solve the issue? Yes, subject to rebase: documenting the existing standalone-line constraint beside the structured-media guidance is a narrow, maintainable response to the linked formatting confusion without changing the parser’s intentional code-fence behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 7a9d2c3e72a2. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
9bd01ba to
b184e6a
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
b184e6a to
4375b2a
Compare
|
Landing verification for original contributor head
The docs keep structured media as the recommended path, explain exactly when legacy final-reply text is recognized, preserve plugin/tool boundaries, and retain |
|
Merged via squash.
|
* docs(media): clarify legacy MEDIA line formatting * docs(media): fix heading hierarchy * docs: update docs map for rich output protocol --------- Co-authored-by: 吴杨帆 <[email protected]>
Restored replacement for #94436 after the fork/head repository was recreated.
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.