---
name: forge:status
description: Show FORGE project status including current milestone, tasks, events, and progress. Use when user asks "forge status" or wants to see project progress.
argument-hint: [-v|--verbose]
allowed-tools:
  - Read
  - Bash
---

<objective>
Display current FORGE project status including milestone progress, task states, event count, and team activity.

Purpose: Provide visibility into project state and progress.
Output: Formatted status table with milestone, tasks, events, and counts.
</objective>

<execution_context>
**Load these files NOW:**

- @state/STATE.json (current project state)
- @src/commands/status.ts (status command implementation)
</execution_context>

<context>
**Verbosity:** Standard (summary) or -v (verbose with full details)
**State File:** state/STATE.json
**Events Directory:** state/events/

**Status Information:**
- Project name and version
- Current milestone and phase
- Task counts by status (pending, in_progress, completed)
- Total events processed
- Team member activity
- Recent commits
</context>

<process>
**Execute the status command:**

1. **Load State**
   ```bash
   forge status
   # or
   forge status -v  # verbose mode
   ```

2. **Parse STATE.json**
   - Extract project metadata
   - Count tasks by status
   - Count events from state/events/
   - Get current milestone/phase

3. **Format Output**
   ```
   PROJECT: FORGE v1.0-M1
   STATUS: in_progress

   MILESTONE: v1.0-M1 (Foundation)
   PHASE: Complete

   TASKS:
     ✅ Completed: 27/27
     🔄 In Progress: 0
     ⏳ Pending: 0

   EVENTS: 47 events processed

   TEAM ACTIVITY:
     ARCHITECT: 6/6 tasks complete
     STATE-ENGINE: 4/4 tasks complete
     CLI-ENGINE: 5/5 tasks complete
     TEMPLATES: 6/6 tasks complete
     GIT-OPS: 6/6 tasks complete
   ```

4. **Verbose Mode** (-v flag)
   - Show all tasks with IDs and owners
   - List recent events
   - Show contract status
   - Display worktree activity
</process>

<output_formats>
**Standard:** Summary with counts and milestone
**Verbose (-v):** Full task list, recent events, team details
</output_formats>
