Rename the frozen `Unreleased` heading to `0.1.0 - 2026-09-06`, note that publishing/tagging is owner-gated (RELEASE.md), and record this session's release-cut work: the --version/-V fix, the Python maturin manifest-path fix, and the publish-metadata preparation. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5.5 KiB
5.5 KiB
Changelog
All notable changes to this project are documented here. The format follows
Keep a Changelog and this project adheres
to Semantic Versioning. Changes are recorded only when
they correspond to implemented, tested behavior. Publishing and git tagging are
owner-gated (see RELEASE.md); the 0.1.0 section below is the prepared cut.
0.1.0 - 2026-09-06
Added
- Product loop across CLI and SDK. The
observe → discover → understand → use → compare → share → organizeloop is now a first-class product, not just an engine. explain(Understand). CLIlawsynth explainand SDKStudy.explain()turn a world into readable laws with dominant terms, dependency structure, fit quality, and the assumptions a result is contingent on.forecast(Use). CLIlawsynth forecast(with--horizon,--intervene NAME=VALUE@TIME, CSV output) and SDKStudy.forecast(...)run a world beyond the observed window and compare a baseline against a counterfactual, reporting divergence.compare(Compare). CLIlawsynth compare A B [--json] [--html]produces a structured diff of two worlds — variables, parameters, laws, and complexity.- Scenarios (Compare). CLI
lawsynth scenarios --scenario NAME:k=v@tand SDKStudy.add_scenario(...)/Study.compare_scenarios()overlay N what-ifs against a baseline as aScenarioComparisonwith per-state divergence. report(Share). CLIlawsynth reportand SDKStudy.report(...)emit a single self-contained HTML report — rendered equations, fit and Pareto candidates, regime timeline, uncertainty bands, and inline SVG trajectory/phase charts, no server or external assets.export(Share). CLIlawsynth export --format python|latex|jsonemits a dependency-free Python module, a LaTeXalign*block, or a documented JSON model.library(Organize). CLIlawsynth library <add|list|show|remove>maintains a local, tagged, searchable index of.lsworldbundles (default~/.lawsynth/library.tsv).- Templates and scaffolding. CLI
lawsynth templatesandlawsynth new TEMPLATEscaffold worlds and sample data from built-ins:lorenz,lotka-volterra,pendulum,van-der-pol, andsir. validate. CLIlawsynth validate WORLD --data OBS [--holdout FRACTION]scores a world against held-out observations.pipeline. CLIlawsynth pipeline PIPELINE.toml(and--example) drives a whole ingest → discover → validate → report → export flow from one deterministic config file.doctor. CLIlawsynth doctorreports install health across the command surface.- Discovery depth.
discovergained optional stages and controls:--solver stlsq|sr3, trigonometric and bounded-rational feature families, multiple derivative estimators (--spline,--spectral,--savgol-window,--tvreg-lambda),--bootstrap,--symbolic-depth, and the--regimes,--pareto,--refine, and--causalstages. TSV and a numeric Parquet subset join CSV as accepted inputs. - Python
StudySDK. A fluent façade over the loop:from_csv/from_dataset/from_columns/from_source/load, thendiscover,explain,simulate,forecast,add_scenario/compare_scenarios,report, andsave. All returned objects (Study,DiscoveryResult,Explanation,Forecast,ScenarioComparison, trajectories, nativeWorld) render richly in Jupyter. - Data import.
lawsynth.load_source/Study.from_sourcebridge thelawsynth-connectorspackage (filesystem,http,s3,postgres,sqlite), coercing external records to finite floats at the SDK boundary. - Notebook dashboard. The optional
lawsynth-notebookpackage addsStudyDashboard, folding equations, dependencies, trajectory, uncertainty, and scenarios into one view. - Studio (9 screens). The
apps/studiovisual surface ships Data Lens, Discovery Canvas, Equation Explorer, Structure Map, Regime Timeline, Uncertainty Lens, World Lab, Scenario Board, and Export, with a navigation controller over the shared World IR. - HTTP product endpoints. The
/v1services surface exposes the product loop over stored worlds:GET /v1/worlds/{id}/explain,POST /v1/worlds/{id}/forecast,GET /v1/worlds/{id}/report, andPOST /v1/worlds/compare, backed by the same native engine asPOST /v1/worlds/{id}/simulate.
Fixed
lawsynth --version/-Vnow printlawsynth 0.1.0instead of the usage block (and exit 0).- Python install path.
pyproject.tomlnow setsmanifest-pathto thelawsynth-pythoncrate, so the documentedmaturin developactually builds;scripts/build-native.shis documented as the maturin-free / offline fallback.
Packaging
- All intra-workspace
lawsynth-*path dependencies now carryversion = "0.1.0"and every crate inheritsrepositorymetadata, so each crate is publishable with a singlecargo publish. Publishing stays owner-gated (publish = false); seeRELEASE.mdfor the release surface and topological publish order.
Notes
- Discovery remains deterministic and offline: identical inputs and options
reproduce the same worlds, reports, and forecasts.
explain,report, andcompareread declarative structure and work without the native engine;forecastandsimulaterequire it and fail clearly when it is absent. A sparse fit is not evidence of causality, and extrapolation beyond the observed window is not validated.