AutoMovie API
    Preparing search index...

    Variable sealAutoMovieAnalysisRunConst

    sealAutoMovieAnalysisRun: (
        props: IAutoMovieSealAnalysisRun.IProps,
    ) => IAutoMovieAnalysisRun = ...

    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.