Skip to content

docs(fix): clarify that fix/fix pin only accept the JSON MCP surfaces#49

Merged
Conalh merged 1 commit into
mainfrom
pr3-readme-fix-surfaces
May 29, 2026
Merged

docs(fix): clarify that fix/fix pin only accept the JSON MCP surfaces#49
Conalh merged 1 commit into
mainfrom
pr3-readme-fix-surfaces

Conversation

@Conalh
Copy link
Copy Markdown
Owner

@Conalh Conalh commented May 29, 2026

Problem

The CLI reference documented a single <surface> placeholder as "one of: root_mcp, cursor_mcp, vscode_mcp, codeium_mcp, windsurf_mcp, claude, codex, aider, instructions."

But <surface> only ever appears as the --canonical argument to fix / fix pin, and both reject everything except the five JSON MCP surfacesplanEnabledStateFixes / planPinFixes throw --canonical must be a JSON MCP surface in v1 … for claude, codex, aider, and instructions. So the docs implied fix --canonical claude was supported when it errors out.

Fix

Docs-only. Split the wording into:

  • the nine surfaces PolicyMesh audits, and
  • the five JSON MCP surfaces fix / fix pin can actually align (with a note on why — the line-targeted JSON editor preserves comments/indentation only for those formats, and fix errors rather than risk a lossy TOML/other rewrite).

No code change; all 118 tests pass.

🤖 Generated with Claude Code

The CLI table listed a single `<surface>` placeholder backed by all nine
audited surfaces, but `<surface>` is only ever the `--canonical` argument to
`fix` / `fix pin`, which reject everything except the five JSON MCP surfaces
(root_mcp, cursor_mcp, vscode_mcp, codeium_mcp, windsurf_mcp). Split the docs
into the audit surface set vs. the (narrower) set fix can align, so the README
matches the code instead of implying `fix --canonical claude` works.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Conalh Conalh merged commit 5c5624e into main May 29, 2026
5 checks passed
@Conalh Conalh deleted the pr3-readme-fix-surfaces branch May 29, 2026 15:58
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