Orchestrata Ultimate › Tests › Reference › orchestrator › test_intent_validator

Tests reference — tests/orchestrator/test_intent_validator.py

Module of tests/orchestrator, split out because the directory page would be too large.

Prose pending.

tests/orchestrator/test_intent_validator.py

source · 21 tests · 280 lines

Covers: orchestrator.intent_types, orchestrator.intent_validator

Kind Name Line Description
function test_validate_structure_ok 82
function test_validate_structure_missing_id 88
function test_validate_structure_missing_requester 98
function test_validate_structure_invalid_action 106
function test_validate_structure_invalid_target 114
function test_validate_structure_multiple_violations 122
function test_check_security_read_safe 136
function test_check_security_write_protected_path 142
function test_check_security_delete_protected_path 151
function test_check_security_modify_protected_path 158
function test_check_security_execute_destructive 165
function test_check_security_execute_safe 178
function test_check_security_execute_with_args 188
function test_rate_limit_first_request 205
function test_rate_limit_under_limit 210
function test_rate_limit_exceeded 216
function test_rate_limit_separate_requesters 225
function test_validate_structural_failure 239
function test_validate_security_failure 248
function test_validate_prolog_allows 256 Assert a permission_granted fact so Prolog allows the intent.
function test_validate_prolog_denied_by_default 272 Without asserting permission_granted, Prolog query fails and the