Skip to content

fix(agents): web_fetch text mode distorts Markdown inside inline code - #184411

Merged
obviyus merged 2 commits into
openclaw:mainfrom
yy19971996:fix/184362-inline-code-spans
Oct 26, 2026
Merged

obviyus merged 2 commits into
openclaw:mainfrom
yy19971996:fix/184362-inline-code-spans

Conversation

@yy19971996

@yy19971996 yy19971996 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #184362

What Problem This Solves

When web_fetch extracts a Markdown document in text mode, Markdown-looking text inside inline code spans is reinterpreted as prose: `![alt](image.png)` disappears as an image and ``[label](https://example.com)`` collapses to its label. Inline code is literal text, so readers lose the example they were meant to see.

  • Problem: markdownToText() ran stripInlineLinks() before inline code spans were protected, so link and image syntax between backticks was flattened like prose.
  • Solution: inline-code ownership now comes from findMarkdownCodeRegions() on the original Markdown, and those ranges are hidden behind the same literal store fenced blocks already use, before prose formatting runs.
  • What changed: src/agents/tools/web-fetch-utils.ts plus regression tests in src/agents/tools/web-fetch-utils.test.ts.
  • What did NOT change: fenced-block handling, HTML extraction, truncation, the public signature, and text inside an image label (still alt text).

User Impact

Users who web_fetch a Markdown page in text mode now see inline-code examples intact instead of losing image examples and link labels.

Why This Change Was Made

Follow-up to the review on the previous revision (both findings fixed):

  • P2 — no nested placeholders. Fence scanning used to store x in `before ```x``` after`. behind marker 0, then a second inline pass stored the surrounding span (including marker 0) behind marker 1; the non-recursive restore then exposed the raw marker. Inline ranges are now resolved on the original Markdown, and fence scanning skips any run the parser places inside inline code.
  • P1 — no competing recogniser. A raw backtick search treated backticks inside link/image destinations as code openers: ![alt](image1.png) and code. hid the image's closing parenthesis.findMarkdownCodeRegions()` already distinguishes code from link and image resources, so this change reuses it instead of adding a second recogniser.

Best fix: reuse the existing parser in packages/markdown-core/src/markdown-code-regions.ts. Alternative: keep the post-fence scanner (previous revision) — it produced both findings above. Non-goals: no new abstraction, no change to fence or HTML paths.

Evidence

Exact shipped-Gateway A/B captures and real model answers, on candidate 236dbccb8975135918e6e0a7de740ac6c907f0a0 versus main 4575e7cfb655a1cf9cf956fec21eaab99fd93914.

  • Fresh node:24.22.1 containers: pnpm build passed on both refs. All proof used emitted artifacts and actual Gateway agent turns.
  • Real OpenAI model via OpenClaw's native Codex runtime and a ChatGPT login; no API key. Also proven through OpenClaw's own runtime with an imported OpenAI OAuth profile; no provider overrides for either real runtime.
  • Exact model-facing web_fetch result: main loses inline image/link literals and rewrites heading/list/fence-looking code; candidate preserves those literals. Both actual model answers and the independent fixture GET ledger are captured.
  • Local deterministic Responses fixture additionally ran main twice and candidate twice, with text, Markdown, and HTML controls each time (12 Gateway turns). Prose links/images still flatten, fenced content remains literal, Markdown mode remains unchanged, HTML returns Read guide., no NUL markers leak.
  • Loop-only credential copied back, temporary credential copies removed, lock released. Imported profile expiry matched native expiry on both refs (no profile refresh). Containers stopped and retained for lead resumption.

Earlier contributor source-Gateway evidence and focused tests also reproduced the same before/after; the emitted-artifact proof above replaces its former build limitation. Contributor reported 56 focused tests passing and changed-file lint/format passing; those checks were not rerun in this proof-only pass.

AI Assistance

This PR is AI-assisted. Used grep, git diff and node --import tsx to analyze issue #184362, locate the root cause in src/agents/tools/web-fetch-utils.ts, and implement the fix. The implementer understands the code: inline code ranges come from the shared Markdown parser and are hidden before prose formatting so their content stays literal. All evidence above is from real local runtime execution.

…ext mode

Inline code spans were flattened into prose before link and heading/list
formatting ran, so Markdown-looking text inside backticks was reinterpreted:
`![alt](image.png)` was dropped as an image and ``[label](url)`` collapsed
to its label.

Hide inline code spans behind the existing code placeholder before prose
formatting, and restore them verbatim afterwards. Runs of N backticks close
only on a matching run of exactly N backticks; unmatched runs keep their
previous behavior.
@clawsweeper

clawsweeper Bot commented Oct 26, 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.

@yy19971996
yy19971996 marked this pull request as ready for review October 26, 2026 08:44
@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S labels Oct 26, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Preserve Markdown-looking inline code when web_fetch converts Markdown responses to text.

Example: Fetch a Markdown response containing Use ![alt](image.png) in text mode.

  • Before: The image example disappears.
  • After: The result retains Use alt.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused, useful repair with shipped-entry-point proof, successful exact-head gates, and no remaining actionable findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The exact-head captures supplied by obviyus exercise built Gateway agent turns against real HTTP Markdown through both runtimes and show preserved inline literals, corrected earlier review inputs, and unchanged prose, fenced-code, Markdown-mode, and HTML controls.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Agents reading fetched documentation lose literal image, link, and other Markdown examples contained in inline code.
Reason: The change restores code-literal fidelity within the existing extraction contract, adds no settings or public API, and retains existing prose and fence behavior.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR fixes a current extraction bug, resolves both earlier findings, and has convincing exact-head Gateway proof; no actionable code defects remain.

Priority: P2
Reviewed head: 236dbccb8975135918e6e0a7de740ac6c907f0a0

Before merge

None.

Findings

None.

Agent review details

How this fits together

The web_fetch extraction layer receives downloaded Markdown, converts prose to plain text while protecting code literals, and returns wrapped content to the agent.

flowchart LR
 A[HTTP Markdown response] --> B[web_fetch extraction]
 B --> C[Shared code region parser]
 C --> D[Protect inline and fenced literals]
 D --> E[Convert prose to text]
 E --> F[Restore literals]
 F --> G[Agent tool result]
Loading

Technical review

Best possible solution:

Preserve original inline-code ranges through the existing parser and literal-restoration owner, as this PR does.

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

Current-main source exposes the reported ordering defect, and supplied built-Gateway A/B captures demonstrate the same failure and repaired output; this review executed no target code.

Is this the best way to solve the issue?

The patch fixes literal ownership before prose conversion, reuses the canonical parser and existing restoration store, and resolves the earlier nested-placeholder and destination-backtick defects without replacing established fence handling.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Code-literal protection and marker restoration keeps the original intent (4a90ec6: Protect fenced code from prose conversion while escaping input NULs to avoid placeholder collisions.)
  • Incomplete and tilde-fenced code handling keeps the original intent (ad2172d: Extend existing literal protection to tilde fences while retaining backtick behavior; incomplete backtick protection was established by e9938e3.)
  • Whitespace preservation keeps the original intent (42ff52b: Normalize prose before restoring code so code indentation and repeated whitespace survive.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ben.Li: Raw commit 4a90ec6 adds src/agents/tools/web-fetch-utils.ts:337 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4a90ec622ffa; files: src/agents/tools/web-fetch-utils.ts)
  • AmelioMansour: Raw commit ad2172d adds src/agents/tools/web-fetch-utils.ts:330 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ad2172d77e26; files: src/agents/tools/web-fetch-utils.ts)

