umpirix/otsone/docs/changelog.md
caelum0x bba05ade8f chore(release): bump otsone 0.3.0 + changelog, add PUBLISHING.md, fix stale js-lite lockfile
otsone shipped 3 real changes since 0.2.0 (eval-external feature, CLI/find_gold bug
fixes, Content-Length DoS cap in the laya sidecar) with no version bump and no
changelog entry - bumped to 0.3.0 and documented them in docs/changelog.md,
matching the format the other packages' release tooling already expects.

Added PUBLISHING.md: exact one-command release recipe for all 5 packages (tag-push
for the 3 with CI, direct npm/uv publish for sdk/js-lite and otsone which have none
by design), plus the real owner-gated registry/account setup each needs before the
first tag. Verified every package actually builds and packages clean right now:
npm pack --dry-run for sdk/js and sdk/js-lite, uv build + twine check (PASSED) for
sdk/python, adapters/python, and otsone.

Also fixed a real latent bug found while verifying sdk/js-lite: its
package-lock.json root metadata was still "@caelum/typesafe"@0.1.0, never updated
through the OpenJev rebrand (package.json has been @openjev/lite since the initial
commit) - npm install resynced it for real.
2026-11-11 01:25:12 +03:00

47 lines
2.4 KiB
Markdown

---
title: Changelog
icon: lucide/history
---
# Changelog
## v0.3.0 (2026-11-11)
### Security
- `otsone-serve` (the laya HTTP sidecar, `laya_mlx/server.py`) no longer trusts a client-supplied
`Content-Length` header unconditionally: a 1MB cap now rejects oversized bodies with `413` and
malformed/negative values with `400` before the server ever calls `rfile.read(length)`. Previously
an unbounded or negative `Content-Length` could force the handler to attempt an unbounded
allocation or hang the worker thread waiting on `rfile.read(-1)`'s "read until EOF" semantics.
### Features
- `otsone eval-external`: a new CLI subcommand and module (`laya_mlx/eval_external.py`) that points
otsone's existing gold-case calibration report (accuracy, ECE/adaptive-ECE/MCE/Brier/NLL) at a
third party's own typed-decision model, either via a live HTTP endpoint or a precomputed answers
file — the same scoring math as `otsone eval`, now usable as a benchmarking tool for external
models, not only otsone's own checkpoints.
### Bug fixes
- `otsone distill`/`otsone eval` CLI dispatch: the top-level `argparse` parser no longer misflags
`distill`/`eval`/`eval-external`'s own `--backbone`/`--gold`/etc. flags as "unrecognized arguments."
Both subcommands now dispatch directly off `argv[0]` before any top-level parsing, replacing the
broken `nargs=argparse.REMAINDER` subparser path.
- `find_gold()` (used by both `distill.py` and `eval_gold.py`) now also checks
`repo.parent / "engine" / "gold.json"` — the real on-disk layout (`otsone/` is a direct child of
`openjev/`, with `engine/gold.json` a plain sibling one level up) — instead of only searching for
gold one directory level too deep. `otsone eval`/`otsone distill` now find the real gold set with
no explicit `--gold` flag needed.
- `pyproject.toml`'s `onnx` and `train` extras now declare `onnxscript>=0.1`. Torch's dynamo-based
ONNX exporter (used by `distill.py`'s export step) requires it; without it, export crashed with
`ModuleNotFoundError: No module named 'onnxscript'` immediately after a full training run had
already completed.
## v0.2.0 (2026-09-25)
Initial public release as part of the OpenJev monorepo (otsone: a calibrated typed-decision model
toolkit, Choice/Score/Noul, for CPU/edge and Apple silicon — trains and serves the flagship
`otsone-1` model; also runs the Laya models, Apache-2.0).