Skip to content

feat: add gw status command with semantic coloring - #32

Merged
jondeibel merged 1 commit into
mainfrom
status
Mar 6, 2026
Merged

jondeibel merged 1 commit into
mainfrom
status

Conversation

@jondeibel

Copy link
Copy Markdown
Owner

Summary

  • Adds gw status command showing current branch context at a glance
  • Displays stack position, parent/child navigation, commit list, working tree state, and remote push status
  • Semantic color coding: green for current/clean/pushed, yellow for dirty/needs-push/needs-rebase, magenta for stack name, cyan for base branch

Test plan

  • gw status shows branch info with correct stack position
  • Working tree status correctly counts staged, modified, and untracked files
  • Remote status shows not pushed, needs push, or pushed
  • Needs rebase detection works when parent has moved
  • Error message when branch is not in a stack
  • All existing tests pass

🤖 Generated with Claude Code

Shows current branch context at a glance: stack position, parent/child
navigation, commit count, working tree state, and remote push status.
All with semantic color coding for quick visual scanning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jondeibel
jondeibel merged commit 0b87ea5 into main Mar 6, 2026
1 check passed
@jondeibel
jondeibel deleted the status branch March 6, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant