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

    Interface Manager

    The model side of the workflow that plans and decides.

    interface Manager {
        makePlan(
            spec: string,
            recipe:
                | "build_problem"
                | "fix_verify"
                | "strengthen_tests"
                | "prove_idea"
                | "find_ideas",
            signal: AbortSignal,
        ): Promise<Plan>;
        decide(
            input: {
                spec: string;
                plan: Plan;
                failed: TaskResult;
                results: TaskResult[];
            },
            signal: AbortSignal,
        ): Promise<ManagerDecision>;
    }

    Implemented by

    Index
    • Parameters

      • spec: string
      • recipe:
            | "build_problem"
            | "fix_verify"
            | "strengthen_tests"
            | "prove_idea"
            | "find_ideas"
      • signal: AbortSignal

      Returns Promise<Plan>