-
-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add a --health flag to statusline.sh for automated health checks and self-diagnostics.
Background
From production readiness audit (2025-12-13): No health check endpoint exists for automated monitoring or verification.
Requirements
- Add
--healthflag tostatusline.sh - Check all required dependencies (jq, curl, bash version)
- Verify all modules load successfully
- Validate configuration file exists and is parseable
- Check cache directory permissions
- Return exit code 0 for healthy, non-zero for issues
- Output JSON format for machine parsing
Example Output
$ ./statusline.sh --health
{
"status": "healthy",
"version": "2.11.5",
"modules_loaded": 11,
"modules_failed": 0,
"dependencies": {
"jq": "1.7",
"curl": "8.4.0",
"bash": "5.2.21"
},
"config": "valid",
"cache": "writable"
}Use Cases
- Automated monitoring systems
- Installation verification
- Troubleshooting diagnostics
- CI/CD health checks
Priority
🟡 Medium Priority
References
- Production Readiness Report:
docs/production-readiness-report.md
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request