AutoMovie API
    Preparing search index...

    Seal one run: digest the settings, check the record, and digest it only once it is known to validate.

    Building and checking are the same call on purpose. A builder that can hand back an invalid artifact is a hole in exactly the contract this module exists to hold, so the seal applies the same contents rules a deserialized run faces (validateAutoMovieAnalysisRunContents) and throws on the first violation rather than shipping it. The error names the run id and the first violation's path and expectation. The digest it then writes is the one validateAutoMovieAnalysisRun recomputes, so the sealed run validates.

    The settings text is kept only as its SHA-256 digest. The returned run holds the caller's solver and outcome objects by reference rather than copying them, so editing a covered field after sealing generally breaks digest agreement; unencoded extra fields and numerically equivalent signed zeros do not change the canonical text, and a digest is not a collision-free identity proof.

    type IProps = {
        domain: AutoMovieAnalysisDomain;
        id: string;
        inputRevision: string;
        outcome: IAutoMovieAnalysisOutcome;
        settings: string;
        solver: IAutoMovieAnalysisSolver;
        subject: string;
    }
    Index

    Domain the run answers for.

    id: string

    Stable run identity; non-blank.

    inputRevision: string

    Design revision read; non-blank.

    Honest outcome, kept by reference in the sealed run.

    settings: string

    Canonical text of every setting that changes the result; the run stores only its digest.

    Solver identity, kept by reference in the sealed run.

    subject: string

    Open subject label; non-blank.