Skip to content

src/dazzle_ui/runtime/experience_persistence.py

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

Commit: 615f1354a103

Language: python

Scope: dazzle_ui

Purpose

Experience flow progress persistence.

Saves and loads experience flow progress to JSON files in .dazzle/experience_progress/. This allows users to resume multi-step flows after cookie expiry, browser close, or agent takeover scenarios.

File key: {experience_name}.json (single-user) or ``{exp...

Key Exports

  • ExperienceProgress
  • ExperienceProgressStore
  • save
  • load
  • delete

Dependencies

Imports

  • __future__.annotations
  • hashlib
  • json
  • logging
  • time
  • pathlib.Path
  • typing.Any
  • pydantic.BaseModel
  • pydantic.Field

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_experience_persistence.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.