- New src/verification/ module: verify_output() checks JSON structure/completeness per processor type
- Worker: after processor succeeds, verification agent gates the result
- Passed -> mark completed + cleanup_temp_files (remove .tmp/.partial/.err/timestamp backups)
- Failed -> mark failed with verification details, preserve files for inspection
- cleanup_temp_files() keeps only the canonical {uuid}.{proc}.json
30 lines
863 B
Rust
30 lines
863 B
Rust
pub mod core;
|
|
|
|
pub mod api;
|
|
|
|
pub mod ui;
|
|
|
|
pub mod verification;
|
|
|
|
pub mod watcher;
|
|
|
|
pub mod worker;
|
|
|
|
pub use core::cache::{keys, MongoCache, RedisCache};
|
|
pub use core::chunk::{Chunk, ChunkSplitter, ChunkType};
|
|
pub use core::db::{
|
|
Database, MongoDb, PostgresDb, QdrantDb, RedisClient, RedisDb, VectorPayload, VideoRecord,
|
|
VideoStatus,
|
|
};
|
|
pub use core::embedding::Embedder;
|
|
pub use core::person_identity::{
|
|
ChunkPersonInfo, PersonAppearance, PersonIdentity, PersonIdentityResponse, PersonMatch,
|
|
PersonStatistics, PersonTimelineEntry, PersonTimelineResponse,
|
|
};
|
|
pub use core::probe::ProbeResult;
|
|
pub use core::storage::file_manager::FileManager;
|
|
pub use core::storage::output_dir::OutputDir;
|
|
pub use core::storage::uuid;
|
|
pub use core::thumbnail::{ThumbnailExtractor, ThumbnailResult};
|
|
pub use ui::progress::{ProcessorType, ProgressState, ProgressUi};
|