Document fields
This page lists the frontmatter fields and the body sections of each kind of document, as the
engine's validation reads them. The section lists are the ones in the engine's preset. Your
workspace's lists are in its reasonry.config.json file: see
Customize a workspace.
The agent writes these fields through the engine's tools. Use this page when you read a document, review a change, or edit a file by hand.
Source documents
Every document in an initiative starts with frontmatter. The following frontmatter is the accepted decision from the tutorial:
---
doc_type: decision
id: DEC-TT-0001
title: "First review within 1 working day"
summary: "Every pull request gets a first review within 1 working day. The team that owns the repository checks its open pull requests each morning to meet the target."
status: accepted
initiative: "team-tooling"
tags: ["topic/code-review","topic/working-agreements"]
owners: ["Platform team"]
reviewers: ["Platform team"]
date: 2026-11-16
links: ["EVID-TT-0001","Q-TT-0001"]
---
The following table lists the fields:
| Field | Required | What it holds |
|---|---|---|
doc_type | Yes | The type's name in the configuration, such as decision, question, or evidence |
id | Yes | The document's ID. For decisions, open questions, and evidence, it has the form START-PREFIX-NNNN with the initiative's prefix |
title | Yes | The document's title |
status | Yes | One of the statuses of the document's type |
initiative | Yes | The folder name of the document's initiative |
date | Yes | The day of the last status change, as YYYY-MM-DD. An edit doesn't change it: git records edits |
summary | No | 1 to 3 sentences on what the document decides, asks, or finds. Search results and document lists show it |
tags | No | Tags from the initiative's tag list |
owners | No | The teams that own the document. Team names, never a person |
reviewers | No | The teams that must follow a decision, or that review an open question. Team names, never a person |
links | No | A plain list of related document IDs, the evidence behind a decision included |
succeeded_by | No | On a superseded document, the IDs of its successors |
resolves | No | On a decision, the IDs of the open questions that it answers |
refined_by | No | The IDs of the documents that refine this one |
waits_on | No | On an accepted decision, the outside condition that it waits on |
aliases | No | Other search terms for the document. Search indexes them with the body |
attachments | No | Files and URLs that belong to the document, for an initiative's hook to read |
provenance | No | For a document that moved from another initiative: its earlier ID and initiative, the date, and the reason |
The validation reports these conditions as errors:
- A required field is missing, or
dateisn't in the formYYYY-MM-DD. doc_typeisn't a type in the configuration, orstatusisn't a status of the type.- A decision, an open question, or a piece of evidence has a tag outside the initiative's tag
list, or an ID that isn't in the form
START-PREFIX-NNNN. - Two documents have the same ID.
- A document is in a subfolder of its type's folder.
- A superseded document has neither a
succeeded_byfield nor a banner in its body that gives the reason. - A field has a name that an earlier format used, such as
superseded_byordepends_on.
The validation reports these conditions as warnings:
- A decision, an open question, or a piece of evidence has no
tagsfield. - The initiative's tag list has a
provenance/tag, and a decision, an open question, or a piece of evidence has none. - A document has no
linksfield. An empty list is fine. - A decision, an open question, or a piece of evidence that left its first status has no
ownersor noreviewers. - A decision, an open question, or a piece of evidence lacks a field that the initiative's manifest recommends.
- A field isn't in the preceding table.
waits_onis on a document that isn't a live decision.
Body sections
The body starts with a first-level heading that holds the title. For decisions, open questions, and evidence, the heading holds the ID too. Second-level headings follow, from the type's template. The following outline is the body of the same decision, without the text under each heading:
# DEC-TT-0001: First review within 1 working day
## Context
## Decision
## Consequences
## Alternatives Considered
## Challenge
The following table lists the sections of the preset:
| Type | Required sections | Optional sections |
|---|---|---|
Decision (decision) | Context, Decision, Consequences, Alternatives Considered | Open Questions, Links, Challenge |
Open question (question) | Summary, Problem Statement, Open Questions | Goals, Non-Goals, Proposal, Tradeoffs, Rollout Plan, Risks, Alternatives Considered, Links, Rejection rationale |
Evidence (evidence) | What This Evidence Is, Links | How to Reproduce, Result, Interpretation, Techniques, When it applies & caveats, Source & Provenance |
The charter, context, and plan types have no template in the preset.
A document that doesn't match its template gets a warning. The preset also warns in these cases:
- A decision or an open question has a heading outside its lists.
- A document has more than 250 lines.
- A summary has more than 6 sentences.
- A Decision section contains a question.
For every type, the validation also warns if a document disagrees with itself:
- The first-level heading doesn't contain the title.
- The summary names a document ID that the body doesn't mention.
- A table's total row differs from the sum of its rows.
- A sentence states a count, and the list or the table after it has a different number of items.
The challenge gate writes its findings and your answers to the ## Challenge section of a
decision. A superseded document starts its body with a banner that names the successor or gives
the reason, such as this one:
> ⚠️ **Superseded by DEC-TT-0002** on 2026-11-16.
Reports
A report is a file in source/reports/. The report_issue tool creates it, and the
transition_status tool closes it. The following frontmatter is from a report that a maintainer
declined:
---
doc_type: report
id: RPT-0001
title: "Contradiction Report: DEC-TT-0001"
report_type: contradiction
status: resolved
date: 2026-11-16
reporter: "agent/web-app"
initiative: "team-tooling"
related_sources:
- DEC-TT-0001
- DEC-TT-0002
resolution:
resolved_by: "maintainer"
resolved_date: "2026-11-16"
action: no-action-needed
note: "DEC-TT-0002 is a draft, and nobody has accepted it. The two documents don't conflict until someone does."
---
The following table lists the fields:
| Field | Required | What it holds |
|---|---|---|
doc_type | Yes | report |
id | Yes | RPT-NNNN |
title | Yes | The report's title |
report_type | Yes | drift, contradiction, or missing-evidence |
status | Yes | open or resolved in the preset |
date | Yes | The day of the last status change |
reporter | Yes | Who filed the report, such as the name of a consumer's agent |
initiative | Yes | The initiative of the documents that the report concerns, or cross-initiative if they belong to several |
related_sources | Yes | The IDs of the documents that the report concerns. At least one, and each must exist |
severity | No | low, medium, or high. A person sets it during a review pass |
resolution | For a resolved report | Who resolved it, the date, the action, the documents that changed, and a note |
The action of a resolution is one of source-updated, wiki-refreshed, evidence-added, and
no-action-needed. A declined report is resolved with no-action-needed and the reason in the
note. A links field on a report is an error.
The body of a report has two sections: ## Observation holds what the reporter found, and
## Resolution holds the note of the resolution.
Wiki pages
A wiki page is an Open Knowledge Format concept. The maintain-knowledge skill writes these
fields:
| Field | Required | What it holds |
|---|---|---|
type | Yes | A short name for the kind of knowledge on the page, such as Standard or Guide. The format has no list of types |
title | Yes | The page's name for a reader |
description | Yes | 1 or 2 sentences on what the page covers. Agents choose pages by it, and the index.md file of the page's folder shows it |
sources | Yes | The documents that the page cites, at least one. Each entry has the document's id and its resource, which is the file's path from the page's folder |
generated | Yes | When the page was generated, as a date and time with an offset in at, and by whom in by |
The page's initiative is the folder under wiki/ that holds the page, and isn't a field. The
validation reports a page that sits directly in wiki/ as an error, and a page in a folder that
isn't an initiative as a warning. A source ID or a resource that doesn't exist is a warning. A
page can carry more fields: the validation accepts a field that this table doesn't list.
The validation compares generated.at with each source's last change to find stale pages.