Code and decisions
Every file carries the decisions, trade-offs and lessons that shaped it. No more working out why from scratch.
02 / 06Knowledge Atlas
The Stream is what’s new. The Atlas is what’s connected. Knowledge Atlas links decisions, lessons, code, docs, tasks, sessions and project history into a graph you can query, so agents find the right context, not just the most recent.
01Connected, not stored
Many memory tools store snippets. The Atlas stores relationships, so when an agent reads auth/session.ts, it also sees the decision that shaped it, the lesson that constrains it and the open task that depends on it.
Every file carries the decisions, trade-offs and lessons that shaped it. No more working out why from scratch.
A lesson becomes a guardrail on the code it protects. The same fact, in two roles.
Indexed READMEs and runbooks attach to the sessions that actually used them.
02Right context, not most recent
The answer follows relationships from the file to what shaped it, three hops at most, and cites each node it returns.
What should I know before editing auth/session.ts?
Traversal · 3 hops · 7 nodes · 11 edges
Use Postgres row-level security for tenant isolation.
Don’t hand-roll session expiry. Use the helper.
Never log raw session tokens.
auth/threat-model.md
Rotate signing keys before launch.
03Two views, one context graph
Files, concepts, decisions and lessons share one graph. Switch the view; what it describes stays the same.
Import, reference and ownership graphs derived from the source. Sanitised, never stored.
Knowledge connected by who learned it, where it was used and which code it protects.
04From graph to agent
MCP-compatible tools query the Atlas and get scoped, source-backed answers.
The first-party CLI checks the Atlas before every edit and shows related context inline.
A Capsule is a slice of the Atlas, already traversed. Scoped, expiring and revocable.
Continue reading
Start with one decision. The graph grows from there.