Skip to content

Run CI evals on the API key alone, never on subscription tokens #18272

Closed

Description

@kyle-sexton

Problem

The suite and label legs of .github/workflows/pr-run-plugin-evals.yml, the measuring passes of .github/workflows/maintenance-measure-skill-edit-pass.yml and the generate-edit proposer in .github/workflows/maintenance-measure-skill-edit.yml fall back from MAINTENANCE_CLAUDE_API_KEY to MAINTENANCE_CLAUDE_CODE_OAUTH_TOKEN and FALLBACK_CLAUDE_CODE_OAUTH_TOKEN on their own. With the org switch CLAUDE_EVALS_DISABLED set to false, any eval run could spend plan usage unasked.

Decision

The owner decided that every CI eval path runs on the API key alone and stops at its credit stop (Q14), and that compare mode stays key-only (Q53). These decisions authorize every loosened check listed under "Done when" (the leg-chain exemptions, the EXEMPTION_ISSUE suffix and the lowered detector floor).

Policy text: docs/review/evals.md (#18269).

Done when

  • No job in pr-run-plugin-evals.yml or maintenance-measure-skill-edit-pass.yml, and not generate-edit, reads a subscription or fallback token, and the pass's workflow_call.secrets take only MAINTENANCE_CLAUDE_API_KEY.
  • A key that is off, empty, skipped by the credit gate or stopped mid-run ends the run at a stop step that names the stop; it warns on a suite or label run and fails a measuring pass or the proposer.
  • The checks that enforced the three-leg chain follow the decision, each change named here:
    • callers.test.mjs: the eval lanes (run-eval in both eval workflows, compare-before, compare-after, measure-baseline, measure-baseline-again, generate-edit, measure-edit) waive the subscription and fallback legs under a key-only reason ending in (docs/review/evals.md), and EXEMPTION_ISSUE accepts that suffix beside (#13586), because these lanes are key-only by decision, not "cannot take every leg yet".
    • model-job-permissions.test.mjs: the detector floor drops from 40 to 36 model jobs, the four deleted subscription and fallback legs.
    • plugin-eval/credential-legs.test.mjs and maintenance-measure-skill-edit/credential-legs.test.mjs: the three-leg equivalence tables are replaced by key-only truth tables.
  • .github/lane-funding.json lists these lanes key-only.

Activity

  1. added
    session-owned
    on Nov 23, 2026
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

    session-owned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions