Documentation
¶
Overview ¶
Package checkpoint implements checkpoint@v1 over workflow/gate declarations and the canonical workflow/wait suspension and continuation contracts. Product work-item lifecycle and escalation execution remain host-owned.
Index ¶
Constants ¶
const ( KindName = "checkpoint" KindVersion = "v1" CapabilityRespond = "checkpoint.respond" CapabilityWait = "wait.resume" CodeInvalidCheckpoint = "checkpoint_invalid" CodeAuthorityFailed = "checkpoint_authority_failed" CodePayloadFailed = "checkpoint_payload_failed" CodeContinuation = "checkpoint_continuation_invalid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind struct {
*gateadapter.Executor
}
Kind is checkpoint@v1. Its config parsing, wait identity, durable suspension, continuation schema validation, timeout, cancellation, and output classification are implemented by the same profiled executor as human_gate@v1, preventing the two shared-gate adapters from drifting.
func (*Kind) Spec ¶
func (*Kind) Spec() stepkind.StepKindSpec
Spec returns checkpoint metadata even on a nil receiver, while execution is delegated to the constructed shared gate engine.
type Options ¶
type Options = gateadapter.Options
Options is the application-owned shared gate host boundary. Authority is the responder seam; escalation declarations remain immutable Checkpoint payload metadata and are not executed by the adapter.