string Code { get; }
Source
Gets the stable diagnostic code.
Resolves a checked-in policy and normalized diff into one closed evidence plan.
EvidencePlan Resolve(EvidencePolicy policy, IReadOnlyList<NormalizedDiffPath> changedPaths)
Source
Resolves one deterministic plan without starting resources or producers.
policyVersioned consumer policy.changedPathsExplicit normalized changed paths.A hash-bound evidence plan.
void ValidatePolicy(EvidencePolicy policy)
Source
Validates that a policy can yield a conservative and truthful v1 plan.
policyPolicy to validate.Reads explicit changed paths from a unified diff without depending on a local Git checkout.
IReadOnlyList<NormalizedDiffPath> Read(string diff)
Source
Parses changed paths from unified diff text.
diffUnified diff text.Normalized added, modified, deleted, and renamed paths.
Matches exact paths and segment globs without content-sensitive policy evaluation.
Represents a stable, user-facing evidence planning failure.
string Code { get; }
Source
Gets the stable diagnostic code.
string Fix { get; }
Source
Gets the concrete remediation.