Skip to content

Commit 54babd8

Browse files
committed
test: add expected refusal receipt fixture
1 parent 64609c8 commit 54babd8

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"receipt_id": "RCP-ESP-001-EXPECTED",
3+
"scenario_id": "ESP-001",
4+
"attempt_id": "ATT-ESP-001-INVALID-001",
5+
"attempted_action": "SEND_EXTERNAL_EMAIL",
6+
"actor": "agent://morpheus-draft-bot-v1",
7+
"action_type": "SEND_EXTERNAL_EMAIL",
8+
"recipient_scope": "external:partner-domain.com",
9+
"payload_hash": "sha256:a3f8c2d1e7b904561ac38fd2e190bba47c2d3f8a1e056b7c9d4e2f1a8b3c7d90",
10+
"missing_field": "authority_token",
11+
"decision": "DENY",
12+
"refusal_reason": "authority_token absent — no valid DecisionRecord for this actor, action_type, recipient_scope, and payload at gate time",
13+
"downstream_send": false,
14+
"receipt_written": true,
15+
"state_mutated": false,
16+
"replay_marker": "same invalid attempt must produce same decision and missing_field"
17+
}

0 commit comments

Comments
 (0)