Files
headquarter/openspec/changes/archive/2026-05-14-runfusion-poc/specs/health-reporting/spec.md
T
alex 8b4784f5ed
CI / Web CI (push) Failing after 10s
CI / API CI (push) Failing after 11s
chore(openspec): archive completed changes
- 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/
2026-05-16 11:33:37 +02:00

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