# /status-summary — State Overview Dashboard

## Usage
```
/status-summary              # Full overview of all data
/status-summary ideas        # Ideas breakdown only
/status-summary goals        # Goals progress only
/status-summary hypotheses   # Hypotheses status only
/status-summary stale        # Only show stale/attention items
```

## Input
- `$ARGUMENTS` — optional: specific section to focus on (`ideas`, `goals`, `hypotheses`, `stale`)

## Process

### Step 1: Load Data
Read the relevant data files based on `$ARGUMENTS`:
- If no argument or `stale`: read `data/ideas.json`, `data/goals.json`, `data/hypotheses.json`
- If `ideas`: read only `data/ideas.json`
- If `goals`: read only `data/goals.json`
- If `hypotheses`: read only `data/hypotheses.json`

### Step 2: Generate Summary

#### Ideas Section
Count ideas by stage and format as a pipeline:

```
📦 Ideas Pipeline (N total)
───────────────────────────
inbox:        N  ██░░░░░░
under_review: N  █░░░░░░░
approved:     N  ██░░░░░░
in_progress:  N  ███░░░░░
testing:      N  █░░░░░░░
shipped:      N  █████░░░
deferred:     N
rejected:     N
```

Also show:
- **Critical priority items**: list any ideas with `priority: "critical"`
- **Stale inbox items**: ideas in `inbox` stage where `created_at` is more than 7 days ago
- **In-progress without updates**: ideas in `in_progress` where `updated_at` is more than 14 days ago

#### Goals Section
For each goal, show progress:

```
🎯 Goals (N total)
───────────────────
[status emoji] goal-001: "Lawyer Success"
   Category: activation | Status: behind
   Progress: 0 / 25 (0%)
   KPIs:
     • First Response Rate: 56.9% → target 90% ⚠️
     • Response Time: 64.45h → target 4h ⚠️
```

Status emojis: ✅ on_track, ⚠️ at_risk, 🔴 behind, 🏆 achieved

#### Hypotheses Section
Count hypotheses by status:

```
🧪 Hypotheses (N total)
───────────────────────
stated:      N
testing:     N
validated:   N
invalidated: N
deferred:    N
```

List any hypotheses in `stated` status older than 14 days (not yet tested).

#### Stale Data Alerts
Flag data freshness issues:
- `data/business-context.json` → check `last_manual_update`, alert if > 30 days ago
- `data/competitors.json` → check `last_updated`, alert if > 30 days ago
- `data/sessions.json` → check most recent session date, alert if > 7 days ago

```
⏰ Freshness Alerts
───────────────────
⚠️ Business context last updated 45 days ago (2026-01-02)
✅ Competitors data is fresh (updated 3 days ago)
⚠️ No analysis sessions in the last 7 days
```

### Step 3: Output
Print the full dashboard. This is a **read-only** command — no files are modified.

If issues are found, suggest `/manage` commands to fix them:
```
💡 Suggested actions:
  /manage move idea-old-001 to deferred (stuck in inbox 30 days)
  /manage update goal-001 status to at_risk
```

## Output Files
- None (read-only command)
