Architecture Index
How akm is built.
Overview
- Architecture -- How bundles, sources, refs, the index, search and show, writes, registries, and the execution boundary fit together
- Core Principles -- How the code, tests and docs in this repo are built: the engineering rules and what enforces each
- Adapters -- The
BundleAdaptercontract: how a bundle's files are recognized, indexed, linted, and written - The Workflow Engine -- How a workflow compiles to a frozen plan, persists run and unit state, dispatches work, and resumes without replaying completed steps
- The Improvement Loop -- How feedback changes ranking and the utility signal, how evidence becomes reviewable proposals, and which writes happen without review
- Persisted-Data Compatibility -- What a reader owes data an earlier release wrote, per persisted format
Specs
- Ref Format -- The
[bundle//]conceptId[#fragment]ref grammar - OKF Format Support -- What the built-in
okfadapter reads, and how OKF relates to AKM Markdown
Internals
- Storage Locations -- Where akm reads and writes on disk
- Indexing -- How the search index is built
- Classification -- How adapters recognize files and pick renderers
- Improve Workflow --
akm improvecommand surface and per-step pipeline reference - Health Advisories -- The
akm doctorchecks and what to do about each - Fresh-Host Rebuild Runbook -- Rebuild an akm install on a new machine