- 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
4 lines
89 B
Rust
4 lines
89 B
Rust
pub mod verifier;
|
|
|
|
pub use verifier::{verify_output, VerificationResult, VerifierError};
|