feat(status): add milestone health report with board URL and velocity#98
Closed
snipcodeit wants to merge 1 commit intomilestone-1from
Closed
feat(status): add milestone health report with board URL and velocity#98snipcodeit wants to merge 1 commit intomilestone-1from
snipcodeit wants to merge 1 commit intomilestone-1from
Conversation
Extends mgw:status with a Milestone Health section showing completion ratio, velocity (issues/day from .mgw/ file mtimes), and blocked count. Adds board URL banner at top of output when board_url is set in project.json, and --board flag to open the board in a browser. Closes #83 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
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
mgw:statuswith a Milestone Health section showing completion ratio (done/total), velocity (issues/day), and blocked countboard_urlis configured inproject.json--boardflag to open the project board directly in a browser viaxdg-open.mgw/active/and.mgw/completed/file modification times — no new state fields requiredCloses #83
Milestone Context
Changes
commands/status.mdargument-hint— added[--board]flag documentationparse_arguments— addedOPEN_BOARD=falseinit and--boardcasedetect_project— addedBOARD_URL=""initialization (ensures variable always defined)load_project— addedBOARD_URLextraction fromproject.json(board_urlorboard.url)open_board(new step) — opens board URL viaxdg-open/openand exits; errors when no board configuredcompute_health(new step) — computesHEALTH_DONE,HEALTH_BLOCKED,HEALTH_VELOCITYfrom issue stages and.mgw/file mtimesdisplay_dashboard— added board URL banner (conditional) before header; added Milestone Health section after issue tablejson_output— addedboard_urltop-level field andmilestone.healthsub-objectsuccess_criteria— added 7 new checklist itemsTest Plan
mgw:statuswith no board configured: no board URL line shown, Milestone Health section displays with velocity and blocked countmgw:statuswithboard_urlinproject.json: board URL line appears before the━━━headermgw:status --boardwith board configured: opens URL viaxdg-open, exits 0, does not render dashboardmgw:status --boardwith no board configured: prints error to stderr, exits 1mgw:status --jsonoutput includesboard_urlstring andmilestone.healthobject withdone,total,blocked,velocity0/daywhen no done issues,1 (single)for one done issue,X.X/dayfor two or moreblockedpipeline stagemgw:status 2(specific milestone number) works unchanged alongside new flags