Codebase cleanup: extract dashboard, fix dead code, update README#13
Merged
Codebase cleanup: extract dashboard, fix dead code, update README#13
Conversation
- Extract dashboard rendering into dashboard.py (143 lines) - status_table(), status_json(), status_watch() with shared _build_table() - cli.py reduced from 757 to 580 lines - Remove dead code: cmd_start had duplicated inline tmux launch logic that was left behind when _launch_in_tmux was introduced - Remove unused import: time no longer needed in cli.py - Update CLI module docstring to list all current subcommands - Update README: - Document new commands: restart, attach, next, status --watch/--json - Add Session Management section (concurrency, branch detection, STOPPED) - Add tmux integration recipes - Update prerequisites to mention rich dependency - Organize commands into Task lifecycle / Monitoring / Navigation groups
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
Codebase cleanup: extract dashboard module, fix dead code, and update README to document all new features.
Code Changes
Extract
dashboard.py(new module, 143 lines)cli.py:status_table(),status_json(),status_watch()_build_table()helper eliminates the duplicated table-building code that existed between_status_tableand_status_watchcli.pyreduced from 757 to 580 lines (-23%)Fix dead code in
cmd_startcmd_startstill had 20 lines of inline tmux launch + output code that was left behind when_launch_in_tmux()was introduced in PR Unify CLI UX and add PR description updates in fix loop #9. This dead code path was never reached. Replaced with a single_launch_in_tmux()call.Remove unused imports
timewas no longer used incli.pyafter the dashboard extractionREADME Updates
restart,attach,next,status --watch,status --jsonrichdependency (auto-installed)File Size Summary
Tests