Adapter d'infrastructure et use cases applicatifs du live-state agent. - `FsLiveStateStore` : persistance fichier avec écriture atomique (write-temp + rename) pour éviter tout snapshot partiel/corrompu. - Use cases `UpdateLiveState` / `GetLiveStateLean` + DTO « lean » (vue allégée, bornée pour l'injection/affichage). - Rétention bornée côté store (TTL + max_n) au-dessus des invariants domaine (keyed last-writer-wins, prune). - Garde-fou versionné : `.gitignore` exclut `.ideai/live-state.json` (snapshot runtime reconstruit, non versionné — contrairement à `.ideai/memory/`). cargo test -p infrastructure -p application : 0 échec (dont 5 tests live_state_store) ; cargo fmt --all --check : exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
55 lines
2.7 KiB
Plaintext
55 lines
2.7 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/
|
|
# Root-level node_modules (dev tooling installs at repo root — never versioned).
|
|
/node_modules/
|
|
# 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/
|
|
# Runtime file-protocol orchestration requests/responses — transient I/O, not
|
|
# durable project state (curation .ideai §chantier secondaire).
|
|
.ideai/requests/
|
|
# Volatile agent live-state snapshot ("who is doing what right now", lot LS2):
|
|
# rebuilt at runtime, keyed last-writer-wins — not versioned (unlike .ideai/memory/).
|
|
.ideai/live-state.json
|
|
|
|
# ─── Editors / OS ───────────────────────────────────────────────────────────
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
Thumbs.db
|