Expand description
Explicit quality contracts, without implicit execution or claims of correctness.
The core operates on supplied data and bytes. It reads no files, queries no clocks, launches no processes and makes no network calls. A passing gate means the recorded policy was satisfied, not that a program is secure or deployed. Finding dispositions and model-family identity use Sealmap’s existing contracts.
use visioncraft::{Artifact, VerifiedArtifacts};
let bytes = b"recorded output\n";
let artifact = Artifact {
path: "attempt/stdout.txt".into(),
sha256: visioncraft::sha256(bytes),
};
let mut verified = VerifiedArtifacts::default();
verified.insert(&artifact, bytes)?;
assert!(verified.contains(&artifact));Re-exports§
pub use evaluate::CheckOutcome;pub use evaluate::CheckReport;pub use evaluate::EvaluationContext;pub use evaluate::ExpectationReport;pub use evaluate::GateOutcome;pub use evaluate::GateReport;pub use evaluate::evaluate;pub use evidence::Actor;pub use evidence::AuditReceipt;pub use evidence::AuditVerdict;pub use evidence::ExecutionReceipt;pub use evidence::ManualObservation;pub use evidence::ProcessStatus;pub use evidence::ReportedResult;pub use evidence::VerifiedArtifacts;pub use plan::CheckSpec;pub use plan::Evaluator;pub use plan::EvidenceCategory;pub use plan::Expectation;pub use plan::GatePolicy;pub use plan::Invocation;pub use plan::QualityPlan;pub use plan::Stabilizer;pub use plan::Subject;
Modules§
- cli
- Explicit command-line and filesystem adapter for the quality core. Native filesystem and command-line adapter for the deterministic core.
- deepsec
- Versioned adapter for an independently installed Deepsec reviewer. Executed Deepsec 2.3.10 gates with explicit policy and retained error states.
- evaluate
- Read-only evaluation of explicit plans, exact receipts and supplied context.
- evidence
- Immutable run and audit records, with caller-supplied byte verification.
- plan
- Typed plans describe explicitly selected checks; parsing never runs them.
- process
- Bounded process execution with private evidence capture. Bounded local command execution. This is a process runner, not a sandbox.
Structs§
- Artifact
- A file relative to the evidence root, identified by SHA-256.
- Family
Catalogue - Explicit family declarations for exact aliases or models without recognised names. No provider-wide fallback is inferred or installed.
Enums§
- Contract
Error - Invalid input or evidence, without embedding raw document contents in errors.