Skip to content

v1.1.0

Latest

Choose a tag to compare

@dustinspace217 dustinspace217 released this 12 Apr 23:42
· 87 commits to main since this release

What's New

Observation Metadata (Phase A, schema v6)

  • importance (1–5 scale), context_layer (L0/L1/null), and memory_type classification on observations
  • set_observation_metadata tool updates metadata in-place without superseding

Point-in-Time Queries & Entity Soft-Delete (Phase B, schema v7)

  • as_of parameter on read_graph, search_nodes, and open_nodes recovers the graph at any past timestamp
  • delete_entities now marks entities as superseded (preserving history) rather than hard-deleting

Entity Name Normalization (Phase B, schema v8)

  • Surface variants like Dustin-Space, dustin/space, and DUSTIN SPACE all resolve to the same identity key
  • Display form preserved in output; normalization is transparent to callers

Context Layers & Session Briefing (Phases D1/D2)

  • get_context_layers returns L0 (always-loaded rules) and L1 (session-start context) observations with token budgets
  • get_summary returns top observations by importance, recently updated entities, and aggregate stats

Four-Tier Eviction System (Phase F, schema v9)

  • Active → Superseded → Tombstoned → Hard-deleted degradation chain
  • LRU shield: entities accessed within 6 months protected from eviction
  • Time grants eligibility (1 year), size pressure (90% of 1 GB cap) triggers movement
  • Configurable via MEMORY_SIZE_CAP_BYTES env var

Tools

16 MCP tools (up from 11 in v1.0.0):

  • New: set_observation_metadata, get_context_layers, get_summary, supersede_observations, invalidate_relations
  • Updated: add_observations (importances, contextLayers, memoryTypes params + similarity warnings), read_graph/search_nodes/open_nodes (asOf param), delete_entities (soft-delete), entity_timeline (tombstoned status)

Testing

520 tests across 9 test files (up from ~310 in v1.0.0)

Issues Closed

  • #52 — Eviction system
  • #55 — searchNodes LIKE on normalized_name
  • #56 — PRAGMA foreign_keys try/finally
  • #57 — delete_relations schema fix
  • #58 — SkippedEntitySchema + invalidate_relations output
  • #60 — Stale replicated Zod schemas
  • #23 — MCP tool handler integration tests
  • #24 — Comprehensive test coverage

Remaining Open Issues

  • #53 — Entity name normalization Layer 2 (semantic alias graph)
  • #59 — Zero-width Unicode duplicate entities
  • #30 — FTS5 for text search
  • #20 — JSDoc comments