Cohesive.Processes
0.1.0-alpha.69
dotnet add package Cohesive.Processes --version 0.1.0-alpha.69
NuGet\Install-Package Cohesive.Processes -Version 0.1.0-alpha.69
<PackageReference Include="Cohesive.Processes" Version="0.1.0-alpha.69" />
<PackageVersion Include="Cohesive.Processes" Version="0.1.0-alpha.69" />
<PackageReference Include="Cohesive.Processes" />
paket add Cohesive.Processes --version 0.1.0-alpha.69
#r "nuget: Cohesive.Processes, 0.1.0-alpha.69"
#:package Cohesive.Processes@0.1.0-alpha.69
#addin nuget:?package=Cohesive.Processes&version=0.1.0-alpha.69&prerelease
#tool nuget:?package=Cohesive.Processes&version=0.1.0-alpha.69&prerelease
Cohesive.Processes
Cohesive.Processes describes typed workflows that coordinate Relations, Transitions, requests, events, signals,
waits, parallel work, recurrence, and terminal outcomes without binding the workflow to one runtime.
Install
dotnet add package Cohesive.Processes
dotnet add package Cohesive.Analyzers
Cohesive.Analyzers supplies the expression-first C# source generator. Add it as an analyzer reference when using
project references.
Author a Process
Human-written Processes use ordinary asynchronous structure. Local node identities are deterministic conventions and do not appear in the common authoring path:
[GenerateProcessDefinition(nameof(Run))]
public static partial class FindCustomerProcess
{
static async ProcessTask<CustomerResult> Run(
ProcessContext process,
FindCustomerInput input)
{
var customer = await process.Query(
CustomerRelations.ByEmail,
input);
return customer;
}
}
CustomerRelations.ByEmail is a typed canonical Relation handle. It remains authoritative for its input, result,
identity, revision, and fingerprint; the Process call site does not repeat them.
The generated Define factory materializes a canonical Process document. The annotated method is syntax inspected by
the generator and is never invoked as an application callback. No delegate, closure, suspended CLR state machine, or
ambient service survives into the persisted definition.
What you can express
- Typed Relation reads and queries, Transition invocations, and request/effect protocols.
if, exactswitch, Choice and Match, typed returns, and authored failures.- Durable events, signals, timers, waits, and deterministic arbitration.
- Fork/Join, child Processes, bounded partitions, and bounded recurrence.
- Cancellation finalization, compensation requirements, retries, and recovery policy.
- Static validation, capability realization, simulation, reference execution, and durable-runtime interpretation.
Identity and durability
Conventions are appropriate for local structural nodes. Explicit occurrence identities remain available when an external protocol, persisted history, or evolution boundary needs them. Top-level Process identity and revision are provided when the generated definition is materialized.
The canonical document remains the source of truth. Compiled plans, runtime continuations, durable checkpoints, and provider histories are interpretations tied to its exact reference.
Current boundary
The package owns portable Process meaning, compilation, and the reference interpreter. Durable persistence lives in
Cohesive.Storage; Azure Durable Task execution lives in Cohesive.Adapters.DurableTask. Each runtime declares a
capability closure and must fail before execution when it cannot preserve the requested semantics.
Continue
- Internals covers the complete authoring surface, lifecycle, identity, restricted computation, validation, execution, and lowering boundaries.
- Execution kernel guide explains how Processes compose with other blocks.
Cohesive.Storageprovides the provider-neutral durable aggregate and runtime.Cohesive.Adapters.DurableTaskprovides the current bounded Azure Durable Task interpretation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Cohesive (>= 0.1.0-alpha.69)
- Cohesive.Relations (>= 0.1.0-alpha.69)
- Cohesive.Transitions (>= 0.1.0-alpha.69)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Cohesive.Processes:
| Package | Downloads |
|---|---|
|
Cohesive.Storage
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Host
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Api.Execution
Canonical execution-control API declarations and reference integration for Cohesive execution semantics. |
|
|
Cohesive.Adapters.DurableTask
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Adapters.Cosmos
Cohesive semantic system definition and orchestration building blocks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.69 | 32 | 9/2/2026 |
| 0.1.0-alpha.68 | 80 | 8/30/2026 |
| 0.1.0-alpha.67 | 155 | 8/26/2026 |
| 0.1.0-alpha.66.4 | 139 | 8/30/2026 |
| 0.1.0-alpha.66.3 | 97 | 8/29/2026 |
| 0.1.0-alpha.66.2 | 96 | 8/27/2026 |
| 0.1.0-alpha.66.1 | 101 | 8/26/2026 |
| 0.1.0-alpha.66 | 147 | 8/25/2026 |
| 0.1.0-alpha.65 | 135 | 8/25/2026 |
| 0.1.0-alpha.64 | 113 | 8/25/2026 |
| 0.1.0-alpha.63 | 137 | 8/24/2026 |
| 0.1.0-alpha.62 | 133 | 8/24/2026 |
| 0.1.0-alpha.61 | 147 | 8/24/2026 |
| 0.1.0-alpha.60 | 126 | 8/24/2026 |
| 0.1.0-alpha.59 | 127 | 8/24/2026 |
| 0.1.0-alpha.58 | 115 | 8/24/2026 |
| 0.1.0-alpha.57 | 137 | 8/24/2026 |
| 0.1.0-alpha.56 | 120 | 8/24/2026 |
| 0.1.0-alpha.55 | 136 | 8/23/2026 |
| 0.1.0-alpha.54 | 107 | 8/23/2026 |