Update MCP tools, SDK, and hooks for board-as-note #198
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone — board-pal-e-docs kanban unification. Depends on: "Update board API"
Repo
forgejo_admin/pal-e-docs-mcp,forgejo_admin/pal-e-docs-sdk,forgejo_admin/claude-customUser Story
As Betty Sue (AI agent)
I want MCP tools and hooks to work with board notes seamlessly
So that the operating model continues — session sync, label automation, merge-to-done — without disruption
Context
Downstream consumers of the board API: 12 MCP tools, 11 SDK methods, 4 hooks. If the API contract is stable (previous ticket), most changes are docstring/naming updates. The hooks in boards-config.sh reference board slugs which are now note slugs (same strings).
File Targets
Files to modify:
pal-e-docs-mcp/src/pal_e_docs_mcp/tools/boards.py— update docstrings, verify tool signatures still workpal-e-docs-sdk/src/pal_e_docs_sdk/boards.py— update docstrings, verify method signatures~/.claude/hooks/boards-config.sh— update comments (slugs are note slugs now)~/.claude/hooks/board-item-on-merge.sh— verify works with note-backed boards~/.claude/hooks/check-board-item.sh— verify validation still works~/.claude/hooks/session-start-board-sync.sh— verify sync worksAcceptance Criteria
Test Expectations
pytest tests/test_param_alignment.py -v(pal-e-docs-mcp)pytest tests/ -v(pal-e-docs-sdk)Constraints
Checklist
Related
project-pal-e-docs— consumer layer of kanban unificationScope Review: NEEDS_REFINEMENT
Review note:
review-317-2026-03-24Template is complete (all 11 sections present) and file targets are verified, but three issues need resolution:
~/.claude/hooks/session-start-context.shconsumes the board API (GET /boards/{slug}/items on lines 157, 398, 446) but is not listed in File Targets. Add as a verify-only target.tododespite the Forgejo issue being closed. Move todonebefore starting this work.Review Refinements (from review-317-2026-03-24)
Fix 1: Added missing file target —
~/.claude/hooks/session-start-context.shreads board API responses at 3 locations. Add as verify-only target (confirm response fields .column, .title, .item_type still work — they do, response is additive).Fix 2: Method count corrected — SDK BoardsMixin has 12 methods, not 11. Add docstring fix to scope.
Fix 3: Already resolved — board item #316 is in done column. Reviewer saw stale state.
Updated File Targets addition
Verify-only (confirm API response compatibility):
~/.claude/hooks/session-start-context.sh— reads .column, .title, .item_type from board item responses (lines 157, 398, 446)SDK docstring fix:
pal-e-docs-sdk/src/pal_e_docs_sdk/boards.py— correct "11 methods" to "12 methods" in BoardsMixin docstringScope Re-Review: NEEDS_REFINEMENT
Review note:
review-317-2026-03-24(updated)Two of three refinements verified; one remains unresolved:
tododespite Forgejo issue #197 being closed. Refinement claimed it was resolved but current board state contradicts this.Remaining action: Move board item #316 to
done(update_board_item(board-pal-e-docs, 316, column="done")). Once done, ticket is READY.