Penghou.Workflow.Abstractions
0.1.0-preview.2
See the version list below for details.
dotnet add package Penghou.Workflow.Abstractions --version 0.1.0-preview.2
NuGet\Install-Package Penghou.Workflow.Abstractions -Version 0.1.0-preview.2
<PackageReference Include="Penghou.Workflow.Abstractions" Version="0.1.0-preview.2" />
<PackageVersion Include="Penghou.Workflow.Abstractions" Version="0.1.0-preview.2" />
<PackageReference Include="Penghou.Workflow.Abstractions" />
paket add Penghou.Workflow.Abstractions --version 0.1.0-preview.2
#r "nuget: Penghou.Workflow.Abstractions, 0.1.0-preview.2"
#:package Penghou.Workflow.Abstractions@0.1.0-preview.2
#addin nuget:?package=Penghou.Workflow.Abstractions&version=0.1.0-preview.2&prerelease
#tool nuget:?package=Penghou.Workflow.Abstractions&version=0.1.0-preview.2&prerelease
Penghou.Workflow.Abstractions
Product-neutral execution authorization contracts for replaceable workflow runtimes and authority adapters. Targets .NET 8 and .NET 10 with no package dependencies. The package contains interfaces and immutable bounded values; it contains no workflow engine, policy evaluator, SQL or default authorizer.
var requirement = new ExecutionRequirement(
"penghou.execution", 1, "workflow.operation.run", "urn:demo:operation:read");
var identity = new ExecutionIdentity("execution-1", "read", 1, "revision-1");
var context = new ExecutionAuthorizationContext(
identity, "authorization-request-1", new[] { requirement });
ExecutionAuthorizationResult result =
await configuredAuthorizer.AuthorizeAsync(context, cancellationToken);
The example ends at evaluation. A runtime must validate outcome/request/provider binding, time, required evidence and its current fence before invoking protected code. Allowed expires; Denied, ApprovalRequired, Unavailable and Error dispatch no protected code. Exceptions, cancellation, malformed/unknown results or missing protected configuration never imply permission. ApprovalRequired parks durably; a wake-up obtains a fresh decision. Historical Allow is not permission for a retry.
Execution IDs and requirement resource/scope references are host-scoped opaque values, not authenticated principals or bearer capabilities. A trusted adapter resolves identity and retained scopes independently. Empty/unknown declarations must not become implicit permission. Runtime-specific leases and generations stay in the runtime; actual resource access requires separate provider checks.
Each request snapshots at most 64 requirements. IDs are bounded to 256 UTF-8 bytes, requirement schema/capability to 128, and resource/path to 2048. Strings are valid Unicode without control characters or surrounding whitespace; values are preserved without case folding or normalization. Plans require paired ID and revision. Context/result schema version one rejects unsupported versions. Use fresh one-use request IDs and never bind one ID to changed context data.
Zhinu is a planned runtime consumer and Hufu.Workflow a planned authority adapter; neither is a dependency. Other engines can implement the same seam. See the repository's workflow contract and conformance documents for obligations and current qualification. Initial preview; publication does not establish production host security or qualify an unimplemented runtime integration.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Penghou.Workflow.Abstractions:
| Package | Downloads |
|---|---|
|
Penghou.Zhinu
Embedded durable workflow execution abstractions and engine for .NET. |
|
|
Penghou.Hufu.Workflow
Product-neutral workflow authorization through Hufu with trusted binding, approval and evidence. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 135 | 10/13/2026 |
| 1.0.0-rc.1 | 120 | 10/13/2026 |
| 0.1.0-preview.2 | 1,904 | 10/3/2026 |