conformance

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2026 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL