Documents
What has been recorded, and what evidence supports the answer?
Building a Second Brain · Part 8 of 8 · Draft
Memory gives an agent continuity. An operational model gives it a safe way to participate in what happens next.
Series synthesis. This is the target architecture I am researching. Some layers work independently today; the complete integrated system remains future work.
I wanted my AI memory to survive whichever harness I happened to use. Like a password vault, the durable record should remain independent while authorised tools come and go.
That led to a personal second brain, a separate company brain, and simple user-facing operations for remembering and recalling. It solved an important problem: a new agent no longer had to meet me as a stranger.
It also exposed the next problem. Memory can explain what happened. It does not automatically model what exists now or provide a governed way to change it.
What has been recorded, and what evidence supports the answer?
What exists now, what state is it in, and how is it connected?
What tested calculation or transformation can the system perform?
Which governed changes may be proposed or executed?
When should a bounded function or action run without a fresh request?
How should the system interpret intent and choose among the other layers?
No single layer replaces the others. Documents without state become stale instructions. Ontology without evidence becomes unexplained authority. Functions without actions blur calculation and permission. Automations without bounded effects become unattended agents.
The current work is real but distributed. My brain architecture provides portable, sourced memory with explicit personal and company boundaries. The knowledge layer supports hybrid and graph-aware retrieval. CodeGraph exposes structural relationships and returns an evidence envelope rather than a bare answer.
Separate surfaces in my independent local prototype demonstrate typed objects and links, cited document chunks, versioned functions, governed action proposals, approval and stale-state checks, automation runs, and visible tool traces. They are proof slices, not one finished integrated journey.
These pieces demonstrate the contracts. They do not establish production readiness. Identity, persistence, general domain onboarding, and the integration between the knowledge and operational stores still need deeper work.
I do not need another wide product mock-up. I need one narrow journey that works with real boundaries:
Find evidence → inspect the affected object → propose a change → review it → execute it → explain the outcome.
A personal publishing workflow is a useful first domain because I own the data and the decision. The system can connect articles, claims, sources, talks, and repositories. It can retrieve the evidence behind a claim, run repeatable checks, and propose a publication-state change without publishing on its own.
If that journey survives stale state, missing permission, unavailable retrieval, duplicate delivery, and source changes, the architecture has earned the right to grow.
A polished answer is not the main success metric. I want to know whether the system cites the correct source, resolves the correct object, reuses the correct function, blocks an unauthorised action, rejects a stale proposal, and explains what it did.
Some of the most valuable tests should end in refusal. The agent should stop when evidence conflicts, when ownership is ambiguous, when the object changed after review, or when no authorised action exists.
This is where my work on pattern linting, CodeGraph, and built-in verifiers connects back to the second brain. Complexity becomes useful when it produces checks that can fail clearly.
The second brain remains custom because it reflects my projects, relationships, boundaries, and ways of working. But custom does not mean isolated. Once its contracts are stable, agents can help maintain it, extend it, and use it to begin the next project with more context.
Documents give the system a past. Ontology gives it a present. Functions and actions give it bounded capability. Automations give it continuity. The AI layer helps assemble those pieces around a human request.
The goal is not a brain that acts like me. It is a system that helps agents work with me without forgetting what matters or quietly stepping beyond their authority.