HoneyDrunk.Operator
0.1.1
dotnet add package HoneyDrunk.Operator --version 0.1.1
NuGet\Install-Package HoneyDrunk.Operator -Version 0.1.1
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="HoneyDrunk.Operator" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HoneyDrunk.Operator" Version="0.1.1" />
<PackageReference Include="HoneyDrunk.Operator" />
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 HoneyDrunk.Operator --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HoneyDrunk.Operator, 0.1.1"
#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 HoneyDrunk.Operator@0.1.1
#: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=HoneyDrunk.Operator&version=0.1.1
#tool nuget:?package=HoneyDrunk.Operator&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
HoneyDrunk.Operator
Runtime composition for the HoneyDrunk.Operator human-policy enforcement substrate (ADR-0018).
services
.AddHoneyDrunkOperator(options =>
{
options.ConfigKeyPrefix = "HoneyDrunk:Operator";
})
.AddSafetyRule<MyCustomSafetyRule>();
What it registers
| Contract | Default implementation |
|---|---|
IApprovalGate |
DefaultApprovalGate (event-out + in-process pending state) |
ICircuitBreaker |
DefaultCircuitBreaker (Closed → Open → HalfOpen state machine) |
ICostGuard |
DefaultCostGuard (in-process accumulator, config-sourced budgets) |
IDecisionPolicy |
AuthBackedDecisionPolicy (config-sourced outcomes) |
ISafetyFilter |
DefaultSafetyFilter (composable ISafetyRule chain) |
Plus OperatorTelemetry (Kernel ITelemetryActivityFactory), OperatorAuditWriter (Audit
IAuditLog), and ApprovalEventEmitter (IApprovalEventSink event-out).
Host responsibilities
- Vault — register an
IConfigProviderso cost-rate tables, breaker thresholds, decision policies, and safety-filter config resolve from Azure App Configuration (ADR-0018 D6 / invariant 117). - Kernel — register an
ITelemetryActivityFactory(ADR-0018 D7). - Audit — register an
IAuditLogfromHoneyDrunk.Auditto capture decisions (ADR-0030 / ADR-0031). When absent, audit emission is a no-op (graceful degradation). - Approval transport — register an
IApprovalEventSinkto deliver approval-needed events; the default is a no-op sink. The wire shape is deferred per ADR-0018 D8.
Standards notes
- Per invariants 1/2, the runtime references peer Nodes' contract surfaces, never their runtime
composition:
HoneyDrunk.Kernel.AbstractionsandHoneyDrunk.Audit.Abstractions. Vault does not yet publish a standalone.Abstractionspackage, soIConfigProvider(namespaceHoneyDrunk.Vault.Abstractions) is consumed from theHoneyDrunk.Vaultpackage — the contract type only; no Vault runtime services are composed here. - v0.1.0 deferrals: the
AuthBackedDecisionPolicy→ HoneyDrunk.Auth delegation (ADR-0018 D5) and durable persistence of cost/approval state (HoneyDrunk.Data, ADR-0018 D12) are marked withTODO(auth)/TODO(data)and land in follow-up packets. The v0.1.0 defaults are config-sourced and in-process so the substrate is composable and testable from the first release.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- HoneyDrunk.Audit.Abstractions (>= 0.2.1)
- HoneyDrunk.Kernel.Abstractions (>= 0.8.1)
- HoneyDrunk.Operator.Abstractions (>= 0.1.1)
- HoneyDrunk.Vault (>= 0.8.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.1 | 99 | 9/26/2026 |