Search
Before planning, the agent reads the memory repo — prior records, decisions, repo profiles, known risks.
A Manifesto for AI-Assisted Engineering
Braingent is a Git-backed, Markdown-first memory repo. It gives Claude, Codex, ChatGPT, and Gemini CLI the same engineering context — what to read before planning, which decisions matter, and what work is already underway.
The Problem
Even capable models have no idea what your repo looked like yesterday, what you decided last sprint, or which approach you already tried and rejected.
Architecture, conventions, constraints, that one weird quirk in the deployment script. Pasted into a fresh chat. Lost the moment it closes.
The reasoning behind a non-obvious choice — buried somewhere between message #47 and a tangent about TypeScript generics. Unsearchable, uncitable, gone.
Memory you can't read, can't diff, can't move. Tied to one vendor's roadmap and one vendor's outage.
The Loop
Before planning, the agent reads the memory repo — prior records, decisions, repo profiles, known risks.
You and the agent ship like normal. Evidence, commands, tradeoffs and links accrue along the way.
Say capture this or task done. The agent writes a durable Markdown record and commits it.
Future sessions — and future agents — search that memory first instead of starting from zero.
Records
Plain files. YAML frontmatter for search. Git for history. Nothing your editor can't open and your eyes can't read.
BGT-NNNN tasks, optional dashboard.memory/decisions/2026-04-12-jobs-runtime.md--- id: DEC-0218 title: Move job runtime from BullMQ to Temporal status: accepted date: 2026-04-12 authors: [jj, claude] tags: [runtime, jobs, reliability] supersedes: DEC-0091 --- # Move job runtime from BullMQ to Temporal ## Context We hit a third silent retry loop in two weeks. # incident link BullMQ's failure model doesn't survive process churn on Fly.io. ## Decision Adopt Temporal. Migrate `billing` first, `webhooks` second. ## Consequences + Durable workflows, deterministic replay - Operator must run a Temporal cluster (1 dev, 1 prod) - 2-week migration, freeze new BullMQ jobs starting 2026-04-15
memory/tasks/BGT-0142.md--- id: BGT-0142 title: Backfill repo profile for `acme/api` status: in_progress priority: P2 owner: claude depends_on: [BGT-0138] created: 2026-04-28T09:14Z --- ## Goal Generate `repos/acme-api/profile.md` from local docs, git history, and open PRs. ## Activity - 2026-04-28 09:14 claude — opened, scanned README + ADRs - 2026-04-28 09:31 claude — drafted profile, 14 sections - 2026-04-28 10:02 jj — flagged auth section as stale - 2026-04-28 10:18 claude — re-read `auth/*`, rewrote section
CLAUDE.md · agent entrypoint# Braingent entrypoint for Claude You are working inside a repo that is paired with a **Braingent** memory repo at ../braingent. ## Before you plan 1. Read ../braingent/preferences/*.md 2. Search ../braingent/decisions/ and ../braingent/learnings/ for this area 3. Check ../braingent/repos/<name>/profile.md ## When the user says "capture this" - Write to ../braingent/<type>/<slug>.md - Include YAML frontmatter (id, title, status, date, tags) - Commit with message: capture: <slug> ## Never store secrets, tokens, credentials, raw chat transcripts, or sensitive personal data. Ever.
Privacy & Portability
Durable, intentional, human-readable. Things worth keeping for next time.
If it shouldn't sit on disk in plain text, it doesn't belong here.
What It Isn't
Your memory lives in your repo. No accounts, no dashboards behind a login.
Braingent runs on top of Git. History, diffs, sync, review — Git already does that.
Live tasks are optional. Linear, Jira, GitHub Issues stay where they are.
Records are the durable signal. Full transcripts don't belong on disk.
Markdown reads in any editor. Any agent. Any future tool you'll use in five years.
The filesystem is the index. Optional local search and dashboards stay local to your machine.
Get Started
Copy the starter pack, point your agent at it, capture your first task. From there, your memory grows on its own.
Public, open source. Markdown only — no install required to read it.
Preferences, templates, workflows, and an empty records tree. Personalize the placeholders, then commit.
Drop entrypoints into the memory repo root. Works with Claude, Codex, ChatGPT, and Gemini CLI.
Finish a piece of work, then say it. The agent writes a durable record and commits it.
Features
Reports missing files, stale placeholders, malformed frontmatter, and generated-index drift before agents trip on them.
Filter records by topic, repo, project, ticket, kind, status, person, or tool. Frontmatter is the index.
Build a small, citation-ready context pack for one task instead of rereading the whole memory repo.
Create, claim, comment, status, list, and archive BGT-NNNN tasks across multi-agent work — all just Markdown.
Generate synthesis pages from your records — every claim cited back to the Markdown it came from.
Read-only Bun + Astro UI over tasks/active/ and indexes. Agents and humans see the same live queue.
Copy the starter pack, replace placeholders, ask one-time setup questions. Markdown stays the source of truth.
Compare versions, show the patch plan, never overwrite your edits without an explicit diff.
Derive durable QA test-case records from prior decisions, learnings, and bug captures. Your agent's memory becomes a reusable test plan — Markdown in, Markdown out.
✦ ✦ ✦