Skip to content

chore: release v0.24.2 to main (second attempt, ONNX Runtime from PyPI) - #1819

Merged
ajianaz merged 482 commits into
mainfrom
chore/release-v0.24.2-main
Nov 27, 2026
Merged

ajianaz merged 482 commits into
mainfrom
chore/release-v0.24.2-main

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

What

Release v0.24.2, second attempt: develop (at 63e57dc, which holds the release prep #1814, the privacy fix #1816, the AGENTS.md update #1817 and the release workflow fix #1818) into main. The branch is develop plus a merge -s ours of main, so its tree equals develop; the squash merge is the only commit main gets.

Why

The first attempt (#1815, main at 163ac9a, tag v0.24.2) did not release: github.com/microsoft/onnxruntime answers 404 since 2026-11-17, so every platform build of the Release run failed, and only uteke-privacy 0.24.2 reached crates.io. #1818 fixes the workflow: ONNX Runtime comes from a pinned PyPI wheel, the Linux x86_64 legacy bundle is dropped from this release (CHANGELOG upgrade notes), and crates.io publishing now waits for the builds. The tag v0.24.2 has to be moved to the squash commit of this PR by an admin (the Release workflow reads the workflow file at the tag), after this PR is merged.

Before this branch: main was checked to hold no content develop lacks (git diff 0907e9b origin/main is empty, the develop commit that was released, and no file exists only on main). After the merge git diff origin/develop HEAD is empty and main is an ancestor of the branch.

Testing

Related Issues

Follows #1815. Refs #1776 (closed).

ajianaz and others added 30 commits October 9, 2026 16:45
…) (#1423)

Add uteke-core `RecallInput` / `RecallPolicy` / `RecallRequest`: defaults,
limit cap, blank-query rejection, tag normalisation, RFC3339 parsing,
search_type / strategy / min_score resolution and the CLI-via-server body
now live in one module. The HTTP /recall handler, MCP uteke_recall and the
CLI-via-server recall body use it. Extraction only: where the surfaces
disagree, each surface's current behaviour is encoded as a policy value.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…1343) (#1425)

Extract /remember, uteke_remember and the CLI-via-server body into
uteke-core's remember_request module (RememberInput, RememberPolicy,
RememberRequest), following the recall slice. No wire behaviour change.

Refs #1343

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…) (#1426)

Add uteke-core ForgetInput / ForgetPolicy / ForgetRequest and
resolve_memory_id: DELETE /forget query parsing, id-or-tag decoding, id
resolution (full UUID, prefix, ambiguity), the existence check and the
CLI-via-server URL now live in one module. HTTP /forget, MCP uteke_forget
(and the shared MCP resolve_id) and the CLI-via-server forget use it.
Extraction only: where the surfaces disagree, each surface's current
behaviour is a policy value; the read-only gate stays HTTP-only.

Refs #1343

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…1434)

Writing to a non-default namespace now carries a one-sentence deprecation
warning on HTTP (/remember, /room/remember, /extract, /import, /room/create,
PUT /memory), MCP (uteke_remember, uteke_update, uteke_room_create) and the
CLI (stderr only). The wording lives once in uteke-core; the server logs it
once per distinct namespace. Routing, storage and reads are unchanged.
Tool descriptions, uteke guide, skill and docs steer to rooms, tags, author.

Refs #1427

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
#1435) (#1436)

resolve_id_prefix now escapes %, _ and the escape character, so an id prefix is
never a pattern for any caller, and the HTTP forget policy validates the id like
MCP (hex digits and '-', 400 otherwise). Before, DELETE /forget?id=%25 matched
every memory whose id contains "25" and deleted it when exactly one matched.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
) (#1437)

The api_registry table is now consulted by the router (unregistered
method+path is a 404 before any handler runs) and by the read-only-token
gate (derived from a new per-row writes flag). The source-scanning
coverage test is replaced by tests built from the table.

Refs #1344

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…1438)

