Cohesive.Processes 0.1.0-alpha.69

This is a prerelease version of Cohesive.Processes.
dotnet add package Cohesive.Processes --version 0.1.0-alpha.69
                    
NuGet\Install-Package Cohesive.Processes -Version 0.1.0-alpha.69
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cohesive.Processes" Version="0.1.0-alpha.69" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cohesive.Processes" Version="0.1.0-alpha.69" />
                    
Directory.Packages.props
<PackageReference Include="Cohesive.Processes" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cohesive.Processes --version 0.1.0-alpha.69
                    
#r "nuget: Cohesive.Processes, 0.1.0-alpha.69"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cohesive.Processes@0.1.0-alpha.69
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cohesive.Processes&version=0.1.0-alpha.69&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Cohesive.Processes&version=0.1.0-alpha.69&prerelease
                    
Install as a Cake Tool

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, exact switch, 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.Storage provides the provider-neutral durable aggregate and runtime.
  • Cohesive.Adapters.DurableTask provides the current bounded Azure Durable Task interpretation.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed