What is in a vault?
Five root files form the control plane. They tell every agent how to behave in this vault, whoever opens it:
AGENTS.md- Startup behavior, how learning happens during work, the order in which instructions win, and the constraints that need an owner’s approval.
workflows.md- How to retrieve context, weigh sources, label evidence, edit maintained knowledge, verify work, and keep only artifacts that still earn a place.
ARCHITECTURE.md- The canonical home of every kind of knowledge, so each subject has one place and one current account.
SOUL.md- The taste, standards, and judgment everyone in the vault shares. Setup walks you through making it yours.
index.md- The live map an agent routes from, with indexes of entities, knowledge, skills, and open loops under
indexes/.
Everything else is knowledge under wiki/, procedures under skills/, and checks under scripts/. The scripts use only Python’s standard library, so a vault needs git, Python 3.12 or newer, and an agent.
How does an agent use it?
At the start of a session the agent runs python3 scripts/contributor.py whoami. It returns who is working, whether that person owns the vault, and the short adjustments every agent applies for them, such as ask only when ambiguity changes a name, number, deployment, or decision.
An empty registry tells the agent the vault is new and should be set up first.
The agent then reads only what the task needs: it routes from index.md to the relevant subject, opens the maintained account before raw sources, and stops retrieving once it has the authoritative object, the procedure, and enough current evidence to act. When the request matches a repeatable capability, it follows that skill.
When instructions disagree, the more specific one wins, in this order:
- the request in front of it;
- explicit task or project constraints;
- the applicable skill;
- current context of the entity or project;
workflows.md;- the defaults in
AGENTS.md; SOUL.mdand the person’s own preferences;- general knowledge in the wiki.
Where does each kind of knowledge go?
Four layers keep retrieval narrow. An agent can load a reusable lesson without a project’s history, and a project’s current state without every general playbook.
| Layer | Home | Holds |
|---|---|---|
| Domain playbooks | wiki/<domain>/ | Mechanisms that transfer: platform behaviors, decision rules, measurement traps, failure modes. |
| Entity accounts | wiki/<entity>/ | Present-tense state of an employer, client, team, project, or personal area: decisions and their reasons, baselines, open questions, systems of record. |
| Evidence and deliverables | sources/, outputs/ | Primary evidence a decision may need to re-examine, and deliverables still in use. |
| Procedures | skills/<name>/ | Repeatable workflows with verification checks and approval gates. |
A subject starts as one page and earns a folder only when supporting files need their own retrieval. Large exports, dashboards, and code that runs elsewhere stay at their system of record; the vault links them and keeps what those systems lack: the reasons, the safe procedure, and the failures already seen.
How does the vault learn?
Learning happens at the checkpoints of real work: during an investigation, after a correction, and before a handoff. Nobody needs to ask for it. The agent records what a competent newcomer could not infer, such as hidden context, sources of truth, sequencing that matters, and surprising failures, and leaves generic practice out.
Maintained knowledge changes through five deliberate operations:
- Create to capture a genuinely new observation, distinction, or open question.
- Edit to say the same thing with more explanatory power.
- Replace only when the new account carries all the useful truth of the old one, and more.
- Consolidate fragments into one coherent account.
- Delete once nothing useful would be lost.
When a lesson changes a decision rule, a check, or an approval gate, the agent updates every affected skill in the same pass. Notes it left in its own runtime memory or in scratch files are folded into the vault before handoff, so the vault stays the canonical copy. Past conversations can be harvested in batch with conversation-harvest.
How are claims kept honest?
Each consequential claim carries its evidence state and its provenance:
- Claim
- Checkout errors doubled after the 14 October release.
- Condition
- Supported by the stored error export
- Provenance
- Incident review, Ben, 16 October 2026
- Age
- Not rechecked since the fix shipped
- Verified claims were observed directly or confirmed from current authoritative evidence.
- Supported claims rest on credible stored evidence without a fresh check.
- Reported claims were stated by a person or source without independent confirmation.
- Inferred claims were deduced from available context.
States are never silently promoted. A person is the authority on their own preferences and decisions, and observed system state is the authority on what ran; accepting an answer settles a decision, while only verification settles a fact. Several summaries of one conversation count as one source. Where sources disagree, both versions stay visible with their provenance until a live system or the owner settles it.
Prose is written as direct claims, and each correction rewrites the current account in place. A dated correction note remains only where the old belief could still mislead.
How is each context kept private?
Every employer, client, team, project, or personal area is an entity with a profile that declares who owns its information, its privacy scope (private, shared, or public), and what may be reused. Everything under it inherits that declaration. Context leaves an entity only as its rules allow: as a cleanly anonymized mechanism, or in any other form with the owner’s explicit approval and within the entity’s own rules. Ownership and privacy covers the full model.
How do you know a vault is healthy?
The rules in AGENTS.md, workflows.md, and the skills are instructions your agent follows, so how well they hold depends on the model and on your review of its changes. Code enforces these checks:
python3 scripts/validate_structure.pychecks the structure: every skill is complete and registered, every$skillreference resolves, relative links resolve, and a registry with contributors names an owner. With--auditit also reports pages and skills that have outgrown their size budget.python3 scripts/contributor.py auditsummarizes who changed what before it lands onmain, and flags claims that one contributor attributed to another.- Once setup enables it, a pre-commit hook rejects commits whose author does not match the contributor resolved on that machine.
- On GitHub, a workflow runs the validation and every test on each pull request and on
main.
Which agents can run it?
Any agent that reads AGENTS.md and can run commands can follow a vault. Claude Code and Codex are supported directly: .claude/skills and .agents/skills both point at skills/, so both see the same procedures from one source tree.