hyf

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

commit f3b89e9b8ae1e6fa0188109319b684df3386acd4
parent bec85eb3d4e628e1df3e3695ff9b75c71fcdeb39
Author: triesap <tyson@radroots.org>
Date:   Mon, 21 Sep 2026 03:31:21 +0000

spec: bind fixture authority and installation paths

Diffstat:
Atests/fixtures/hyf_v1_jev/manifest.json | 30++++++++++++++++++++++++++++++
Mtests/test_hyf.mojo | 38++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+), 0 deletions(-)

diff --git a/tests/fixtures/hyf_v1_jev/manifest.json b/tests/fixtures/hyf_v1_jev/manifest.json @@ -0,0 +1,30 @@ +{ + "fixture_namespace": "radroots-hyf-v1-jev-semantic", + "schema_version": 1, + "description": "Repo-local semantic acceptance corpus for the hyf_v1_jev refactor. Cases are synthetic intent projections, not recorded Jev judgments or an existing public wire protocol.", + "family_kind": "semantic_acceptance", + "family_role": "hyf_local", + "transport": "stdio", + "request_framing": "newline_delimited_json", + "shared_wire_authority": { + "declared_path": "testing/fixtures/canonical/hyf/v1", + "local_offline_mirror": "tests/fixtures/v1", + "role": "preserve_existing_authority", + "note": "The existing shared-wire declaration is preserved; this new semantic family is repo-local after adoption. No runtime parent-checkout dependency is created." + }, + "repo_local_families": { + "domain": "tests/fixtures/hyf_v1_jev/domain", + "provider": "tests/fixtures/hyf_v1_jev/provider", + "protocol": "tests/fixtures/hyf_v1_jev/protocol", + "security": "tests/fixtures/hyf_v1_jev/security", + "journeys": "tests/fixtures/hyf_v1_jev/journeys", + "raw": "tests/fixtures/hyf_v1_jev/raw" + }, + "projection_adapter": "tests/fixtures/hyf_v1_jev/projection.json", + "owning_repository": "radrootslabs/hyf", + "installation_status": "planned", + "installed_at_step": "S008", + "declared_case_count": 116, + "declared_raw_payload_count": 5, + "activation_policy": "Each mandatory case activates at its required_from_step; planned cases are not counted as passing behavior." +} diff --git a/tests/test_hyf.mojo b/tests/test_hyf.mojo @@ -941,5 +941,43 @@ def test_internal_error_diagnostics_records_detail() raises: ) +def test_semantic_fixture_manifest_declares_repo_local_family() raises: + var manifest_path = ( + _dir_of_current_file() + / "fixtures" + / "hyf_v1_jev" + / "manifest.json" + ) + assert_true(exists(manifest_path)) + var manifest = loads(manifest_path.read_text()) + assert_equal( + manifest["fixture_namespace"].string_value(), + "radroots-hyf-v1-jev-semantic", + ) + assert_equal(Int(manifest["schema_version"].int_value()), 1) + assert_equal(manifest["family_kind"].string_value(), "semantic_acceptance") + assert_equal(manifest["family_role"].string_value(), "hyf_local") + assert_equal(manifest["transport"].string_value(), "stdio") + assert_equal( + manifest["request_framing"].string_value(), "newline_delimited_json" + ) + assert_equal( + manifest["shared_wire_authority"]["declared_path"].string_value(), + "testing/fixtures/canonical/hyf/v1", + ) + assert_equal( + manifest["shared_wire_authority"]["local_offline_mirror"] + .string_value(), + "tests/fixtures/v1", + ) + assert_equal( + manifest["repo_local_families"]["domain"].string_value(), + "tests/fixtures/hyf_v1_jev/domain", + ) + assert_equal(manifest["installation_status"].string_value(), "planned") + assert_equal(Int(manifest["declared_case_count"].int_value()), 116) + assert_equal(Int(manifest["declared_raw_payload_count"].int_value()), 5) + + def main() raises: TestSuite.discover_tests[__functions_in_module()]().run()