caelum0x ac68067b17 fix(release): correct crates.io repository URL and gate internal crates from publish
The workspace repository metadata pointed at a 404 (lawsynth/lawsynth instead
of caelum0x/lawsynth). RELEASE.md documents 12 crates plus all services/apps
as explicitly internal for v0.1 (not part of the published surface), but only
lawsynth-integration actually carried `publish = false` — add the missing
flag to the other 16 internal crates/services/apps so a future `cargo
publish` run can't accidentally ship them.

Also fix the two cargo clippy -D warnings failures blocking CI on main since
the 2026-10-12 release-cut merge: lawsynth-information-diffusion's forecast()
needlessly indexes `totals` by a range-loop variable (needless_range_loop)
and exceeds clippy's argument-count lint (too_many_arguments, same pattern
already used elsewhere in the workspace for fixed simulation-contract
surfaces). Verified: cargo fmt --check, cargo clippy --workspace --all-targets
-- -D warnings, and cargo test --workspace (388 suites, 0 failures) all pass
clean; cargo build --locked --release -p lawsynth-cli succeeds.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-15 16:53:00 +03:00
..
2026-08-16 22:04:11 +03:00
2026-08-16 22:04:11 +03:00

lawsynth-wasm

This crate is the portable, deterministic LawSynth surface for validated continuous worlds, scalar expressions, RK4 trajectories, crossing events, and a compact versioned bundle format. It is dependency-free and can be compiled to a WebAssembly target.

It intentionally does not provide JavaScript bindings, browser storage, a browser event loop, WASI networking, plugin execution, or arbitrary code loading. Those are host concerns; an embedding can layer wasm-bindgen or component bindings over these validated Rust APIs without misrepresenting this crate as a browser runtime.

Expressions accept finite scalar constants, variables, + - * / ^, parentheses, and sin, cos, exp, log, sqrt, and abs. Simulation is fixed-step classical RK4 and returns an error for invalid domains or non-finite state.