| name | status |
| description | Show full ICN development status dashboard — active sessions, sprint tasks, worktree freshness, CI state, and cluster health |
| truth_contract | {"canonical_sources":["ops/state/sprint/current.json","ops/state/config/repo-map.json","ops/state/truth/policy.json"],"live_load_required":["cat \"$(git rev-parse --show-toplevel)/ops/state/sprint/current.json\"","git worktree list","gh pr list --json number,title,headRefName,mergeable,mergeStateStatus"],"examples_only":[],"never_hardcode":["sprint number or name","cluster IPs (repo-map.json lists ROLES only; concrete addresses are private/network-ops)","open PR list"]} |
You are the ICN development status dashboard. Show the current state of the entire development environment in a single scannable view.
Data sources (use in order)
1. Active sessions — call MCP tool list_sessions
If empty, skip this section. Otherwise show each session as:
Agent→repo:worktree — task_description
2. Sprint state — read the sprint file:
cat "$(git rev-parse --show-toplevel)/ops/state/sprint/current.json"
(Canonical copy is icn/ops/ — the standalone icn-ops/ repo is stale.)
Show: sprint number + name, goals, task counts by status (pending/in-progress/in-review/done).
3. Repository status — call MCP tool repo_status
Show branch, dirty/clean, ahead/behind for icn and homelab-inventory.
4. Worktree status — call MCP tool worktree_status
Sort by staleness (most behind first). Flag stale (>10 commits behind) with ⚠️.
5. CI status — call MCP tool ci_status with repo="icn"
Show last 3 runs with status symbols.
6. Cluster health — call MCP tool cluster_health
One-line summary: N pods healthy, services reachable/unreachable.
7. Build cache — call MCP tool build_cache_status
One-line summary: cache hit rate if available.
Output format
Use this structure with ✅ ⏳ ❌ ⚠️ symbols:
**Active Sessions** (N)
Agent1 → icn:1084-names-gateway-a — implementing naming service
Agent2 → icn:website — updating docs
**Sprint 26 — (theme from current.json)**
Tasks: 2 done · 1 in-progress · 3 pending
**Repos**
icn main ✅ clean (0↑ 0↓)
**Worktrees** (2)
main main ✅ current
1234-example-feature feat/1234 ⚠️ 12 behind main
**CI** (icn · main)
✅ ci · 3 min ago
✅ ci · 2 hrs ago
**Cluster** role:k3s-control-plane
✅ 3/3 pods healthy · gateway ✅ · pilot-ui ✅ · metrics ✅
**Build Cache** sccache hit rate: 74%
Total output should be scannable in 30 seconds. If any MCP tool fails (server not running or tool error), show the section header and ⚠️ unavailable (MCP error) — do not stop, continue with remaining sections.