Skip to content

No way to pass Responses API access_programs argument through codex harness #47834

Closed

Description

@lattwood

What issue are you seeing?

Hey,

The codex binary appears to filter out the access_programs.cyber argument on all requests-

.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.

/// 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>,

/**
* Requested cyber treatment for a ChatGPT-authenticated Codex turn.
* Authorization and model-tier restrictions remain server-owned.
*/
export type CyberAccessProgram = "standard" | "daybreakBlue" | "daybreakRed";

/// 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

  1. added
    bug
    on Sep 24, 2026
  2. added
    app-server
    safety-check
    on Sep 24, 2026
  3. Aze1338 commented on Sep 25, 2026

    @Aze1338

    when are we getting daybreak red to normal invidiual ?

  4. lattwood commented on Oct 7, 2026

    @lattwood
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app-serverbugsafety-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions