← All work
Case study · AI systems · Product · Built inside a live product

Giving AI a real memory,
and finding out that more context can make it worse.

Mirror is context infrastructure: a structured, curated source of truth about a person and their work, goals, values, voice, relationships and current focus. I built it over six weeks, then used the system to test a question most AI implementations quietly assume they already know the answer to: does more context actually improve the output?

ProjectMirror
DisciplinesAI systems · Product · Data architecture · Research · Full-stack
Build33 tables · 182 commits · ~42K lines
Core findingContext is competitive, not cumulative
Mirror Self screen showing the Revolutionary Builder profile and archetype constellation
Actual product interface. Mirror begins with a governed identity layer rather than a blank chat window.
The problem

AI does not know the business unless someone builds the picture.

Most AI systems start from almost nothing. Strategy lives in one document, customer nuance lives in someone's head, project context lives somewhere else, and every new session reconstructs the picture again.

The deeper risk begins when AI is allowed to write back into that picture. A fluent but subtly wrong summary can become source data, and every downstream model call can inherit the error without anyone noticing that the foundation changed.

The move

Treat context as governed data.
Not an ever-growing prompt.

The first thing I built was not chat. It was a read-only context assembler that could show exactly what an AI would receive: identity, voice, values, current focus, supporting resources and relevant people.

Two rules followed. AI never writes into the source of truth unattended. And context is shaped to the job rather than accumulated indiscriminately.

Context is competitive, not cumulative.
Mirror Start a conversation dialog showing context scope model identity skills capability skills and tools
Context is selected, not dumped. A conversation can use all context, only Self, a specific goal, or a specific vision board, with explicit identity skills, capability skills and tools.
What the tests found

More context helped twice.
And hurt twice.

The point was not to prove a position. It was to measure what actually happened.

01 · HelpedReal reflection essays improved a report.

Adding user-written material strengthened the output and exposed that the prior prompt had been narrating empty fields back to paying users.

02 · HurtAdjacent archetype context degraded the report.

The added material displaced the more specific user context the generator actually depended on.

03 · HurtFull project context caused invention.

A saved external link was summarized as if the user were personally working on ideas the article merely mentioned.

04 · No winA finished cognitive-context feature failed its A/B.

It did not beat baseline with the model held constant, so it shipped turned off rather than being justified after the fact.

Mirror Notes interface with Ideas tab and drafted posts
Capture thought before it disappears. Notes turns raw thinking into reusable context and can shape it into outward-facing work without changing the underlying source.
Mirror Focus dashboard showing daily priority and mood state
Context meets the day. Focus connects persistent memory to the immediate work in front of the user.
The key decision

AI can propose changes.
It cannot silently become the truth.

The obvious path: let the model enrich goals, resources, tasks and other context directly. It is faster and demos beautifully.

What I chose instead: every AI write becomes a field-level draft with provenance and a status lifecycle. A person accepts, edits or rejects it before anything commits.

Why: an error inside a source of truth compounds. The review step is the cost of keeping the context trustworthy enough to use later.

The build

A context layer, an agent layer and the governance between them.

01

Substrate

Goals, tasks, resources, values, notes, CRM, habits, relationships and the links that make them meaningful together.

02

Context assembler

Four job-specific scopes rather than one giant context dump, with token estimates and gap warnings visible before a model call.

03

Review-gated writes

Field-level drafts with provenance across goals, vision boards, tasks, resources and agent work products.

04

Agent + tools

An AI agent with persistent task memory, skills, web, code, calendar and email tools.

05

Cost design

Small models for cheap work, larger models only when stakes justify them, and pure SQL when no model is needed.

06

Design + accessibility

A tokenized interface system, AA contrast, focus states, tap-target fixes and more than 100 catalogued UX improvements.

Mirror Aspirations overview showing twelve life areas and vision-board counts
Aspirations create the why layer. Twelve life areas hold goals and vision boards so the model can reason from intended direction, not only historical memory.
Mirror Hobbies area showing visual vision boards for glass blowing painting and cooking
The context is concrete. Vision boards turn aspiration into specific visual anchors instead of another abstract profile field.
33Mirror database tables
182Mirror commits across six weeks
4measured context findings
1finished feature deliberately left off
Product evidence

The context is usable because it stays connected to the thing it represents.

Aspiration is not stored as a loose paragraph. A vision board can carry intention, tags, people and goals, and that exact object can become the scoped context for a conversation.

Mirror vision board detail titled Designed to Win — A Living Ethos
Memory becomes working intent. The same object a person uses to define an aspiration can be passed into AI as explicit, bounded context.
The result

The durable output was a governance rule.

Mirror created a structured, queryable context layer where scattered knowledge had existed before. But the more important output was the rule that now governs AI changes across the codebase: prompt construction changes have to prove themselves against real data rather than being assumed safe because they are additive.

The finished cognitive-context feature is evidence that the rule has teeth. It failed to show a clear improvement, so it stayed off. A separate module was also removed after two attempts failed to make it earn a distinct role.

Why it matters

Before pointing AI at the company, decide what it is allowed to know and change.

The useful question is not simply which model to use. It is what structured knowledge should exist, which parts belong in this specific task, and whether AI is allowed to alter the foundation future work will rely on.

That is the same discipline I bring to client systems: measure the addition, narrow the context when necessary, and turn something off when the evidence says it did not help.

My roleStrategy · Product · AI systems · Research · Data architecture · Full-stack engineering · Design systems · Accessibility · Cost engineering
Book a 15-minute fit call