feat(board): sync linked PRs onto board items via cross-refs#91
Closed
snipcodeit wants to merge 1 commit intomainfrom
Closed
feat(board): sync linked PRs onto board items via cross-refs#91snipcodeit wants to merge 1 commit intomainfrom
snipcodeit wants to merge 1 commit intomainfrom
Conversation
- Add sync_pr_to_board utility to workflows/board-sync.md that calls addProjectV2ItemById to add a PR as a GitHub Projects v2 board item - Hook sync_pr_to_board into run.md after PR creation (non-blocking) - Hook sync_pr_to_board into pr.md update_state step (linked mode only) - Add board_reconcile step to sync.md that iterates cross-refs and calls sync_pr_to_board for all issue→PR implements links (idempotent, non-blocking) - Add board-sync.md to execution_context of pr.md and sync.md - Pull forward board-sync.md, board.md, issue.md, and state.md from prior milestone board issues (#71-#75) as this branch is based on main Closes #76 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This was referenced Mar 1, 2026
Owner
Author
|
Work included in main via integration merge from milestone-1 branch. |
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
sync_pr_to_boardutility toboard-sync.md— usesaddProjectV2ItemByIdto add a PR as a GitHub Projects v2 PR-type board itemsync_pr_to_boardintorun.mdandpr.mdafter PR creation (non-blocking throughout)board_reconcilestep tosync.mdthat walks cross-refs and callssync_pr_to_boardfor allimplements(issue→PR) links — idempotent and non-blockingCloses #76
Milestone Context
Changes
.claude/commands/mgw/workflows/board-sync.md— addedsync_pr_to_boardfunction, board reconciliation pattern, and updated purpose/consumers table.claude/commands/mgw/run.md—sync_pr_to_board $ISSUE_NUMBER $PR_NUMBERafter PR creation increate_prstep.claude/commands/mgw/pr.md—sync_pr_to_boardinupdate_statestep (linked mode), addedboard-sync.mdto execution_context.claude/commands/mgw/sync.md— newboard_reconcilestep iterates cross-refs and ensures all PR links have board items; addedboard-sync.mdto execution_contextboard.md,issue.md,workflows/state.mdfrom prior milestone issues (Design and scaffold GitHub Projects v2 board with MGW custom fields #71-Surface AI Agent State field on board items during GSD execution #75) since this branch is based on mainTest Plan
mgw:runcreates PR,sync_pr_to_boardis called — PR appears as board item in GitHub Projects v2mgw:prcreates PR (linked mode),sync_pr_to_boardis called — PR appears as board itemmgw:syncboard_reconcile step runs — any PR cross-refs without board items are syncednode_idmissing from project.json),sync_pr_to_boardis a silent no-opsync_pr_to_boardreturns 0 — pipeline continues uninterruptedaddProjectV2ItemByIdwith already-existing PR node ID is idempotent (GitHub returns existing item)