Maintenance
Cache cleanup, session pruning, and configuration reset operations.
The Settings & Maintenance TUI provides a visual interface for managing SCC’s configuration, clearing cache, and performing maintenance operations — all without leaving the terminal.
| Key | Action |
|---|---|
↑/↓ or j/k | Navigate actions |
←/→ or h/l | Switch categories |
Tab | Cycle categories |
Enter | Execute action |
i | Toggle info panel |
p | Preview affected paths and sizes |
? | Show help panel |
Esc / q | Go back / Close panels |
Maintenance
Cache cleanup, session pruning, and configuration reset operations.
Profiles
Save, apply, diff, and sync personal profiles from the TUI.
Diagnostics
Health checks and debugging tools like scc doctor.
About
Version info and file locations (scc config paths).
Each action has a risk tier that determines the confirmation level:
| Action | Risk | Description |
|---|---|---|
| Clear cache | Safe | Remove regenerable cache files |
| Clear contexts | Changes State | Clear recent work contexts |
| Prune containers | Changes State | Remove stopped Docker containers |
| Prune sessions | Changes State | Remove old sessions (keeps recent 20) |
| Reset exceptions | Destructive | Clear all policy exceptions |
| Delete all sessions | Destructive | Remove entire session history |
| Reset configuration | Destructive | Reset to defaults (requires setup) |
| Factory reset | Very Destructive | Remove all SCC data |
Actions like “Clear cache” execute immediately with just a success toast.
No confirmation required — these operations are always safe to run.
Actions like “Clear contexts” or “Prune containers” show a simple Y/N confirmation.
This will clear work contexts. Continue? [y/N]Actions like “Reset configuration” show an impact preview before confirming.
This will reset configuration.
Affected: ~/.config/scc/config.jsonYou will need to run 'scc setup' again.
Continue? [y/N]Factory reset requires typing “FACTORY RESET” to confirm.
⚠️ FACTORY RESET will remove ALL SCC data:- Configuration- Sessions- Exceptions- Cache
Type "FACTORY RESET" to confirm:Press p on any action to see exactly what will be affected before executing:
Clear cache
Paths affected: ~/.cache/scc/
Current size: 15.7 KBQuick cleanup after heavy usage
Open settings (s), select “Clear cache”, press Enter.
Starting fresh with a new organization
Open settings (s), select “Reset configuration”, confirm, then run scc setup.
Cleaning up old sessions
Open settings (s), select “Prune sessions” to keep only the 20 most recent per team.
All TUI actions are also available via CLI using scc reset:
# Clear cachescc reset --cache
# Clear contextsscc reset --contexts
# Prune sessions (keeps newest 20 per team)scc reset --sessions
# Factory reset (interactive confirmation)scc reset --all
# Non-interactive for scriptsscc reset --cache --yesscc reset Reference
Full CLI documentation for all reset flags. View reference →
Troubleshooting
Common issues and how to fix them. Get help →