neurocore.persistence.base

Persistence models and the RunStore interface.

NeuroCore persists every blueprint execution as a durable run with an ordered list of step records. This makes runs inspectable, resumable, and replayable — the difference between a “nice framework” and a “production agent runtime”.

The RunStore interface is intentionally separate from flowengine’s CheckpointStore: a checkpoint is transient (deleted on resume), while a run record is durable history. A RunStore can still back a CheckpointStore for flowengine’s sync suspend/resume path — see neurocore.persistence.checkpoint_adapter.

Classes

RunStatus

Lifecycle status of a run.

StepStatus

Outcome of a single step within a run.

RunRecord

A durable record of one blueprint execution.

StepRecord

A record of one step (component invocation) within a run.

RunStore

Abstract durable store for run history.

Functions

utcnow_iso(→ str)

Return the current UTC time as an ISO-8601 string.

Module Contents

neurocore.persistence.base.utcnow_iso() str[source]

Return the current UTC time as an ISO-8601 string.