Repository navigation
Description
What issue are you seeing?
Hey,
The codex binary appears to filter out the access_programs.cyber argument on all requests-
codex/codex-rs/core/src/cyber_access_program.rs
Lines 10 to 11 in 282cd7b
| .filter(|_| auth.is_some_and(CodexAuth::is_chatgpt_auth)) | |
| .map(AccessPrograms::from) |
This means you can't use the codex harness for TAC/Daybreak Blue without compiling your own codex binary, which breaks app signatures for ChatGPT.app.
What steps can reproduce the bug?
- Have access to Daybreak Blue via API key.
- Not be able to use it via the Codex app-server harness.
What is the expected behavior?
When invoking turn.start, if a value for cyber_access_program is provided it should get passed through when using an API key for authentication, and if the API key is not authorized for cyber it should error and put the responsibility of disabling it on the user.
codex/codex-rs/app-server-protocol/src/protocol/v2/turn.rs
Lines 258 to 262 in 3d2ee51
| /// EXPERIMENTAL - Request a workspace-authorized cyber program for this | |
| /// turn. Omission preserves automatic behavior. This does not grant access. | |
| #[experimental("turn/start.cyberAccessProgram")] | |
| #[ts(optional = nullable)] | |
| pub cyber_access_program: Option<CyberAccessProgram>, |
codex/codex-rs/app-server-protocol/schema/typescript/v2/CyberAccessProgram.ts
Lines 5 to 9 in 3d2ee51
| /** | |
| * Requested cyber treatment for a ChatGPT-authenticated Codex turn. | |
| * Authorization and model-tier restrictions remain server-owned. | |
| */ | |
| export type CyberAccessProgram = "standard" | "daybreakBlue" | "daybreakRed"; |
codex/codex-rs/codex-api/src/common.rs
Lines 28 to 44 in 3d2ee51
| /// Explicit per-request access selection using the Responses API wire values. | |
| #[derive(Debug, Clone, Copy, PartialEq, Serialize)] | |
| pub struct AccessPrograms { | |
| cyber: &'static str, | |
| } | |
| impl From<CyberAccessProgram> for AccessPrograms { | |
| fn from(program: CyberAccessProgram) -> Self { | |
| Self { | |
| cyber: match program { | |
| CyberAccessProgram::Standard => "standard", | |
| CyberAccessProgram::DaybreakBlue => "daybreak_blue", | |
| CyberAccessProgram::DaybreakRed => "daybreak_red", | |
| }, | |
| } | |
| } | |
| } |
Additional information
No response
Activity
Aze1338 commentedon Sep 25, 2026
when are we getting daybreak red to normal invidiual ?
lattwood commentedon Oct 7, 2026
Thanks @mldangelo-oai !