Expand description
Bounded cold-construction asset import jobs (AST-02). Bounded Q42 asset import jobs (AST-02).
Cold-construction framework: unique tempfile::TempDir, explicit byte /
record / chunk budgets (chunk pass ≤ SENTINEL_PASS_BUDGET_BYTES), streaming
Read, cancellation, quarantine counts, and promote-on-success. Caller
supplies a local Path — no network downloader. The raw caller path is
never mutated; only the job TempDir is cleaned via RAII.
Re-exports§
pub use crate::q42::asset_envelope::SENTINEL_PASS_BUDGET_BYTES;
Structs§
- Chunk
Outcome - Per-chunk accept / quarantine counts from the caller callback.
- Feed
Progress - Progress returned by one
feed_chunkcall. - Import
Budgets - Cold-construction budgets for one import job.
- Import
Job - Cold-construction import job with RAII scratch cleanup.
- Promoted
Artifact - Artifact moved out of scratch on successful promote.
Enums§
- Import
Error - Fail-closed errors for cold-construction import jobs.
- Import
Status - Lifecycle status for a bounded import job.