feat: agents see the real board -- board-object read tools over MCP (goal 0179 close-out / ADR-0046 content plane) - #507
Merged
Conversation
…goal 0179 close-out / ADR-0046 content plane) atlas_read_board_objects/atlas_read_board_object close the gap goal 0179's close-out measured: zero mcpsvc code mentioned BoardObject while the Atlas UI already shows five board-object noun types beside cards. Both are curated read-only tools sitting beside the existing atlas_list_kinds/atlas_search_cards/atlas_read_card family, reusing AtlasService.Objects/ObjectMirrorContent/ObjectListProjection -- the same accessors the board's own renderers read from, no second read model. Per ADR-0046's content-plane boundary a file-backed object (image/ink/diagram) reports its mirror path/MIME type and, for text formats, the file's own content inline -- never base64 image/sheet bytes; a List-backed object (table) reports the projected List's id/label/columns/rows; a board-local object (shape) reports its own payload. Writes stay out of scope, waiting on the guardrail request-an-action entry per ADR-0047 SS5. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012im1JxQQV2ahnXzZDdVmZq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
atlas_read_board_objects(curated per-object summary, optionally scoped to a parent card) andatlas_read_board_object(full per-kind content read) beside the existingatlas_list_kinds/atlas_search_cards/atlas_read_cardfamily ininternal/services/mcpsvc.Test plan
go build ./...(desktop +-tags server)go vet ./internal/services/mcpsvc/... ./internal/services/atlassvc/...go test ./internal/services/mcpsvc/... ./internal/services/atlassvc/...-- new tests seed one board object of each source kind (file/list/board-local) and assert both tools' shapesgo-testw/-race+ coverage floor,golangci-lint,gocognit-new,depguard-new,comment-hygiene,file-loc-limit,go-build-desktop,go-build-server,go-vet)🤖 Generated with Claude Code
https://claude.ai/code/session_012im1JxQQV2ahnXzZDdVmZq