Skip to content

feat(mcp): expose pad_project ready + stale actions (TASK-2019)#878

Merged
xarmian merged 1 commit into
mainfrom
feat/task-2019-project-ready-stale-mcp
Jul 8, 2026
Merged

feat(mcp): expose pad_project ready + stale actions (TASK-2019)#878
xarmian merged 1 commit into
mainfrom
feat/task-2019-project-ready-stale-mcp

Conversation

@xarmian

@xarmian xarmian commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Exposes the agent-oriented pad project ready / pad project stale CLI commands on the MCP pad_project tool as read-only actions. Both commands already existed on the CLI and both HTTP dispatchers (dispatch_http_project.go) already existed — this PR just wires them onto the catalog surface.

  • ready — actionable backlog (query-oriented counterpart to next, reuses the dashboard's suggested-next logic)
  • stale — items needing attention (stalled, blocked, overdue, out of the active workflow)

pad project reconcile is deliberately NOT exposed: it shells out to gh to compare stored PR metadata against live GitHub state — a local-git dependency an MCP agent lacks. It's already documented as intentionally CLI-only in the dispatch unsupported-command map, alongside the github commands with the same locality argument, so no new task was needed.

Version bump

ToolSurfaceVersion 0.12 → 0.13 (pure addition of two read-only actions; backwards-compatible for v0.12 consumers). Updated in lockstep: version.go changelog, instructions.md heading + pad_project bullet, README catalog table + tool_surface_version, CLAUDE.md MCP section, and the drift-guard / cmdhelp tests.

Gates

  • golangci-lint run — 0 issues
  • go test ./... — pass
  • go test ./internal/mcp/... (drift guard) — pass
  • go build ./cmd/pad — ok
  • Codex review — CLEAN

https://claude.ai/code/session_019knGmnHcx5rrgWXQ8V8DZS

Add read-only `ready` and `stale` actions to the pad_project MCP tool,
mirroring the existing CLI `pad project ready` / `pad project stale`.
`ready` returns the actionable backlog (query-oriented counterpart to
`next`); `stale` lists items needing attention. Both HTTP dispatchers
already existed; this wires them onto the catalog surface.

`pad project reconcile` stays CLI-only (shells out to `gh` for live PR
state — a local-git dependency MCP agents lack).

Bumps ToolSurfaceVersion 0.12 -> 0.13 across version.go, instructions.md,
README, CLAUDE.md; adds readOnlyActions entries, drift-guard test entries,
and a SKILL.md routing line.

TASK-2019

Claude-Session: https://claude.ai/code/session_019knGmnHcx5rrgWXQ8V8DZS
@xarmian xarmian merged commit 4bacea5 into main Jul 8, 2026
3 of 4 checks passed
@xarmian xarmian deleted the feat/task-2019-project-ready-stale-mcp branch July 8, 2026 20:36
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