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§
- Declared
Path Error - A
--plan-zoneor--docs-scratchvalue the arguments cannot mean. - Legacy
Manifest - The parts of an older manifest an upgrade needs.
- Legacy
Owned File - One version-1 managed entry: only what the conflict scan reads.
- Manifest
- Everything an instance records about itself.
Enums§
- Manifest
Parse Error - A manifest that could not be accepted.
- Plan
Zone - 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-scratchargument. - 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.