feat(board): add handoff history, external refs, and related items - #11
Merged
Conversation
Handoffs only kept the newest one even though older ones exist in the event log; external URLs (issue/PR links) and cross-references between cards had no structured field, just free text in titles/notes. Adds handoffHistory (capped, newest-first) alongside latestHandoff, externalRefs (plain URLs), and relatedItemIds to ProjectBoardItem, wired through the decider/projector/MCP tools, and surfaced in the board panel UI (collapsible history, link chips, related-item picker). Claude Sonnet 5, Claude Code
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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
handoffHistory(capped, newest-first) alongsidelatestHandoff.externalRefs(plain URLs, e.g. GitHub issue/PR links) as a structured field instead of free text in titles/notes.relatedItemIdsfor cross-referencing board items to each other.board_items_jsonis a JSON blob column, new fields areSchema.optional.projector.ts(upstream file) touched minimally: one added import line + edit inside the existing handoff-appended case body.Test plan
vp test runonprojector.test.ts,decider.projectBoard.test.ts,mcp/toolkits/board/handlers.test.ts— 26/26 passingvp run typecheckclean forcontracts,shared,server,webvp lintclean on touched filesClaude Sonnet 5, Claude Code