mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-07 07:32:35 +09:00
- brain/src/fts.ts : index FTS5 SQLite (BM25 OR-query, diacritics, stopwords FR+EN, prefix queries, cross-project threshold -6.0, mesures exclues, session dedup) - brain/src/mcp/server.ts : serveur MCP stdio 6 outils (brain_index, brain_search, brain_project, brain_rules, brain_get, brain_correct) - brain/hooks/brain-session-start.js : hook SessionStart (~1500 tokens, corrections global+projet, décisions actives, tâches ouvertes, guard COUCOU_BRAIN_INTERNAL) - brain/hooks/brain-prompt.js : hook UserPromptSubmit (FTS < 280 ms, 5 résultats ~1000 tokens, dedup session, guard interne) - brain/hooks/package.json : force CJS pour les hooks dans le paquet ESM - brain/launchd/fr.louisraille.brain-ingest.plist : agent launchd horaire - brain/src/cli.ts : commandes mcp, fts (debug), pause, resume, doctor + correct --scope + rebuild FTS après ingest/rebuild - brain/tests/fts.test.ts + hooks.test.ts : 114 tests, 5 suites Validé sur 4 scénarios : portfo/bento ✅, sbe-hub/migration ✅, reels/corrections ✅, math sans rapport → rien ✅ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 lines
23 B
JSON
2 lines
23 B
JSON
{ "type": "commonjs" }
|