ProtectedcacheIn-memory cache of the parsed file contents, or null if not yet loaded.
Protected ReadonlyfilePath to the JSON file on disk.
Protected ReadonlyloggerLogger instance for warnings and diagnostics.
Clear the issues of a document key (called on successful processing).
Wipe all issues (called on full reindex start).
ProtectedcreateCreate an empty default value when file is missing or unreadable.
Get the current issues of one document key, if any.
Optionaldetails?: unknownOptional structured details (e.g. the AJV errors of match_failed); JSON.
Error message describing the failure.
Optionaloperation?: stringOperation that failed (e.g. Failed to process file).
Optionalproperty?: stringProperty name where the issue occurred.
Optionalrule?: stringRule name for single-rule issues; for a source document, its designated
rule (so an issues reindex can retry a document that has no points).
Optionalrules?: string[]Name(s) of the rule(s) involved in the issue.
Unix timestamp (seconds) or ISO string of the last occurrence.
Canonical issue code.
Optionaltypes?: string[]Declared types for type collision issues.
Get all current issues.
ProtectedloadLoad from disk into cache if not already loaded.
Record an issue for a document key (file path or source reference).
Document key (file path or source reference).
Canonical issue code.
Error message.
Optionaloptions: Pick<Optional operation, property, rule(s), types and
structured details (stored as JSON, e.g. AJV errors).
ProtectedsaveFlush cache to disk.
Manages a persistent issues.json file tracking processing failures per document key (file path or source reference).