Cohesive.Api.Execution
0.1.0-alpha.66
dotnet add package Cohesive.Api.Execution --version 0.1.0-alpha.66
NuGet\Install-Package Cohesive.Api.Execution -Version 0.1.0-alpha.66
<PackageReference Include="Cohesive.Api.Execution" Version="0.1.0-alpha.66" />
<PackageVersion Include="Cohesive.Api.Execution" Version="0.1.0-alpha.66" />
<PackageReference Include="Cohesive.Api.Execution" />
paket add Cohesive.Api.Execution --version 0.1.0-alpha.66
#r "nuget: Cohesive.Api.Execution, 0.1.0-alpha.66"
#:package Cohesive.Api.Execution@0.1.0-alpha.66
#addin nuget:?package=Cohesive.Api.Execution&version=0.1.0-alpha.66&prerelease
#tool nuget:?package=Cohesive.Api.Execution&version=0.1.0-alpha.66&prerelease
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.Apiowns generic operation, endpoint, authorization, result, and semantic-reference declarations.Cohesive,Cohesive.Processes, andCohesive.Storageown 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);
Production runtimes can supply authoritative asynchronous dispatchers for Process start, the five lifecycle
mutations, and Control-limit updates. When one is supplied, the adapter authorizes against the canonical endpoint,
does not consult its local registry for that operation, and projects only the authoritative result. A lifecycle
dispatcher receives the untrusted portable command separately from ExecutionApiInvocationContext; it resolves the
Process using the trusted authority scope, rebinds first-occurrence evidence, restores retained occurrence evidence
for exact replay, and returns only after the safe canonical result is recoverable. Provider message admission alone
is not lifecycle success. ExecutionProcessControlCommandAdmission provides the shared trusted rebinding rule.
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.
- Authoritative lifecycle lookup uses trusted authority scope plus canonical logical Process identity. Missing and unauthorized targets remain opaque, and exact command or idempotency replay restores the retained occurrence.
- 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.Apiproject-reference closure must remain free ofCohesive.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.
Related Packages
Cohesive.Apifor generic semantic API declarations.Cohesive.Processesfor canonical Process semantics and execution evidence.Cohesive.Storagefor canonical Control contracts used by the execution-control surface.Cohesive.Adapters.AspNetfor ASP.NET endpoint projection.Cohesive.Adapters.OpenApi,Cohesive.Adapters.GraphQL, andCohesive.Adapters.TypeScriptfor derived API artifacts.
| 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.66)
- Cohesive.Api (>= 0.1.0-alpha.66)
- Cohesive.Processes (>= 0.1.0-alpha.66)
- Cohesive.Storage (>= 0.1.0-alpha.66)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Cohesive.Api.Execution:
| Package | Downloads |
|---|---|
|
Cohesive.Adapters.DurableTask
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Adapters.AspNet
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Processes.Contracts
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.66 | 0 | 8/25/2026 |
| 0.1.0-alpha.65 | 32 | 8/25/2026 |
| 0.1.0-alpha.64 | 34 | 8/25/2026 |
| 0.1.0-alpha.63 | 61 | 8/24/2026 |
| 0.1.0-alpha.62 | 50 | 8/24/2026 |
| 0.1.0-alpha.61 | 66 | 8/24/2026 |
| 0.1.0-alpha.60 | 48 | 8/24/2026 |
| 0.1.0-alpha.59 | 53 | 8/24/2026 |
| 0.1.0-alpha.58 | 50 | 8/24/2026 |
| 0.1.0-alpha.57 | 47 | 8/24/2026 |
| 0.1.0-alpha.56 | 49 | 8/24/2026 |
| 0.1.0-alpha.55 | 45 | 8/23/2026 |
| 0.1.0-alpha.54 | 45 | 8/23/2026 |
| 0.1.0-alpha.53 | 62 | 8/23/2026 |
| 0.1.0-alpha.52 | 51 | 8/23/2026 |
| 0.1.0-alpha.51 | 53 | 8/23/2026 |
| 0.1.0-alpha.50 | 45 | 8/23/2026 |
| 0.1.0-alpha.49 | 42 | 8/23/2026 |
| 0.1.0-alpha.48 | 60 | 8/23/2026 |
| 0.1.0-alpha.47 | 50 | 8/23/2026 |