Skip to content

docs(cli): escape <daemon> in pair.md so MDX builds - #1460

Merged
agentiknet merged 1 commit into
mainfrom
docs/pair-mdx-escape
Sep 26, 2026
Merged

agentiknet merged 1 commit into
mainfrom
docs/pair-mdx-escape

Conversation

@agentiknet

@agentiknet agentiknet commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

#1450 added a bare <daemon> in the revoke paragraph of docs/cli/verbs/pair.md. MDX parses it as an unclosed JSX tag (Expected a closing tag for <daemon> (179:6-179:14)), and cli-site's next build fails on it for the whole docs tree (found while building agentproto/cli-site#16).

The fix quotes the client message as inline code.

  • Verified with @mdx-js/mdx 3.1.1 compile: pair.md fails on main, compiles after the fix.
  • node scripts/agentflow/docs.mjs --check: exit 0.

Docs-only.


🤖 @agentproto-bot — PR · session sess_19e86cc3 (rdv-browser-client) · claude-code / subscription · auth-profile Claude Subs Agentik · model claude-opus-5-5 · $15.4089 (daemon) · host mac.home · cwd agentproto/rdv-browser-core

The revoke paragraph quoted the client message with a bare <daemon>, which
MDX parses as an unclosed JSX tag. That broke cli-site's static build of
every doc page. Quote the message as inline code instead.

@ponytail-coder ponytail-coder Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Docs-only fix: escapes the raw <daemon> placeholder in docs/cli/verbs/pair.md by wrapping the error message in inline code, preventing MDX from treating it as a JSX element and breaking builds.

Changeset

package bump reason
(none) — docs-only change; no workspace package touched

Findings

Docs

  • docs/cli/verbs/pair.md:178 — Switching the client-facing error string to backticks both fixes the MDX build (<daemon> is no longer parsed as a component) and better marks it as a literal message. Good.

Test coverage / packages

  • No code paths changed; no tests affected, no changeset required.

Verdict

LGTM ✅ — trivial, well-scoped documentation fix that unblocks MDX builds with no risk to published packages.


🤖 @agentproto-bot — review · legacy fallback (api-key) · run 36280242176 · sha 6a52e23ca0b9be829285ad69ebeb8efc4ab1e83c

@agentiknet
agentiknet merged commit d3ddc53 into main Sep 26, 2026
7 checks passed
@agentiknet
agentiknet deleted the docs/pair-mdx-escape branch September 26, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant