Cycle 16: Health v2 Report — opt-in Git column + --filter stranded/paused - #71
Merged
Conversation
render_portfolio gains an optional git_states param that appends a 7th Git column (unmerged:<b1>+<b2> / unpushed:<n> / - when clean); the default (git_states=None) is byte-identical to the 6-column form. cli status now always renders the Git column (sourced via read_gitstate) and --filter accepts the two v2-only classes stranded/paused (selected with classify_health_v2 over the project's git state); the v1 classes keep their exact meaning and the health column stays v1. Tests: +7 report (Git column formats, clean/missing/empty), +2 cli (--filter stranded, Git column present). Gate green (142 passed, ruff, mypy). Closes #67, #68, #69, #70
This was referenced Aug 20, 2026
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
Surfaces the merged Health v2 building blocks (Cycle 14
read_gitstate/GitState, Cycle 15classify_health_v2) in thestatusreport.fleet/report.py—render_portfolio(healths, git_states=None): an opt-in 7thGitcolumn appended at the end (after Health).git_states=None(default) is byte-identical to the 6-column form. New_fmt_githelper:-when clean,unmerged:<b1>+<b2>/unpushed:<n>/ combined with,.fleet/cli.py—statusnow always renders the Git column (sourced viaread_gitstateper project) and--filteraccepts the two v2-only classesstranded/paused(selected withclassify_health_v2over the project's git state). The v1 classes keep their exact meaning; thehealthcolumn stays v1 (full v2 wiring is Cycle 17).Tests
tests/test_report.py+7: 6-column byte-identical, 7-column header/separator, clean-,unmerged:,unpushed:, combined, missing-name default, empty-input 7-column row.tests/test_cli.py+2:--filter strandedselects exactly the stranded project;statusalways shows the Git column. Existing status expected-computations updated to pass_git_states(root)(tmp projects are not git repos → every Git cell is-).test_cli_open_issues_always_zerounchanged (Git appended at end, open_issues still index 4).Gate
pytest tests/ -q→ 142 passed (was 133);ruff check fleet/clean;mypy fleet/ --ignore-missing-importsclean.Closes #67, #68, #69, #70