## 1. Manifest Definition - [x] 1.1 Create apps/api/app/tools/manifests/opencode.yml with web terminal config - [x] 1.2 Add Docker image (ghcr.io/opencode-ai/opencode:latest), ports (3000), volumes - [x] 1.3 Add health check configuration to manifest - [x] 1.4 Validate manifest against ToolManifest schema ## 2. Container Setup - [ ] 2.1 Verify OpenCode image availability and configuration - [ ] 2.2 Document web terminal access pattern - [ ] 2.3 Configure environment variables for terminal support - [ ] 2.4 Test container locally with docker run - [ ] 2.5 Verify web terminal accessibility ## 3. Spawn Integration - [ ] 3.1 Verify SpawnService (FN-010) can spawn OpenCode instances - [ ] 3.2 Add OpenCode-specific volume mounts (config) - [ ] 3.3 Test spawn via API endpoint - [ ] 3.4 Verify Traefik routing to OpenCode container ## 4. Frontend Integration - [ ] 4.1 Add OpenCode to tool selection dropdown - [ ] 4.2 Display OpenCode-specific options in spawn form - [ ] 4.3 Show OpenCode instance status in detail page ## 5. Testing & Verification - [ ] 5.1 Test terminal availability in spawned container - [ ] 5.2 Test web interface accessibility - [ ] 5.3 Test health endpoint response - [ ] 5.4 Verify workspace mount is accessible - [ ] 5.5 Run full test suite: `make test` - [ ] 5.6 Run linters: `make lint` ## 6. Documentation - [ ] 6.1 Document OpenCode setup in docs/development.md - [ ] 6.2 Add OpenCode usage guide - [ ] 6.3 Document terminal configuration and AI features