GeezerVison is showing github.com — id: speech.* — client-side transcription by default, server capture per app (#2027) · Issue #2344 · developing-today/code
id: speech.* — client-side transcription by default, server capture per app (#2027) #2344DescriptionFollow-up from the capability taxonomy v0 investigation (#2027, record: doc/2026-10-29T14-05-00Z_investigation_capability_taxonomy/, PR #2337).
Goal
speech.* for human-conversation mode: speech.transcribe (client-side STT, the default), speech.capture (audio to server, per-app opt-in), speech.synthesize.
Why client-side first
The world model only needs text, and chat.say/events already carry text: client-side transcription costs ~no bandwidth and keeps audio on the device. speech.capture exists for devices that cannot run STT (most ESP32s) and for apps that need a better model. Per-app, not global — consent and provider choice differ per app.
Scope
- Caps and their refusal vocabulary:
cap_denied + consent_required (no consent), unknown_cap + device_lacks_affordance (no mic), failed + asr_unavailable.
speech.capture reuses the media.stream frame ceiling and consent rules; audio is never retained unless the program asks for an artifact (link the media.* follow-up).
- Interaction with the form/chat path: a transcribed utterance becomes a
chat.say-shaped or form-value input, not a new message type.
- Provider boundary: the taxonomy stays provider-neutral; which STT (browser engine, local WASM model, server ASR) is a runtime choice.
Acceptance
- Cap names in CATALOG with providers; a test for consent refusal and for a device without a microphone.
- Documented default (client-side) and the per-app opt-in path for server capture.
- No audio bytes in the journal by default.
Out of scope
Speaker diarisation, wake-word detection, continuous conversation loop, TTS voice selection.
Acceptance criteria
- speech.transcribe / speech.capture / speech.synthesize are in CATALOG with providers; transcription is client-side by default and server capture is per-app opt-in, documented
- Tests cover consent refusal (cap_denied + consent_required) and a device without a microphone (unknown_cap + device_lacks_affordance); asr_unavailable surfaces as failed
- speech.capture reuses the id: media.* — typed media artifacts by default, one bounded raw stream for realtime (#2027) #2342 media.stream frame ceiling and consent rules; no audio bytes in the journal by default (retention only via an explicit artifact request)
- A transcribed utterance enters as a chat.say-shaped or form-value input, not a new message type; the taxonomy stays provider-neutral
Activitydeveloping-today commented on Oct 29, 2026 dezren39 commented on Oct 29, 2026 Intake review
Related: parent investigation #2027 (record: PR #2337); siblings #2338-#2345 are the other taxonomy follow-ups
Notes: Filed 2026-10-29T14:04Z from #2027. Still live: no open or merged PR implements it. Depends on #2342 for the capture stream rules.
Risks: Per-app (not global) consent is the point of the design; a global capture toggle would undo it. Audio retention defaults matter for the same reason.
Suggested approach: Transcribe (client-side) first, synthesize alongside, capture last once #2342's stream exists.
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-10-29T14:30Z (09:30 CDT)
- Found via: monitor reconciliation
- Task: Duty 2 intake enrichment — acceptance criteria appended (original body preserved verbatim above it), labels normalized,
meta/enriched applied. Still-live check this pass: no merged PR or fix commit explicitly resolving this issue was found; where a queue triage task owns verification, it is named in the notes.
- Expectation: see the effort label; done = the appended acceptance criteria are met.
- Links: this issue
developing-today commented on Nov 3, 2026 agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03 dezren39 commented on Nov 3, 2026
🤖 Agent note · triaged — still live, not started; ordered behind #2342
- Agent: queue worker (
repo-worker-code), OpenChamber scheduled lane 335a5d1f-bfc1-4831-99ea-850c8939a727
- Session / ID: queue task 7905 (attempt 2; the earlier handoff to a bound opencode session expired unlaunched), triaged directly, 2026-11-03T17:16Z
Fresh state at current main 22892c316: nothing from this issue is implemented yet, and that is the correct state — the work is a capability addition on top of media.* (#2342), which is still open.
- CATALOG has no
speech.* entries. pkgs/id/crates/id-core/src/world_caps.rs registers exactly ten providers: time.now, time.tick, players, players.list, chat.say, chat.history, records.read, schedule.at, schedule.cancel, world.info. No speech.transcribe, speech.capture or speech.synthesize.
- The refusal vocabulary this issue asks for does not exist yet. The wire codes are
cap_denied, unknown_cap, bad_args, failed, actor_denied, outside_ceiling, result_too_large. consent_required, device_lacks_affordance and asr_unavailable are absent (the contract has a free-form advisory reason field next to the code, which is where they would land — that shape is a design decision for the implementer, not an existing mechanism).
- No audio/ASR surface in the tree:
git grep for microphone/asr/speech. under pkgs/id finds no provider, no journal retention path and no capability test.
- The provider-neutrality and "no audio in the journal by default" requirements are therefore unstarted, and the
speech.capture reuse requirement depends on id: media.* — typed media artifacts by default, one bounded raw stream for realtime (#2027) #2342's media.stream frame ceiling and consent rules — which is why I recorded the ordering natively: id: speech.* — client-side transcription by default, server capture per app (#2027) #2344 is now natively blocked-by id: media.* — typed media artifacts by default, one bounded raw stream for realtime (#2027) #2342 (verified: GET /issues/2344/dependencies/blocked_by → [2342]).
Fix path when it is picked up (unchanged from the packet, confirmed accurate): add the three provider entries + argument schemas to the registry in world_caps.rs (CATALOG is derived from it), extend the refusal vocabulary with the three codes, add consent/affordance/no-asr tests beside the existing cap_denied/unknown_cap asserts in world_ws.rs and world_dos.rs, and document the client-side default + per-app opt-in.
Ordering: after #2342 (media.*), before any app-side speech work; #2341 (loc.*) is the sibling slice and shares the consent rules.
No branch, worktree or PR created — triage verdict only. dezren39 commented on Nov 20, 2026
Picked up by repo-worker-code — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code posts progress markers; after 30 minutes of silence any other worker may pick this up.)
Resume PR #12095 CI follow-up; prior code complete, CI awaiting CodeRabbit. dezren39 commented on Nov 20, 2026
Progress from repo-worker-code: PR #12095 remains open/mergeable; CodeRabbit is IN_PROGRESS after five-minute CI poll. Parking until 20-minute recheck. dezren39 commented on Nov 20, 2026
Parked for 20 minutes: PR #12095 is mergeable and local validation passed, but CodeRabbit remains IN_PROGRESS after the five-minute CI poll. Resume by re-reading PR checks after the delay; merge only if all required checks are green and issue/PR restrictions remain clear. dezren39 commented on Nov 20, 2026 agent-note:v1
event: picked_up
task: 20703
lane: oc-code-04
worker: repo-worker-code
origin: openchamber-scheduled-lane
stage: claimed -> fresh_revalidation
Claimed task 20703 and recorded the required first checkpoint. Fresh issue state: #2344 is OPEN, with no hard-stop labels; the latest issue note explicitly resolves the former handoff gate and confirms the implementation budget fits its dedicated window. The saved implementation already exists as commit db92fd3 in PR #12095. Resuming only the PR/check follow-up; no source edits planned unless fresh review feedback requires them. dezren39 commented on Nov 20, 2026 agent-note:v1
event: done
task: 20703
lane: oc-code-04
worker: repo-worker-code
origin: openchamber-scheduled-lane
PR #12095 merged at 2026-11-20T08:16:25Z as merge commit cdc7295. The required CodeRabbit check passed; the saved id-caps test run (169 unit + 1 integration), formatting, and diff checks passed. Fresh GitHub verification confirms PR #12095 is MERGED and issue #2344 remains OPEN as the feature home. Removed the queue lifecycle labels. Bookkeeping deferred to fleet reconciliation.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|