Skip to content

Add app-server coverage for Guardian V2 approval routing - #39035

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/78ba2b0560caf701ad333785c4dda4f7d2be4f2c
Aug 17, 2026
Merged

Add app-server coverage for Guardian V2 approval routing#39035
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/78ba2b0560caf701ad333785c4dda4f7d2be4f2c

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 17, 2026

Copy link
Copy Markdown

Add app-server coverage for Guardian V2 approval routing

What changed

  • Add end-to-end app-server tests for MCP tool approvals with Guardian V2 and automatic review enabled.
  • Verify that sampling receives the thread context, uses a thread-scoped prompt cache key, and persists the resulting action risk score.
  • Cover both routing outcomes: low-risk actions skip later Guardian reviews, while high-risk actions continue through full review.

## What changed

- Add end-to-end app-server tests for MCP tool approvals with Guardian V2 and automatic review enabled.
- Verify that sampling receives the thread context, uses a thread-scoped prompt cache key, and persists the resulting action risk score.
- Cover both routing outcomes: low-risk actions skip later Guardian reviews, while high-risk actions continue through full review.

GitOrigin-RevId: 78ba2b0560caf701ad333785c4dda4f7d2be4f2c
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/78ba2b0560caf701ad333785c4dda4f7d2be4f2c branch from 14875ac to 71e5e1e Compare August 17, 2026 17:25
@copyberry
copyberry Bot merged commit 71e5e1e into main Aug 17, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/78ba2b0560caf701ad333785c4dda4f7d2be4f2c branch August 17, 2026 17:26
balajirajput96 pushed a commit to balajirajput96/codex that referenced this pull request Aug 18, 2026
## What changed

- Add end-to-end app-server tests for MCP tool approvals with Guardian V2 and automatic review enabled.
- Verify that sampling receives the thread context, uses a thread-scoped prompt cache key, and persists the resulting action risk score.
- Cover both routing outcomes: low-risk actions skip later Guardian reviews, while high-risk actions continue through full review.

GitOrigin-RevId: 78ba2b0560caf701ad333785c4dda4f7d2be4f2c
balajirajput96 pushed a commit to balajirajput96/codex that referenced this pull request Aug 18, 2026
## What changed

- Add end-to-end app-server tests for MCP tool approvals with Guardian V2 and automatic review enabled.
- Verify that sampling receives the thread context, uses a thread-scoped prompt cache key, and persists the resulting action risk score.
- Cover both routing outcomes: low-risk actions skip later Guardian reviews, while high-risk actions continue through full review.

GitOrigin-RevId: 78ba2b0560caf701ad333785c4dda4f7d2be4f2c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant