Skip to main content

Module source_snapshot

Module source_snapshot 

Source
Expand description

Typed workspace source-snapshot authority (KRN-4).

One immutable value binds every revision that derived workspace data depends on: the manifest scan revision, the eligible file content identity, the eligibility policy revision, the document/LSP revision, the chunk catalog revision, and the derived index generation. Search hits, symbol results, model context items, and evidence facts can carry one snapshot digest, and a result bound to an older snapshot can never be presented as current against a newer live snapshot.

This is an identity and boundary layer. The manifest remains the scan authority, the catalog remains the chunk authority, and each index remains a rebuildable derived cache; none of them gains a second opinion about revisions.

Structs§

WorkspaceSourceSnapshotV1
The single revision authority for one workspace at one point in time.

Enums§

WorkspaceSourceSnapshotError

Constants§

WORKSPACE_SOURCE_CONTENT_DOMAIN_V1
Digest domain binding the eligible file set of one manifest revision.
WORKSPACE_SOURCE_SNAPSHOT_DIGEST_DOMAIN_V1
WORKSPACE_SOURCE_SNAPSHOT_SCHEMA_V1

Functions§

workspace_content_digest
Compute the content identity of one manifest snapshot’s eligible files.