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

    Runs workflows. One instance can run many workflows, one at a time.

    Index
    • Plans, asks the user, runs the plan, and emits workflow_done.

      Parameters

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

      Returns Promise<WorkflowRunResult>

    • Parameters

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

      Returns Promise<WorkflowRunResult>

    • Gets a plan from the manager and checks it. One more try with the errors, then the default skeleton (only for build_problem).

      Parameters

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

      Returns Promise<{ plan: Plan; notice?: string } | { error: string }>