Skip to main content

Module manifest

Module manifest 

Source
Expand description

The instance manifest: the persistent record of what an instance holds.

Schema version 3. The manifest is what lets a later sdd distinguish managed drift from adopted reconciliation and its own version from the instance’s. This module owns the shape and its parse-time invariants; reading it from disk, comparing it to bytes, and writing it belong to the services.

Structs§

DeclaredPathError
A --plan-zone or --docs-scratch value the arguments cannot mean.
LegacyManifest
The parts of an older manifest an upgrade needs.
LegacyOwnedFile
One version-1 managed entry: only what the conflict scan reads.
Manifest
Everything an instance records about itself.

Enums§

ManifestParseError
A manifest that could not be accepted.
PlanZone
Where the project’s planning tool writes its entry documents.

Constants§

CANON_SOURCE
Where the canon is published.
DOCS_SCRATCH_VAR
The environment variable that names the docs scratch.
INSTANCE_DIR
The instance directory, relative to the instance root.
MANIFEST_PATH
The manifest path, relative to the instance root.
PLAN_ZONE_VAR
The environment variable that names the plan zone.
SCHEMA_VERSION
The manifest schema this binary reads and writes.

Functions§

parse_docs_scratch
Read the --docs-scratch argument.
validate_docs_scratch_path
Whether a recorded docs-scratch path is one a reader can resolve.
validate_plan_zone_path
Whether a recorded plan-zone path is one a gate can resolve.