claude-memory/graph/decisions/extracted-cognitive-memory-app-from-skill-dir-to-standalone-a41644.md
2026-02-28 23:48:51 -06:00

65 lines
2.4 KiB
Markdown

---
id: a41644f1-2dd1-4706-8fc8-e2242c1702cb
type: decision
title: "Extracted cognitive-memory app from skill dir to standalone project"
tags: [cognitive-memory, architecture, extraction, claude-code, gitea, decision]
importance: 0.9
confidence: 0.8
created: "2026-02-28T22:10:12.917346+00:00"
updated: "2026-03-01T05:48:51.898741+00:00"
relations:
- target: 81e3306f-cbab-4936-b1d2-e0d10bbe79cd
type: CAUSES
direction: outgoing
strength: 0.95
edge_id: 3ff0be6b-2923-4144-a762-bff4fb2f46e2
- target: 6665d42a-0c52-4684-999b-bf8982439069
type: CAUSES
direction: outgoing
strength: 0.9
edge_id: 202898e0-1333-4728-927f-52f5ad94fe55
- target: 5994fea1-f787-41a3-ad5b-0f3349c00343
type: CAUSES
direction: outgoing
strength: 0.8
edge_id: 896c5f7c-6b09-4eab-b697-064f92d7f882
- target: 30537b21-e088-483f-8327-bcd42eeaa3fb
type: FOLLOWS
direction: outgoing
strength: 0.9
edge_id: acfde6d2-2c05-4e45-8597-cd869f3fb3e7
- target: 9ea72015-0b85-4a42-9ae1-144866f8d86f
type: FOLLOWS
direction: outgoing
strength: 0.85
edge_id: aea53b08-79a6-446a-bd1c-13f37b872c4e
- target: e0a851a7-1dc5-4191-b220-aa90112a1171
type: RELATED_TO
direction: incoming
strength: 0.95
edge_id: ff317a0a-fe1b-4e35-b924-762b087fd134
- target: 002fc433-6969-4f1d-b400-50b8324bb82d
type: FOLLOWS
direction: incoming
strength: 0.85
edge_id: bd5850a8-2974-47b8-987e-bc8966b08c5f
---
# Cognitive-Memory: Extraction to Standalone Project
## Decision
Moved all application code (~6K lines) from `~/.claude/skills/cognitive-memory/` to `/mnt/NV2/Development/cognitive-memory/`.
## Rationale
- Skill directory is for Claude Code interface files, not application code
- Standalone project allows proper git history, Gitea hosting, and development workflow
- Keeps separation of concerns: skill layer vs. application layer
## Structure After Extraction
- **Skill layer** (stays in `~/.claude/skills/cognitive-memory/`): `SKILL.md`, `SCHEMA.md` — what Claude Code reads to understand memory tools
- **App code** (now in `/mnt/NV2/Development/cognitive-memory/`): `client.py`, `cli.py`, `common.py`, `analysis.py`, `edges.py`, `embeddings.py`, `mcp_server.py`, `scripts/`, `systemd/`
- **Data** (unchanged): `~/.local/share/cognitive-memory/`
## Gitea
Created repo `cal/cognitive-memory` on Gitea and pushed. HTTPS URL used due to SSH config mismatch.