Skip to main content

Module manifest

Module manifest 

Source
Expand description

Per-view code-graph manifests: the identity layer over content-addressed slices (ADR 0012).

A manifest maps every path in a view to the ContentHash of the slice that currently populates it: (repo, view_id) -> { path -> content_hash }. Slices are content-addressed and shared across worktrees; the manifest is what gives a view its identity and lets assembly resolve path -> slice. It is regenerable from source, so a divergence is reconciled last-writer-wins (MergeClass::Derived) rather than surfaced as a conflict.

Structs§

Manifest
A per-view manifest body: path -> the content hash of the populating slice.
Reconciliation
The result of reconciling a Manifest against a working tree: the change sets (each sorted) plus the reconciled manifest, which equals the tree.

Functions§

desired_set
Build the desired path -> content_hash set for a working tree by hashing each file’s content. The output feeds Manifest::reconcile.