MCP had no PR-link action: the `field` description sent agents to a human,
because `pad github link` reads the local branch and asks `gh`, and a
field write of github_pr is refused (BUG-2696). An agent that opened a PR
could not record it on the item.
- `pad github link <ref> --pr-number N --pr-url U [--pr-title --pr-state
--pr-branch --pr-repo]` links a PR the caller names. Nothing is fetched
from GitHub, and it needs neither a checkout nor `gh`. Without the flags
the command behaves as before. Under --format json, link and unlink
answer with the item.
- pad_item.action=link-pr / unlink-pr, on both transports. Remote PATCHes
the typed github_pr / clear_github_pr members, and unlink-pr refuses an
item with no link, as the CLI does. The catalog's `ref` is passed as the
commands' item-ref positional.
- github link / unlink leave the remote CLI-only table; github status
stays. The BUG-2696 guard is re-aimed: these two must be routed, and no
remaining hint may advertise the github_pr field write.
ToolSurfaceVersion 0.95, additive (0.93 is #2096, 0.94 is #2097).
Claude-Session: https://claude.ai/code/session_01FAVXA5mJ5BNhKmv95jxQkQ