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

OverlapAuditor Pennington.Generation

IBuildAuditor that flags markdown content sources whose AbsoluteContentRoot directories overlap without an explicit ExcludePaths carve-out. Wraps MarkdownSourceOverlapDetector so the same warnings reach the dev overlay (via AuditCache) and the build report.

Properties

Code string
Stable identifier surfaced on every diagnostic this auditor emits.

Constructors

OverlapAuditor

#
public OverlapAuditor(IEnumerable<IContentService> contentServices)

Wires the auditor to the registered content services.

Parameters

contentServices IEnumerable<IContentService>

Methods

AuditAsync

#
public Task<IReadOnlyList<BuildDiagnostic>> AuditAsync(BuildAuditContext context, CancellationToken cancellationToken)

Runs the auditor against context and returns its diagnostics.

Parameters

context BuildAuditContext
cancellationToken CancellationToken

Returns

Task<IReadOnlyList<BuildDiagnostic>>

Pennington.Generation.OverlapAuditor

namespace Pennington.Generation;

/// IBuildAuditor that flags markdown content sources whose AbsoluteContentRoot directories overlap without an explicit ExcludePaths carve-out. Wraps MarkdownSourceOverlapDetector so the same warnings reach the dev overlay (via AuditCache) and the build report.
public class OverlapAuditor
{
    /// Runs the auditor against context and returns its diagnostics.
    
public Task<IReadOnlyList<BuildDiagnostic>> AuditAsync(BuildAuditContext context, CancellationToken cancellationToken)
; /// Stable identifier surfaced on every diagnostic this auditor emits.
public string Code { get; }
/// Wires the auditor to the registered content services.
public OverlapAuditor(IEnumerable<IContentService> contentServices)
; }