wch6766/MoonSecureCodec/lib/manifest does not have a README file
fn ApprovalGate::evaluate(self : ApprovalGate, manifest : Manifest, approval : ApprovalRecord?) -> Boolpub(all) struct ApprovalRecord {
reviewer : String
ticket : String
reviewed_root : String
approved_at : String
notes : String
}pub(all) struct AuditFinding {
code : String
severity : AuditSeverity
path : String
message : String
remediation : String
}pub(all) struct AuditReport {
findings : Array[AuditFinding]
files_checked : Int
total_bytes : Int64
}pub(all) struct Dependency {
name : String
version : String
license : String
source : String
digest : String
}pub(all) struct EvidenceBundle {
name : String
version : String
manifest_root : String
records : Array[EvidenceRecord]
bundle_digest : String
}fn EvidenceBundle::missing_kinds(self : EvidenceBundle, required : Array[EvidenceKind]) -> Array[EvidenceKind]fn EvidenceBundle::new(name : String, version : String, manifest_root : String, records : Array[EvidenceRecord]) -> EvidenceBundlepub(all) struct EvidenceRecord {
id : String
kind : EvidenceKind
subject : String
digest : String
observed_at : String
note : String
}fn EvidenceRecord::new(id : String, kind : EvidenceKind, subject : String, digest : String, observed_at : String, note : String) -> EvidenceRecordpub(all) struct FileSnapshot {
path : String
size : Int64
hash_xx64 : UInt64
hash_sha256 : String
}pub(all) struct LicensePolicy {
allowed_licenses : Array[String]
require_source : Bool
require_digest : Bool
allow_unknown_version : Bool
}pub(all) struct Manifest {
name : String
version : String
created_at : String
files : Array[FileSnapshot]
merkle_root : String
}fn Manifest::audit_with_policy(self : Manifest, allowed_extensions : Array[String], max_file_size : Int64) -> AuditReportfn Manifest::new(name : String, version : String, created_at : String, files : Array[FileSnapshot]) -> Manifestfn Manifest::select_batch(self : Manifest, start : Int, limit : Int) -> Result[ManifestSelection, String]pub(all) struct ManifestDiff {
added : Array[FileSnapshot]
removed : Array[FileSnapshot]
modified : Array[FileSnapshot]
}pub(all) struct ManifestSelection {
files : Array[FileSnapshot]
total_bytes : Int64
source_manifest_root : String
}fn ManifestSelection::slice(self : ManifestSelection, start : Int, limit : Int) -> Result[ManifestSelection, String]pub(all) struct ManifestStatistics {
file_count : Int
total_bytes : Int64
largest_path : String
largest_bytes : Int64
sha256_count : Int
generated_count : Int
}pub(all) struct ReleaseDecision {
ready : Bool
risk_score : Int
errors : Int
warnings : Int
checked_files : Int
checked_bytes : Int64
}A production-grade software supply chain security, multi-base codec and Merkle tree verification toolkit in MoonBit.