- release-build.yml: new workflow_dispatch-independent job triggered on v*
tags, building the lawsynth CLI on a macos-latest/ubuntu-latest matrix
(same cargo build --release --locked -p lawsynth-cli command release.yml's
verification job already runs) and uploading the packaged binaries as
GitHub Release assets via softprops/action-gh-release. Does not modify
release.yml, which stays verify-only and workflow_dispatch-triggered.
- nightly-science.yml: was running `pytest tests/scientific tests/conformance`
directly, which collects zero tests (exit code 5) because those directories
hold declarative run.py fixtures, not test_*.py files. Added a Rust
toolchain + CLI build step and a new tests/test_scientific.py pytest
wrapper (mirroring the existing tests/test_conformance.py pattern) that
parametrizes one test per case and runs each case's own run.py via
runpy.run_path against the native engine, then pointed the job at the two
real wrapper modules.
Verified locally: cargo fmt --check, cargo clippy --workspace --all-targets
-- -D warnings, and cargo test --workspace all clean; actionlint clean on
release-build.yml, nightly-science.yml, and (unchanged) release.yml;
`pytest tests/test_scientific.py tests/test_conformance.py` passes (22/22)
against the compiled CLI.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Discovery: opt-in joint parameter refinement (refine.rs, via lawsynth-opt
coordinate_minimize, guaranteed non-worsening trajectory MSE) and dependency/
causal hypothesis discovery (causal.rs, via lawsynth-causal Granger/independence/
time-order, framed as a hypothesis with its assumption set). CLI --refine/--causal.
Verification: wire tests/{conformance,end-to-end,cross-language} to execute against
the real compiled CLI — valid worlds round-trip, every bad-* asserted-rejected,
unbuilt native/TS legs honestly skipped. 26 pytest cases.
Rust workspace 342->352 tests; +26 system-verification cases. clippy/fmt clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>