PR surface

Source +63, Tests +18. Total +81 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 68 5 +63
Tests 1 18 0 +18
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 86 5 +81

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #184362
Summary: This PR and the draft sibling both address inline-code content reaching prose link/image stripping.

Members:

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Text extraction silently corrupts documentation examples under a narrow, reproducible inline-code trigger.
  • 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.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (4 earlier review cycles)
  • reviewed 2026-10-26T09:02:16.207Z sha 5874523 :: needs real behavior proof before merge. :: [P2] Protect original inline ranges before creating fence placeholders | [P1] Reuse the Markdown parser instead of pairing destination backticks
  • reviewed 2026-10-26T09:35:23.932Z sha 236dbcc :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-26T10:55:09.520Z sha 236dbcc :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-26T11:26:39.603Z sha 236dbcc :: needs maintainer review before merge. :: none

Reviewed October 26, 2026, 7:36 AM ET / 11:36 UTC (Revision 5).

Address review findings on the previous revision:

- Inline ranges now come from findMarkdownCodeRegions on the original
  Markdown instead of a second backtick scanner over the post-fence prose.
  A fence-looking run inside a code span therefore stays one literal span
  (no nested placeholders), and a backtick inside a link or image
  destination no longer pairs with a real code delimiter.
- Fence scanning skips runs the parser places inside inline code, so the
  two recognisers cannot disagree.
