Skip to content
Sarj Workspace Sync

execution/run-reviewed-slack-lifecycle-intent

@sarj-ai/workspace-sync/execution/run-reviewed-slack-lifecycle-intent ยท Source

import type { OperationKernel } from "../operations/kernel.ts";
import { type SignedOperationPlan } from "../operations/schemas.ts";
import { type WorkspaceDirectoryWorkflowParams } from "./contracts.ts";
import { type IReviewedSlackLifecycleIntentClaims } from "./reviewed-slack-lifecycle-intent.ts";
export declare function runReviewedSlackLifecycleIntent(input: {
announcePlan(plan: SignedOperationPlan): Promise<void>;
intents: IReviewedSlackLifecycleIntentClaims;
kernel: Pick<OperationKernel, "plan" | "prepareApply">;
launch(params: WorkspaceDirectoryWorkflowParams): Promise<{
instanceId: string;
}>;
observePlan(plan: SignedOperationPlan): Promise<void>;
tickId: string;
}): Promise<{
kind: "launched";
instanceId: string;
planHash: string;
} | null>;