Skip to content

GH#2665: add speech availability gates - #2668

Merged
superdav42 merged 1 commit into
mainfrom
feature/auto-20260904-174234-gh2665
Sep 5, 2026
Merged

GH#2665: add speech availability gates#2668
superdav42 merged 1 commit into
mainfrom
feature/auto-20260904-174234-gh2665

Conversation

@superdav42

Copy link
Copy Markdown
Contributor

Summary

Added a typed managed-speech availability result, local rollback gate, safe public availability metadata, service metadata projection, and content-free provider trace handling.

Files Changed

includes/Core/Features.php, includes/Core/ProviderTraceLogger.php, includes/Core/PublicChatSecurity.php, includes/Core/SpeechAvailability.php, includes/Core/SuperdavSiteConnectionService.php, includes/REST/SessionController.php, includes/REST/SpeechController.php, src/components/use-text-to-speech.js, tests/SdAiAgent/Core/FeaturesTest.php, tests/SdAiAgent/Core/SpeechAvailabilityTest.php, tests/SdAiAgent/REST/PublicChatControllerTest.php, tests/SdAiAgent/REST/SettingsControllerTest.php, tests/SdAiAgent/REST/SpeechControllerTest.php

Runtime Testing

  • Risk level: Critical
  • Verification: runtime-verified — runtime-verified: focused WordPress REST integration tests passed (125 tests, 563 assertions); PHP, JS, and CSS lint passed. Browser wp-env startup was blocked by an occupied local port.

Resolves #2665


aidevops.sh v3.32.306 plugin for OpenCode v1.18.29 with gpt-5.6-terra spent 1h 5m and 694,698 tokens on this as a headless worker.

@superdav42 superdav42 added the origin:worker Auto-created by pulse labelless backfill (t2112) label Sep 5, 2026
@github-actions github-actions Bot added the enhancement Auto-created from TODO.md tag label Sep 5, 2026
@superdav42

superdav42 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Completion Summary

  • What: Added a typed managed-speech availability result, local rollback gate, safe public availability metadata, service metadata projection, and content-free provider trace handling.
  • Issue: consolidated: Phase 7 speech rollout gates and safe fallback #2665
  • Files changed: includes/Core/Features.php, includes/Core/ProviderTraceLogger.php, includes/Core/PublicChatSecurity.php, includes/Core/SpeechAvailability.php, includes/Core/SuperdavSiteConnectionService.php, includes/REST/SessionController.php, includes/REST/SpeechController.php, src/components/use-text-to-speech.js, tests/SdAiAgent/Core/FeaturesTest.php, tests/SdAiAgent/Core/SpeechAvailabilityTest.php, tests/SdAiAgent/REST/PublicChatControllerTest.php, tests/SdAiAgent/REST/SettingsControllerTest.php, tests/SdAiAgent/REST/SpeechControllerTest.php
  • Testing: runtime-verified: focused WordPress REST integration tests passed (125 tests, 563 assertions); PHP, JS, and CSS lint passed. Browser wp-env startup was blocked by an occupied local port.
  • Key decisions: Browser speech stays opt-in and is used only when managed speech is explicitly unavailable; typed chat remains the failure path.

aidevops.sh v3.32.306 plugin for OpenCode v1.18.29 with gpt-5.6-terra spent 1h 6m and 694,698 tokens on this as a headless worker.


Merged via PR #2668 to main.
Merged by deterministic merge pass (pulse-wrapper.sh).

@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 99363b12-e1fb-4ce6-bce6-0bdc5b2fed30

📥 Commits

Reviewing files that changed from the base of the PR and between 86ed89b and ad91459.

📒 Files selected for processing (13)
  • includes/Core/Features.php
  • includes/Core/ProviderTraceLogger.php
  • includes/Core/PublicChatSecurity.php
  • includes/Core/SpeechAvailability.php
  • includes/Core/SuperdavSiteConnectionService.php
  • includes/REST/SessionController.php
  • includes/REST/SpeechController.php
  • src/components/use-text-to-speech.js
  • tests/SdAiAgent/Core/FeaturesTest.php
  • tests/SdAiAgent/Core/SpeechAvailabilityTest.php
  • tests/SdAiAgent/REST/PublicChatControllerTest.php
  • tests/SdAiAgent/REST/SettingsControllerTest.php
  • tests/SdAiAgent/REST/SpeechControllerTest.php

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ultimate-multisite ultimate-multisite Bot added the status:in-review PR open, awaiting review/merge label Sep 5, 2026
@superdav42
superdav42 merged commit 2bb2f7e into main Sep 5, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Auto-created from TODO.md tag origin:worker Auto-created by pulse labelless backfill (t2112) status:in-review PR open, awaiting review/merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

consolidated: Phase 7 speech rollout gates and safe fallback

1 participant