You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: renew law suites and fixture contracts over the runtime substrate #232
Renew the highest-friction verification helpers and law suites so they reflect the current runtime substrate contracts instead of older dict-shaped or Any-heavy seams.
Problem
The repo baseline is green, but the verification layer still has several dense hotspots where tests and devtools encode historical runtime shapes too loosely: shared storage builders, source/pipeline law suites, validation-lane coverage tests, and the pipeline probe helper all still lean on broad Any, object, casts, or hand-shaped payloads. That makes the verification surface harder to trust and harder to evolve alongside the renewed substrate.
Expected scope
Likely modules include:
tests/infra/storage_records.py
tests/unit/sources/test_source_laws.py
tests/unit/pipeline/test_run_sources.py
tests/unit/devtools/test_validation_lanes.py
devtools/pipeline_probe.py
adjacent follow-through in related law/helper suites where the same contract shape is duplicated
Acceptance criteria
Shared test builders express runtime/storage contracts directly instead of through loose container plumbing.
Source/pipeline/devtools law suites use clearer typed helpers and less ad hoc casting.
The tranche lands as a coherent PR with devtools verify green.
Verification plan
Run targeted pytest and mypy on the touched law/helper suites, then devtools verify.
Activity
test: renew verification law and probe contracts (#233)
test: renew verification law and probe contracts (#233)
test: renew verification law and probe contracts (#233)
test: renew verification law and probe contracts (#233)