Commit Graph

3 Commits

Author SHA1 Message Date
Cal Corum
5312402a7b fix: improve auto-edge reliability — error visibility, similarity-based strength, heuristic docs
- Surface auto-edge errors in store response (auto_edge_error key) instead
  of silently swallowing exceptions, making failures diagnosable
- Pass similarity score as edge strength so higher-confidence matches get
  stronger edges instead of always defaulting to 0.8
- Document why same-type pairs and REQUIRES/FOLLOWS are excluded from the
  heuristic table vs edge-proposer.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 22:11:15 -06:00
Cal Corum
194990d424 feat: auto-create edges on memory_store in MCP server
Automatically find and link related memories after every store operation,
removing reliance on Claude manually creating edges. Uses recall + type
heuristics to choose edge types (SOLVES, BUILDS_ON, RELATED_TO) and
returns created edge IDs in the store response for optional review.

Key design choices:
- Keyword-only fallback requires tag overlap to prevent spurious edges
- Similarity threshold (0.4) filters before max-edge cap (3)
- Edge description arrow matches actual from/to direction
- Failures never break the store operation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 22:07:05 -06:00
Cal Corum
48df2a89ce Initial commit: extract cognitive-memory app from skill directory
Moved application code from ~/.claude/skills/cognitive-memory/ to its own
project directory. The skill layer (SKILL.md, SCHEMA.md) remains in the
skill directory for Claude Code to read.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 16:02:28 -06:00