Skip to content

src/dazzle_back/runtime/process_executor.py

Generated: 2026-03-30T04:38:47.822126+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Linear checkpointed process executor.

Executes process steps sequentially with checkpointing. Supports LLM_INTENT, SERVICE, and CONDITION step kinds. On restart, completed steps are skipped via checkpoint replay.

Key Exports

  • StepResult
  • ProcessContext
  • ProcessResult
  • ProcessExecutor
  • is_checkpointed
  • checkpoint
  • resolve_value
  • execute
  • get_checkpoint_data

Dependencies

Imports

  • __future__.annotations
  • json
  • logging
  • dataclasses.dataclass
  • dataclasses.field
  • typing.TYPE_CHECKING
  • typing.Any
  • dazzle.core.ir.process.StepKind
  • dazzle.core.ir.appspec.AppSpec
  • dazzle.core.ir.process.ProcessStepSpec
  • dazzle_back.runtime.llm_executor.LLMIntentExecutor
  • asyncio

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_process_executor.py
  • tests/integration/test_runtime_e2e.py
  • tests/integration/test_runtime_pipeline.py
  • tests/unit/test_runtime_test_routes.py
  • tests/unit/test_runtime_services.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.