Skip to content

cortex-tms dashboard

The cortex-tms dashboard command launches a full-screen interactive terminal UI showing real-time governance health for your TMS project β€” file tiers, staleness, sprint progress, validation status, and Guardian results in one place.

β—† CORTEX TMS DASHBOARD
Project: cortex-tms
2:47:35 PM
βœ… GOVERNANCE HEALTH
92/100
overall quality score
Validation: healthy
Guardian: compliant
Stale docs: 1
πŸ“… DOCUMENTATION FRESHNESS
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
95%
Fresh docs: 19/20
Oldest: 23 days
Status: 1 need review
🎯 SPRINT PROGRESS
Current: v4.0.0 - Quality Governance & Staleness Detection
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
90%
βœ… Done: 9 β”‚ πŸ”„ In Progress: 1 β”‚ πŸ“‹ Todo: 0
πŸ”₯ ACTIVE FILES (6)
β€’CLAUDE.md
β€’NEXT-TASKS.md
β€’docs/core/PATTERNS.md
β€’docs/core/ARCHITECTURE.md
β€’CHANGELOG.md
πŸ“ FILE DISTRIBUTION
πŸ”₯ HOT 6 (27%)
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
~ WARM 12 (55%)
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
❄️ COLD 4 (18%)
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
πŸ“ FILE SIZE HEALTH
🟑 NEXT-TASKS.md 172/200 lines (86%)
🟒 docs/core/PATTERNS.md 98/200 lines (49%)
β–  VALIDATION STATUS
βœ… HEALTHY
Last checked: 2m ago
β–  GUARDIAN CODE REVIEW
βœ… All Clear
Last review: 5 minutes ago
Run: cortex-tms review <file>
Terminal window
cortex-tms dashboard [options]

The dashboard is built with React + Ink β€” it runs entirely in your terminal, no browser required. Navigate between three views using the 1, 2, 3 keys and quit with q or Ctrl+C.


Enable auto-refresh. The dashboard re-runs collectTMSStats() every 5 seconds and updates all cards.

Terminal window
cortex-tms dashboard --live

Run the dashboard against a different project directory instead of the current working directory.

Terminal window
cortex-tms dashboard --cwd /path/to/project

Navigate with number keys:

KeyViewWhat you see
1OverviewGovernance score, staleness, sprint progress
2FilesHOT files list, tier distribution, file size health
3HealthValidation status, Guardian violations
qβ€”Quit the dashboard

A composite 0–100 score calculated from validation status, Guardian results, and staleness data.

DeductionReason
βˆ’40 ptsValidation errors
βˆ’20 ptsValidation warnings
βˆ’30 ptsGuardian major violations
βˆ’15 ptsGuardian minor issues

Color coding: 🟒 green (80+) Β· 🟑 yellow (60–79) Β· πŸ”΄ red (below 60)

Shows git-based doc freshness when staleness detection is configured.

  • Stale docs β€” count of docs flagged as outdated
  • Total checked β€” how many governance docs were scanned
  • Freshness % β€” percentage of docs still current
  • Oldest doc β€” days since the least-recently-updated doc was touched

Only shown when staleness data is available (requires full git history).

Reads your NEXT-TASKS.md sprint header and task markers:

  • Sprint name and focus area
  • Visual progress bar
  • Done / In Progress / Todo task counts

Shows a β€œNot Configured” card if no sprint is detected in NEXT-TASKS.md.


Lists all files currently tagged as HOT tier β€” the files your AI agents will always read.

Bar chart breakdown of HOT / WARM / COLD file counts across your project.

Highlights any docs that are approaching or exceeding line limits (Rule 4). Only shown when oversized files are detected.


Mirrors the output of cortex-tms validate:

  • Status β€” Healthy / Warnings / Errors / Unknown
  • Violation count β€” number of issues found
  • Last checked β€” relative timestamp of last validation run

Shows the result of the last cortex-tms review run:

  • Status β€” No violations / Minor issues / Major violations / Unknown
  • Total violations β€” full count
  • High-confidence violations β€” filtered to β‰₯70% confidence
  • Last checked β€” relative timestamp

Terminal window
# Open the dashboard and browse manually
cortex-tms dashboard

KeyAction
1Switch to Overview view
2Switch to Files view
3Switch to Health view
qQuit
Ctrl+CForce quit

The dashboard calls the same collectTMSStats() pipeline used by cortex-tms validate and cortex-tms status. All data is read from:

  • .cortexrc β€” project configuration
  • NEXT-TASKS.md β€” sprint detection
  • Git history β€” staleness detection (requires fetch-depth: 0 in CI)
  • Last validation/review results β€” validation and Guardian cards

No external API calls are made. All data is local.