New "Reaching the server from another device on your LAN" section
(token first, bind address, Host header behaviour, plain-HTTP caveat, firewall,
Docker) and "Keeping the token out of the client config" in the MCP docs
(stdio needs no token, static bearer only, no OAuth in the self-hosted server).
Every claim was checked against a running server.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
AGENTS.md named the project room but did not require reading it before a task
or writing progress to it afterwards, so decisions and release state lived only
in whichever session made them. Spell out both steps, note that room recall is
cross-namespace, and that the shared store differs from a local CLI store.

Also record the owner rule that commits, PRs, comments and release notes carry
no AI attribution trailers or lines.

Co-authored-by: ajianaz <[email protected]>
* security(mcp): per-tool read-only gate for callers without write access (#1439)

* security(mcp): refuse read-only tool calls as tool errors; pin the allowlist (#1439)

* security(server): read-only tokens reach MCP read tools; writes stay refused (#1439)

* docs: read-only tokens and MCP tools (#1439)

---------

Co-authored-by: ajianaz <[email protected]>
… retry of validation errors (#1443)

* fix(core): retry_embed reports a missing embedder instead of panicking

* fix(core): do not retry embedding validation errors

* test(core): pin the missing-embedder error variant; doc wording

* fix(core): recall reports a missing embedder instead of panicking

ensure_embedder only returns Ok once the slot holds an embedder and nothing
resets it to None, so the expect was unreachable today. Return an Embedding
error instead so a future change cannot turn it into a panic. Adds a test that
vector recall on a store with no usable embedder errors rather than panics.

* fix(core): skip a missing RRF memory instead of panicking

recall_rrf fills rrf_scores and memories in the same loops, so the expect
could not fire today. Use filter_map and skip a missing id with a warning
instead of panicking if that invariant ever breaks. take(limit) stays before
the filter, so the normal path is unchanged.

* style(core): wrap the RRF skip warning and note the short-result case

---------

Co-authored-by: ajianaz <[email protected]>
…1444)

* fix(cli): an explicit --store never routes through a running server

With [server] enabled = true and a server up, remember/recall/search/list/
stats/forget were sent to the server, which serves its own store, so an
explicit --store was silently ignored and data went to the wrong database
(the LongMemEval harness always passes --store). Server routing is now
decided by should_route_via_server(), which returns false whenever --store
is set; the cheap check runs before the network probe. UTEKE_HOME is
unchanged. (#1439 B4)

* test(bench): modal_fast50.py reads UTEKE_RELEASE like modal_fanout.py

* fix(cli): keep routing --store pointing at the default store; changelog

---------

Co-authored-by: ajianaz <[email protected]>
* chore(release): v0.21.0 - version bump, changelog, docs sync

Prepared on chore/prepare-0.21.0; the release PR into main is opened from a chore/release-* branch after the mutation-test gate.

* docs(security): checksums are signed since v0.21.0, not since the release after v0.20.0

---------

Co-authored-by: ajianaz <[email protected]>
* test(core): kill the mutants the 0.21.0 gate missed

Exact-value tests for the mutants the pre-release gate
(v0.20.1..develop, uteke-core) left alive:

- lib.rs: FallbackSettings::with_env_overrides -> Default::default()
- forget_request.rs: Display for ForgetRequestError -> Ok(Default::default())
- list_request.rs: Display for ListRequestError -> Ok(Default::default())
- remember_request.rs: Display for RememberRequestError -> Ok(Default::default())
- operations.rs recall_rrf: vector window `limit * 3` -> `limit + 3`
- operations.rs recall_rrf: vector window `limit * 3` -> `limit / 3`
- operations.rs recall_rrf: `score / max_rrf` -> `score * max_rrf`

* test(core): assert only the env var the fallback test owns

---------

Co-authored-by: ajianaz <[email protected]>
…h) (#1457)

Replaces #1451 (toml 1.1.6 -> 1.1.8), #1452 (usearch 2.26.3 -> 2.26.4),
#1453 (uuid 1.27.0 -> 1.28.0) and #1454 (serde_json 1.0.151 -> 1.0.154).
The lockfile change equals the union of those four PRs.

Co-authored-by: ajianaz <[email protected]>
#1458)

* refactor(server): extract every route arm into a named handler (#1344)

route() keeps the shared preflight (version prefix, Host guard, CORS
preflight, auth, read-only gate, registry 404), then packs the per-request
state into a Call and dispatches with one line per route. Each former
match arm is now a function in a domain module under handlers/ (health,
memory, namespaces, tags, rooms, docs, graph, maintenance, mcp).

Pure move: arm order, the (method, path) set and the bodies are
unchanged apart from rustfmt reflow and dropping borrows that clippy
flags now that path and uteke are already references.

* test(server): the dispatch match and the registry carry the same routes (#1344)

every_registry_row_has_a_handler_arm only proves each row reaches a
handler. The new test reads the one-line-per-route dispatch match from
handlers/mod.rs and asserts its (method, path) set equals
api_registry::ENDPOINTS with no duplicates, so an arm without a row is
caught too. The registry's sync comment now points at handlers/mod.rs.

---------

Co-authored-by: ajianaz <[email protected]>
…ide (#1459) (#1460)

The Homebrew shims exported the libexec directory as ORT_LIB_PATH. dlopen
fails on a directory, so every Homebrew install since v0.19.0 stored
memories without embeddings. Resolve a directory to the platform library
inside it, with a warning, and fail with a clear message when the library is
not there.

Co-authored-by: ajianaz <[email protected]>
* feat(cli): verify a minisign signature over the checksums in uteke upgrade (#1327)

Embed the release public key and verify checksums-sha256.txt.minisig over
the raw checksums bytes before trusting any hash. The trusted comment must
be 'uteke <tag>' so an older signed release cannot be replayed. A missing or
invalid signature is a hard failure; UTEKE_UPGRADE_SKIP_CHECKSUM skips it
too, with an updated warning.

* build(release): add offline minisign signing script and public key (#1327)

* docs: document minisign verification and the offline signing step (#1327)

* fix(cli): refuse to downgrade and verify the signature before the archive download (#1327)

Compare versions numerically (semver, pre-release aware) and refuse an older
release; unparseable tags are an error. Fetch and authenticate the checksums
before downloading the archive, through a fail-closed authenticate_checksums.
New fixtures: legacy signature, trailing-space and double-space trusted
comments (the throwaway key was regenerated; all fixtures re-signed).

* fix(release): verify the cosign bundle before signing the checksums (#1327)

* build(deps): keep Cargo.lock to the minisign-verify entries only (#1327)

* docs: state the signature is checked by uteke upgrade only, and the cosign pre-check (#1327)

* fix(cli): install stable releases only in uteke upgrade, derive the hash from verified checksums only (#1327)

Reject any non-stable target tag (pre-release, build metadata, malformed)
before the prompt and any download, with no override. A pre-release running
binary can still upgrade to a newer stable. The expected archive hash now
comes from verified_expected_hash, which authenticates the checksums first,
and is unit-tested. Adds the whitespace-only signature case.

* test(release): cover sign-release.sh failure paths with stub gh and cosign (#1327)

* docs: uteke upgrade installs stable releases only; sign-release.sh needs a cosign bundle (#1327)

---------

Co-authored-by: ajianaz <[email protected]>
…le (#1471)

* fix(cli): write console logs to stderr so --json output stays parseable (#1461)

The console layer had no writer and defaulted to stdout, so any WARN or ERROR
was printed in front of the command's own output and broke json.loads(stdout).
Send it to stderr; the file layer is unchanged.

* docs(changelog): record the stderr log fix (#1461)

---------

Co-authored-by: ajianaz <[email protected]>
…1327) (#1472)

* ci(release): detect whether the latest release checksums are signed (#1327)

* ci(release): say in the header that this part only detects (#1327)

---------

Co-authored-by: ajianaz <[email protected]>
* ci(release): open, re-ping and close the reminder issue (#1327)

* ci(release): restore the full script header (#1327)

* ci(release): state the real effect of the 100-issue listing limit (#1327)

---------

Co-authored-by: ajianaz <[email protected]>
ajianaz and others added 28 commits November 16, 2026 15:56
Follow the 2026-10-21 owner amendment in uteke-conventions: write to
default, keep reading macmini for older notes, never write there.

Co-authored-by: ajianaz <[email protected]>
… and MemPalace figures (#1785)

* docs(comparison): named tools with dated sources, correct agentmemory and MemPalace figures

Add a named comparison (MemPalace, agentmemory, Mem0, Mnemosyne) to
docs/comparison.md: setup table, a separate cross-source benchmark table
and a sources-checked table with the check date.

Correct the README head-to-head: agentmemory now publishes strict
recall_all@5 (84.7%, 470 questions) and labels 95.2% as a historical run;
MemPalace 96.6% is its raw mode and it also reports 98.4% on a held-out
450-question subset. Dated correction note in docs/benchmarks.md.

Refresh stale claims in docs/comparison.md: latency from the v0.17.0 run,
LongMemEval 98.2% on the full 500 questions instead of a 12-question
sample, and the daily release check instead of 'zero network calls'.

* docs(benchmarks): drop the apples-to-apples claim that the correction note contradicts

The head-to-head paragraph still said the agentmemory figures were verified
apples-to-apples while the correction note below it says they come from
other harnesses and pipelines. Reword the paragraph to match: the 95.2% and
96.6% figures share the 500-question basis but not a harness, the other
figures share neither split nor denominator.

---------

Co-authored-by: ajianaz <[email protected]>
…ve starts (#1786)

uteke-serve v0.24.0 stopped after 'Lifecycle config loaded' and never
listened. main built the request context in one 'let ctx = ...' statement
that took the Mutex<Uteke> twice (the [recall] defaults from #1754 and the
embedding gate from #1753). A temporary MutexGuard lives to the end of the
statement, so the second lock() waited on the first forever.

Take each value in its own statement. Add a test that starts the real
uteke-serve on an empty store and waits for GET /health; it fails (hangs at
startup) without the fix and passes with it.

Co-authored-by: ajianaz <[email protected]>
Patch release for the uteke-serve startup hang in 0.24.0 (#1786), plus the
remote document search query bound (#1777).

Version in the workspace Cargo.toml, the internal deps of uteke-core, cli,
mcp and server, Cargo.lock, both skill copies, server.json,
gemini-extension.json, docs/core-contract.json (regenerated with docgen),
docs/docker.md and docs/install.md. CHANGELOG entry with a correction to the
0.24.0 notes: a 0.23.0 binary refuses a schema v26/v27 store.

Co-authored-by: ajianaz <[email protected]>
* bench(longmemeval): add v0.24.0 full-500Q release-binary receipt

Official v0.24.0 release tarball binary (UTEKE_RELEASE, provenance in
image build log), 500/500 questions, Modal x86_64, 2026-11-17.
Full-500: any@5 0.9820 / strict@5 0.8760 / strict@10 0.9520 / misses@50 0.
Per-Q vs v0.20.0: 0 any@5 flips; 2 strict@5 boundary shifts (top-50 sets
identical). Companion to #1789 (README refresh decision).

* fix(security): bump url to 2.5.9 for RUSTSEC-2026-0592 (Url::origin stack overflow)

---------

Co-authored-by: ajianaz <[email protected]>
…-vfs 0.2, sqlite-wasm-rs 0.6) (#1797)

Co-authored-by: ajianaz <[email protected]>
…1801)

Raise the Cora Review job timeout to 40 minutes so two full review attempts plus setup fit inside the job. Pass review-timeout-seconds and max-attempts to the action, resolved as org variable, then org secret, then the literal default (900 / 2), so an unset value cannot reach the action as an empty string. Restore the trailing newline of the workflow file.
…ument has none (#1806)

A store that went through schema v11 keeps `namespace TEXT NOT NULL DEFAULT 'default'` on documents, and the insert bound NULL to it, so doc create failed on the CLI, HTTP and MCP. The column is now left out of the insert when a document names no namespace; the structural import had the same bind and is fixed the same way.
…ap_complete 4.6.12) (#1807)

Combines the two held dependabot updates (#1799, #1800) into one change against the current develop. rusqlite 0.43 keeps libsqlite3-sys 0.40.0, so the bundled SQLite is unchanged. The clap bump also moves syn 3.0.3 to 3.0.10 in Cargo.lock.
…nv_overrides (#1808)

These three read the process environment and the layered uteke.toml files, so a body returning Default::default() passed every test. Each new test points UTEKE_HOME at a temp directory, runs serialized and restores the variables it touched. Part of #1766.
)

The open-time migration saved the rebuilt index with index.save().ok(): one attempt, the error dropped. It now goes through index_sync::persist_rebuilt: the standard bounded retry, a warning when it still fails, and the open is not failed. The other three sites named in #1758 already call index_sync. Closes #1758.
…or a bare [REDACTED (#1810)

A non-ASCII character stuck to either end of a key or token made the whole value prose, and a [REDACTED anywhere in a value made it a placeholder, so API_KEY=«token» and API_KEY=[REDACTEDtoken stayed in clear text. The ASCII run is now the value: it is masked and the character stays. [REDACTED is a placeholder only as a complete mask ([REDACTED] or [REDACTED:kind]). A value with whitespace stays prose, a password name still takes a whole non-ASCII token, and redact stays idempotent. Closes #1794.
…he v0.24.0 gate (#1811)

Tests for the windows and rank formulas of doc_search_semantic, doc_search_hybrid, skill_search and doc_list_children, on the keyword test embedder (no ONNX model needed), and three simplifications of code that only the gate saw as live, with the same behaviour. 31 mutants were left open, 29 are killed or gone; the other 2 (k * 4 in index.search, the HNSW search breadth) cannot be observed. Part of #1766.
…lease binary (#1812)

Option (a) of #1789: the README (English and Indonesian) and the pages that quote it use the v0.24.0 run. recall_any@5 98.2% and recall_any@10 98.8% are unchanged, strict recall_all@5 is 87.6% (88.0% in v0.16.0 to v0.20.0; two questions moved a gold session across the rank-5 boundary with identical top-50 sets), strict@10 95.2%, zero misses@50. New receipt benchmarks/longmemeval/receipts/v0.24.0-default-500q/ and a v0.24.0 section in RESULTS.md; what the run did not record is marked "not recorded". Closes #1789.
…e line (#1813)

The code span `Authorization: Bearer <token>` was wrapped across two lines and VitePress read the <token> as an HTML element without an end tag, which failed the website build.

Refs #1776
Patch release: doc create on stores that went through schema v11 (#1806), the website build (#1813), the secret detector gap (#1794), list_pinned with schema v28 (#1804), dependency updates and the MCP Registry rename.

Pre-release mutation gate: 2 mutants, 1 missed (Uteke::list_pinned wrapper), killed by a new test.
… whole text (#1816)

The skip of a bare [REDACTED in front of a value ran inside the 4096-byte window of one value and recursed once per marker. A run of 456 or more markers filled the window, so the secret behind it was never read.

The skip is now a loop over the whole text, before the window is taken. Mutation gate on the diff: 19 mutants, 19 caught.

Refs #1794
….24.2 showed (#1817)

The MCP Registry workflow logs in with DNS since #1802, not GitHub OIDC. Also written down: install.md and docker.md carry the version, a schema bump needs a rollback note, a shallow clone needs --unshallow before merge -s ours, the first Cora run on the release PR sees the whole release, and a v* tag push needs the Admin role.

Refs #1802
…ublish crates after the builds (#1818)

github.com/microsoft/onnxruntime has answered 404 since 2026-11-17, so every build of the v0.24.2 release run failed. The ort crate loads the library at run time, so only the source of the shipped library changes: scripts/fetch-ort.sh takes the onnxruntime 1.24.4 wheel from PyPI, pinned by SHA-256, and is used by the release workflow, install.sh --from-source and a new CI job.

The Linux x86_64 legacy bundle is removed from this release. publish-crates now needs build-release, so a failed build cannot leave crates on crates.io without binaries.
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 9e03c75 into main Nov 27, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant