Repository navigation
Description
Drew's order (2026-11-13, main chat): in addition to using Whisper directly from the Cloudflare models, add Whisper (speech-to-text) and TTS into the OpenCode config, supporting routing pools, auto failover, and proper proxying to the model — possibly a pool for both directions.
Scope:
- Transcription models (Whisper family) and speech models (MeloTTS family) become first-class routable models in the OpenCode config, addressable through route pools like text models are today.
- Pools for both directions: a speech-to-text pool and a text-to-speech pool; evaluate one combined speech pool covering both directions and pick the shape that keeps direction/capability gating clean.
- Auto failover across providers carrying these models (Cloudflare Workers AI first; any other provider in the catalog carrying the same models joins as another door), with the standing routing rules (a 100%-walled leg is not attempted; failure skips to the next leg inside the same request).
- Proper proxying to the model: audio payloads pass through the route layer intact, with per-provider format translation where providers differ (the capabilities supplement's per-provider input-variance rule applies to audio too).
- Automatic silence removal in the OpenCode path as well as the Cloudflare-direct path: audio is trimmed / voice-activity-detected before transcription so silence is not billed or transcribed; for TTS, generated-audio duration is what is billed, so nothing extra is synthesized.
- Capability declarations: audio-in / audio-out capabilities declared on the models and pools per the Program: pool & effort system — effort tiers per pool, OpenChamber category pools, granular stats store (design mill) #9399 capabilities design (brief-capabilities-supplement sections 1-5), so a text-only request never routes to a speech pool and a speech request only lands on models that can serve it.
Sequencing: this is the config/pool layer; the #9399 design mill's capabilities work is the design authority where the two overlap — align, do not fork the design. The voice-line first step (companion issue) uses the Cloudflare-direct route and does not wait on this issue.
Acceptance: a transcription request and a speech request each served through a named pool in the running config, each demonstrably failing over to a second door when the first is made unavailable, with route attempts recorded the same way text attempts are.
Activity
developing-today commentedon Nov 14, 2026
CODE-3337
dezren39 commentedon Nov 14, 2026
🤖 Agent note · parked — substantial feature, not started in this lane's remaining window
dezren39 commentedon Nov 14, 2026
🤖 Agent note · blocked — gated on the #9399 capabilities design (the packet's own design authority)
Investigation (fresh, current main,
.opencode/opencode.jsonc— 3,785 lines):whisper-large-v3andwhisper-large-v3-turbounder the Groq provider, plus the Orpheus TTS models (canopylabs/orpheus-v1-english,canopylabs/orpheus-arabic-saudi). Thecloudflare-workers-aiprovider is likewise already in the config's provider set. So the doors exist; what does not exist is everything this issue actually adds on top of them.audioappears nowhere in the config, no model or pool carries an audio-in/audio-out capability declaration, and the route proxy (bin/opencode-route-proxy.mjs) has no audio path. This issue's scope states capability declarations must follow the Program: pool & effort system — effort tiers per pool, OpenChamber category pools, granular stats store (design mill) #9399 capabilities design ("align, do not fork the design"), and its acceptance — speech requests served through named pools with recorded failover — presupposes that capability gating so text requests never route to speech pools.Disposition:
gate-code-9801-capabilities-9399, tasks [16483]): it fires when Program: pool & effort system — effort tiers per pool, OpenChamber category pools, granular stats store (design mill) #9399 closes OR a merged PR adds audio capability declarations to.opencode/opencode.jsonc— whichever first shows the design has landed.dezren39 commentedon Nov 17, 2026
Agent note — state: triaged (re-verified) · task 19059, lane code-e
Pickup + triage re-verification for task 19059 (bulk-intake duplicate triage packet for #9801). Fresh checks this shift (2026-11-17T05:4xZ):
Verdict: this packet completes as triaged, naming task 16483's blocked disposition and its recorded first slice (adopt #9399 capability declarations → per-direction STT/TTS pools → one failover leg per direction → silence-trim). No new follow-on enqueued (would duplicate task 16483).
dezren39 commentedon Nov 17, 2026
Agent note — correction · lane code-e, task 19059 follow-up
Completing task 19059 made the broker create follow-on task 20447 (dedupe repo-health:v1:fix:developing-today/code:issue:9801). That is a duplicate of live task 16483, which already owns this work and is dep-blocked on #9399. Task 20447 has been cancelled as that duplicate (cancelled by repo-worker-code, lane code-e, 2026-11-17). No work is lost: task 16483 remains the owner with its recorded first slice, and its broker-watched gate on #9399 is unchanged. If task 16483 is ever cancelled or fails terminally, re-enqueue the fix packet under the same dedupe key.
dezren39 commentedon Nov 21, 2026
🤖 Agent note · picked up — revalidating the existing dependency gate
dezren39 commentedon Nov 21, 2026
🤖 Agent note · blocked — dependency gate revalidated; no implementation duplicated
status/parkedandqueue/parked. The required capabilities design has not landed, so OpenCode: Whisper STT + TTS as routed pool models — failover, proxying, silence auto-trim #9801 scope prohibits implementing/forking capability declarations ahead of it. Existing investigation and resume slice remain at OpenCode: Whisper STT + TTS as routed pool models — failover, proxying, silence auto-trim #9801 comment 6879073465.gate-code-9801-capabilities-9399is unmet. Resume when Program: pool & effort system — effort tiers per pool, OpenChamber category pools, granular stats store (design mill) #9399 closes or merged capability declarations land in.opencode/opencode.jsonc.