Cohesive.Api.Execution 0.1.0-alpha.20

This is a prerelease version of Cohesive.Api.Execution.
dotnet add package Cohesive.Api.Execution --version 0.1.0-alpha.20
                    
NuGet\Install-Package Cohesive.Api.Execution -Version 0.1.0-alpha.20
                    
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.Api.Execution" Version="0.1.0-alpha.20" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cohesive.Api.Execution" Version="0.1.0-alpha.20" />
                    
Directory.Packages.props
<PackageReference Include="Cohesive.Api.Execution" />
                    
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.Api.Execution --version 0.1.0-alpha.20
                    
#r "nuget: Cohesive.Api.Execution, 0.1.0-alpha.20"
                    
#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.Api.Execution@0.1.0-alpha.20
                    
#: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.Api.Execution&version=0.1.0-alpha.20&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Cohesive.Api.Execution&version=0.1.0-alpha.20&prerelease
                    
Install as a Cake Tool

Cohesive.Api.Execution

Transport-neutral execution-control API composition for canonical Cohesive execution semantics.

Install

dotnet add package Cohesive.Api.Execution

Use When

  • You need the canonical Process start, inspection, explanation, retained-trace, lifecycle-control, or limit-update API catalog.
  • You want an in-memory reference binding for the same declared operation and result contracts.
  • You are building an HTTP, CLI, generated-client, test, or presentation interpretation of execution control.

Applications that only declare general semantic APIs should reference Cohesive.Api instead.

Ownership Boundary

Cohesive.Api.Execution is a composition package, not another execution semantic authority:

  • Cohesive.Api owns generic operation, endpoint, authorization, result, and semantic-reference declarations.
  • Cohesive, Cohesive.Processes, and Cohesive.Storage own execution identity, commands, status, trace, explanation, Control, and Process runtime semantics.
  • This package binds those authorities into one stable execution-control catalog and safe reference result projections.
  • Concrete transports such as ASP.NET remain in Cohesive.Adapters.*.

The dependency direction is acyclic: Cohesive.Api.Execution depends on Cohesive.Api, Cohesive.Processes, Cohesive.Storage, and the Cohesive foundation; the complete generic Cohesive.Api project-reference closure does not acquire Cohesive.Processes.

Entry Points

ExecutionControlApiCatalog.Create() returns the complete immutable route-neutral operation inventory in stable order. InMemoryExecutionControlApiAdapter is a linearizable reference integration for tests and local composition; canonical reducers remain responsible for lifecycle, replay, fencing, and admission semantics.

using Cohesive.Api.Execution;

var catalog = ExecutionControlApiCatalog.Create();
var traces = catalog.Definition.GetOperation(catalog.Traces);

The explain and traces queries return ExecutionExplainArtifact and ProcessExecutionTraceArtifact directly. Adapters must not translate them into parallel response models. Opaque ExecutionApiProblem values intentionally exclude physical identities, authorization evidence, payloads, and provider history.

Invariants and Failure Boundaries

  • Endpoint handles, operation order, authorization requirements, result variants, and semantic references come only from ExecutionControlApiCatalog.
  • Trusted authorization, issuance, provenance, and tenant evidence is supplied by an adapter, never deserialized from an API caller.
  • Repository availability and lifecycle dispositions map to declared result variants; unspecified or incoherent states fail closed.
  • The in-memory adapter accepts only handles owned by its exact catalog and checks returned evidence affinity before projection.
  • The complete Cohesive.Api project-reference closure must remain free of Cohesive.Processes.

Transport Interpretation

Cohesive.Adapters.AspNet maps the catalog's Process observation handles through MapProcessExecutionInspectApi, MapProcessExecutionExplainApi, and MapProcessExecutionTracesApi. OpenAPI, GraphQL, TypeScript, CLI, and future hosts consume the same generic ApiDefinition without acquiring transport behavior from this package.

Migration from Cohesive.Api

Execution-control types moved from the Cohesive.Api assembly into this package. Add a package or project reference to Cohesive.Api.Execution and import Cohesive.Api.Execution. Wire authorities, schema version v4, operation order, endpoint identities, contracts, and canonical JSON are unchanged.

Testing

Catalog, result, in-memory integration, generated-client, and ASP.NET conformance tests live under src/Cohesive.Tests/Api. ExecutionApiPackageBoundaryTests guards the assembly dependency direction and ownership of the execution-specific public surface.

  • Cohesive.Api for generic semantic API declarations.
  • Cohesive.Processes for canonical Process semantics and execution evidence.
  • Cohesive.Storage for canonical Control contracts used by the execution-control surface.
  • Cohesive.Adapters.AspNet for ASP.NET endpoint projection.
  • Cohesive.Adapters.OpenApi, Cohesive.Adapters.GraphQL, and Cohesive.Adapters.TypeScript for derived API artifacts.
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 (1)

Showing the top 1 NuGet packages that depend on Cohesive.Api.Execution:

Package Downloads
Cohesive.Adapters.AspNet

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.20 2 8/15/2026
0.1.0-alpha.19 6 8/15/2026
0.1.0-alpha.18 23 8/15/2026
0.1.0-alpha.17 44 8/14/2026
0.1.0-alpha.16 41 8/13/2026
0.1.0-alpha.15 42 8/13/2026
0.1.0-alpha.14 37 8/13/2026
0.1.0-alpha.13 42 8/12/2026
0.1.0-alpha.12 43 8/12/2026
0.1.0-alpha.11 44 8/12/2026
0.1.0-alpha.10 42 8/12/2026
0.1.0-alpha.9 43 8/11/2026
0.1.0-alpha.8 41 8/11/2026
0.1.0-alpha.7 45 8/11/2026