An Atlas ontology is a folder of plain Markdown files. Each concept is one .md file. The info block at the top of the file, its YAML frontmatter, says what the concept is and how it connects to other concepts. There is no database behind it: the files are the ontology. Below are the file format, the fields Atlas reads, and where the files go.
One concept, one file
---
uid: 7ec556ec-768d-40c3-8147-19db4287a338
slug: capabilities/token-issue
kind: capability
title: Token issuance
display_en: Token issuance
domain: domains/auth
elements: [elements/jwt-signer]
path: src/auth/issue-token.ts
dependencies: [capabilities/session-store]
relation_notes: { capabilities/session-store: "A token is only issued after the session is written." }
---
Issues a revocable session token after a successful sign-in.
## Includes
- Signing and returning the token.
## Excludes
- Checking the password, which belongs to credential verification.
The frontmatter is the graph: kind, name, parent and relations. The body is the meaning that a person or an agent reads: a definition, what the concept includes and excludes, the evidence, and what is still uncertain.
The fields
| Field | What it holds |
|---|---|
uid | The permanent identity, a lowercase UUIDv4. It never changes. |
slug | The current readable address, such as capabilities/token-issue. Relations point at slugs. It can be renamed. |
kind | One of project, domain, capability, element, document. See Choosing concepts. |
title | The canonical name. Search and matching use it in every language. |
display_<locale> | The name shown on a screen in that language, for example display_en, display_ko. |
display | An optional short name for labels when title is long. |
description | An optional one-line summary. |
domain | The parent domain of a capability or element. Expected; a missing one is a warning. |
path | For a capability or element, the one file or folder that a newcomer should open first. |
| Relation keys | domains, capabilities, elements, dependencies, relates, broader, contains, describes. See Relations. |
relation_notes | One sentence per relation saying why it holds, keyed by the target's slug. |
created_by | Who created the file: human, or agent: followed by the agent's name. |
review_state | Optional. human_decides marks a concept only a person may settle; confirmed records that a person checked the meaning. |
uid, slug, kind and title are required on every concept. A missing domain on a capability or element is a warning, not an error, so an unfinished folder still opens.
Identity: uid and slug
Whatever creates a concept (the app or the MCP server) generates its uid once. You do not choose it. Renaming a concept changes its slug and rewrites every relation that points to it, but keeps the uid. Merging two concepts keeps the surviving concept's uid and records the other one in merged_uids, so an old uid still leads to the right concept. Do not write merged_uids by hand.
Use the slug when you write relations and links, because it is what people read in the file. Use the uid when a tool or a handoff note must point at the same concept even after a rename.
Names in several languages
The map, lists and panels show display_<locale> for the screen's language when it exists, and fall back to the canonical name otherwise. title stays the same in every language, so search and matching do not depend on translation. If your team reads the map in two languages, fill in both names. When one is missing, the screen shows the other language's name instead.
Where the files go
Keep the ontology folder inside the repository it describes. Then a code change and the matching change in meaning can be reviewed in the same pull request. The Atlas repository keeps its own ontology in docs/ontology/.
your-repo/
├── src/
└── docs/ontology/
├── project.md the project (kind: project)
├── domains/ one file per domain
├── capabilities/ one file per capability
├── elements/ one file per element
├── sources/ raw source files, never concepts
└── .ontology-atlas/ files the app keeps beside the ontology
Projects and documents sit at the root of the folder. Domains, capabilities and elements each have their own folder. By convention the file path matches the slug, but the slug: in the frontmatter is the address Atlas trusts. Under a kind folder, a slug must be flat: elements/jwt-signer, never elements/src/auth/jwt-signer. The code location belongs in path.
Files under sources/ are raw material, such as documents a wiki page cites, and are never read as concepts. .ontology-atlas/ holds files the app writes beside your ontology, such as review results and the link to your code folder. When Atlas first writes that link, it also adds a .gitignore there so that the folder stays out of Git.
An agent's validate_vault reports broken references, unknown kinds and malformed identities. Most findings are warnings that do not stop your work; a duplicate uid is an error.
The files are the truth
Atlas always reads the ontology from the files. Edit a file in your editor, in the app or through an agent, and the map picks up the change within seconds. There is no sync button and no hidden state. Every change, including one an agent makes, shows up in git diff, where you can review, keep or revert it.
Next: Choosing concepts.