Repository navigation
fix(config): reject ignored audio transcription settings - #109226
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bb4eb6de33
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 80da6be3db
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Merged via squash.
|
…9226) * fix(config): reject retired audio transcription config * fix(config): align dead audio cleanup contracts * fix(doctor): detect retired audio config
…9226) * fix(config): reject retired audio transcription config * fix(config): align dead audio cleanup contracts * fix(doctor): detect retired audio config
What Problem This Solves
Fixes an issue where operators could set the retired
audio.transcriptionconfig and have OpenClaw accept it even though runtime consumption was removed when inbound media understanding moved totools.media.audio.Why This Change Was Made
Remove the dead
audio.transcriptionsurface from current exported types, strict schema, help, labels, generated baselines, and the Plugin SDK public-export budget. Keep the existing raw doctor migration and register its legacy detector soopenclaw doctor --fixsees the key before unknown-key cleanup, then moves valid legacy commands totools.media.audio.modelsor removes invalid values before current-schema validation.No other config or environment surface changes. Broader alias and config/env consolidation remains a maintainer decision because those keys are shipped contracts.
AI-assisted with Codex. I reviewed the code, history, migration ordering, current-main behavior, sibling dead-key coverage, and generated contract changes.
User Impact
Current config validation now rejects the ignored top-level
audiokey instead of silently accepting a no-op setting. Existing installations retain the supported upgrade path throughopenclaw doctor --fix.Evidence
pnpm deadcode:fullpassed, including the orphan-export lane that caught the initial helper miss.pnpm check:changedpassed, covering generated baselines, Plugin SDK contracts, typechecks, complete core lint shards, docs/tooling guards, and changed-surface checks./prepare-pr, zero findings, behavior sweep passed.git diff --checkpassed.