Minos.NET.Recording 1.4.0

Prefix Reserved
dotnet add package Minos.NET.Recording --version 1.4.0
                    
NuGet\Install-Package Minos.NET.Recording -Version 1.4.0
                    
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="Minos.NET.Recording" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Minos.NET.Recording" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Minos.NET.Recording" />
                    
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 Minos.NET.Recording --version 1.4.0
                    
#r "nuget: Minos.NET.Recording, 1.4.0"
                    
#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 Minos.NET.Recording@1.4.0
                    
#: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=Minos.NET.Recording&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Minos.NET.Recording&version=1.4.0
                    
Install as a Cake Tool

Minos.NET.Recording

A decision recorder for Minos.NET: one pipeline stage writes a record of every decision, with its question set, state, answers and usage, to a JSONL file or a sink of your own. Outcomes are attached to a record later by its decision id, and records are erased by a key you choose. The stage never delays or fails a decision, runs your redaction before anything is kept, and never puts the state, an id or a key in a log, a trace or a metric. Native AOT-compatible.

dotnet add package Minos.NET.Recording
using Minos;
using Minos.Recording;

await using var sink = new JsonlDecisionRecordSink("decisions.jsonl");
await using var recorder = new DecisionRecorder(sink);

// Outermost, so one decision is one record.
using var recorded = client.AsBuilder().UseRecording(recorder).Build();

using (var scope = DecisionRecording.Begin(erasureKey: customerId))
{
    var answers = await recorded.EvaluateAsync<Triage>(message);
    await recorder.AddOutcomeAsync(
        scope.DecisionId!,
        DecisionOutcome.Signal("mailer", DateTimeOffset.UtcNow, "complained"));
}

// Completes after the sink has erased the customer's records, or throws RecordingException.
await recorder.EraseAsync(customerId);

await foreach (var decision in DecisionRecordFile.ReadAsync("decisions.jsonl", CancellationToken.None))
{
    Console.WriteLine($"{decision.Record.DecisionId}: {decision.Outcomes.Count} outcomes");
}

Documentation: Recording decisions. Source and issues: github.com/MarcelRoozekrans/Minos.NET. Licensed under the MIT license.

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
1.4.0 39 10/23/2026
1.3.0 51 10/23/2026