Skip to content

refactor(cli): remove 9 unused slash commands, fix help text bugs#2

Merged
markm39 merged 1 commit into
masterfrom
refactor/cleanup-unused-commands
Mar 28, 2026
Merged

refactor(cli): remove 9 unused slash commands, fix help text bugs#2
markm39 merged 1 commit into
masterfrom
refactor/cleanup-unused-commands

Conversation

@markm39
Copy link
Copy Markdown
Collaborator

@markm39 markm39 commented Mar 28, 2026

Summary

  • Remove 9 redundant/unused TUI slash commands: /clear, /sessions, /login, /status, /branches, /agents, /tasks, /questions, /instructions
  • Fix help text claiming "q quits" (actual quit is Ctrl+C)
  • Promote /lean command to tab completion and help (existed but was hidden)
  • Add /autonomous full to tab completion

Removed commands

Command Reason
/clear Functionally identical to /new
/sessions /resume with no args does the same thing
/login Just prints a static help message
/status Overlaps with /proof
/branches Covered by /proof
/agents Visible in TUI branch pane
/tasks Visible in TUI
/questions Questions display in TUI; /answer is kept
/instructions User can read AGENTS.md directly

Report functions on AppState are retained as public API for dashboard/headless use.

Test plan

  • cargo build -p openproof-cli
  • cargo clippy -p openproof-cli -p openproof-core -- -D warnings
  • cargo test --workspace (23 pass)
  • cargo fmt --check
  • Manual: type removed commands in TUI, verify "Unknown Command"
  • Manual: /help output is clean and accurate
  • Manual: /lean tab-completes and shows Lean state

Remove redundant and trivial commands that overlap with /proof or the TUI:
- /clear (duplicate of /new), /sessions (duplicate of /resume)
- /status, /branches, /agents, /tasks (trivial inspection, covered by /proof)
- /questions, /instructions, /login (low-value or non-functional)

Bug fixes:
- Help text said "q quits" but quit is Ctrl+C -- fixed
- /lean command existed but was missing from tab completion and help -- added
- /autonomous full subcommand missing from tab completion -- added
@markm39 markm39 merged commit 78b8849 into master Mar 28, 2026
3 checks passed
@markm39 markm39 deleted the refactor/cleanup-unused-commands branch March 28, 2026 03:41
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