Connect policy-gated browser review and audit runtime
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
This commit is contained in:
parent
2cc32168ac
commit
83849b75d4
35 changed files with 2381 additions and 83 deletions
58
tests/fixtures/review-policy/fixtures.json
vendored
Normal file
58
tests/fixtures/review-policy/fixtures.json
vendored
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[
|
||||
{
|
||||
"id": "synthetic-allow",
|
||||
"request": {
|
||||
"id": "fixture-pin",
|
||||
"tenant": "tenant:platform",
|
||||
"subject": {
|
||||
"id": "human-fixture",
|
||||
"type": "human",
|
||||
"tenant": "tenant:platform"
|
||||
},
|
||||
"action": "read",
|
||||
"resource": {
|
||||
"id": "memo:memo-1",
|
||||
"type": "decision-memo",
|
||||
"system": "informed-decision",
|
||||
"tenant": "tenant:platform"
|
||||
},
|
||||
"context": {
|
||||
"memo_version": 1,
|
||||
"approval_id": "fixture",
|
||||
"approval_binding_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
},
|
||||
"policy_version": "v1"
|
||||
},
|
||||
"expect": {
|
||||
"effect": "allow"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "synthetic-refusal",
|
||||
"request": {
|
||||
"id": "fixture-pin",
|
||||
"tenant": "tenant:platform",
|
||||
"subject": {
|
||||
"id": "human-fixture",
|
||||
"type": "human",
|
||||
"tenant": "tenant:platform"
|
||||
},
|
||||
"action": "consume",
|
||||
"resource": {
|
||||
"id": "memo:memo-1",
|
||||
"type": "decision-memo",
|
||||
"system": "informed-decision",
|
||||
"tenant": "tenant:platform"
|
||||
},
|
||||
"context": {
|
||||
"memo_version": 1,
|
||||
"approval_id": "fixture",
|
||||
"approval_binding_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
},
|
||||
"policy_version": "v1"
|
||||
},
|
||||
"expect": {
|
||||
"effect": "deny"
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue