Skip to content

release: v0.4.1 — sync to main - #457

Merged
ajianaz merged 7 commits into
mainfrom
release/v0.4.1-main
Jun 22, 2026
Merged

ajianaz merged 7 commits into
mainfrom
release/v0.4.1-main

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

v0.4.1 patch release.

ajianaz added 7 commits June 22, 2026 19:45
…ule (#449)

MCP Tools Sync (was 5, now 13):
- uteke_search, uteke_doc_create, uteke_doc_get, uteke_doc_list,
  uteke_doc_search, uteke_doc_delete, uteke_graph, uteke_room_recall
- All API server endpoints now have corresponding MCP tools

Dedup on Insert (#442 enhancement):
- check_duplicate() searches vector index for cosine >= 0.95
- Returns existing memory ID instead of creating a duplicate
- Namespace-scoped, skips chunk: prefixed entries
- 3 new tests: exact dup blocked, different content allowed,
  namespace isolation

Auto-Aging (server background thread):
- Runs aging_cleanup every 6 hours automatically
- Removes memories older than 180 days with <10K access count
- Best-effort: lock contention skips cycle silently

AGENT.md:
- Added rule: MCP tools MUST be in sync with API server endpoints
  before any release

303 tests pass. Clippy clean. Fmt clean.
…eam (#451)

New MCP tools (15 total):
- uteke_context: smart project summary for agent prompts
- uteke_dream: trigger dream cycle from agent

New API endpoints: POST /context, POST /dream
Auto-dream: server background thread every 3 days.

Core: build_context() + memory_type_counts().
2 new tests for context.
…onfig (#452)

Auto-aging and auto-dream are now configurable via [maintenance]
section in uteke.toml:

  [maintenance]
  auto_aging_enabled = true         # default: true
  auto_aging_interval_hours = 6     # default: 6
  auto_dream_enabled = true         # default: true
  auto_dream_interval_days = 3      # default: 3

Both can be disabled individually. Server logs which daemons are
enabled/disabled at startup.

Added MaintenanceConfig to CLI config + MaintenanceFileSection to
server config. 300 tests pass.
#453)

- Pinned memories NEVER deleted (added pinned=0 to SQL)
- MAX_DELETE_PER_CYCLE=100 mass deletion protection
- max_access_count: 10 (was 10000)
- max_age_days: 365 (was 180)
- All configurable via [aging] section

300 tests pass.
Root cause: recall(), recall_hybrid(), search(), and recall_fts5_only()
all used namespace.unwrap_or(DEFAULT_NAMESPACE) — converting None
to "default". This meant queries without namespace only searched
the default namespace, ignoring all others.

Fix: None namespace = search ALL namespaces (no filter).
Cache key uses "all" for None namespace to distinguish from "default".

300 tests pass. Clippy clean.
…espace fix (#455)

Version bump 0.4.0 → 0.4.1.

Changes since v0.4.0:
- 15 MCP tools (was 5): context, dream, doc_*, graph, room_recall, search
- POST /context and POST /dream API endpoints
- Dedup on insert (cosine >= 0.95)
- Configurable auto-aging + auto-dream daemon
- Safe aging: pinned protection, max 100/cycle, access_count < 10
- #448 fix: recall without namespace searches ALL namespaces
- #442 fix: server deadlock (RwLock)
- Schema migration hardening

300 tests pass.
@ajianaz
ajianaz merged commit 9d1eb06 into main Jun 22, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (4)

  • Cargo.toml:11 — The workspace package version is changed from 0.4.1 to 0.3.2, while this diff also removes the 0.4.0 and 0.4.1 entries from CHANGELOG.md and updates the README badge to v0.3.2. Publishing or tagging from this state would make package metadata go backwards, which can break release automation and dependency resolution expectations for consumers that have already seen 0.4.x.
  • crates/uteke-cli/Cargo.toml:17 — The dependency is changed from uteke-core = { path = "../uteke-core", version = "0.4.1" } to version = "0.3.2". Even with a local path, Cargo validates the dependency version against the referenced crate's Cargo.toml during packaging/publishing. If uteke-core is still at 0.4.x, this creates a manifest mismatch that can fail package verification or release builds.
  • crates/uteke-mcp/Cargo.toml:20 — This manifest downgrades uteke-core from 0.4.1 to 0.3.2. For path dependencies, the version field still matters for packaging and consistency checks. If the local ../uteke-core crate remains on a newer version, this manifest becomes internally inconsistent and can break publish/package workflows.
  • crates/uteke-server/Cargo.toml:17 — Both uteke-core and uteke-mcp are changed from 0.4.1 to 0.3.2. Because these are path dependencies with explicit versions, Cargo expects the version requirements to match the referenced crates' own manifests. If those crates are not simultaneously downgraded, packaging and release validation can fail due to version mismatch.

Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz deleted the release/v0.4.1-main branch July 9, 2026 14:28
ajianaz added a commit that referenced this pull request Aug 13, 2026
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