AutoBE
    Preparing search index...

    Type Alias AnalyzeCheckpointPayload

    AnalyzeCheckpointPayload:
        | { scenario: AutoBeAnalyzeScenarioEvent; stage: "scenario" }
        | { module: AutoBeAnalyzeWriteModuleEvent; stage: "module" }
        | { stage: "unit"; units: AutoBeAnalyzeWriteUnitEvent[] }
        | { sections: AutoBeAnalyzeWriteSectionEvent[][]; stage: "section" }
        | { decisions?: AnalyzeFileDecisions[]; stage: "cross_file_review" }

    Type Declaration

    • { scenario: AutoBeAnalyzeScenarioEvent; stage: "scenario" }

      Full scenario snapshot.

    • { module: AutoBeAnalyzeWriteModuleEvent; stage: "module" }

      Final WriteModuleEvent for this file.

    • { stage: "unit"; units: AutoBeAnalyzeWriteUnitEvent[] }

      WriteUnitEvents for this file, ordered by moduleIndex (array index = moduleIndex).

    • { sections: AutoBeAnalyzeWriteSectionEvent[][]; stage: "section" }

      Final WriteSectionEvents for this file as a 2-D array:

      • Outer index = moduleIndex
      • Inner index = unitIndex
      • Each element = the last WriteSectionEvent at that position
    • { decisions?: AnalyzeFileDecisions[]; stage: "cross_file_review" }

      Marker payload for cross-file review completion, plus optional decision data captured at the moment review settled.

      The decisions field is optional for backward compatibility with older checkpoints that pre-date Requirements IR. New runs always populate it so that a process crash between this checkpoint and analyzeComplete still preserves extracted decisions for the next resume.

      • Optionaldecisions?: AnalyzeFileDecisions[]

        Per-file decision snapshots from the run's AnalyzeDecisionLedger at the time this checkpoint was dispatched. Optional for backward compatibility.

      • stage: "cross_file_review"