Expand description
Durable, capability-safe workflow and Agent orchestration for Runifold.
Structs§
- Agent
Step - Adapts a Runifold Agent to the canonical workflow step boundary.
- Agent
Step Output - Canonical Agent workflow value.
- Claimed
Workflow - A workflow task and its fenced worker lease.
- InMemory
Workflow Store - Deterministic in-memory implementation of the distributed store contract.
- Lease
Duration - Positive lease duration represented in whole milliseconds.
- Parallel
Branch - One explicitly budgeted branch of a parallel workflow node.
- Predicate
Condition - Adapts a closure into a durable workflow branch condition.
- Static
Workflow Task Governance Authorizer - Immutable in-process authorizer for simple deployments and tests.
- StepId
- Stable workflow node identity used by checkpoints and event streams.
- System
Workflow Clock - System clock used by default for ephemeral workflow queues.
- System
Workflow Worker Sleeper - System-timer implementation for production workers.
- Worker
Id - Stable identity of a distributed workflow worker.
- Workflow
- Validated, immutable workflow definition.
- Workflow
Budget Audit Cursor - Stable cursor for incrementally consuming one tenant’s durable budget audit.
- Workflow
Budget Audit Event - Immutable audit fact recorded with a tenant-budget state transition.
- Workflow
Budget Audit Limit - Validated page size for tenant budget audit reads.
- Workflow
Budget Audit Projection Id - Stable identity of one independent tenant-budget audit projection.
- Workflow
Budget Audit Projection Lease - Fenced ownership of one named tenant-budget audit projection.
- Workflow
Builder - Fluent, validation-preserving workflow assembly.
- Workflow
Checkpoint - Stable handle binding one workflow checkpoint identity to a store.
- Workflow
Checkpoint History Limit - Maximum number of immutable checkpoint revisions returned by one query.
- Workflow
Checkpoint Revision - Immutable, typed view of one historical workflow checkpoint revision.
- Workflow
Checkpoint State - Versioned workflow state stored in a domain-neutral checkpoint envelope.
- Workflow
Definition - Executable workflow definition and its root authority policy.
- Workflow
Fork Command - Idempotent command that creates a new execution from immutable history.
- Workflow
Interrupt Command - Idempotent control-plane command for one human-review request.
- Workflow
Interrupt Id - Stable identity of one durable human-review request.
- Workflow
Interrupt Request - Persisted request presented to a human reviewer.
- Workflow
Lease - Fenced ownership of one workflow task.
- Workflow
Lineage - Immutable parent relationship of one forked workflow execution.
- Workflow
Outcome - Successful terminal workflow state.
- Workflow
Registry - Immutable workflow-definition registry used by workers.
- Workflow
Signal - Idempotent external event targeted at one workflow checkpoint.
- Workflow
Signal Id - Globally stable idempotency identity of one external signal publication.
- Workflow
Signal Name - Validated external-signal name.
- Workflow
Signal Retention - Retention period for consumed and dead-letter signal identities.
- Workflow
Signal Snapshot - Safe signal metadata that deliberately excludes the payload.
- Workflow
Store Error - Typed workflow-store failure.
- Workflow
Supervisor - Continuous, bounded-concurrency host for a
WorkflowWorker. - Workflow
Supervisor Config - Validated policy for continuous worker polling and bounded concurrency.
- Workflow
Supervisor Metric Snapshot - Point-in-time, low-cardinality supervisor metric values.
- Workflow
Supervisor Metrics - Lock-free cumulative supervisor metrics suitable for polling by an exporter.
- Workflow
Supervisor Report - Outcomes observed during one supervisor lifetime.
- Workflow
Task - One durable workflow task awaiting execution.
- Workflow
Task Cleanup Lease - Fenced ownership of one tenant’s terminal Task cleanup partition.
- Workflow
Task Cleanup Limit - Maximum terminal Tasks removed by one fenced cleanup operation.
- Workflow
Task Cleanup Shard - Stable assignment of tenants across cleanup processes.
- Workflow
Task Cleanup Supervisor - Discovers, shards, and cleans terminal Tasks with bounded concurrency.
- Workflow
Task Cleanup Supervisor Config - Validated bounds and timing for automatic terminal Task cleanup.
- Workflow
Task Cleanup Supervisor Metric Snapshot - Point-in-time Task cleanup supervisor health snapshot.
- Workflow
Task Cleanup Supervisor Metrics - Lock-free, low-cardinality health state for readiness and telemetry export.
- Workflow
Task Cleanup Supervisor Report - Cumulative work performed by cleanup scans.
- Workflow
Task Governance Authorization Error - Safe authorizer failure. Control-plane operations fail closed.
- Workflow
Task Governance Control Plane - Authorized facade over the destructive tombstone governance store.
- Workflow
Task Legal Hold - Active or released legal-hold state retained for audit.
- Workflow
Task Legal Hold Reason - Bounded operator-facing justification for a legal hold.
- Workflow
Task Retention - Minimum time a terminal workflow remains queryable before physical cleanup.
- Workflow
Task Snapshot - Safe operator snapshot of one workflow task.
- Workflow
Task Tombstone - Immutable audit fact retained after a terminal Task is physically removed.
- Workflow
Task Tombstone Approval Inbox Item - One tenant-scoped durable approval inbox entry.
- Workflow
Task Tombstone Approval Inbox Limit - Maximum approval inbox entries returned by one bounded query.
- Workflow
Task Tombstone Approval Lease - Fenced, expiring ownership of one approval request.
- Workflow
Task Tombstone Approval Window - Time available for an independent principal to approve a purge intent.
- Workflow
Task Tombstone Archive Batch - Exact ordered tombstone batch delivered to an external archive.
- Workflow
Task Tombstone Archive Batch Id - Stable idempotency identity for one ordered archive batch.
- Workflow
Task Tombstone Archive Error - Safe archive adapter failure.
- Workflow
Task Tombstone Archive Report - Result of one bounded archive-and-confirm cycle.
- Workflow
Task Tombstone Cursor - Stable cursor for paginating immutable terminal Task tombstones.
- Workflow
Task Tombstone Export - Monotonic confirmation that an external archive accepted a tenant prefix.
- Workflow
Task Tombstone Export Receipt - Opaque receipt proving an external archive accepted a tombstone prefix.
- Workflow
Task Tombstone Limit - Maximum tombstones returned by one audit page.
- Workflow
Task Tombstone Purge Evidence - Immutable aggregate evidence retained after detailed tombstones are purged.
- Workflow
Task Tombstone Purge Id - Stable identity of one prepared purge set.
- Workflow
Task Tombstone Purge Intent - Prepared, bounded, and independently approvable tombstone purge set.
- Workflow
Task Tombstone Purge Limit - Maximum tombstones captured in one immutable purge intent.
- Workflow
Task Tombstone Rejection Reason - Bounded operator justification for rejecting a purge intent.
- Workflow
Task Tombstone Retention - Minimum age of an exported tombstone before it may enter a purge intent.
- Workflow
Tenant Budget Policy - Persistent aggregate budget policy for one workflow tenant.
- Workflow
Tenant Budget Snapshot - Safe point-in-time view of one tenant budget ledger.
- Workflow
Tenant Id - Validated isolation identity for workflow admission and control-plane access.
- Workflow
Tenant List Limit - Validated page size for discovering tenants with configured budgets.
- Workflow
Tenant Policy - Per-tenant workflow admission limits.
- Workflow
Worker - One distributed workflow worker.
Enums§
- Parallel
Branch Checkpoint - Persisted state of one branch inside an in-flight parallel node.
- Workflow
Budget Audit Kind - One durable tenant-budget decision.
- Workflow
Budget Forfeit Reason - Why uncertain reserved capacity was conservatively committed.
- Workflow
Budget Reservation Outcome - Outcome of attempting to reserve a tenant budget envelope.
- Workflow
Build Error - Invalid workflow definition.
- Workflow
Cancel Outcome - Result of an idempotent external workflow cancellation.
- Workflow
Checkpoint Phase - Persisted workflow execution phase.
- Workflow
Disposition - Durable task disposition accepted from the current lease owner.
- Workflow
Error - Failure of workflow execution or recovery.
- Workflow
Failure Policy - How a registered definition handles non-infrastructure execution failures.
- Workflow
Fork Outcome - Result of an idempotent workflow fork command.
- Workflow
Fork Policy - Explicit safety policy for forking a historical checkpoint.
- Workflow
Interrupt Decision - Human decision applied to one durable interrupt.
- Workflow
Interrupt Decision Outcome - Result of submitting a typed human-review decision.
- Workflow
Interrupt Outcome - Canonical downstream value produced by a human-review node.
- Workflow
Resume Policy - Recovery behavior for a workflow interrupted inside one node.
- Workflow
Signal Outcome - Result of an idempotent signal publication.
- Workflow
Signal State - Durable lifecycle state of an accepted signal identity.
- Workflow
Step Error - Failure produced by one workflow step.
- Workflow
Store Error Kind - Stable workflow-store failure category.
- Workflow
Task Governance Error - Fail-closed tombstone governance failure.
- Workflow
Task Governance Outcome - Low-cardinality governance outcome for telemetry.
- Workflow
Task Governance Permission - One tenant-scoped tombstone governance authority.
- Workflow
Task Status - Durable workflow queue state.
- Workflow
Task Tombstone Approval State - Durable operator-visible state of a purge approval request.
- Workflow
Task Tombstone Archive Error Kind - Stable failure class for archive retry and observability policy.
- Workflow
Wait - Durable reason for releasing a worker lease without completing a workflow.
- Workflow
Wait Error - Invalid durable-wait or external-signal input.
- Workflow
Wait Outcome - Canonical output of a signal-or-timeout workflow node.
- Workflow
Wake - Durable value that caused a suspended workflow to become claimable.
- Workflow
Worker Error - Worker construction or execution failure.
- Workflow
Worker Outcome - Result of one worker claim-and-execute cycle.
Traits§
- Workflow
Clock - Store-authoritative time source used by the in-memory reference adapter.
- Workflow
Condition - Pure, synchronous branch decision over canonical workflow data.
- Workflow
Step - One executable, provider-neutral workflow node.
- Workflow
Store - Asynchronous distributed workflow task-control boundary.
- Workflow
Task Cleanup Observer - Optional low-cardinality observer for cleanup control-plane outcomes.
- Workflow
Task Governance Authorizer - Pluggable policy boundary for principal, tenant, and permission checks.
- Workflow
Task Governance Observer - Optional observer that must not retain tenant or principal identities.
- Workflow
Task Retention Store - Optional fenced control plane for physically removing terminal Tasks.
- Workflow
Task Tombstone Archive - Idempotent external archive boundary.
- Workflow
Task Tombstone Governance Store - Optional governance plane for detailed Task tombstone lifecycle.
- Workflow
Worker Sleeper - Replaceable worker timer used by heartbeat supervision.
Type Aliases§
- Workflow
Future - A boxed, sendable workflow execution future.
- Workflow
Step Future - Boxed asynchronous workflow-step result.
- Workflow
Store Future - A boxed asynchronous workflow-store operation.
- Workflow
Task Governance Authorization Future - Borrowing future returned by a governance authorizer.
- Workflow
Task Tombstone Archive Future - Borrowing future returned by an external tombstone archive.
- Workflow
Worker Sleep Future - A boxed worker sleep operation.