ReadonlyEntityThe entity this stage runs over.
ReadonlyNameThe registered name; must match the @RegisterClass key.
ReadonlyStatusThe status column the committer advances and a Record Process's filter reads (e.g. ExtractionStatus).
null for Discover, which walks every source selected by the Record Process filter rather than advancing a status.
DeleteStatus is Pending or Deleted; 'Complete' is not in its CHECK constraint.
OptionalFinalizeOptional bulk step for work far cheaper in bulk (one embedding call for fifty texts). Run then only
gathers; Finalize gets the page's records and returns one outcome each. Used only when the stage is
last in the run's list.
ProtectedmarkMark whatever depends on this record for deletion. Nothing for a chunk, which is a leaf.
ProtectedPurgeHard-delete a chunk nothing references; keep one that something does (a citation, a retrieval log) as a tombstone. "Referenced" means any entity with a foreign key to Content Item Chunk, read from metadata, so a layer above MJ gets this for its own usage tables.
Do this stage's work on one record. Return an outcome; a thrown TransientStageError or FatalStageError is understood too, and any other throw is treated as fatal.
A delete that could not finish stays Pending (neither value is in the CHECK), so the next run tries again.
StaticResolveResolve a registered stage, or null. Uses TryCreateInstance because CreateInstance falls back to a
hollow base instance on an unknown key, which would make a typo in a Record Process silently do nothing.
Delete over Content Item Chunk — the leaf case.