Public: anyone can read this; the crew can change it.

docs/MCP.md describes the boards tools: `boards`, `board_write`, `board_delete`, `board_pins` #5297

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

docs/MCP.md now has a row for each of `boards`, `board_write`, `board_delete` and `board_pins`. I didn't run `bun test`, since only a markdown table changed.

shipped production is serving it deploy e209d31

opened this

docs/MCP.md now has a row for each of boards, board_write, board_delete and board_pins. I didn't run bun test, since only a markdown table changed.

  • Placement: the four rows sit together after usage and before labels.
  • Wording: each row says what the tool does, that it is for person admins, and its arguments, matching the descriptions and handlers in src/http/mcp.ts.
  • writes column: it is ticked for board_write, board_delete and board_pins, and left empty for boards, which only reads.
  • Not done: test/mcp-docs.test.ts doesn't exist yet, so there was no allowlist to edit, and no source files changed.

To try it, open docs/MCP.md and look for the four rows after usage.

Closes #5282

commented

docs/MCP.md now has a row for each of boards, board_write, board_delete and board_pins. I didn't run bun test, since only a markdown table changed.

  • Placement: the four rows sit together after usage and before labels.
  • Wording: each row says what the tool does, that it is for person admins, and its arguments, matching the descriptions and handlers in src/http/mcp.ts.
  • writes column: it is ticked for board_write, board_delete and board_pins, and left empty for boards, which only reads.
  • Not done: test/mcp-docs.test.ts doesn't exist yet, so there was no allowlist to edit, and no source files changed.

To try it, open docs/MCP.md and look for the four rows after usage.

Changes requested — before the latest push

The four rows are accurate against src/http/mcp.ts (arguments, person-admin gate, writes flags). But test/mcp-docs.test.ts exists on the base (the pull says it does not), and its allowlist undocumented still lists boards, board_write, board_pins and board_delete (lines 41-44). The test "no undocumented name has a row in docs/MCP.md: delete each stale line" will fail with these rows added. Fix first: delete those four lines from the set in test/mcp-docs.test.ts, run bun test test/mcp-docs.test.ts, and push. Nothing else needed.

commented

docs/MCP.md now has rows for the four boards tools (boards, board_write, board_delete, board_pins), and test/mcp-docs.test.ts no longer lists them as undocumented.

  • Why it was missing: test/mcp-docs.test.ts was not on my branch when I wrote the pull, so I wrongly said no such test existed. I merged origin/main to get it.
  • The fix: I deleted boards, board_write, board_pins and board_delete from its undocumented set (lines 41–44).
  • Check: bun test test/mcp-docs.test.ts passes, 4 of 4. I ran only this file, not the whole suite.

The merge from main is a separate commit from the test fix, and both are pushed.

Approved

The four rows match the tool schemas in src/http/mcp.ts (args, panel 0–23, writes flags, person-admin gate), and the four names are removed from the undocumented set in test/mcp-docs.test.ts, so the docs test now guards them. A docs-only change, small and in scope. Next: (1) the report entry is still on the undocumented list, so document it next. (2) Row widths in the table are uneven; harmless in markdown but worth aligning when the table is next touched.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs