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

ClaimConflictAuditor Pennington.Generation

IBuildAuditor that polices the artifact tier's declared URL territories: warns when a content route falls inside an ArtifactClaim (the artifact router would shadow it in dev and the build output could collide), and when two claims from different owners overlap (resolution order would silently decide the winner). Rides the audit pipeline, so the same warnings reach the dev overlay, diag warnings, and the build report. Consults claims and route discovery only — never artifact discovery, which may materialize the projection.

Properties

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

Constructors

ClaimConflictAuditor

#
public ClaimConflictAuditor(IEnumerable<IContentService> contentServices, IEnumerable<IArtifactContentService> artifactServices)

Wires the auditor to the content discovery surface and the artifact tier.

Parameters

contentServices IEnumerable<IContentService>
artifactServices IEnumerable<IArtifactContentService>

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.ClaimConflictAuditor

namespace Pennington.Generation;

/// IBuildAuditor that polices the artifact tier's declared URL territories: warns when a content route falls inside an ArtifactClaim (the artifact router would shadow it in dev and the build output could collide), and when two claims from different owners overlap (resolution order would silently decide the winner). Rides the audit pipeline, so the same warnings reach the dev overlay, diag warnings, and the build report. Consults claims and route discovery only — never artifact discovery, which may materialize the projection.
public class ClaimConflictAuditor
{
    /// Runs the auditor against context and returns its diagnostics.
    
public Task<IReadOnlyList<BuildDiagnostic>> AuditAsync(BuildAuditContext context, CancellationToken cancellationToken)
; /// Wires the auditor to the content discovery surface and the artifact tier.
public ClaimConflictAuditor(IEnumerable<IContentService> contentServices, IEnumerable<IArtifactContentService> artifactServices)
; /// Stable identifier surfaced on every diagnostic this auditor emits.
public string Code { get; }
}