agentleFS
leninejuniorleninejunior/engrene-memory-bridge/CLAUDE.md

engrene-memory-bridge

CLAUDE.md12 starsChanged 56 days agoMITView on GitHub

The file

We split this CLAUDE.md into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check past decisions & traps: memory-bridge search "<query>" --mode hybrid

    line 5

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md — Claude Code Instructions (Compound Engineering + Memory Bridge)

Workflow & Memory Protocol

  1. Resume context at session start: memory-bridge resume --for claude
  2. Check past decisions & traps: memory-bridge search "<query>" --mode hybrid
  3. Record architectural choices: memory-bridge decision add --title "<title>" --decision "<decision>"
  4. Build & verify: npm test
  5. Wrap-up session: memory-bridge log --tool claude --intent "<intent>" --summary "<summary>" && memory-bridge handoff build

Active Architectural Decisions & Pitfalls

  • [dec-mu7tvkhc] Independent Community Memory Bridge: Adopt filesystem JSONL and Markdown contracts under .memory-bridge with zero runtime dependencies (Impact: Full transparency, no vendor lock-in, cross-tool continuity between Claude, Codex, Gemini, Antigravity and Orca)
  • [dec-mu7tvkjh] Hybrid Local Search Engine: Combine BM25 term weighting with local embedded SQLite cosine similarity (Impact: Fast, local, offline search without cloud LLM API dependencies)
  • [dec-muc3rsh5] Obsidian Vault Export & JEV BM25 Hybrid Provider Support: Added optional Obsidian vault sync (memory-bridge obsidian --vault <path>) exporting Markdown notes with YAML frontmatter and wikilinks, and added 'jev' semantic provider option for joint code-text search combined with BM25 SQLite FTS5. (Impact: Expands memory-bridge export capabilities to Obsidian and improves semantic vector retrieval options.)
  • [dec-mucoine1] Compound Engineering (CE) Multi-Agent Rules Synchronization: Added 'memory-bridge ce' CLI command and core module (src/core/ce.ts) to automatically generate and sync AGENTS.md, .cursorrules, CLAUDE.md, and copilot-instructions.md with active decisions and pitfalls. (Impact: Ensures all AI assistants automatically inherit project decisions, memory lifecycle protocols, and pitfalls without manual prompt editing.)
  • [dec-mucplvwt] Automatic Multi-Agent & Obsidian Sync Triggers: Added automatic integration execution (src/core/auto-sync.ts) triggered on 'decision add', 'log', and 'handoff build' events to keep Compound Engineering files and Obsidian vaults in sync automatically. (Impact: Eliminates manual sync steps and keeps rule files and Obsidian notes updated in real-time.)
  • [dec-mudge6ri] Obsidian vault import is bidirectional, vault wins by default: Added 'memory-bridge obsidian import' and 'obsidian sync' (import then export). Decisions match by frontmatter id; notes without id get a generated id written back and export reuses the user's file name. Sessions match by ts+tool. Conflicts resolved by --prefer vault (default) or bridge; updates replace the JSONL record in place (same id, no duplicate). Redaction runs on import. config.integrations.obsidian.autoImport pulls before resume. loadConfig now preserves the integrations block (it was silently dropped before, so vaultDir/autoSync from config.json never applied). (Impact: src/core/obsidian.ts (parser + importObsidianVault), src/core/store.ts (replaceDecisionEvent/replaceSessionEvent), src/core/config.ts (normalizeIntegrations), CLI obsidian subcommands, SPEC §8.1. Handoff.md stays export-only.)
  • [dec-mudi62tf] This repository commits its own .memory-bridge/ (selective .gitignore): Track config.json, decisions.jsonl, sessions/*.jsonl, handoff.md and project-context.md in Git; ignore only vector.sqlite, .lock and observations/. Every log/decision/handoff change is committed together with the code. redaction.customPatterns redacts IPv4(:port); hostnames and SSH aliases are not covered, so never put server names in summaries (the repo is public). (Impact: .gitignore, src/core/config.ts ensureGitignoreEntry, src/core/redaction.ts detectLeakageRisk, README portability section. Working tree gets dirty after any memory write; commit it.)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.