hyf

Context-aware query service for Radroots
git clone https://radroots.dev/git/hyf.git
Log | Files | Refs | README | LICENSE

commit b3643e423e151f0db13c91a7c5d1f9ff211c64e4
parent 72c4bf59f8bbfbc23d510078d1c4a708952ff725
Author: triesap <tyson@radroots.org>
Date:   Mon, 21 Sep 2026 14:02:21 +0000

runtime: exercise new-operation configuration matrix

Diffstat:
Mtests/test_runtime_paths.mojo | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/tests/test_runtime_paths.mojo b/tests/test_runtime_paths.mojo @@ -305,3 +305,20 @@ def test_jev_runtime_composition_reasons() raises: assert_true(not composition.usable) assert_equal(composition.reason, "missing_credentials") assert_equal(composition.model, "jev-1.13.0") + + +def test_new_operation_configuration_matrix() raises: + var config = default_loaded_runtime_config() + assert_true(not operation_enabled(config, "farm_update.interpret")) + assert_true(not operation_enabled(config, "buyer_request.interpret")) + assert_true(not operation_enabled(config, "buyer_request.match")) + config.effective.runtime.enable_farm_update_interpret = True + assert_true(operation_enabled(config, "farm_update.interpret")) + config.effective.runtime.enable_buyer_request_interpret = True + assert_true(operation_enabled(config, "buyer_request.interpret")) + config.effective.runtime.enable_buyer_request_match = True + assert_true(operation_enabled(config, "buyer_request.match")) + config.effective.runtime.disable_provider = True + assert_true(not operation_enabled(config, "farm_update.interpret")) + assert_true(not operation_enabled(config, "buyer_request.interpret")) + assert_true(not operation_enabled(config, "buyer_request.match"))