Main Cognitive Steering Framework with enforcement - system health checks and workspace validation
When /main-hooks is invoked, IMMEDIATELY execute:
cd P:/__csf && python src/modules/observability/system_health.py
Parse output, highlight warnings and critical issues, provide actionable next steps.
Enforcement active: PreToolUse gate validates that Bash commands call system_health.py.
DO NOT:
system_health.pySystem health checks and workspace validation for CSF NIP ecosystem. With enforcement hooks to prevent incorrect CLI usage.
# Direct CLI execution (enforced - gate validates these)
cd P:/__csf && python src/modules/observability/system_health.py # All checks
cd P:/__csf && python src/modules/observability/system_health.py --quick # Fast check
cd P:/__csf && python src/modules/observability/system_health.py --all # Explicit all
cd P:/__csf && python src/modules/observability/system_health.py --health --json # JSON output
Core Infrastructure:
High-Impact Systems:
Feature Integrations:
External Systems:
| Flag | Description |
|---|---|
--health | System health status (default) |
--quick | Quick health check (skips slow checks) |
--all | Run all checks (explicit) |
--activity | Last hour system activity |
--blocked | Blocked actions and reasons |
--tests | Test coverage statistics |
--evidence | Evidence summary |
--packages | Check for outdated packages |
--llm | LLM provider health check |
--quota | API quota status |
--hooks | Hook smoke test |
--json | Output in JSON format |
--root <path> | Custom project root |
Overall Status:
HEALTHY (score ≥80%) — All systems operationalDEGRADED (score 50-79%) — Some warnings, investigateUNHEALTHY (score <50%) — Critical issues require attentionCommon Actions:
P:/
├── .claude/ # Claude Code runtime
├── __csf/ # CSF NIP system
│ └── src/modules/observability/system_health.py
└── projects/ # Applications