hyf

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

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

core: expose buyer request matching over stdio

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

diff --git a/tests/test_persistent_stdio.mojo b/tests/test_persistent_stdio.mojo @@ -96,3 +96,16 @@ def test_farm_update_operation_is_gated_until_enabled() raises: frames.append(request) var responses = run_stdio_session(frames, context) assert_true(responses[0].find("capability_disabled") >= 0) + + +def test_buyer_match_operation_is_gated_until_enabled() raises: + with TemporaryDirectory() as temp_dir: + var context = _context(temp_dir) + var request = ( + '{"version":1,"request_id":"match-op-1","capability":"buyer_request.match",' + '"input":{"need":{"need_id":"n1"},"snapshots":[]}}' + ) + var frames = List[String]() + frames.append(request) + var responses = run_stdio_session(frames, context) + assert_true(responses[0].find("capability_disabled") >= 0)