451 lines
9.2 KiB
JSON
451 lines
9.2 KiB
JSON
{
|
|
"evidence": "synthetic-research-only",
|
|
"runtimeEnforcementProven": false,
|
|
"binding": {
|
|
"actor": "actor-1",
|
|
"host": "host-1",
|
|
"seat": "seat-1",
|
|
"project": "project-1",
|
|
"workspace": "workspace-1",
|
|
"conversation": "conversation-1",
|
|
"branch": "leaf-1",
|
|
"execution": "incarnation-1",
|
|
"controllerGeneration": 2
|
|
},
|
|
"request": {
|
|
"actor": "actor-1",
|
|
"host": "host-1",
|
|
"seat": "seat-1",
|
|
"project": "project-1",
|
|
"workspace": "workspace-1",
|
|
"conversation": "conversation-1",
|
|
"branch": "leaf-1",
|
|
"execution": "incarnation-1",
|
|
"controllerGeneration": 2,
|
|
"authenticated": true,
|
|
"accessGranted": true,
|
|
"operation": "prompt",
|
|
"message": "hello",
|
|
"source": "broker",
|
|
"role": "controller",
|
|
"claim": "held"
|
|
},
|
|
"admission": [
|
|
{"id":"refuse extension command during streaming", "patch":{"message":"/dangerous-command", "streaming":true}, "expected":false},
|
|
{"id":"refuse second launcher while claim held", "patch":{"operation":"launch"}, "expected":false},
|
|
{
|
|
"id": "admit exact synthetic binding",
|
|
"patch": {},
|
|
"expected": true
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign actor",
|
|
"patch": {
|
|
"actor": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign host",
|
|
"patch": {
|
|
"host": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign seat",
|
|
"patch": {
|
|
"seat": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign project",
|
|
"patch": {
|
|
"project": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign workspace",
|
|
"patch": {
|
|
"workspace": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign conversation",
|
|
"patch": {
|
|
"conversation": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign branch",
|
|
"patch": {
|
|
"branch": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign execution",
|
|
"patch": {
|
|
"execution": "foreign"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse stale or foreign controllerGeneration",
|
|
"patch": {
|
|
"controllerGeneration": 0
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse authenticated=False",
|
|
"patch": {
|
|
"authenticated": false
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse accessGranted=False",
|
|
"patch": {
|
|
"accessGranted": false
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse role=observer",
|
|
"patch": {
|
|
"role": "observer"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse claim=uncertain",
|
|
"patch": {
|
|
"claim": "uncertain"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse source=old-board",
|
|
"patch": {
|
|
"source": "old-board"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse source=tmux-paste",
|
|
"patch": {
|
|
"source": "tmux-paste"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse source=native-terminal",
|
|
"patch": {
|
|
"source": "native-terminal"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse operation=bash",
|
|
"patch": {
|
|
"operation": "bash"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse operation=switch_session",
|
|
"patch": {
|
|
"operation": "switch_session"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "refuse operation=set_permission_mode",
|
|
"patch": {
|
|
"operation": "set_permission_mode"
|
|
},
|
|
"expected": false
|
|
}
|
|
],
|
|
"queue": [
|
|
{
|
|
"id": "q1",
|
|
"state": "queued",
|
|
"actor": "old-controller",
|
|
"attachments": [
|
|
"upload-1"
|
|
]
|
|
},
|
|
{
|
|
"id": "q2",
|
|
"state": "dispatched",
|
|
"actor": "old-controller",
|
|
"attachments": []
|
|
},
|
|
{
|
|
"id": "q3",
|
|
"state": "delivery-unknown",
|
|
"actor": "old-controller",
|
|
"attachments": []
|
|
}
|
|
],
|
|
"recoveredQueue": [
|
|
{
|
|
"id": "q1",
|
|
"state": "draft",
|
|
"actor": "old-controller",
|
|
"attachments": [
|
|
"upload-1"
|
|
]
|
|
},
|
|
{
|
|
"id": "q2",
|
|
"state": "dispatched",
|
|
"actor": "old-controller",
|
|
"attachments": []
|
|
},
|
|
{
|
|
"id": "q3",
|
|
"state": "delivery-unknown",
|
|
"actor": "old-controller",
|
|
"attachments": []
|
|
}
|
|
],
|
|
"stopProof": [
|
|
{
|
|
"id": "idle without cohort proof is not stopped",
|
|
"cohortVerified": false,
|
|
"liveMembers": 0,
|
|
"effectsReconciled": true,
|
|
"expectedStopped": false
|
|
},
|
|
{
|
|
"id": "live tool child is not stopped",
|
|
"cohortVerified": true,
|
|
"liveMembers": 1,
|
|
"effectsReconciled": true,
|
|
"expectedStopped": false
|
|
},
|
|
{
|
|
"id": "unreconciled effects retain uncertainty",
|
|
"cohortVerified": true,
|
|
"liveMembers": 0,
|
|
"effectsReconciled": false,
|
|
"expectedStopped": false
|
|
},
|
|
{
|
|
"id": "synthetic confirmed stop proof",
|
|
"cohortVerified": true,
|
|
"liveMembers": 0,
|
|
"effectsReconciled": true,
|
|
"expectedStopped": true
|
|
}
|
|
],
|
|
"uploads": [
|
|
{
|
|
"id": "attachment caps exact boundary",
|
|
"sizes": [
|
|
20971520,
|
|
20971520,
|
|
20971520,
|
|
20971520,
|
|
20971520
|
|
],
|
|
"expected": true
|
|
},
|
|
{
|
|
"id": "too many attachments",
|
|
"sizes": [
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1
|
|
],
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "file over cap",
|
|
"sizes": [
|
|
20971521
|
|
],
|
|
"expected": false
|
|
},
|
|
{
|
|
"id": "message over cap",
|
|
"sizes": [
|
|
20971520,
|
|
20971520,
|
|
20971520,
|
|
20971520,
|
|
20971520,
|
|
1
|
|
],
|
|
"expected": false
|
|
}
|
|
],
|
|
"approval": {
|
|
"pending": {
|
|
"id": "approval-1",
|
|
"intent": "intent-1",
|
|
"execution": "incarnation-1",
|
|
"generation": 2,
|
|
"choices": [
|
|
"allow",
|
|
"deny"
|
|
]
|
|
},
|
|
"responses": [
|
|
{
|
|
"value": {
|
|
"id": "approval-1",
|
|
"intent": "intent-1",
|
|
"execution": "incarnation-1",
|
|
"generation": 2,
|
|
"choice": "deny"
|
|
},
|
|
"expected": true
|
|
},
|
|
{
|
|
"value": {
|
|
"id": "approval-1",
|
|
"intent": "intent-1",
|
|
"execution": "incarnation-1",
|
|
"generation": 2,
|
|
"choice": "allow"
|
|
},
|
|
"expected": true
|
|
},
|
|
{
|
|
"value": {
|
|
"id": "other",
|
|
"intent": "intent-1",
|
|
"execution": "incarnation-1",
|
|
"generation": 2,
|
|
"choice": "deny"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"value": {
|
|
"id": "approval-1",
|
|
"intent": "other",
|
|
"execution": "incarnation-1",
|
|
"generation": 2,
|
|
"choice": "deny"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"value": {
|
|
"id": "approval-1",
|
|
"intent": "intent-1",
|
|
"execution": "old",
|
|
"generation": 2,
|
|
"choice": "deny"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"value": {
|
|
"id": "approval-1",
|
|
"intent": "intent-1",
|
|
"execution": "incarnation-1",
|
|
"generation": 1,
|
|
"choice": "deny"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"value": {
|
|
"id": "approval-1",
|
|
"intent": "intent-1",
|
|
"execution": "incarnation-1",
|
|
"generation": 2,
|
|
"choice": "always-allow"
|
|
},
|
|
"expected": false
|
|
},
|
|
{
|
|
"value": {
|
|
"id": "approval-1",
|
|
"intent": "intent-1",
|
|
"execution": "incarnation-1",
|
|
"generation": 2,
|
|
"choice": "deny",
|
|
"updatedPermissions": []
|
|
},
|
|
"expected": false
|
|
}
|
|
]
|
|
},
|
|
"uncertain": {
|
|
"allowBlindReplay": false,
|
|
"releaseWriterClaim": false,
|
|
"promptSuccessProvesAnswer": false
|
|
},
|
|
"pi": {
|
|
"interruptSequence": [
|
|
"fence-dispatch",
|
|
"persist-draft-intent",
|
|
"clear_queue",
|
|
"abort",
|
|
"reconcile"
|
|
],
|
|
"clearResponse": {
|
|
"type": "response",
|
|
"command": "clear_queue",
|
|
"success": true,
|
|
"data": {
|
|
"steering": [],
|
|
"followUp": [
|
|
"next"
|
|
]
|
|
}
|
|
},
|
|
"clearResponsePreservesAttachmentIds": false
|
|
},
|
|
"claude": {
|
|
"capabilities": [
|
|
"interrupt_receipt_v1",
|
|
"interrupt_cancel_queued_v1"
|
|
],
|
|
"oldCapabilities": [
|
|
"interrupt_receipt_v1"
|
|
],
|
|
"interrupt": {
|
|
"type": "control_request",
|
|
"request_id": "interrupt-1",
|
|
"request": {
|
|
"subtype": "interrupt",
|
|
"cancel_queued": true
|
|
}
|
|
},
|
|
"response": {
|
|
"type": "control_response",
|
|
"response": {
|
|
"subtype": "success",
|
|
"request_id": "interrupt-1",
|
|
"response": {
|
|
"still_queued": [],
|
|
"cancelled": [
|
|
"message-1"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"emptyReceiptProvesCohortStopped": false
|
|
}
|
|
}
|