Repository navigation
Description
Description
Add a "Phase" column to the just gh-issues issue table that shows where each issue stands in the skill pipeline (as defined in docs/SKILL_PIPELINE.md). The phase is inferred from issue comments and linked PR/branch state, giving an at-a-glance view of progress without clicking into each issue.
Problem Statement
The just gh-issues dashboard shows issues with their metadata (priority, effort, assignee, branch, PR) but gives no signal about how far along the work is. An issue might have a branch but no design, or a full design but no implementation plan, or code already in review. Currently, you have to open each issue and scan the comments to understand its progress. For project triage and daily standups, a compact phase indicator would save significant context-switching.
Proposed Solution
Phase column (issues table)
Detect the pipeline phase per issue by scanning issue comments for well-known headings (mirroring the state detection in worktree_solve-and-pr), plus branch/PR state:
| Detected signal | Phase label |
|---|---|
| No branch, no comments | Backlog |
| Branch exists, no design comment | Claimed |
## Design comment found |
Design |
## Implementation Plan comment found |
Planned |
| Commits on branch (or plan + branch with commits) | In Progress |
| Linked PR exists (open) | In Review |
| Linked PR merged | Done |
Display as a color-coded "Phase" column (e.g., dim for Backlog, cyan for Claimed, yellow for Design/Planned, green for In Progress/In Review).
Column consolidation (PRs table) — open question
The current PR table has 10 columns (#, Title, Author, Assignee, Issues, Branch, CI, Review, Reviewer, Delta) which causes heavy truncation on normal terminal widths. Consider merging columns that carry related information into compact representations:
Review + Reviewer → single "Review" column using icons/shorthand per reviewer:
| State | Display |
|---|---|
| Review requested | ?alice (dim) |
| Pending / commented | ◎bob (yellow) |
| Approved | ✓carol (green) |
| Changes requested | ✗dave (red) |
This preserves all information (who + state) in one column instead of two, freeing horizontal space for the new Phase column and reducing truncation overall.
Other candidates for consolidation:
- Author + Assignee — often the same person on solo projects; could merge into
Ownershowing author, with assignee only when different. - Branch — already partially redundant with
Issuescolumn (branch name encodes issue number); could shorten or drop in favour of issue link.
Question: Which column merges feel right? The Review+Reviewer merge seems like the clearest win. Author+Assignee and Branch trimming are more opinionated — worth doing in the same pass or separate issue?
Alternatives Considered
- GitHub Projects board — provides a Kanban view but isn't integrated into the terminal dashboard and doesn't auto-detect phase from comments.
- Manual labels (e.g.,
phase:design,phase:in-progress) — requires discipline to update. Auto-detection from existing artifacts is more reliable and zero-overhead.
Additional Context
- This should be a sub-issue of [FEATURE] Rewrite gh-issues dashboard — Polars + Typer + responsive layout #145 (Rewrite gh-issues dashboard).
- The phase detection logic mirrors
worktree_solve-and-pr's state detection (seedocs/SKILL_PIPELINE.md§ State Detection). - The implementation needs a GraphQL or REST call to fetch issue comments (at least headings) — consider batching to avoid N+1 queries.
Impact
- Beneficiaries: Anyone using
just gh-issuesfor triage or daily planning. - Breaking change: No — additive column in the issue table, consolidation preserves information.
Changelog Category
Added
Acceptance Criteria
- Phase column renders in issue table with color-coded phase label
- Phase detection covers: Backlog, Claimed, Design, Planned, In Progress, In Review
- At least Review+Reviewer column merge implemented in PR table
- No information loss from column consolidation
- TDD compliance (see
.cursor/rules/tdd.mdc)
Activity
gerchowl commentedon Feb 23, 2026
Design
Scope
Two changes in
scripts/gh_issues.py:A. Phase Column (Issues Table)
Data Fetching
Extend the existing GraphQL query (
_LINKED_BRANCHES_QUERY) to also returncomments(first: 20) { nodes { body } }per issue. This avoids N+1 REST calls — one query fetches both linked branches and comments.Phase Detection Logic
New function
_detect_phase(issue_number, comments, branches, issue_to_pr)returns a(label, style)tuple:In Reviewbold green## Implementation Plancomment + branch existsIn Progressgreen## Implementation Plancomment foundPlannedyellow## Designcomment foundDesignyellowClaimedcyanBacklogdimComment scanning checks for lines starting with
## Designor## Implementation Plan— matching the exact H2 headings thatworktree_solve-and-pranddesign_brainstorm/design_planpost."In Progress" uses the simple heuristic: plan exists + branch exists (no commit-count API calls). Good enough for on-demand dashboard use.
Column Placement
After PR, before Prio. Width ~11 chars to fit "In Progress".
Result:
# | Type | Title | Assignee | Branch | PR | Phase | Prio | Scope | Effort | SemVerB. Review+Reviewer Merge (PR Table)
Merge the
Review(8 chars) andReviewer(12 chars) columns into a singleReviewcolumn (~18 chars):?alice(dim)◎bob(yellow)✓carol(green)✗dave(red)Multiple reviewers space-separated. Replaces
_infer_review()+_extract_reviewers()with a single_format_review()function. No information loss.C. Files Changed
scripts/gh_issues.pytests/test_gh_issues.pyD. Testing Strategy
_detect_phase()— unit tests covering all 6 phase transitions with mock data_format_review()— unit tests covering all reviewer state combinations (requested, pending, approved, changes requested, multiple reviewers, no reviewers)## Design/## Implementation Planscanning works correctly on real-ish comment bodiesgerchowl commentedon Feb 23, 2026
Implementation Plan
Task 1: Extend GraphQL Query for Comments
_LINKED_BRANCHES_QUERYto includecomments(first: 20) { nodes { body } }per issue_fetch_linked_branches()to return both branches and comments_fetch_linked_branches_and_comments()or split into two functionsTask 2: Phase Detection Logic
_detect_phase()covering all 6 phase transitions:## Designcomment found)## Implementation Plancomment found)## Implementation Plan+ branch exists)_detect_phase(issue_number, comments, branches, issue_to_pr)function## Design,## Implementation Plan)Task 3: Add Phase Column to Issues Table
_build_table()to call_detect_phase()and add phase cellTask 4: Merge Review+Reviewer Columns
_format_review()covering:?alicedim)◎bobyellow)✓carolgreen)✗davered)_format_review(pr)function combining_infer_review()+_extract_reviewers()logicTask 5: Testing & Verification
pytest tests/test_gh_issues.py -vruff check scripts/gh_issues.pypre-commit run --all-filesjust gh-issuesto verify Phase column renders correctlyAcceptance Criteria
test(gh_issues): add tests for _detect_phase function
feat(gh_issues): implement _detect_phase function for pipeline phase …
feat(gh_issues): extend GraphQL query to fetch comments and add Phase…
test(gh_issues): add tests for _format_review function
feat(gh_issues): implement _format_review function for merged Review …
feat(gh_issues): merge Review+Reviewer columns into single Review column
docs: update CHANGELOG for pipeline phase column feature
gerchowl commentedon Feb 24, 2026
Autonomous Run Complete
✅ Implementation completed and PR created
Summary
PR
Created PR #168: #168
Commits
test(gh_issues): add tests for _detect_phase functionfeat(gh_issues): implement _detect_phase function for pipeline phase detectionfeat(gh_issues): extend GraphQL query to fetch comments and add Phase columntest(gh_issues): add tests for _format_review functionfeat(gh_issues): implement _format_review function for merged Review columnfeat(gh_issues): merge Review+Reviewer columns into single Review columndocs: update CHANGELOG for pipeline phase column featureRefs: #157
(feature) Show pipeline phase (progress) per issue in gh-issues dashb…
c-vigo commentedon Jun 23, 2026
Built on the worktree pipeline migrated in #625 (#626 paths, #627 CLI swap). Coordinate so the dashboard reflects the new paths/CLI.
c-vigo commentedon Jul 7, 2026
@gerchowl proposing to close: feature request against the current gh-issues dashboard, which #145 proposes to rewrite wholesale — if the rewrite happens this should be folded into #145's spec instead of standing alone. Dormant since February. No branch to prune.
c-vigo commentedon Jul 8, 2026
Closing as part of an agreed backlog cleanup (with @gerchowl) — valid but dormant, no work in progress since the Nix migration. Reopen or refile fresh if picked up.