8b4784f5ed
- Archive config-secrets (FN-009) - 31 tasks complete - Archive runfusion-poc (FN-008) - 25 tasks complete - Archive deployment-config (FN-006) - 27 tasks complete - All changes moved to openspec/changes/archive/
840 B
840 B
ADDED Requirements
Requirement: Tool reports health status
The system SHALL provide a mechanism for OpenCode to report its health.
Scenario: Health endpoint
- WHEN the OpenCode container is running
- THEN it exposes a / endpoint for health checks
- AND returns 200 when the web terminal is ready
Scenario: Health check in Traefik
- WHEN the container is spawned
- THEN Traefik uses the health endpoint for routing decisions
- AND unhealthy containers are removed from the load balancer
Requirement: Platform tracks tool health
The system SHALL track and display the health of OpenCode instances.
Scenario: Status display
- WHEN the user views an OpenCode instance
- THEN the current status is displayed (healthy, unhealthy, starting)
- AND the status updates automatically