Repository navigation
feat(tracker): board shows what is in flight across repos - #331
Merged
Merged
Conversation
Owner
Author
|
bstack-judge: PASS+NOTES tier=1 sha=b3dd0f07f1b42022381832d48975d644a9dc07df PR 331: all four acceptance criteria are proven on the real command and I found no blocking defect. Head Criteria
Tests
Dropped hypotheses
Findings (non-blocking)
[{"id":"F1","title":"board truncates silently above 500 open issues or 200 open PRs","reproduction":"plugins/bstack/scripts/tracker.mjs repoBoard: --limit 500 / --limit 200 with no overflow marker","base":"not run","head":"not run","blocks":"no","files":["plugins/bstack/scripts/tracker.mjs"]}] |
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.
Request
#322
tracker.mjs board -R owner/repo [-R owner/repo ...]prints JSON per repo: open specs and maps with their progress; claimed tickets with their PR; open PRs with head, check state, latest verdict and number of blocking rounds; tickets labelledready-for-human; and whatnextgives.Closes #322
Why
A session that coordinates work (the orchestrator of #318) must rebuild where every piece of work stands from GitHub alone, across repos, with an empty context.
What changed
boardreads, per repo: one open-issue list, one open-PR list, one status query per open PR, andnext. Output per repo:plans(specs, maps and other issues with sub-issues, withprogress),claimed(with the open PRs that close them),prs(head,checks,verdictwith the SHA it judged andonHead,blockingRounds,closes),readyForHuman,next.ciState,judgedResults,blockingRounds), so the board and the guard cannot disagree.plan:researchand the like) count as work, not parents.{ repo, error }; the others still print. Without-Rit reads the current repo.labelsandnextrefuse more than one-R.Scope
Writes nothing to GitHub; no T3 threads. No assignee logins in the output.
Verification
node --test "tests/*.test.mjs": 876 pass, 0 fail. Three new board tests (shape and gate state, no bodies or names and reads only, an unreadable repo).node plugins/bstack/scripts/tracker.mjs board -R bfcarrasco/bstack -R bfcarrasco/does-not-exist-xyz: the second repo gives"error": "GraphQL: Could not resolve to a Repository ...", the first prints in full.ghfor this repo: specs 318/206/124 and map 207 match theplan:spec/plan:maplists, 206 shows 38/42 as its page; claimed 322, 321 (PR 330), 319 (PR 329), 102, 75 (PR 152) match the assigned list; PR 329 showsPASSon its head, matching itsbstack/judgestatus; PR 136 shows its failed checks;readyForHuman328, 308, 298, 131 match the label list.