Enable CLI Daybreak by default and enforce background-turn eligibility (#53701)

## What changed

- Mark `cli_daybreak` as stable and enable it by default.
- Apply Daybreak to background turns only for eligible OpenAI accounts, allowing API-key accounts when `api_key_cyber_access_programs` is enabled. Preserve saved settings for ineligible accounts and report account lookup failures when Daybreak is enabled for the OpenAI provider.
- Skip inheriting Daybreak configuration when the app server does not support reading effective configuration.

## Testing

Expand dynamic-tool request tests to cover the feature toggle, ChatGPT and API-key authentication, API-key program eligibility, and unsupported configuration reads.

GitOrigin-RevId: 55a57315c9f527f977dd8305ea62d4096ed7dae9
This commit is contained in:
Brian Lee
2026-10-13 15:33:50 +00:00
committed by copyberry
parent f6aca7dc46
commit 6fbfc352ca
6 changed files with 91 additions and 25 deletions
+2 -2
View File
@@ -1411,8 +1411,8 @@ pub const FEATURES: &[FeatureSpec] = &[
FeatureSpec {
id: Feature::CliDaybreak,
key: "cli_daybreak",
stage: Stage::UnderDevelopment,
default_enabled: false,
stage: Stage::Stable,
default_enabled: true,
},
FeatureSpec {
id: Feature::ApiKeyCyberAccessPrograms,