docs: update board hooks for board-as-note #154

Merged
forgejo_admin merged 1 commit from 153-board-as-note into main 2026-03-24 19:42:39 +00:00
Contributor

Summary

Update boards-config.sh comments to note that board slugs are now note slugs (note_type="board"). Verified all 4 board hooks remain compatible with the additive API response changes.

Changes

  • hooks/boards-config.sh -- Updated header comment and inline comment to document that board slugs are note slugs

Verified (no changes needed)

  • hooks/board-item-on-merge.sh -- Uses .id, .forgejo_issue_url, .column fields; all preserved in additive response
  • hooks/session-start-board-sync.sh -- Calls POST /boards/{slug}/sync; endpoint unchanged
  • hooks/session-start-context.sh -- Uses .column, .title, .item_type at lines 157, 398, 446; all preserved
  • hooks/check-board-item.sh -- Validates tool_input fields (item_type, labels, etc.); not affected by response changes

Test Plan

  • All hook files pass bash -n syntax check
  • API response is additive (new fields: note_id on BoardOut, board_note_id on BoardItemOut) -- existing field access unchanged
## Summary Update boards-config.sh comments to note that board slugs are now note slugs (note_type="board"). Verified all 4 board hooks remain compatible with the additive API response changes. ## Changes - `hooks/boards-config.sh` -- Updated header comment and inline comment to document that board slugs are note slugs ## Verified (no changes needed) - `hooks/board-item-on-merge.sh` -- Uses .id, .forgejo_issue_url, .column fields; all preserved in additive response - `hooks/session-start-board-sync.sh` -- Calls POST /boards/{slug}/sync; endpoint unchanged - `hooks/session-start-context.sh` -- Uses .column, .title, .item_type at lines 157, 398, 446; all preserved - `hooks/check-board-item.sh` -- Validates tool_input fields (item_type, labels, etc.); not affected by response changes ## Test Plan - All hook files pass `bash -n` syntax check - API response is additive (new fields: note_id on BoardOut, board_note_id on BoardItemOut) -- existing field access unchanged ## Related - Parent issue: forgejo_admin/pal-e-docs#198 - Local tracking: #153
Update boards-config.sh comments to note that board slugs are now note
slugs (note_type="board"). Verified all board hooks (board-item-on-merge,
session-start-board-sync, session-start-context, check-board-item) remain
compatible with the additive API response changes.

Ref: forgejo_admin/pal-e-docs#198

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
forgejo_admin deleted branch 153-board-as-note 2026-03-24 19:42:39 +00:00
Sign in to join this conversation.
No description provided.