cernlydocs

cernly docs

TL;DR Architecture docs in Markdown from a facts file: arc42 sections, C4 context and container views in Mermaid, and a footnote with file and line behind every statement.

cernly docs [flags] <facts.json>
Flag Meaning
--default-branch Branch whose deploys count as production. Default main.
--out Output file, for example ARCHITECTURE.md; - (default) is stdout.

What you get

What stays blank

Goals, constraints, strategy, runtime, decisions, quality and the glossary: the code cannot answer them. Those sections are marked "Not in the code" for a person to write.

Same scan, same options: the same bytes, so the file can live in the repo and change only when the architecture does.

How it works: architecture docs.