- Regression tests cover the fence-in-span and destination-backtick inputs.
@yy19971996

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Both review findings are addressed in 236dbcc, and the PR body now carries shipped-entry proof: the real web_fetch tool fetching a text/markdown response over HTTP, for the issue example plus both review inputs.

  • P2 (nested placeholders): inline ranges now come from findMarkdownCodeRegions on the original Markdown, and fence scanning skips runs the parser places inside inline code. `Use `before ```x``` after`.` now yields before ```x``` after. with no NUL marker leak.
  • P1 (destination backticks): a backtick inside a link or image destination is no longer a code delimiter. `![alt](image`1.png) and `code`.` now yields and code. (image omitted, code span literal).

Controls from the same real-tool run: extractMode: "markdown" output is unchanged, a real image is still omitted in text mode, and a real link still keeps its label. Regression tests cover all three inputs; they fail on the base and pass at this head (Tests 56 passed).

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Oct 26, 2026
@yy19971996

Copy link
Copy Markdown
Contributor Author

The PR body now carries tool-level shipped-entry output from this branch: the real web_fetch tool invoked locally against a real HTTP text/markdown response, showing all three inputs (issue example, fence-in-span, destination backtick) plus prose image/link controls and an unchanged extractMode: "markdown" result.

Both review findings are fixed at 236dbccb8, and the previous patch-quality assessment already reported no remaining actionable findings.

On the remaining agent-level item: it is not reproducible in this environment. It has no model provider configured, and the tree cannot be built into dist here because the bundler needs more memory than the machine can give it. I am not re-triggering a review cycle just to restate that; the tool-level output above is the shipped web_fetch implementation performing a real fetch. If a maintainer wants the Gateway-agent variant, it can be produced on a machine with a model provider by running the fixture URL through an agent turn with web_fetch enabled.

@yy19971996

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The PR body now carries the agent-level proof that was outstanding: an isolated embedded agent turn with web_fetch enabled, fetching a real text/markdown response over HTTP from a loopback fixture. The agent actually called the tool (tool summary: 2 calls, 0 failures) and returned, after this revision:

Issue example: Use ![alt](image.png) and [label](https://example.com); read guide.

Fence-looking run inside a span: before ```x``` after.

Backtick inside an image destination: and code.

The same agent turn on the base commit returns the corrupted text instead:

Issue example: Use ` and label; read guide.

Fence-looking run inside a span: before x after.

