--- description: Show workflow version history allowed-tools: Read, Bash --- # Workflow History Display version history of all workflow sessions. ## Usage ``` /workflow:history # List all versions /workflow:history v001 # Show details for specific version /workflow:history --changelog # Show changelog for current version ``` ## Steps ### 1. List All Versions (default) ```bash python3 skills/guardrail-orchestrator/scripts/version_manager.py history ``` ### 2. Show Version Details If "$ARGUMENTS" is a version (e.g., `v001`): ```bash python3 skills/guardrail-orchestrator/scripts/version_manager.py changelog $ARGUMENTS ``` ### 3. Display Format **Version List**: ``` ╔══════════════════════════════════════════════════════════════════════╗ ║ WORKFLOW VERSION HISTORY ║ ╠══════════════════════════════════════════════════════════════════════╣ ║ ✅ v003: Dashboard with analytics ║ ║ Started: 2025-01-16T16:00:00 | Tasks: 12 | Ops: 45 ║ ║ ────────────────────────────────────────────────────────────────── ║ ║ ✅ v002: Task filters and search ║ ║ Started: 2025-01-16T14:00:00 | Tasks: 8 | Ops: 28 ║ ║ ────────────────────────────────────────────────────────────────── ║ ║ ✅ v001: User authentication ║ ║ Started: 2025-01-16T10:00:00 | Tasks: 5 | Ops: 18 ║ ╚══════════════════════════════════════════════════════════════════════╝ ``` **Version Changelog**: ``` ╔══════════════════════════════════════════════════════════════════════╗ ║ CHANGELOG: v001 ║ ╠══════════════════════════════════════════════════════════════════════╣ ║ Feature: User authentication ║ ║ Status: completed ║ ╠══════════════════════════════════════════════════════════════════════╣ ║ CREATED ║ ║ + [page] page_login ║ ║ app/login/page.tsx ║ ║ + [component] component_LoginForm ║ ║ app/components/LoginForm.tsx ║ ║ + [api] api_auth ║ ║ app/api/auth/route.ts ║ ║ UPDATED ║ ║ ~ [component] component_Header ║ ║ DELETED ║ ║ (none) ║ ╠══════════════════════════════════════════════════════════════════════╣ ║ SUMMARY ║ ║ Entities: +3 ~1 -0 ║ ║ Files: +4 ~2 -0 ║ ╚══════════════════════════════════════════════════════════════════════╝ ``` ### 4. Show Task Sessions If `$ARGUMENTS` includes `--tasks`: List all task sessions for the version with their operations: ``` Task Sessions for v001: ───────────────────────────────────────────────── 🎨 task_create_LoginPage (frontend) Status: completed | Duration: 5m 32s Operations: + CREATE file: app/login/page.tsx ~ UPDATE manifest: project_manifest.json Review: ✅ approved ⚙️ task_create_AuthAPI (backend) Status: completed | Duration: 8m 15s Operations: + CREATE file: app/api/auth/route.ts + CREATE file: app/lib/auth.ts Review: ✅ approved ```