Namespace JD.AI.Workflows.Consensus
Classes
- Approval
An individual approval vote.
- ConflictReport
Result of a three-way conflict detection.
- ExecutionRun
A single workflow execution run.
- LockEntry
An advisory lock held on a workflow.
- PublishProposal
A proposal to publish a workflow version.
- RunHistoryEntry
A single entry in the workflow run history log.
- StepCheckpoint
Checkpoint for a completed step within an execution run.
- WorkflowConflict
A single conflict between two versions of a workflow.
- WorkflowConflictDetector
Detects and describes conflicts when multiple users edit the same workflow concurrently. Compares step-level changes between a common ancestor and two divergent versions, producing a ConflictReport with auto-resolved and manual-resolution items.
- WorkflowConsensus
Consensus mechanism for publishing workflows to shared catalogs. Implements a simple approval voting protocol: a workflow version must receive the required number of approvals before it can be published.
- WorkflowExecutionState
Tracks workflow execution state with checkpoint support for resume-from-failure. Each execution run stores per-step completion status and intermediate results, enabling workflows to resume from the last successful checkpoint.
- WorkflowLock
Provides advisory workflow-level locking for exclusive edit access. Locks are held by a specific user and expire after a configurable duration to prevent stale locks from blocking other users indefinitely.
- WorkflowRunHistory
Append-only persistent history of workflow executions. Each run is logged with metadata, outcome, and step-level detail for auditing and compliance requirements.
Enums
- ConflictKind
Types of workflow conflicts.
- ExecutionStatus
Status of a workflow execution run.
- ProposalStatus
Status of a publish proposal.