This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

IAuditCache Pennington.Generation

Singleton store for the most recent audit pass. Read by the dev-mode overlay processor (per request, filtered to the current route) and by OutputGenerationService at the end of a static build (copied into the BuildReport).

Properties

Diagnostics ImmutableList<BuildDiagnostic>
The diagnostics produced by the most recent run, in insertion order.

Events

Updated

#
public event Action Updated

Raised after the cache is replaced. Use to log or refresh derived state.

Pennington.Generation.IAuditCache

namespace Pennington.Generation;

/// Singleton store for the most recent audit pass. Read by the dev-mode overlay processor (per request, filtered to the current route) and by OutputGenerationService at the end of a static build (copied into the BuildReport).
public interface IAuditCache
{
    /// The diagnostics produced by the most recent run, in insertion order.
    
public ImmutableList<BuildDiagnostic> Diagnostics { get; }
/// Raised after the cache is replaced. Use to log or refresh derived state.
public event Action Updated
; }