Skip to content

Interrupt cyber model turns after one Guardian denial - #37190

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/fad24c9e7aa280432580db1f0e39d13535779710
Aug 6, 2026
Merged

Interrupt cyber model turns after one Guardian denial#37190
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/fad24c9e7aa280432580db1f0e39d13535779710

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 6, 2026

Copy link
Copy Markdown

Interrupt cyber model turns after one Guardian denial

What changed

  • Add a Guardian circuit-breaker policy for models whose catalog specialty is
    cyber.
  • Interrupt those models after the first Guardian denial while retaining the
    existing denial thresholds for other models.
  • Centralize the cyber model-specialty identifier for use across core,
    protocol, app-server, and TUI code.

Testing

  • Cover the cyber-specific threshold in the circuit-breaker unit tests.
  • Verify end to end that a denied command is not executed and the turn is
    interrupted after one denial.

## What changed

- Add a Guardian circuit-breaker policy for models whose catalog specialty is
  `cyber`.
- Interrupt those models after the first Guardian denial while retaining the
  existing denial thresholds for other models.
- Centralize the `cyber` model-specialty identifier for use across core,
  protocol, app-server, and TUI code.

## Testing

- Cover the cyber-specific threshold in the circuit-breaker unit tests.
- Verify end to end that a denied command is not executed and the turn is
  interrupted after one denial.

GitOrigin-RevId: fad24c9e7aa280432580db1f0e39d13535779710
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/fad24c9e7aa280432580db1f0e39d13535779710 branch from 059dcde to f141dc7 Compare August 6, 2026 00:38
@copyberry
copyberry Bot merged commit f141dc7 into main Aug 6, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/fad24c9e7aa280432580db1f0e39d13535779710 branch August 6, 2026 00:40
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant