Polyman Documentation - v3.1.0
    Preparing search index...

    Interface WorkflowToolOptions

    What workflowTool needs.

    interface WorkflowToolOptions {
        readSpec(): Promise<string>;
        createScheduler(problemDir: string, runner: CliRunner): WorkflowRunner;
        gate?: Pick<PermissionGate, "mode" | "setMode">;
    }
    Index
    gate?: Pick<PermissionGate, "mode" | "setMode">

    The chat gate. Approving the plan puts it in plan-approved mode; the tool puts the old mode back when the workflow ends.