Member Junction
    Preparing search index...

    What a stage is handed alongside the working record.

    interface StageContext {
        Configuration: Record<string, unknown>;
        ContextUser: UserInfo;
        IsTest: boolean;
        Log: StageLogger;
        Provider: IMetadataProvider;
        Signal: AbortSignal;
        ReportProgress(message: string): void;
        ResolveAccess(contentSourceID: string): Promise<AccessArtifact>;
    }
    Index

    Properties

    Configuration: Record<string, unknown>

    Configuration carried by the run (Options on the Record Process).

    ContextUser: UserInfo
    IsTest: boolean

    Whether this run is a test (DryRun). The processor withholds working-record commits, and stages that perform direct side effects (durable-copy storage, tag/attribute row writes, embedding model calls, vector store writes/deletes, and dependent-deletion marking) check this flag to skip those external writes while still running read-only routing and validation.

    The owning provider. Use it for all data access rather than new Metadata().

    Signal: AbortSignal

    Fires when the stage's time budget runs out. A stage doing long work checks it where stopping is safe and returns Outcome.Retry.

    Methods