main claude/post-v0.43-roadmap-mf1ngx (scanning...) claude/refrakt-sentiment-mapping-e4v9zy claude/v041-composed-runes-guide claude/v041-project-rune-dir claude/plan-github-issues-sync-w4odbn (stale) claude/vscode-indented-markdoc (stale) claude/v039-bug-018-breadcrumb main claude/post-v0.43-roadmap-mf1ngx claude/refrakt-sentiment-mapping-e4v9zy claude/v041-composed-runes-guide claude/v041-project-rune-dir claude/plan-github-issues-sync-w4odbn claude/vscode-indented-markdoc
Setting up your dashboard 0 entities found · 4/7 branches scanned
Wire the @refrakt-md/plan CLI commands with the new schema fields from WORK-161 so the MCP server exposes them as cleanly typed tools. Each command gets a JSON Schema for its inputs and an mcpHandler that bypasses argv parsing and accepts a structured object directly.
Criteria completion: 0 of 7 (0%) checked; tracking started on May 1, no incremental history yet 0% 25% 50% 75% 100% May 1 Oct 28
Tracking started May 1 — check back for trends.
Acceptance Criteria next, update, create, status, validate, next-id, history, and init each declare inputSchema matching the documented option setEach command also declares mcpHandler(input) that calls the same underlying logic the argv handler calls (no argv string round-tripping) Argv handler delegates to mcpHandler after parsing, so there is one source of truth for the command's behavior outputSchema declared for the JSON output shape of next, update, status, validate, next-id, history (commands that already support --format json)Schemas live in runes/plan/src/commands/<name>.schema.ts (or co-located in the command file) and are exported alongside the existing handler Schemas cover documented options including enum values for status, priority, severity, type (so MCP clients can offer autocomplete / validation) Tests assert: argv handler and mcpHandler produce equivalent output for the same logical input; schemas are valid JSON Schema Approach For each command, factor the core logic into a function that takes a typed options object — separate from CLI argv parsing.
The argv handler parses argv into the options object and calls the core function.
The mcpHandler accepts the options object directly (validating against inputSchema first if not already validated upstream).
JSON Schemas are written by hand. Status enums and similar should reference shared constants from runes/plan/src/types.ts to stay in sync.
Dependencies WORK-161 — needs the extended CliPluginCommand interfaceReferences SPEC-043 — Refrakt MCP Server (Plan Tools)SPEC-022 — Plan CLI (option definitions per command)runes/plan/src/cli-plugin.ts — current plugin exportrunes/plan/src/commands/ — command implementations