Expand description
§NexVigilant Core — build-gate
Cargo build coordination for multi-agent environments.
Prevents concurrent cargo operations and skips redundant builds via content hashing.
Structs§
- Build
Lock - A guard that holds the build lock
- Build
Result - Cache build result
Enums§
- Gate
Error - Build gate errors
- Lock
Status - Lock status
Traits§
- FileExt
- Extension trait for
std::fs::Filewhich provides allocation, duplication and locking methods.
Functions§
- find_
workspace_ root - Get workspace root (looks for Cargo.toml with [workspace])
- hash_
source_ dir - Compute SHA-256 hash of source files in a directory
- lock_
status - Get current lock status
- record_
build - Record successful build hash
- run_
cargo - Run cargo command with coordination
- should_
build - Check if build is necessary based on cached hash
Type Aliases§
- Result
- Result type for build gate operations