Skip to main content

Module culling

Module culling 

Source
Expand description

The client-side culling workflow engine (SSoT: Organization — Culling).

Culling is the review pass a photographer makes after a shoot: keep, undecided, toss. Capsule models it as a trinary CullFlag per asset stored in the sidecar’s cull LWW register. This module owns the derived pieces the schema deliberately does not store, so there is no second source of truth to diverge:

  • GroupCullState — a stack/burst has no stored flag of its own; its cull state is derived from its members (all-rejected, any-pick, else mixed).

The stateful surface (writing flags as signed metadata-updates, the cull-filtered views, flagging a whole stack, and the reject-sweep) lives on Workspace, which ties these predicates to the on-disk signed data plane. Flagging never touches bytes and is fully reversible; the reject-sweep’s batch-move to trash is the only destructive step, and it is soft-per-retention like any delete.

Enums§

GroupCullState
The derived cull state of a stack/burst (owner: Organization — Culling). A group never stores a flag of its own — this is computed from its members every time it is read, so grouping cannot diverge from the per-asset flags.