Orchestrata Ultimate › Tests › Reference › session › test_session_governance

Tests reference — tests/session/test_session_governance.py

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

Prose pending.

tests/session/test_session_governance.py

source · 9 tests · 222 lines

can_open_session/1 and can_close_session/1 finally run.

Covers: core.infra_config, governance.prolog_client, infra.prolog_bridge, session.governance

Kind Name Line Description
function test_a_complete_session_may_close 80
function test_each_conjunct_alone_blocks_the_close 95 Every conjunct of can_close_session/1 is load-bearing.
function test_facts_do_not_leak_between_evaluations 113 A session validated twice must be judged on the SECOND set of facts.
function test_a_critical_session_issue_blocks_a_complete_session 138 The capability this wiring buys, which Python could not express.
function test_a_session_with_a_purpose_may_open 174 The CLI requires --purpose on every begin, so has_goals is always
function test_a_goalless_session_may_not_open 181
function test_a_blacklisted_session_may_not_open 185
function test_an_unusable_rule_base_answers_None_not_False 198 Could-not-evaluate must be distinguishable from denied.
function test_an_unsafe_session_id_is_refused_not_quoted 215 A session id is generated, never authored, so a surprising one means