Documentation
Table of Contents

Class ShadowVersion

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.dll

A version of a rule document to run side by side with the running version: typically a candidate saved with Activate false. List it in Shadows; every check evaluates its rules detect-only beside the running rules, on the same subjects, and reports where the verdicts differ in ShadowDifferences. It never decides anything. Promote it with ActivateAsync(DocumentId, long, CancellationToken); the library never promotes a version on its own.

[Experimental("INTENTSHARP002")]
public sealed class ShadowVersion
Inheritance
object
ShadowVersion
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

ShadowVersion()

Creates a shadow version; set Document and Sequence.

Properties

Document

The rule document, by its path in the store, such as rules/orders.rules.yaml.

Sequence

The version of the document to run beside the running one, by its sequence in the store (1 or more).