Knowledge bundle
The knowledge bundle holds the facts and constraints the code does not show. Project facts live as small markdown files under .agents/knowledge/ in the Open Knowledge Format (OKF). For a step-by-step walkthrough, see First day with VULCAN.
What a concept looks like
Every concept file requires parseable YAML frontmatter with a non-empty type:
---
type: Concept
title: Invoicing service
description: How the service bills and delivers invoices.
---
# Invoicing service
The service bills in euros and numbers invoices per calendar year.Links use bundle-absolute paths with a leading slash and the .md extension, such as [Invoicing](/billing/invoicing.md).
What goes where
The knowledge bundle lives at .agents/knowledge/ by default:
| Path | Purpose | Rules |
|---|---|---|
index.md | Root bundle entry point | Carries no frontmatter except okf_version at root |
<section>/<name>.md | Curated concepts | Requires YAML frontmatter with a non-empty type |
reference/ | Generated reference pages | Derived from source code by vulcan okf gen |
Checking it
Run vulcan okf check to validate conformance to the Open Knowledge Format v0.2 specification. Both commands exit with code 0 on success and exit with code 1 on errors.
| Command | What a failure looks like |
|---|---|
vulcan okf check | .agents/knowledge/overview/example.md: §11.2 missing or empty top-level type |
vulcan okf check --strict | .agents/knowledge/overview/example.md: broken link -> /overview/missing.md |
What each one checks:
vulcan okf checkvalidates OKF conformance. Every concept needs parseable frontmatter with a non-emptytype.index.mdcarries no frontmatter exceptokf_versionat the root. Soft guidance (status, timestamps, actors) prints as warnings and does not fail.vulcan okf check --strictadds the project house rules. It checks link resolution, brand casing, hyphen style, structural coverage, and generation freshness.
Generated pages
vulcan okf gen derives reference pages from source code, rendering only what knowledge.okf.renderers lists (default []). To enable makefile-targets, add the config line:
okf: { renderers: ['makefile-targets'] }Each generated page carries this notice:
> Generated from source - do not edit; run `make okf-gen`.For built-in renderers and custom modules, see okf renderers.
Coverage
vulcan okf coverage audits curated concepts against directory axes configured under knowledge.okf.coverage. With no axes configured (default []), the report prints structural: 0/0 100% because zero directories are expected. For axis configuration and threshold gates, see the okf reference.
Keeping it in step
Rule V-P-04 requires updating the knowledge bundle whenever code changes a fact.
To audit concepts against repository code, ask your agent to audit the knowledge bundle. The docs-update skill does it, and vulcan project doctor must pass before starting.
The skill audits concepts against code, treating source code as ground truth. Every finding cites a file:line witness. The skill reports confirmed changes and does not commit edits.
Before finishing, the skill runs three validation gates:
vulcan okf genvulcan okf check --strictvulcan okf coverage --min 100