Skip to contents

tempest_session_resume() reads a directory bundle written by tempest_session_save() and rebuilds a TempestSession with a fresh runtime TempestConfig. Only the exact current schema-13 bundle is accepted; no compatibility or migration reader is provided. Historical progress events are loaded for display and reduction, but they are not replayed into progress. Stage-record history is restored for audit, but running attempts are rejected rather than resumed.

Usage

tempest_session_resume(
  path,
  config = tempest_config(),
  progress = NULL,
  program_set = NULL,
  knowledge = NULL
)

Arguments

path

Directory containing a session bundle.

config

Runtime TempestConfig used to recreate chats, retrievers, and tools.

progress

Optional callback for future tempest_progress_event objects.

program_set

A TempestProgramSet carrying the same program identities recorded in the bundle. If NULL, the builtin set is used.

knowledge

Freshly admitted artifact knowledge matching the saved selection. Required when the session contains artifact evidence.

Value

A restored TempestSession.