--- name: config-audit:status description: Show current session state and available actions allowed-tools: Read, Glob model: sonnet --- # Config-Audit: Status Display current session state and guide next actions. ## Usage ``` /config-audit status ``` ## Implementation 1. **Find active session**: ``` Glob: ~/.claude/config-audit/sessions/*/state.yaml Sort by modification time Use most recent ``` 2. **Read session state**: ```yaml session_id: "20250126_143022" current_phase: "analyze" completed_phases: ["discover", "analyze"] next_phase: "interview" ... ``` 3. **Display status**: ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Config-Audit Session Status ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Session: 20250126_143022 Started: 2025-01-26 14:30:22 PHASE PROGRESS ────────────── ✓ Phase 1: Discover - 15 files found (current directory) ✓ Phase 2: Analyze - report generated ○ Phase 3: Interview - not started (optional) ○ Phase 4: Plan - not started ○ Phase 5: Implement - not started NEXT ACTION ─────────── Run: /config-audit interview Or: /config-audit plan (skip interview) SESSION FILES ───────────── Scope: ~/.claude/config-audit/sessions/20250126_143022/scope.yaml Findings: ~/.claude/config-audit/sessions/20250126_143022/findings/ Report: ~/.claude/config-audit/sessions/20250126_143022/analysis-report.md ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ``` 4. **If no session found**: ``` No active config-audit session found. Start a new audit with: /config-audit # Full audit with auto-scope /config-audit discover # Discovery phase only ``` ## Session Information Display based on completed phases: | Phase | Info to Display | |-------|-----------------| | scope | Scope type, paths to scan | | discover | Files found count, issues count | | analyze | Conflicts, duplicates, opportunities | | interview | Preferences summary | | plan | Actions count, risk level | | implement | Success/fail counts, backup location | ## List All Sessions With `all` flag: ``` /config-audit status all ``` Shows: ``` All config-audit sessions: | Session | Phase | Created | |---------|-------|---------| | 20250126_143022 | analyze | 2025-01-26 14:30 | | 20250125_091500 | complete | 2025-01-25 09:15 | | 20250120_160000 | implement | 2025-01-20 16:00 | ``` ## Resume Session If multiple sessions exist: ``` /config-audit resume {session-id} ``` Sets that session as active and continues from last phase.