v0.14.0 — Topology-aware activate & Graph audit
Highlights
Topology-aware activate (#100) — activate now walks claim_links and entity→relation→entity→claim paths to build connected subgraphs, not just top-k similar claims. Edge semantics are direction-aware (supports/extends=forward, related=both, contradicts=flag, supersedes=shadow).
Graph audit — New pce_memory_graph_audit tool detects orphan claims/entities, contradiction cycles, supersession chain debt, scope holes, generic hubs, and repeated co-activations without edges.
Rollback blast radius — pce_memory_rollback now returns topology-derived blast radius with connected claims, linked entities, affected active contexts, and support/conflict/supersession neighborhoods with path information.
Features
- feat: topology-aware activate with heterogeneous graph walk (claim_links + entity-relation paths) (#100, #102)
- feat:
pce_memory_graph_audittool for knowledge graph health monitoring - feat: topology-based rollback blast radius analysis
- feat:
retrieval.hybrid.topologypolicy configuration (seed_k, max_hops, hop_decay, edge_policy) - feat: benchmark evaluation system for search quality, scalability, and latency
- feat: topology noise and effectiveness benchmarks
Improvements (since v0.10.0)
- feat(v2): observe → distill → promote pipeline (#61)
- feat(v2): intent-aware retrieval planner (#63)
- feat(v2): layer-aware sync rules (#64)
- feat(v2): memory_type taxonomy and migration (#60, #62)
- feat(v3): knowledge freshness guard, usage-based learning, maintenance signals (#73-#75)
- feat(v3): claim-to-claim connectivity (#76)
- feat: observation search for short-term recall (#66)
- feat: working_state lifecycle with stale detection (#71)
- feat: provenance quality scoring in rerank (#70)
- fix: scalability recall via k-value increase (#79)
Refactoring
- refactor: split handlers.ts, hybridSearch.ts, and large test files into focused modules
- refactor: unify error handling, remove dead code, fix lint warnings
- refactor(plugin): align hook instructions with simplified v2 protocol
Bug Fixes
- fix: claim_links TOCTOU race condition
- fix: recencyDecay division by zero
- fix: NaN propagation in normalizeLimit
- fix: observation recency score capping (#68)
- fix: policy_check intent precision (#67)
- fix: boundary filtering before ranking (#58)
- fix: reject secret boundary_class in upsert (#57)
Quality
- 116 test files, 1450+ tests passing
- Property-based tests for topology, graph audit, rollback blast radius
- Comprehensive integration and E2E test suites
Docs
- Updated MCP Tools table (8→21 tools)
- Added link_claims, graph_audit, rollback blast radius documentation
- Updated session-stop hook with graph_audit maintenance hint