Repository navigation
docs: warn that MEDIA: directives must be plain text (no markdown wrap) - #85328
Conversation
The MEDIA: parser only matches plain-text directives. Wrapping the directive in Markdown (bold, inline code, fenced code) makes the parser skip it and the attachment is silently dropped from delivery. Add an explicit warning callout on the rich-output protocol page with valid/invalid examples so authors do not silently lose media. Refs openclaw#78495
|
Codex review: needs maintainer review before merge. Latest ClawSweeper review: 2026-05-22 11:45 UTC / May 22, 2026, 7:45 AM ET. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: yes. from source inspection: current main skips fenced PR rating Rank-up moves:
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. Real behavior proof Next step before merge Security Review detailsBest possible solution: Land the docs callout if maintainers accept a docs-only mitigation, while keeping parser hardening or warning-log behavior as separate follow-up work under the linked report if desired. Do we have a high-confidence way to reproduce the issue? Yes, from source inspection: current main skips fenced Is this the best way to solve the issue? Yes for the docs-only scope: it documents the existing parser contract in the relevant rich-output protocol page. Parser tolerance or warning logs would be a broader behavioral change and should be handled separately if maintainers want it. Label changes:
Label justifications:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against ab1fedb63f17. |
|
ClawSweeper PR egg ✨ Hatched: 🥚 common Frosted Test Hopper Hatch commandComment Hatchability rules:
Rarity: 🥚 common. What is this egg doing here?
|
The MEDIA: parser only matches plain-text directives. Wrapping the directive in Markdown (bold, inline code, fenced code) makes the parser skip it and the attachment is silently dropped from delivery. Add an explicit warning callout on the rich-output protocol page with valid/invalid examples so authors do not silently lose media.
Refs #78495
Summary
Describe the problem and fix in 2–5 bullets:
If this PR fixes a plugin beta-release blocker, title it
fix(<plugin-id>): beta blocker - <summary>and link the matchingBeta blocker: <plugin-name> - <summary>issue labeledbeta-blocker. Contributors cannot label PRs, so the title is the PR-side signal for maintainers and automation.Motivation
Explain why this change should exist now. Link it to the user pain, failure mode, maintainer need, or product goal. If this is purely mechanical, write
N/A.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Real behavior proof (required for external PRs)
External contributors must show after-fix evidence from a real OpenClaw setup. Unit tests, mocks, lint, typechecks, snapshots, and CI are supplemental only. Screenshots are encouraged even for CLI, console, text, or log changes; terminal screenshots and copied live output count. Be mindful of private information like IP addresses, API keys, phone numbers, non-public endpoints, or other private details when providing evidence.
Root Cause (if applicable)
For bug fixes or regressions, explain why this happened, not just what changed. Otherwise write
N/A. If the cause is unclear, writeUnknown.Regression Test Plan (if applicable)
For bug fixes or regressions, name the smallest reliable test coverage that should catch this. Otherwise write
N/A.User-visible / Behavior Changes
List user-visible changes (including defaults/config).
If none, write
None.Diagram (if applicable)
For UI changes or non-trivial logic flows, include a small ASCII diagram reviewers can scan quickly. Otherwise write
N/A.Security Impact (required)
Yes/No)Yes/No)Yes/No)Yes/No)Yes/No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
Expected
Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
Review Conversations
If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.
Compatibility / Migration
Yes/No)Yes/No)Yes/No)Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.