feat: enhance service manager with manifest validation, logging rotation, and command existence checks
This commit is contained in:
@@ -30,6 +30,17 @@ python3 scripts/aiw/services.py start --profile fidelity --group inbox
|
||||
|
||||
The service manager unifies startup and status. It does not move capture behavior into the MCP.
|
||||
|
||||
## Robustness features
|
||||
|
||||
- Manifest validation before lifecycle actions.
|
||||
- Dependency-aware startup through `depends_on`.
|
||||
- Managed PID/state files under `.aiw/runtime/`.
|
||||
- Per-service logs under `.aiw/runtime/logs/`.
|
||||
- Simple log rotation before service start.
|
||||
- TCP/HTTP health checks.
|
||||
- Doctor checks for required commands and paths declared in the profile manifest.
|
||||
- Protection against starting duplicate services when a matching health check is already passing externally.
|
||||
|
||||
## Tests
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user