Skip to content

[0.3.2] - 2026-05-09

Choose a tag to compare

@flamehaven01 flamehaven01 released this 10 May 14:16
· 4 commits to main since this release

CLI adapter decoupling

  • Removed top-level from spar_domain_physics.ground_truth_table import GROUND_TRUTH and from spar_domain_physics.runtime import get_review_runtime imports from cli.py. Both are now lazy imports inside the functions that need them (_run_example() physics branch and _get_runtime() physics branch). Importing the spar_framework.cli module no longer forces the physics adapter to load.
  • Replaced inline if adapter == "ml" and args.target == "subject" check in _run_schema() with a _ADAPTER_SCHEMA_ROUTES dict (dict[str, dict[str, tuple[str, str, str]]]). Adding a new adapter's schema surface is now a single dict entry rather than a new conditional branch.

Validation

  • No new tests (no behavioral change). All 78 tests still pass.