STRΛTΛ19
Tools

strata19.library_ingest_commit

Composite member tool

What it does

Commits a previously previewed Library ingestion batch: creates/versions/links artifacts per item, writes content-addressed source objects locally, and returns a per-item receipt. Each selection may set a Library category (otherwise the preview's proposal applies) and an actorId recorded honestly in provenance (source is always "import"). Atomic by default — the whole batch is rejected if any selected item fails, unless commitMode is explicitly "valid_items". duplicate_near items require an explicit duplicateDecision. A changed source since preview, an expired preview, or a previewDigest mismatch refuses the whole call. Idempotent: replaying the same idempotencyKey returns the same receipt without duplicating anything (omit the key and one is derived from this exact selection).

When to use it

Use when: "import these items" · "commit the library import" · "yes, add the selected files"

Also use when: the user has reviewed a library_ingest_preview result and confirmed which items to import

When not to use it

no library_ingest_preview call has happened yet for this exact selection

Availability

TierComposite member
LifecycleLive
Taught bystrata19-project-library