Problem
The regression test revealed that several essential session management commands are missing from the SHARDS CLI.
Missing Commands
shards destroy <session>
- Should remove a specific session
- Clean up worktree directory
- Remove git branch (local and remote)
- Remove session from persistence registry
- Kill any running processes
shards cleanup
- Should clean up orphaned sessions
- Remove sessions with missing worktree directories
- Clean up stale git branches
- Validate and repair session registry
shards info <session>
- Should show detailed information about a session
- Display worktree path, git branch, agent type, creation time
- Show current status (active, orphaned, etc.)
Current Behavior
shards destroy: Command not recognized
shards cleanup: Command not recognized
shards info: Command not recognized
Expected Behavior
All three commands should be implemented and working as described above.
Acceptance Criteria
Related
This was discovered during regression testing in scripts/regression-test.sh.
Problem
The regression test revealed that several essential session management commands are missing from the SHARDS CLI.
Missing Commands
shards destroy <session>shards cleanupshards info <session>Current Behavior
shards destroy: Command not recognizedshards cleanup: Command not recognizedshards info: Command not recognizedExpected Behavior
All three commands should be implemented and working as described above.
Acceptance Criteria
shards destroy <session>removes session completelyshards cleanuphandles orphaned sessionsshards info <session>shows session detailsRelated
This was discovered during regression testing in
scripts/regression-test.sh.