Member Junction
    Preparing search index...

    Loads a model, enforces the leakage sign-off gate, and transitions its status.

    Implements

    Index

    Constructors

    Properties

    ALLOWED_TRANSITIONS: Readonly<
        Record<string, readonly PromoteModelRequest["targetStatus"][]>,
    > = ...

    Allowed lifecycle transitions keyed on the model's CURRENT status. The lifecycle is Draft → Validated → Published → Archived, with the conservative reversible edges Validated → Archived (abandon a candidate) and Archived ↔ Published (un-archive / re-archive). Anything not listed (e.g. Draft → Published) is rejected as an invalid jump.

    Methods

    • Persist an auditable sign-off note for a leakage override. The model is immutable (no free-text column to write), so the override is recorded via the platform log (an operator-visible audit line) and returned in the outcome so the calling Action surfaces it. The note captures who/when/what-was-overridden and the supplied reason.

      Parameters

      Returns string