Base de connaissance persistante par projet, indépendante de tout modèle/CLU
et de git. Cadrage archi en §14.5 (ARCHITECTURE.md), cycle Archi→Dev→Test.
LOT A — étage 1 (.md, source de vérité)
- domaine: entité Memory (+ MemorySlug, MemoryType, MemoryFrontmatter,
MemoryLink, MemoryIndexEntry), liens [[slug]], index MEMORY.md dérivé
- port MemoryStore + MemoryError, adapter FsMemoryStore (.ideai/memory/)
- application: 7 use cases (Create/Update/List/Get/Delete/ReadIndex/
ResolveLinks), From<MemoryError> for AppError
- app-tauri: commandes + DTO, events MemorySaved/MemoryDeleted
- suppression de la variante morte DomainError::MalformedFrontmatter
LOT B — rappel adaptatif (étage 1)
- port MemoryRecall + MemoryQuery, adapter NaiveMemoryRecall (troncature
au budget de tokens, court-circuit budget-0), use case RecallMemory
LOT C — étage 2 vectoriel (structure complète, zéro dépendance lourde)
- port Embedder + EmbedderError, profils déclaratifs EmbedderProfile/
EmbedderStrategy (embedder.json)
- VectorMemoryRecall (cosinus, cache .ideai/memory/.index/ gitignoré)
- AdaptiveMemoryRecall (bascule pure should_use_vector), défaut none
- HashEmbedder (déterministe, tests), StubEmbedder (onnx/server/api)
Tests: 57 binaires verts, build + clippy --workspace sans warning.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
47 lines
2.3 KiB
Plaintext
47 lines
2.3 KiB
Plaintext
# ─── Rust / Cargo ───────────────────────────────────────────────────────────
|
|
# Build output for the whole workspace (Cargo.lock IS committed — it's an app).
|
|
/target/
|
|
**/*.rs.bk
|
|
|
|
# ─── Node / frontend ────────────────────────────────────────────────────────
|
|
# Dependencies and build output (package-lock.json IS committed).
|
|
frontend/node_modules/
|
|
frontend/dist/
|
|
# npm/yarn/pnpm debug logs
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
.pnpm-store/
|
|
# Vite / vitest caches
|
|
frontend/.vite/
|
|
frontend/coverage/
|
|
|
|
# ─── Tauri ──────────────────────────────────────────────────────────────────
|
|
# Bundles live under target/ (already ignored). Generated icons are committed.
|
|
.tauri/
|
|
|
|
# ─── Claude Code ────────────────────────────────────────────────────────────
|
|
# Personal, machine-local overrides (shared settings.json, if any, stays tracked).
|
|
.claude/settings.local.json
|
|
# Ephemeral git worktrees created by Claude Code's isolated sub-agents — dev
|
|
# tooling only, unrelated to IdeA (which stays git-independent).
|
|
.claude/worktrees/
|
|
|
|
# ─── IdeA project data ──────────────────────────────────────────────────────
|
|
# Ephemeral per-agent run directories (isolated PTY cwd + generated convention
|
|
# files), created at activation — not versioned (ARCHITECTURE §9.1 / §14.1).
|
|
.ideai/run/
|
|
# Derived vector store for semantic recall (LOT C / §14.5.3): embeddings of the
|
|
# memory notes, rebuildable from the `.md` source of truth — not versioned.
|
|
.ideai/memory/.index/
|
|
|
|
# ─── Editors / OS ───────────────────────────────────────────────────────────
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
Thumbs.db
|