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" />
                    
Directory.Packages.props
<PackageReference Include="HoneyDrunk.Operator" />
                    
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 HoneyDrunk.Operator --version 0.1.1
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=HoneyDrunk.Operator&version=0.1.1
                    
Install as a Cake Tool

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 IConfigProvider so 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 IAuditLog from HoneyDrunk.Audit to capture decisions (ADR-0030 / ADR-0031). When absent, audit emission is a no-op (graceful degradation).
  • Approval transport — register an IApprovalEventSink to 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.Abstractions and HoneyDrunk.Audit.Abstractions. Vault does not yet publish a standalone .Abstractions package, so IConfigProvider (namespace HoneyDrunk.Vault.Abstractions) is consumed from the HoneyDrunk.Vault package — 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 with TODO(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 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

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