Backtick inside an image destination: and code`.

The body also shows identical prose controls (image omitted, link label kept) before and after, and an unchanged extractMode: "markdown" result. Both earlier findings remain fixed at 236dbccb8, and the regression tests fail on the base and pass at this head.

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Oct 26, 2026
@yy19971996

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The PR body now carries the Gateway-scoped proof: an isolated Gateway (loopback, token auth) started from this tree, with the CLI connected over the WebSocket as gateway:agent and dispatching the agent turn ([ws] ⇄ res ✓ agent 39119ms runId=184b6b29-…). The Gateway ran the turn with a real model and web_fetch enabled against a real HTTP text/markdown fixture (tool summary: 2 calls, 0 failures).

At this revision the agent receives:

Issue example: Use ![alt](image.png) and [label](https://example.com); read guide.

Fence-looking run inside a span: before ```x``` after.

Backtick inside an image destination: and code.

The same Gateway and document on the base commit produce the corrupted text (Use and label; read guide./before x after./and code.). Prose controls are identical before and after, and a tool-level run of the same fixture returns extractMode: "markdown" unchanged.

Both earlier findings remain fixed, and the regression tests fail on the base and pass at this head.

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Oct 26, 2026
@obviyus

obviyus commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Shipped-Gateway A/B proof on exact head 236dbccb8975135918e6e0a7de740ac6c907f0a0

Fresh isolated node:24.22.1 containers built main 4575e7cfb655a1cf9cf956fec21eaab99fd93914 and the candidate with pnpm build (both passed). Gateway and CLI ran the emitted artifacts, not tsx. Real OpenAI model via OpenClaw’s native Codex runtime and a ChatGPT login; no API key. Also repeated through OpenClaw’s own runtime with its imported OpenAI OAuth profile. No provider overrides on real runs. Exact tool results below, not reconstructed from model answers.

A task-owned HTTP fixture served text/markdown; exact loopback hostname was allowed by the shipped SSRF policy. Agent invoked only web_fetch, extractMode: text, maxChars: 20000. Independent server ledger recorded the GET for every turn. No downloader patch.

main / runtime codex

Capture boundary: Gateway persisted tool result; reported harness: codex. HTTP 200, text/markdown, cf-markdown, not truncated.

Fetch fixture
Use ` and label; read guide.
not a heading
not a list
Use before x after.
Destination and code`.
Prose ordinary and .
[fenced](https://example.com/fenced)

Actual model answer:

Fetched successfully in text mode.

- Inline links/images were reduced to visible labels or alt text: `label`, `guide`, and `x`; destinations were omitted.
- Some inline constructs disappeared entirely, leaving surrounding prose.
- The fenced example remained literal: `[fenced](https://example.com/fenced)`.

main / runtime openclaw

Capture boundary: Gateway persisted tool result; reported harness: openclaw. HTTP 200, text/markdown, cf-markdown, not truncated.

Fetch fixture
Use ` and label; read guide.
not a heading
not a list
Use before x after.
Destination and code`.
Prose ordinary and .
[fenced](https://example.com/fenced)

Actual model answer:

The inline examples include:

- Link-like text: “label,” “read guide,” and “Destination”
- Inline image placement: “before x after”
- Ordinary prose with an inline example
- A fenced link: `fenced` → `https://example.com/fenced`

Some Markdown syntax appears stripped in text extraction.

candidate / runtime codex

Capture boundary: native app-server delivered tool response; reported harness: codex. HTTP 200, text/markdown, cf-markdown, not truncated.

Fetch fixture
Use ![alt](image.png) and [label](https://example.com); read guide.
# not a heading
- not a list
Use before ```x``` after.
Destination and code.
Prose ordinary and .
[fenced](https://example.com/fenced)

Actual model answer:

The fixture includes:

- Inline image: `![alt](image.png)`
- Inline link: `[label](https://example.com)`
- Additional link: `[fenced](https://example.com/fenced)`

candidate / runtime openclaw

Capture boundary: Gateway persisted tool result; reported harness: openclaw. HTTP 200, text/markdown, cf-markdown, not truncated.

Fetch fixture
Use ![alt](image.png) and [label](https://example.com); read guide.
# not a heading
- not a list
Use before ```x``` after.
Destination and code.
Prose ordinary and .
[fenced](https://example.com/fenced)

Actual model answer:

The text includes:

- Inline image: `![alt](image.png)`
- Inline link: `[label](https://example.com)`
- Another link: `[fenced](https://example.com/fenced)`

Repeatability and controls

Deterministic Responses fixture through the same built Gateway: main twice and candidate twice, each with text mode, Markdown mode, and HTML controls (12 turns total). Both main repetitions lose inline-code syntax; both candidate repetitions preserve it. Ordinary prose links still flatten to labels and images are omitted (Prose ordinary and .), fenced link stays literal, Markdown mode returns the complete original Markdown unchanged, HTML text stays Read guide. (raw-html extractor). No NUL placeholders leaked.

Credential hygiene: the loop-only login was copied into tmpfs under the exclusive mkdir lock, copied back after each run, all temporary copies deleted, lock released. Native expiry was 1793817975000; both imported OpenClaw profiles had the identical expiry and did not refresh. Both containers are stopped and retained for lead resumption. No product-code edits or pushes. Private fixture endpoint omitted; no credentials/account identifiers captured here.

@obviyus

obviyus commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 26, 2026
@obviyus
obviyus merged commit 7639f53 into openclaw:main Oct 26, 2026
195 of 197 checks passed
@obviyus

obviyus commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Landed in 7639f53. Thanks @yy19971996. web_fetch now keeps Markdown-looking inline code literal.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
…openclaw#184411)

fix(web-fetch): keep Markdown-looking text inside inline code literal

web_fetch text extraction treated Markdown-looking text inside inline code as prose, so literal image examples like `![alt](x.png)` were deleted and literal links were flattened. Inline code content is now kept as written; prose links, fenced code, Markdown mode and HTML extraction are unchanged.

Evidence: real OpenAI turns (ChatGPT login, no API key) through both the native Codex runtime and OpenClaw's own harness, fetching a page from a local HTTP fixture. On main the web_fetch result the model received had the inline-code image example removed and the literal link flattened; with this change both arrived intact. Twelve more Gateway turns with a local provider fixture repeated the result and confirmed prose, fenced-code, Markdown-mode and HTML controls are unchanged. Details: openclaw#184411 (comment). Production about 73 lines.

Thanks @yy19971996.

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

agents Agent runtime and tooling P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: S 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.

[Bug]: web_fetch text mode strips Markdown-looking inline code

2 participants