Concepts
Knowledge Trees and Forests
Section titled “Knowledge Trees and Forests”- A Knowledge Tree (a tree, for short) is one source of knowledge that
OKForest reads. Today that is an OKF bundle in a GitHub repository, such as
acme/sales-okf. OKForest recommends naming those repositories<scope>-okf. - An account’s Forest is all of its trees, which people browse and search in the OKForest App, and AI assistants read over the MCP server.
- A grove is a group of an account’s trees, shared with people: you read the trees of the groves shared with you. See Access and security.
The word “branch” is avoided on purpose, so that it only ever means a Git branch.
Trust, status, and freshness
Section titled “Trust, status, and freshness”OKF gives every concept signals that OKForest shows to people and passes to AI assistants, so an answer can say how much to rely on it:
| Signal | Comes from | Values |
|---|---|---|
| Trust tier | verified |
unverified (no verification since it last changed), machine-confirmed (verified by a process), human-reviewed (verified by a person) |
| Status | status |
draft, stable (the default), deprecated; any other value is shown as written, and isn’t treated as stable |
| Staleness | stale_after |
Stale once the date has passed, or when it isn’t a date |
| Provenance | sources, generated |
Where the content came from, and who or what wrote it |
How a page’s trust changes
Section titled “How a page’s trust changes”A page’s trust tier counts only the verifications of the page as it stands:
those on or after generated.at, its last meaningful change (OKF 0.3, §5.3).
An edit keeps every verification, but an older one is of an earlier text:
OKForest shows it as verified before the last change, and it no longer
counts. Trees on OKF 0.2 are read the same way, as OKF 0.3 says to read every
version.
- Verify, on a page in the OKForest App, adds you to its
verified, as it stands. It’s offered to the tree’s editors who haven’t verified the page since it last changed, while the page isn’t stale: past itsstale_after, a page needs new content (and a new date), not a verification of the old. On a draft it’s Mark stable and verify, which also setsstatus: stable: a reviewed page isn’t a draft. - Applying a change in OKForest sets
generated(who wrote it, and when) and adds whoever applied it toverified: they reviewed the change. Not for a draft, which OKF calls not reviewed yet: it getsgeneratedonly. A change that leaves a page past itsstale_aftercarries a warning (service/stale-after): applying it doesn’t make the page current. - An edit in Git keeps every verification. When it updates
generated, the page says when it changed since its verifications, and Verify is offered again. When it doesn’t, nothing can tell the page changed, so a tool or person editing pages in Git should updategenerated.atwith each meaningful change. - So an edit in Git that updates
generatedtakes a page back to unverified, or machine-confirmed if a process has verified it since, until a person verifies it again.
Which combinations make sense
Section titled “Which combinations make sense”The signals are separate fields, so a page can hold any mix of them. Most mixes are ordinary; a few contradict each other:
| A page that’s… | Makes sense? | What it means |
|---|---|---|
| Stable, human-reviewed | Yes | Ready, and a person checked it as it stands. |
| Stable, unverified | Yes | Ready by its author’s word, but nobody has checked it since it last changed: one to review. |
| Draft, unverified | Yes | Still being written. |
| Draft, verified as it stands | No | draft means not reviewed yet (OKF §5.4), yet someone vouched for it. OKForest never writes this; an edit in Git can. okf/draft-verified reports it. |
| Verified, but changed since | Yes | The verifications are of an older text: kept as history, and the page is unverified until someone checks it again. |
Written by an AI (generated.by an agent), unverified |
Yes | What a person should review before relying on it. |
| Human-reviewed, but stale | Yes | It was right; its review date has passed, so it needs new content, not another verification. |
| Deprecated, verified | Yes | Kept for its links and history; the verification is of the page as it was. |
superseded_by without status: deprecated |
No | It names a replacement for a page that isn’t replaced. okf/status reports it (OKF 0.3). |
On a page, the trust badge shows which tier counts: a shield with a check for human-reviewed, one with an exclamation mark for unverified, including a page whose verifications are all older than its last change, whose page then says Changed since that date.
Diagrams as code
Section titled “Diagrams as code”Diagrams belong in concepts as code blocks (```d2 or ```mermaid), not
as images: their source can be diffed, reviewed, and edited by people and AI
assistants alike. The okforest/d2-syntax and
okforest/mermaid-syntax rules check
that they parse.