78aaddb2b5
- Add frontend-foundation change (FN-005) with 46 tasks - Add deployment-config change (FN-006) with 27 tasks - Add runfusion-poc/opencode-poc change (FN-008) with 25 tasks - Add config-secrets change (FN-009) with 31 tasks - Add codeserver-spawn change (FN-010) with 38 tasks - Include project specsheet and configuration - Archive completed deployment-config change
23 lines
840 B
Markdown
23 lines
840 B
Markdown
## 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
|