Skip to content

changing decision semantics after guardian timeout#17486

Merged
won-openai merged 3 commits intomainfrom
feat/guardian-timeout-pr2
Apr 12, 2026
Merged

changing decision semantics after guardian timeout#17486
won-openai merged 3 commits intomainfrom
feat/guardian-timeout-pr2

Conversation

@won-openai
Copy link
Copy Markdown
Collaborator

Summary

This PR treats Guardian timeouts as distinct from explicit denials in the core approval paths.
Timeouts now return timeout-specific guidance instead of Guardian policy-rejection messaging.
It updates the command, shell, network, and MCP approval flows and adds focused test coverage.


const GUARDIAN_TIMEOUT_INSTRUCTIONS: &str = concat!(
"The automatic approval review did not finish before its deadline. ",
"Do not assume the action is unsafe based on the timeout alone. ",
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thoughts on what the instruction shuold be?

@won-openai won-openai assigned won-openai and unassigned won-openai Apr 11, 2026
@won-openai won-openai merged commit ba839c2 into main Apr 12, 2026
21 of 22 checks passed
@won-openai won-openai deleted the feat/guardian-timeout-pr2 branch April 12, 2026 07:00
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 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.

2 participants