@mica/sdk (SDK contract v1)
    Preparing search index...

    Type Alias JobActionOutcome

    JobActionOutcome:
        | { jobs: JobView[]; ok: true }
        | {
            ok: false;
            reason: "unknown_job" | "not_active" | "refused" | "unsupported";
        }

    What a switch or a duty change answers. On ok the list is the framework's own state re-read after the change, so the store can replace itself with it rather than guess.