FlowGuard API - v1.2.0-tp.1
    Preparing search index...

    Variable ArchiveFindingCodeSchemaConst

    ArchiveFindingCodeSchema: ZodEnum<
        {
            missing_manifest: "missing_manifest";
            manifest_parse_error: "manifest_parse_error";
            missing_file: "missing_file";
            unexpected_file: "unexpected_file";
            file_digest_mismatch: "file_digest_mismatch";
            content_digest_mismatch: "content_digest_mismatch";
            manifest_policy_mode_mismatch: "manifest_policy_mode_mismatch";
            audit_chain_truncated: "audit_chain_truncated";
            archive_checksum_missing: "archive_checksum_missing";
            archive_checksum_mismatch: "archive_checksum_mismatch";
            audit_chain_invalid: "audit_chain_invalid";
            audit_chain_legacy_format: "audit_chain_legacy_format";
            audit_chain_unsupported_format: "audit_chain_unsupported_format";
            snapshot_missing: "snapshot_missing";
            state_missing: "state_missing";
            state_invalid: "state_invalid";
            timestamp_unanchored: "timestamp_unanchored";
            tsa_verification_failed: "tsa_verification_failed";
            artifact_binding_missing: "artifact_binding_missing";
            artifact_binding_mismatch: "artifact_binding_mismatch";
        },
    > = ...

    Typed finding codes for archive verification.

    Each code maps to a specific integrity violation or anomaly:

    • missing_manifest: archive-manifest.json not found in archive
    • manifest_parse_error: manifest JSON is malformed or schema-invalid
    • missing_file: file listed in manifest is missing from archive
    • unexpected_file: file in archive not listed in manifest
    • file_digest_mismatch: SHA-256 of file content doesn't match manifest
    • content_digest_mismatch: overall content digest doesn't match manifest
    • manifest_policy_mode_mismatch: manifest.policyMode disagrees with the integrity-covered state.policySnapshot.mode (strict-mode tamper attempt)
    • audit_chain_truncated: actual audit head/count disagrees with the manifest anchor (tail truncation undetectable by chain verification alone)
    • archive_checksum_missing: .tar.gz.sha256 sidecar file not found
    • archive_checksum_mismatch: archive file hash doesn't match sidecar
    • audit_chain_invalid: current-format audit trail hash-chain verification failed because the v2 chain was tampered, reordered, inserted, or deleted
    • audit_chain_legacy_format: chained pre-v2 audit trail requires migration or explicit weak legacy verification and is not v2 tamper evidence
    • audit_chain_unsupported_format: audit trail declares an unknown chain format
    • snapshot_missing: discovery or profile-resolution snapshot not found
    • state_missing: session-state.json not found in archive
    • state_invalid: session-state.json exists but cannot be parsed or validated