Orchestrata Ultimate › Tests › Reference › scripts › test_force_ast_toolkit_read_allowance

Tests reference — tests/scripts/test_force_ast_toolkit_read_allowance.py

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

Prose pending.

tests/scripts/test_force_ast_toolkit_read_allowance.py

source · 8 tests · 162 lines

Tests for the R9 carve-out in .claude/hooks/force-ast-toolkit.sh: the Read

Kind Name Line Description
function test_read_is_allowed_after_source_served_that_module 78
function test_a_bare_module_name_with_source_dir_unlocks_the_module 87 The shape the swarm agents use: `source deploy.test_ship._orchestrata_repo
function test_the_allowance_is_per_module 106 Serving one module does not unlock the tree.
function test_the_allowance_is_per_session 114 Another session's source call is not this session's.
function test_a_payload_without_a_session_records_and_unlocks_nothing 121 No session id, no memo: the pre-R9 behaviour is unchanged for callers
function test_text_tools_stay_denied_after_source 133 The carve-out is for the Read TOOL only; grep/sed/head on the module
function test_the_memo_lives_under_the_runtime_dir 146
function test_an_unsafe_session_id_is_not_used_as_a_filename 154 hook_session_id refuses anything outside [A-Za-z0-9_-]; a traversal in