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

    Interface Checkpoints

    Runs the real checks of each task kind.

    interface Checkpoints {
        check(
            task: PlanTask,
            spec: string,
            problemDir: string,
            signal: AbortSignal,
        ): Promise<Checkpoint>;
        runNoModelTask(
            task: PlanTask,
            spec: string,
            problemDir: string,
            signal: AbortSignal,
        ): Promise<{ checkpoint: Checkpoint; configPatch?: ConfigPatch }>;
    }

    Implemented by

    Index
    • Runs a task that needs no model, like scaffold or verify.

      Parameters

      • task: PlanTask
      • spec: string
      • problemDir: string
      • signal: AbortSignal

      Returns Promise<{ checkpoint: Checkpoint; configPatch?: ConfigPatch }>