Skip to content

Document how a script reads the board - #108

Open
vijay40 wants to merge 1 commit into
emanuele-em:mainfrom
vijay40:document-board-reads
Open

vijay40 wants to merge 1 commit into
emanuele-em:mainfrom
vijay40:document-board-reads

Conversation

@vijay40

@vijay40 vijay40 commented Dec 6, 2026

Copy link
Copy Markdown

Documents how a script reads the board, as proposed in #106: GET /api/board and GET /api/tasks/<id>, and the task fields scripts can rely on, in "React to changes", where the README already says to read the board again after a reset. A test pins those fields, so renaming one fails CI rather than a user's script.

No code change beyond the test; nothing changes for MCP or its tokens. If you'd rather not promise these routes, I'm happy to cut it down to naming the route to read after a reset.

Fixes #106

  • cargo fmt --check, cargo clippy --all-targets -- -D warnings and cargo test pass
  • A board change was tried in a browser, in light and dark mode (no board change)
  • The README says what changed for users, if anything did

React to changes tells a reader to read the board again after a reset,
but no route for that was documented. Scripts already use /api/board
and /api/tasks/<id>, the board's own reads, and a change to the page
could break them without notice. Name the two routes and the task
fields scripts can rely on, and pin those fields with a test.
@vijay40
vijay40 marked this pull request as ready for review December 6, 2026 00:23
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.

Document how a script reads the board

1 participant