mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:16:05 +00:00
Propagate trusted root skills to delegated workers (#41118)
## Why Guardian reviews for delegated workers need to recognize skills explicitly invoked by the user on the root turn. ## What changed - Record verified user-owned skill paths as bounded, turn-matched Guardian evidence. - Include trusted paths from the current worker and its root snapshot when building review context. - Exclude skill trust from later root turns so stale authorization is not inherited. ## Testing - Add an app-server lifecycle test covering inheritance of a root-invoked skill by a delegated worker and its removal on the next root turn. GitOrigin-RevId: aa28f485edb7a447e51d51de8dc89b959fd63d40
This commit is contained in:
1 parent
aa89cf62bb
commit
694edc23b2
6 files changed
+144
-16
No files matched your search
@@ -205,6 +205,7 @@ impl GuardianAuthorizationVersion {
|
||||
pub struct GuardianRootSnapshot {
|
||||
pub authorization_version: GuardianAuthorizationVersion,
|
||||
pub messages: Vec<GuardianRootMessage>,
|
||||
pub trusted_skill_paths: Vec<String>,
|
||||
}
|
||||
|
||||
pub struct CodexThread {
|
||||
|
||||
Reference in new issue
Block a user