Expand description
NAP Commit — the history primitive.
A commit records a point-in-time snapshot of a manifest, plus patch metadata describing what changed. This is Option C from the design requirements: Snapshot + Patch Metadata.
- The VCS (Git) stores the full snapshot (tree).
- The commit object stores change descriptions (patches) for efficient audit/provenance without requiring full diff reconstruction.
Commits are NOT stored inside the manifest. The manifest stores only
head — a pointer to the latest commit hash.
Structs§
Enums§
- Change
Op - The type of change operation.