OptionaldocsDocs pass options, or false to skip it entirely.
OptionalevidenceWhere to write the persisted evidence artifact (the full, literal
EvidenceModel, plus a paired .fingerprint sidecar -- see
evidence-cache.ts), e.g. docs/env.evidence.json, relative to root.
Independent of manifest.location -- requesting this needs no other
pass, and generating a manifest never requires it. EvidenceModel
itself is always computed regardless of this option (ADR 0038, "free to
compute, always real") and always returned as result.evidence; this
option controls only whether it's also written to disk. Omitted:
nothing is written, result.evidence is still populated.
OptionalexcludeGlob patterns to exclude, shared across every requested pass. Defaults to node_modules/dist/.git.
The filesystem capability, shared across every requested pass -- ./build never imports node:fs (ADR 0040).
OptionalincludeShared schema-discovery glob for the contract graph. Defaults to ["**/env.schema.ts"].
OptionalliveSupplies expiration metadata from a live source (a secrets manager, an
internal inventory API, ...) as a post-discovery override applied only to
the docs pass. Invoked at most once, only when a docs pass is actually
requested, with every discovered variable name across all passes' shared
contract graph. See live-expirations.ts and ADR 0012. Omitted: behavior
is unchanged from a purely static expiresAt.
OptionalmanifestManifest pass options, or false to skip it entirely.
OptionalonEscalates every warning-severity "ownership"-family finding (abandoned
contracts, unresolved consumers, unconsumed owned variables,
indeterminate ownership, stale/missing dynamicAccess citations) into a
blocking error. Defaults to "warn" -- see onUndocumented.
OptionalonEscalates every warning-severity "documentation"-family finding
(undocumented contracts/variables, stale doc entries, expiring/expired
entries, unresolvable documentEnv() links) into a blocking error, so a
run with any of them writes nothing and throws. Defaults to "warn" --
ADR 0038's stance, unchanged: documentation gaps never block by default.
OptionalpackagesSee GenerateEnvManifestOptions.packages; shared across every requested pass. See ADR 0014.
OptionalrootDirectory glob patterns are resolved against, shared across every requested pass. Defaults to process.cwd().
OptionaltsconfigSee GenerateEnvManifestOptions.tsconfig; shared across every requested pass. See ADR 0023.
OptionalusageUsage-report pass options, or false to skip it entirely.
Options for generateEnvArtifacts.