Skip to content

okf/not-a-concept

warningOKF specification

Under OKF 0.3, a .md file without frontmatter or a type isn’t a concept: consumers skip it (OKF §3.2).

OKF 0.3 says which markdown files are concepts: those whose frontmatter has a non-empty type (§3.2). A file without frontmatter, or without a type, isn’t one: consumers skip it, so it isn’t listed, searched, or served to AI assistants. That lets a bundle hold a README.md or CONTRIBUTING.md, but a page meant as knowledge that’s missing its type disappears quietly, which is why validators say so. Give it a type, or, if it isn’t knowledge, add it to ignore: in .okforest/settings.yaml to say so. Under OKF 0.2, where every markdown file is a concept, okf/type and okf/frontmatter report these as errors instead.

This file breaks the rule:

churn.md
---
title: Monthly churn
description: The share of customers who cancel in a month.
---
Churn is the customers who cancel in a month, divided by the customers at its start.

okforest validate reports:

churn.md
1:1 warning Not a concept: its frontmatter has no `type`, so OKF skips it. If it's knowledge, give it a `type`; if it isn't, add it to `ignore:` in .okforest/settings.yaml. okf/not-a-concept

Fixed:

churn.md
---
type: Metric
title: Monthly churn
description: The share of customers who cancel in a month.
---
Churn is the customers who cancel in a month, divided by the customers at its start.