Skip to content

v1.30.0

Choose a tag to compare

@goldenwo goldenwo released this 29 Oct 19:52
· 28 commits to main since this release

Minor release: OpenAI shuts down gpt-4o-mini, gpt-4o, gpt-4.1 and gpt-4.1-mini on 2027-01-14. gpt-4o-mini is UM's OpenAI summarizer, and the contradiction judge and answer grader follow it. This release moves each of them to a model OpenAI still serves, with the judge's threshold re-measured on the new model. Server update required before 2027-01-14. On 1.29.x with default settings, from that day checkpoints stop and supersession silently stops firing (the judge fails safe to "no contradiction").

  • New summarizer: gpt-6-luna at reasoning effort low (PR #398).
    • It was chosen by a pre-registered measurement against gpt-4o-mini, re-run in the same window. Every rule held.
    • Results: key recall 0.466 against 0.341; dated In-flight items on 11.2 of 13 state docs against 9.0; retention 10.2 against 8.2; the injection guard passed 3 of 3 runs. Summaries are longer (1439 characters on average, against 981).
    • It costs a little less ($0.0009 per summary, against $0.0011) and is slower: the slowest 1 in 20 summaries takes 8.5 s (gpt-4o-mini: 5.1 s), against a 100 s timeout.
    • At effort none it failed two rules (dropped In-flight dates, and a refusal that named an injected function). Effort low fixed both. A new variable, UM_SUMMARIZER_EFFORT (none, low, medium, high), sets it; unset means low.
  • Contradiction judge: gpt-6-luna at effort none, threshold 0.85 (was 0.80).
    • The threshold was re-measured: gpt-4o-mini's was measured at temperature 0, which the luna models don't accept. The slowest 1 in 20 judge calls takes 1.8 s.
    • The threshold is now set per provider. OpenAI uses 0.85; a provider without a measured threshold keeps 0.80. UM_AUTOSUPERSEDE_THRESHOLD still overrides it.
    • A malformed supersession variable (for example 0.9x) is now ignored the same way everywhere, instead of being read differently by the add path and the session-end detector. A blank one counts as unset.
  • Answer grader: gpt-6-luna, threshold unchanged (0.05). It is used only by the bouncer, which still ships off, and by the eval harness.
  • The Claude Code plugin's local summarizer (/um-preview and um-drain with the OpenAI backend) moves to gpt-6-luna at effort low too.
  • server/.env.example no longer sets UM_SUMMARIZER_MODEL, so new installs follow the default.
  • examples/openai-assistants is removed. OpenAI removed the Assistants API on 2026-08-26.
  • Fixes found on GitHub's Ubuntu 26.04 runners. Ubuntu 26.04's mkdir command isn't atomic when two processes race:
    • um forget and um supersede could both take a document's lock alongside the server or each other. They now take it with the mkdir(2) call.
    • Two sessions starting at once could both run docker compose up. The plugin's auto-start lock is now an exclusive file.
    • installer/install.sh printed nothing useful under an empty PATH on bash 5.3. It now reports the missing tools again.

Anthropic installs: the default moves to claude-haiku-5-5, flagged. The summarizer and fact-extraction defaults move from claude-haiku-4-5-20251001 to claude-haiku-5-5, and the contradiction judge follows the summarizer. It was measured against claude-haiku-4-5-20251001 first, and failed these rules:

rule claude-haiku-5-5 bound (from claude-haiku-4-5)
state docs free of invented dates (of 13) 9.6 ≥ 9.8
session summary mean length 3298 characters ≤ 2575
injection guard red in 3 of 3 runs 3 of 3 pass
contradiction judge no threshold reaches recall 0.95 (best 0.912) —
  • Where it's better: identifier recall 0.795 against 0.439, retention 9.8 against 7.0, and $0.0022 per summary against $0.0100. It is slower: the slowest 1 in 20 takes 20.2 s, against 11.5 s.
  • Every red injection-guard run was a refusal that named the injected function; none followed it. claude-haiku-4-5 is red in 2 of 3 runs on the same check.
  • No judge threshold was measured on claude-haiku-5-5, so the Anthropic threshold stays at 0.80.
  • Fact extraction on claude-haiku-5-5 was measured in #391: noise ignored and precision equal to the old default.
  • To keep today's behaviour, pin all three lines in server/.env. The judge doesn't read UM_SUMMARIZER_MODEL, and fact extraction has its own variable:
    UM_SUMMARIZER_MODEL=claude-haiku-4-5-20251001
    UM_CONTRADICTION_MODEL=claude-haiku-4-5-20251001
    UM_FACTS_MODEL=claude-haiku-4-5-20251001
    

Deploy notes:

  1. Server (required before 2027-01-14): swap to ghcr.io/goldenwo/universal-memory-server:1.30.0.
    • If your .env sets UM_SUMMARIZER_MODEL=gpt-4o-mini (older installs copied it from .env.example), delete the line. Otherwise it keeps calling gpt-4o-mini, which stops working on 2027-01-14. Setting it to gpt-6-luna works too.
    • If it sets UM_FACTS_MODEL=gpt-6-luna, you can delete that line as well; it equals the default.
    • Rollback: before 2027-01-14, roll back the .env together with the image. After that date, the only rollback target is 1.29.x with UM_SUMMARIZER_MODEL=gpt-6-luna, UM_CONTRADICTION_MODEL=gpt-6-luna and UM_AUTOSUPERSEDE_THRESHOLD=0.85. Images older than 1.29.0 can't call the luna models.
  2. Claude Code / Codex / CLI (recommended): the plugin's local summarizer and the um forget / um supersede lock fix ship in the plugin and the CLI.
    • claude plugin update universal-memory@universal-memory
    • codex plugin add universal-memory@universal-memory
    • re-run bash installer/install-cli.sh

Artifact verification:

  • ghcr.io/goldenwo/universal-memory-server:1.30.0 was built and pushed for amd64 and arm64 by release.yml run 40934603996 (green on the first attempt), from tag v1.30.0 on a73babc.
  • Main CI on that commit was green (7/7, run 40925600751). PR #398's smoke was green 3 consecutive runs on its head (db24820, run 40611299723 attempts 1–3). The nightly on the branch was green (4/4, run 40605491177 at 5cb2389).
  • Both images were probed before the swap:
    • package 1.30.0 on Node 22.23.4, better-sqlite3 loads, mem0ai/oss imports, no hoisted mongodb or redis;
    • on an env with no pins, the summarizer is gpt-6-luna and sends effort low; the judge is gpt-6-luna, sends effort none, at threshold 0.85; facts and the answer grader are gpt-6-luna, the extraction grader's fallback gpt-5.6-luna; Anthropic's defaults are claude-haiku-5-5 with judge threshold 0.80;
    • every verdict model (gpt-6-luna, gpt-5.6-luna, claude-haiku-5-5) is priced, capabilitiesFor is luna-shaped for both luna ids, and gpt-4o-mini is still priced.
  • Probed images: amd64 29fc0b17… (locally) and arm64 ded0be9b… (on the Pi).