diff --git a/demos/claude_tool_authority/.gitignore b/demos/claude_tool_authority/.gitignore new file mode 100644 index 00000000..89f9ac04 --- /dev/null +++ b/demos/claude_tool_authority/.gitignore @@ -0,0 +1 @@ +out/ diff --git a/demos/claude_tool_authority/out/ask-required-action/response.json b/demos/claude_tool_authority/out/ask-required-action/response.json deleted file mode 100644 index 3cc168fa..00000000 --- a/demos/claude_tool_authority/out/ask-required-action/response.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "authority_path": [ - "demos.claude_tool_authority.authority.validate_payload", - "demos.claude_tool_authority.authority.evaluate_authority", - "demo_tool_authority_envelope(local-v1)" - ], - "decision_reason": "missing_explicit_confirmation", - "question": "CORE requires explicit user confirmation before licensing an external email draft. Confirm the recipient and intent.", - "request_id": "demo-tool-s2", - "scenario_id": "ask-required-action", - "status": "ask", - "tool": "core.tool_authority.review", - "trace_hash": "f0abef9eb99a1fd5a260ebea856012ef4c0bf566cf521d615e620afbf26d7338", - "trace_summary": { - "action_fingerprint": "e014f41362f5a6aed19e28bd11d925cdf07d1b046fbea14df1b6be2a068c4f28", - "authority_evaluated": true, - "envelope_version": "local-v1", - "execution_performed": false, - "proposer_trace_hash_ignored": false - } -} diff --git a/demos/claude_tool_authority/out/authorized-low-risk-local-action/response.json b/demos/claude_tool_authority/out/authorized-low-risk-local-action/response.json deleted file mode 100644 index 0302097d..00000000 --- a/demos/claude_tool_authority/out/authorized-low-risk-local-action/response.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "authority_path": [ - "demos.claude_tool_authority.authority.validate_payload", - "demos.claude_tool_authority.authority.evaluate_authority", - "demo_tool_authority_envelope(local-v1)", - "demos.claude_tool_authority.authority.build_license" - ], - "decision_reason": "inside_low_risk_envelope", - "licensed_action": { - "action_type": "write_local_note", - "authority_scope": "demo.local.low_risk_workspace_note", - "content_sha256": "385d436778e0dd08056a957b10a7acc088dac77ccc2b742f006bfff9d90833dc", - "effect": "inert_license_only", - "target_path": "workspace/demo_notes/meeting-summary.txt" - }, - "request_id": "demo-tool-s1", - "scenario_id": "authorized-low-risk-local-action", - "status": "authorized", - "tool": "core.tool_authority.review", - "trace_hash": "5a47255bc3d9342bd9356b49f96920a889d7b496215769daf0d7ec90a51a9b83", - "trace_summary": { - "action_fingerprint": "1abeb09a164d316fd2a1923f4adfa75a1efd812d95a749f8760db0dd3a2869f1", - "authority_evaluated": true, - "envelope_version": "local-v1", - "execution_performed": false, - "proposer_trace_hash_ignored": true - } -} diff --git a/demos/claude_tool_authority/out/invalid-smuggling-attempt/response.json b/demos/claude_tool_authority/out/invalid-smuggling-attempt/response.json deleted file mode 100644 index e9438bf6..00000000 --- a/demos/claude_tool_authority/out/invalid-smuggling-attempt/response.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "authority_path": [ - "demos.claude_tool_authority.authority.validate_payload" - ], - "decision_reason": "invalid_payload", - "invalid_reason": "payload unexpected property 'authorization_status' (additionalProperties is false); payload unexpected property 'licensed_action' (additionalProperties is false)", - "request_id": "demo-tool-s4", - "scenario_id": "invalid-smuggling-attempt", - "status": "invalid", - "tool": "core.tool_authority.review", - "trace_hash": "a336294778c1f4967d1f9f357fb33ef5f5ce75433a97adbd96a72ecb97ac04fd", - "trace_summary": { - "authority_evaluated": false, - "proposer_trace_hash_ignored": true, - "validation_errors": [ - "payload unexpected property 'authorization_status' (additionalProperties is false)", - "payload unexpected property 'licensed_action' (additionalProperties is false)" - ] - } -} diff --git a/demos/claude_tool_authority/out/refused-outside-envelope-action/response.json b/demos/claude_tool_authority/out/refused-outside-envelope-action/response.json deleted file mode 100644 index 1adcb9a2..00000000 --- a/demos/claude_tool_authority/out/refused-outside-envelope-action/response.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "authority_path": [ - "demos.claude_tool_authority.authority.validate_payload", - "demos.claude_tool_authority.authority.evaluate_authority", - "demo_tool_authority_envelope(local-v1)" - ], - "decision_reason": "unauthorized_tool", - "refusal_reason": "unauthorized_tool", - "request_id": "demo-tool-s3", - "scenario_id": "refused-outside-envelope-action", - "status": "refused", - "tool": "core.tool_authority.review", - "trace_hash": "ddb06249e74daf9ffd9e75214ce7662861c3c4bb0b11340b8c27fcd9e0951f74", - "trace_summary": { - "action_fingerprint": "b68a5d5246e9d43d4525de90b5b1373bce613807b439f1b49b23e321deb60ca0", - "authority_evaluated": true, - "envelope_version": "local-v1", - "execution_performed": false, - "proposer_trace_hash_ignored": false - } -} diff --git a/demos/claude_tool_authority/out/summary.json b/demos/claude_tool_authority/out/summary.json deleted file mode 100644 index b98b804e..00000000 --- a/demos/claude_tool_authority/out/summary.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "all_passed": true, - "scenarios": [ - { - "decision_reason": "missing_explicit_confirmation", - "passed": true, - "problems": [], - "scenario_id": "ask-required-action", - "status": "ask", - "trace_hash": "f0abef9eb99a1fd5a260ebea856012ef4c0bf566cf521d615e620afbf26d7338" - }, - { - "decision_reason": "inside_low_risk_envelope", - "passed": true, - "problems": [], - "scenario_id": "authorized-low-risk-local-action", - "status": "authorized", - "trace_hash": "5a47255bc3d9342bd9356b49f96920a889d7b496215769daf0d7ec90a51a9b83" - }, - { - "decision_reason": "invalid_payload", - "passed": true, - "problems": [], - "scenario_id": "invalid-smuggling-attempt", - "status": "invalid", - "trace_hash": "a336294778c1f4967d1f9f357fb33ef5f5ce75433a97adbd96a72ecb97ac04fd" - }, - { - "decision_reason": "unauthorized_tool", - "passed": true, - "problems": [], - "scenario_id": "refused-outside-envelope-action", - "status": "refused", - "trace_hash": "ddb06249e74daf9ffd9e75214ce7662861c3c4bb0b11340b8c27fcd9e0951f74" - } - ], - "tool": "core.tool_authority.review", - "updated_expected": true -}