Skip to content

chore: release v0.24.1 to main - #1788

Merged
ajianaz merged 459 commits into
mainfrom
chore/release-v0.24.1-main
Nov 17, 2026
Merged

ajianaz merged 459 commits into
mainfrom
chore/release-v0.24.1-main

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

What

Release v0.24.1 (patch): develop into main. The branch is develop at 4993f4a plus one git merge -s ours origin/main commit, so its tree equals develop (git diff origin/develop HEAD is empty) and main becomes an ancestor; this PR squash-merges.

Why

uteke-serve v0.24.0 never starts listening: it stops after "Lifecycle config loaded", /health never answers and the Docker image shows unhealthy (#1786). The owner approved a patch version for it on 2026-11-17.

Contents, as the tree difference from v0.24.0 to this branch (main only gets squash commits, so history is not comparable):

Testing

Related Issues

Follows #1786, #1777 and the release-prep PR #1787. Fixes the unhealthy v0.24.0 Docker image once the tag is built.

Checklist

  • Branch name follows convention (chore/release-*, accepted by the Source Branch check)
  • Branch is from develop (at 4993f4a)
  • Commit messages follow Conventional Commits
  • No secrets or credentials committed
  • One logical change per PR (no mixed concerns)

Next, only after this PR is squash-merged: verify origin/main equals the develop tree, create the annotated tag v0.24.1 on the merge commit, then the Release workflow (about 35 minutes), the cosign check, the Homebrew tap PR and the crates.io and Docker checks.


Generated by Claude Code

ajianaz and others added 30 commits October 8, 2026 15:17
The action defaults base-branch to origin/develop. For PRs into main (release
PRs, whose head carries develop's tree) git diff origin/develop...HEAD is empty,
so Cora reported 'empty result' and never reviewed the release diff (#1380: 0
files vs 58 against main). Same root cause as homebrew-tap#5/#6.

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

- the mandatory main->develop sync PR cannot be merged (merge commits are rejected,
  squash/rebase drop the -s ours merge, #1381): replace the rule with the per-release
  'merge main with the develop side' branch actually used for v0.20.0
- write the release procedure end to end (pre-flight, prep PR, release branch,
  squash to main, tag after merge, Homebrew tap, production verify)
- Cora: a real verdict is required; the job now diffs against the PR base (#1386)
- uteke-cloud's tracker is Gitea, the GitHub repo is a stale mirror

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Add optional min_score, tags (ANY-of), pack/budget_chars/exclude_ids and
full_ids to uteke_room_recall, and print the memory id under each result.
Defaults are unchanged. Core gains recall_room_semantic_filtered and
recall_room_packed; UnifiedSearchResult::from_memory_result is shared with
unified recall.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Per Uteke Conventions v1 section 8 (2026-10-07): every repo touched by
agents must carry the standard line pointing at room uteke-conventions
(namespace important), the write namespace rule (macmini for Claude Code,
never default), registry-based project tags, and the no-credentials rule.

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

Full 500-question validation of the v0.20.0 release binary (UTEKE_RELEASE
path, #1374): any@5 0.982, strict@5 0.880, cov@5 0.944 — the @5 family is
unchanged across all four releases; strict@10 0.954 -> 0.952 on a single
top-10 boundary flip (gold remains in the top-50, total misses @50 = 0).
Fast50 gate on the same binary passed with an identical basket to v0.19.0.

Co-authored-by: ajianaz <[email protected]>
…ter exclude_ids (#1391) (#1392)

- pack mode returns the pack (with `skipped`) unless the room had no matches
- recall_room_packed removes exclude_ids before truncating to limit
- document that min_score compares hybrid and fallback cosine scores

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Optional `name` keeps rooms whose id or title contains the text
(case-insensitive). Omitted or blank keeps the full list.

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

* feat(mcp): name filter for uteke_room_list (#1336)

Optional `name` keeps rooms whose id or title contains the text
(case-insensitive). Omitted or blank keeps the full list.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* ci(release): sign checksums-sha256.txt with cosign keyless (#1327)

The release job gets id-token: write, installs cosign and publishes
checksums-sha256.txt.bundle next to the checksums. SECURITY.md documents how
to verify it. uteke upgrade is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

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

One workspace-independent rule: before writing a memory, look for the
workspace's memory convention (a *conventions* room or doc, AGENTS.md,
CLAUDE.md); follow it if present, else use the defaults. Shared constant in
uteke_core::guide feeds the guide bullet and the MCP initialize
`instructions`; both skill copies get a matching section.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…icit gets (#1337) (#1397)

Schema v21 adds memories.recall_count. recall, recall_context and search now
bump recall_count; only get bumps access_count. Salience, aging and orphan
scores use access_count + 0.5 * recall_count, so automated recalls reinforce a
memory less than real use. Existing rows start at recall_count 0; historical
access_count is left untouched.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…early on unwritable /data (#1398) (#1400)

The entrypoint now resolves the embedding backend (UTEKE_EMBEDDING_BACKEND,
then [embedding] backend in $UTEKE_HOME/uteke.toml, then onnx) and only
downloads the local model for onnx. If a download is needed but the data dir
is not writable it exits with an actionable message. Data dir follows
UTEKE_HOME (default /data). Covered by integration tests that run the script
with a fake curl and a fake uteke-serve.

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

uteke-serve opened the store with Uteke::open(), which hardcodes the onnx
backend, so an external OpenAI-compatible or Ollama embedder could never be
used. The server now resolves the embedder (env backend > [embedding] backend
> onnx) and the [vector] engine and opens the store with
open_with_embedding_and_graph, as the CLI does. An unsupported backend exits
with an actionable error. The project-local file stays untrusted for
embedding.* keys via the shared layered resolver.

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

Exact-value orphan score test (weighted access signal), a recall_room_semantic
wrapper test and a recall_room_packed limit-0 test.

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

cargo mutants --in-diff against the previous tag: 38 mutants in about 5
minutes on v0.20.0..develop, versus an estimated 8 hours for the full crate.
Notes that the CI workflow never triggers for chore/release-* PRs.

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

New "Reading recall scores" section in cli-reference with the base score of
each strategy, the additive salience/recency boosts, why a score can exceed
1.0, a real --explain breakdown, and what that means for --min. The skill's
strategy guide (both byte-identical copies) gets the same short note.

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

The default weight is 0.1 in the CLI and in uteke-serve; the configured
[recall] weight (0.15) only applies with an explicit --salience/--recency.
Also notes that scores drift up as a memory is recalled.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
v0.20.1 is cut from main with two cherry-picked fixes; its changelog entry
must also live on develop so the next release branch (git merge -s ours
origin/main) does not drop it.

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

The strategy arms (vector, fts5, hybrid, fusion) no longer touch counters:
they are built from each other and work on a boost_window of candidates, so
one default recall counted +3 per memory and bumped candidates that were never
returned. The touch now happens once per user-level call on the final results:
recall(), recall_hybrid() (cache hit or miss) and search(). recall_explained
and the point-in-time candidate search are read-only.

Adds a shared embedder-equipped test helper (test_support) and tests for every
strategy.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
… in the core (#1414) (#1415)

FallbackSettings (core) now owns the UTEKE_EMBED_FALLBACK_* override rules
(env wins, empty env ignored). The CLI delegates to it instead of its own copy,
and uteke-serve reads [embed_fallback] and applies it when api_key, base_url and
model are all set. First step of #1355 (split by section).

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

uteke-serve now applies graph_density_weight, graph_authority_weight,
graph_rerank_enabled and jaccard_weight from [recall], as the CLI does. Defaults
are unchanged when the keys are absent. Second step of #1355.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
uteke-serve now passes hot_days, warm_days and hot_boost from [tier] to the
store at open, as the CLI does; absent keys keep the core defaults (7 / 30 days,
boost 0.1). Third step of #1355.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…and the external-embedder setup (#1413) (#1420)

Parked locally by owner request (lowest priority); not pushed.

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
… path check) (#1421) (#1422)

* fix(cli): harden uteke upgrade (tag chars, download size cap, archive path check) (#1421)

- restrict the version tag to [0-9A-Za-z.-] (suffix included) and re-check it before building the URL/file name
- cap the archive (128 MiB) and checksums file (1 MiB) while streaming and from Content-Length
- component-based archive entry path check instead of contains("..")
- stronger UTEKE_UPGRADE_SKIP_CHECKSUM warning

Refs #1327

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* docs(cli): state the real release archive sizes next to the download cap (#1421)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: ajianaz <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…) (#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]>
ajianaz and others added 28 commits November 12, 2026 15:16
Adds POST /skill/search, /skill/list, /skill/show, /skill/similar and the MCP tools uteke_skill_search, uteke_skill_list, uteke_skill_show, uteke_skill_similar, all read-only and bounded, through one core entry point so both transports validate alike. Skill files are no longer readable or editable as documents. index, approve, record and lint stay CLI-only.

Closes #1731
A 413 from the extraction provider is "input too large" whatever its body says; the 4xx arm needs a size phrase, so deleting the 413 arm was not noticed.

Refs #1729
…ote draft text

Remote skill list/show (HTTP and MCP) no longer return source_path, a server filesystem path; the CLI still shows it. A remote draft text is capped at 32768 characters (was 131072 for skills, 200000 for docs) and at most 2 remote requests that embed a string run at once; another is refused at once with HTTP 429 / an MCP tool error. Applies to /skill/similar, /skill/search (hybrid, semantic), /doc/similar and the matching MCP tools. CLI limits are unchanged.

Refs #1731
Pin the attempts field of a removal outcome and the bounded, x3-per-pass widening of recall_at_time_index with exact-value tests; drop their not-killed note from mutants.toml.

Closes #1743
skill_index now resolves the directory it is given to an absolute path before discovery, so the stored source_path is absolute. Adds an ignored end-to-end skill index test with the real ONNX embedder.

Refs #1731
The server holds the store lock for a whole request, so the per-Uteke gate taken inside it never saw a second request and the 429 was unreachable over HTTP. Take the slot in the router before the lock, and answer an oversized draft with a 400 there.

Refs #1731
The package hash is now byte-identical to tole's skill_approval::package_hash: 8-byte little-endian lengths, written sha256:<hex>. The stored hash, ledger rows and skill list/show --json carry the prefixed string; approve accepts <slug>@sha256:<hex>, a bare hex, or a prefix of 12+ hex digits.

A package with a symlink or special file is now rejected (tole refuses it) instead of skipped, .git inside a package is hashed, and the package bounds follow tole's (4 MiB, 1024 entries). Discovery still skips .git.

Test vectors computed with tole's own function pin the encoding.

Refs #1731
A newer clippy flags the if-return-true-else-false tail as needless_bool, which fails the Clippy job on every branch.
Adds Uteke::run_update(&UpdateRequest) in update_exec.rs: the order (check the validity, run the field update, then set_validity, then the namespace move) is written once, and uteke update, PUT /memory and uteke_update decode, call it and render. An empty update is now refused by the CLI and MCP as the server always did, a missing memory has one error text, and the CLI prints the masked-secrets line like uteke remember.

Closes #1751
…nd MCP

Adds uteke_core::OpenConfig: the one resolve-config, open-the-store, apply-settings sequence used by the CLI, uteke-serve and uteke-mcp. The drift between the three (order of apply_settings and the privacy filter, the recall config handed to the store, env overrides applied in three places, two routes for the [recall] defaults) is resolved in one place. No change to config format, precedence or trust.

Closes #1754
uteke recall builds a RecallRequest and calls Uteke::run_recall, the entry point POST /recall and the MCP tool already use. The CLI's private decision tree is deleted; per-request salience/recency weights are part of the request and scoped to it, so no caller sets and resets engine state. Through a server, --strategy, --explain, --context, --content-format, --pack and --type are now honoured; --type with --entity/--category/--at now applies them instead of ignoring them; the explain refusals use core's wording. The CORE contract is unchanged.

Closes #1750
Error::class() is now the only place a core error is classified, with a new ErrorClass::Embedding, and each transport has one function from class to wire shape that every handler or tool uses: http_wire for HTTP, core_failure for MCP, cli_failure for the CLI. A failed MCP tool call is now a result with isError instead of a JSON-RPC error; HTTP routes that mapped every failure to 500 now answer by class; POST /recall no longer sends everything but Validation to 500. Table tests per transport fail until a new variant is classified.

Closes #1752
Workspace and internal dependency versions, Cargo.lock, both skill copies, docs/core-contract.json, server.json and gemini-extension.json, the CHANGELOG grouped into a 0.24.0 section with upgrade notes, the roadmap, and the version examples in the install and Docker docs. OSS goes first, Uteke Cloud follows.
…) (#1767)

Exact-value tests for the skill_package limits, UsageEvent::parse, the label bound, EmbedGate::in_flight, the repair of an indexed skill, the source_path and owner refresh, the valid and current flags, the rank formulas of skill_search, skills without a vector, doc_list_children, DocSimilarQuery::embed_need, the doc_search modes and the document bound of the duplicate report.
) (#1768)

A compatibility value of exactly 500 characters is clean and 501 is flagged.
…1770)

quinn-udp 0.5.15 -> 0.5.16 (RUSTSEC-2026-0538, receive loop can spin), rustix 1.1.4 -> 1.1.6 (RUSTSEC-2026-0486) and tokio 1.53.1 -> 1.54.1 (RUSTSEC-2026-0386). Lockfile only; cargo audit with the workflow's ignore list is clean apart from the yanked chacha20 warning.
Adds a Security entry to the 0.24.0 section for the lockfile bump merged in #1770 (quinn-udp, rustix, tokio).
… detect sk-ant keys (#1775)

The private-key scan reads a total proportional to the text and masks the rest past that cap. A single-token value assigned to a password name is judged on its content even when it holds a non-ASCII character. sk-ant-<kind><nn>- keys have their own rule, since the generic sk- rule needs one 20+ character part.

Closes #1772, closes #1773, closes #1774
POST /doc/search and uteke_doc_search took a query of any length and embedded it under a slot. The query is now at most 2000 characters in every mode (the bound of a remote skill search), refused before the slot is taken.

Closes #1777
--where key=value matches a top-level string, number, bool or null by its printed value; arrays, objects, a missing key, content that is not a JSON object and a non-json content type never match. Part of #1766.
…d API reference (#1781)

The uteke-memory skill (both copies), docs/mcp.md and the generated API reference say that a remote document search query is at most 2000 characters (#1777). The Docker tag table names the 0.24 minor tag.
…comparison table (#1783)

Move Quick start and the benchmark table (Uteke vs MemPalace vs agentmemory)
ahead of 'Why Uteke'. Remove the Tool A-G table: unverifiable anonymous
columns; the named rivals already sit in the benchmark table with sourced
numbers. Reorder README.id.md the same way.

Co-authored-by: ajianaz <[email protected]>
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]>
@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 fbf0a53 into main Nov 17, 2026
17 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