Repository navigation
Conversation
talk.catalog advertised the stt-tts mode but gave clients no way to discover it: the speech section had no ready flag and speech provider entries carried no transports, while the session-create path only accepts transport=managed-room for stt-tts. Local-only installs could never tell Talk was usable (openclaw#165363). Add speech.ready (the active speech provider builds a usable tts config) and transports on speech entries, mirroring how transcription reports readiness and its gateway-relay transport.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesExpose selected-speech readiness and transport metadata, and make Android Talk admission follow its configured native or realtime route. Example: Android uses talk.realtime.mode="stt-tts" with a configured speech provider and no realtime provider.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains This PR addresses a current Talk readiness bug and retains useful unique work; the previous syntax finding is fixed, with no new actionable code findings. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe Gateway projects provider configuration into talk.catalog; Android combines that catalog with talk.config to decide whether Talk needs setup before starting its existing voice runtime. flowchart LR
Config[Gateway configuration] --> Catalog[Talk catalog]
Config --> Route[Existing Android route parser]
Catalog --> Readiness[Android readiness]
Route --> Readiness
Readiness --> Launcher[Talk launcher]
Launcher --> Runtime[Native or realtime runtime]
Technical reviewBest possible solution: Keep the existing Gateway readiness and Android route owners, with admission based on the selected route and existing device-TTS fallback preserved. Do we have a high-confidence way to reproduce the issue? Current-main source shows native stt-tts routing behind a realtime-only readiness gate; the linked report supplies an affected Android setup, but no device reproduction was run during this review. Is this the best way to solve the issue? The patch fixes the owning catalog and admission decisions using existing provider checks, route parsing, and refresh guards; the simplification pass found no unnecessary production machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 57d0e8e57ade. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +69, Tests +180, Docs +2. Total +251 across 12 files. Added test files: 0. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (9 earlier review cycles; latest 8 shown)
Reviewed October 21, 2026, 9:10 AM ET / 13:10 UTC (Revision 10). |
talk.catalog advertised the stt-tts mode but gave clients no way to discover it: the speech section had no ready flag and speech provider entries carried no transports, while the session-create path only accepts transport=managed-room for stt-tts. Local-only installs could never tell Talk was usable (openclaw#165363). Add speech.ready (the active speech provider builds a usable tts config) and transports on speech entries, mirroring how transcription reports readiness and its gateway-relay transport.
chessing234
left a comment
There was a problem hiding this comment.
Reviewed commit 2404bf77d27e0c2cbbdbe1f2828c73768f270ef5.
One correctness issue needs correction; see the inline finding.
Validation: source and contract inspection only; runtime tests were not run.
| speechAvailable && | ||
| configuredOrFalse(() => { | ||
| const setup = buildTalkTtsConfig(config); | ||
| return !("error" in setup); |
There was a problem hiding this comment.
[P2] Check provider configuration before reporting speech readiness
buildTalkTtsConfig() validates/resolves the selected provider but does not check speechProvider.isConfigured(). With talk: { provider: "elevenlabs", providers: { elevenlabs: {} } }, no API key in config/environment, and an available speech secret owner, this branch reports speech.ready: true while the same catalog reports that provider as configured: false. Clients using the new readiness flag can offer speech that cannot synthesize audio. Compute readiness with the existing effective-TTS/provider configuration check used below, and cover the missing-credentials case.
… state buildTalkTtsConfig assembles a TTS config even when the selected provider has no API key, so speech.ready could be true while the provider row reported configured=false and synthesis could not produce audio. Reuse the selected provider row's isConfigured check so the ready flag matches the row's effective configuration state (openclaw#165363 Rev 2).
…og-stt-tts Resolve the catalog-handler conflict in favor of main's async provider-catalog structure and re-express speech.ready against the active provider row's configured flag, so a missing-credentials provider no longer reports stt-tts as ready (openclaw#165363 Rev 2).
Use the existing Talk route parser to select native speech or realtime readiness. Preserve device-TTS fallback, reject stale readiness after configuration changes, and label both paths as Talk. Include the Gateway handler formatting repair. Co-authored-by: IWhatsskill <[email protected]>
Regenerate the source-owned native localization inventory for the route-aware Talk labels and configuration error. No runtime or translated catalog changes. Co-authored-by: IWhatsskill <[email protected]>
|
Added live Ran
A synthetic key was used and does not appear in the catalog output. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Related: #165363
What Problem This Solves
Android can reject a working native Talk setup because setup readiness is taken from an unrelated realtime provider, while
talk.catalogdoes not expose selected-speech readiness and transport metadata.User Impact
Configured native Talk can use device speech recognition and the selected speech provider without requiring a realtime provider. Existing device-TTS fallback is preserved for missing or unsupported speech providers; a selected, known provider without credentials still requires setup. Realtime Talk continues to use realtime readiness.
No configuration migration, schema change, or new dependency is introduced. Physical-device/live-provider and fresh-install/latest-stable upgrade validation remain outstanding; the evidence below does not claim those flows have been tested.
Why This Change Was Made
speech.readyfrom the active speech row's asynchronous configured result and exposemanaged-roomtransport metadata.Original implementation by @holny; Android route-readiness follow-up and CI correction contributed with @IWhatsskill.
Work sessions
Evidence
Current localization follow-up
Commit
7784d02a30ab425bfb75aef40a155ba778c3245achanges onlyapps/.i18n/native-source.json(4 additions, 2 deletions), generated bypnpm native:i18n:baseline.native app i18n inventory drift detectedfailure on63959e26026939388010d16ca2b133d0b7a4891busingpnpm native:i18n:verify.pnpm native:i18n:verifypasses, including Android and Apple source-localization checks; 4,483 inventory entries.git diff --checkpasses. Local runtime: Node 26.8.2, repository-pinned pnpm 12.9.0, frozen-lockfile dependencies.Android behavior and review — retained evidence for 63959e2
The localization-only follow-up does not change these runtime/test sources. These are prior-commit results, not a new execution of the whole suite:
Settings screenshots
Actual production Compose Settings rendering in a test harness, using French, a narrow viewport, and large text. These images demonstrate the shared label change only; they do not demonstrate successful Talk startup or audio. “Non vérifié” means “Unverified”: the fixture is deliberately disconnected. “Parler” is the translated “Talk” label.
Live
talk.catalogruntime proofBoth scenarios run against an isolated loopback Gateway (
gateway.mode=local,bind=loopback, port 18899) on the candidate build, invoked asopenclaw gateway call talk.catalog --params '{}'.Scenario A - active provider present, no credentials (
talk.provider=elevenlabs,talk.providers.elevenlabs={}):{ "speech.ready": false, "speech.activeProvider": "elevenlabs", "elevenlabs.configured": false, "elevenlabs.transports": ["managed-room"], "elevenlabs.modes": ["stt-tts"] }Scenario B - same active provider after adding credentials:
{ "speech.ready": true, "speech.activeProvider": "elevenlabs", "elevenlabs.configured": true, "elevenlabs.transports": ["managed-room"], "elevenlabs.modes": ["stt-tts"] }This is the readiness the fix derives from the active speech row: the selected, known provider reports
ready:false(configured:false) without credentials, andready:trueonce configured. A synthetic key was used and does not appear in the catalog output.CI failure disposition and remaining proof
The CI attempt for 63959e260269393 failed in two independent jobs:
native-i18n: missing source-inventory regeneration, corrected by the localization follow-up above.android-test-third-party: downloadinggradle-9.7.1-bin.zipreturned HTTP 500 before tests started. This is not a passing test result or evidence of a code failure. Its downstreamopenclaw/ci-gatealso failed.New-head hosted CI remains separate from the local passing check; no manual CI rerun or merge is claimed here. The live
openclaw gateway call talk.catalogevidence above closes the earlier runtime-proof gap; physical-device native Talk startup/audio, device fallback and unchanged realtime admission, and fresh-install/latest-stable upgrade runs with settings preserved remain outstanding. No full repository suite was run locally.Implementation history
ca0f5eeaa0edid not contain the production change;2404bf77d27supplied it.33df65b6c59apreserved main's asynchronous provider-catalog structure and corrected selected-provider readiness for missing credentials.63959e260269393added Android route-aware admission, fallback preservation, configuration-refresh protection, focused regressions, and the shared Talk label. The Android admission blocker is therefore no longer excluded from this PR's scope; live proof remains open as stated above.