Skip to content

Simplify API: 5 tools → 4 tools, 18 params → 6 params - #31

Merged
rendro merged 3 commits into
mainfrom
simplify-api
Feb 4, 2026
Merged

rendro merged 3 commits into
mainfrom
simplify-api

Conversation

@rendro

@rendro rendro commented Feb 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Reduce API from 5 tools / 18 parameters to 4 tools / 6 parameters
  • Remove connections tool (graph is now internal infrastructure)
  • Simplify store, recall, list parameters
  • Add auto-migration for existing databases

Breaking Changes

Removed tool:

  • connections

Removed from store:

  • title, tags, source, metadata, expires_at, replace, related

Removed from recall:

  • tags, min_similarity

Removed from list:

  • tags

New Minimal API

Tool Parameters
store content, scope?
recall query, limit?
list limit?, scope?
forget id

What Still Works (Invisibly)

All intelligent features continue working behind the scenes:

  • Memory decay scoring
  • Trust-weighted ranking
  • Graph relationships (auto-linked)
  • Background consolidation
  • Project scoping
  • Type-aware chunking

Migration

Automatic. Existing databases migrated on first startup via schema versioning.

Test plan

  • cargo test passes (71 tests)
  • cargo check passes
  • Manual test with Claude Code

🤖 Generated with Claude Code

rendro and others added 3 commits February 3, 2026 19:27
BREAKING CHANGES:
- Remove `connections` tool (graph is now internal infrastructure)
- Simplify `store`: remove title, tags, source, metadata, expires_at, replace, related
- Simplify `recall`: remove tags, min_similarity
- Simplify `list`: remove tags
- Remove fields from Item struct: title, tags, source, metadata, expires_at

New minimal API:
- store(content, scope?) → id
- recall(query, limit?) → results
- list(limit?, scope?) → items
- forget(id) → success

Added:
- Auto-migration: existing databases migrated to new schema on startup
- Schema versioning (v2) for future migrations

All intelligent features (decay scoring, graph relationships, consolidation,
project scoping, chunking) continue working invisibly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rendro
rendro merged commit 375c9ce into main Feb 4, 2026
2 checks passed
@rendro
rendro deleted the simplify-api branch February 4, 2026 01:18
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