Soma · Documentation
soma docs render
Part of soma docs. See that entry for shared arguments and usage.
soma docs render [--tag <tag>] [--commit <sha>] [--axon-db <sqlite-path>]
[--axon-version <version>] [--axon <binary>] [--clients <clients-json>] [--out <docs-directory>]
soma docs render --engram [--out <docs-directory>]
soma docs render --engram --maps --ote <ote-toml> [--axon-db <sqlite-path>]
[--allow-stale] [--out <docs-directory>]
All parser options appear above. Without Engram flags, render deterministic repository maps/navigation. Default authored root is configured docs_dir / docs/soma; generated root is configured generated_dir / .soma. --out overrides the authored docs selection, not all generated paths. Default Axon DB is .axon/axon.db when it exists; otherwise ordinary mode can derive workspace facts. An explicit relative DB resolves against the selected working directory.
--tag resolves to a commit; --commit is used without a tag or as fallback if tag resolution fails. These annotate rendering, not a checkout/test operation. --axon-version supplies metadata (optional axon prefix stripped); --axon <binary> queries that binary's --version, not delta/index. Version metadata falls back to 0.1.0. --clients <file> selects client-roster input; unlike concerns check, this flag takes a path.
--engram alone renders concern knowledge files under .soma/engram/. It cannot combine with --tag, --commit, --axon-db, --axon-version, --axon, or --clients. Rejected knowledge-envelope/structural text is an error, not silently sanitized prose.
--maps requires --engram; map mode additionally requires --ote, selects .soma/engram-maps/, and permits --axon-db, --allow-stale, and --out. It cannot combine with --tag, --commit, --axon-version, --axon, or --clients. --ote/--allow-stale are refused outside map mode. Missing map index exits 1 (axon: absent); commit-stale index exits 1 unless --allow-stale. OTE budget limits body/page selection; inspect census.json for withheld modules. Both Engram modes write files/manifests/key inventories, not Engram memory or runtime guards. Option incompatibilities and missing values exit 2.
See CLI conventions for shared configuration and exit behavior, or browse all commands.