FlowGuard API - v1.2.0-rc.2
    Preparing search index...

    Variable ArchiveManifestSchemaConst

    ArchiveManifestSchema: ZodObject<
        {
            schemaVersion: ZodLiteral<"archive-manifest.v1">;
            createdAt: ZodString;
            sessionId: ZodString;
            fingerprint: ZodString;
            policyMode: ZodString;
            profileId: ZodString;
            discoveryDigest: ZodNullable<ZodString>;
            includedFiles: ZodArray<ZodString>;
            fileDigests: ZodRecord<ZodString, ZodString>;
            contentDigest: ZodString;
            redactionMode: ZodOptional<
                ZodEnum<{ none: "none"; basic: "basic"; strict: "strict" }>,
            >;
            rawIncluded: ZodOptional<ZodBoolean>;
            redactedArtifacts: ZodOptional<ZodArray<ZodString>>;
            excludedFiles: ZodOptional<ZodArray<ZodString>>;
            riskFlags: ZodOptional<ZodArray<ZodString>>;
        },
        $strip,
    > = ...

    Archive manifest — integrity metadata for a session archive.

    Written BEFORE the tar is created and included as part of the archive. Enables post-hoc verification of archive completeness and integrity.

    • includedFiles: sorted list of relative paths in the archive
    • fileDigests: SHA-256 of each file's content, keyed by relative path
    • contentDigest: SHA-256 of the sorted, concatenated fileDigests values (deterministic aggregate hash)

    Distinction:

    • contentDigest = hash over file digests (inside manifest, verifiable from content)
    • .tar.gz.sha256 = hash of the archive file itself (sidecar, verifiable from outside)