Documentation
¶
Overview ¶
Package conformance provides reusable behavioral probes for host-supplied durable stores. The probes intentionally avoid persistence technology.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeCore ¶
func ProbeCore(ctx context.Context, stores CoreStores) error
ProbeCore verifies owner isolation, exact retry behavior, CAS rejection, and monotonic cursors against a fresh store set.
func ProbeRestart ¶
func ProbeRestart(ctx context.Context, harness RestartHarness) (retErr error)
ProbeRestart writes nonterminal and reconciliation-sensitive state, closes the implementation, reopens it, and verifies that recovery facts survived.
Types ¶
type CoreStores ¶
type CoreStores struct {
Admissions execution.AdmissionStore
Runs execution.RunStore
Attempts execution.AttemptLedger
Approvals execution.ApprovalStore
ToolRounds execution.ToolRoundStore
Work interface {
execution.PlanStore
execution.TaskStore
}
Contexts contextengine.SnapshotStore
Trajectory trajectory.ReplayStore
Continuations continuation.Store
}
type RestartHarness ¶
type RestartHarness struct {
Open func(context.Context) (CoreStores, func() error, error)
}
RestartHarness opens the same durable backing store on every call. Close must release all process-local handles before the next Open.