slopbrick 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -260,7 +260,7 @@ interface ScanFactsV2 {
260
260
  */
261
261
  type Bucket = 'ai' | 'hygiene' | 'suppressed';
262
262
 
263
- declare const VERSION = "0.15.0";
263
+ declare const VERSION: string;
264
264
  /**
265
265
  * Runtime shape of `.slopbrick/health.json`. The on-disk JSON
266
266
  * matches `packages/core/schemas/v1/health.schema.json` (v3); this
@@ -544,6 +544,15 @@ interface Issue {
544
544
  fix?: FixSuggestion;
545
545
  fixes?: FixSuggestion[];
546
546
  signalStrength?: SignalStrengthEntry;
547
+ /**
548
+ * v0.17.0 — Optional rule-specific structured data that the
549
+ * orchestration layer promotes to typed finding fields (e.g.
550
+ * `DbFinding.table`, `DocFinding.package`). Conventions:
551
+ * - db/* rules: `{ table?: string, columnName?: string }`
552
+ * - docs/* rules: `{ package?: string, identifier?: string, link?: string }`
553
+ * Reporters and rules that don't need this can ignore it.
554
+ */
555
+ extras?: Record<string, unknown>;
547
556
  }
548
557
  interface CachedFile {
549
558
  hash: string;
package/dist/index.d.ts CHANGED
@@ -260,7 +260,7 @@ interface ScanFactsV2 {
260
260
  */
261
261
  type Bucket = 'ai' | 'hygiene' | 'suppressed';
262
262
 
263
- declare const VERSION = "0.15.0";
263
+ declare const VERSION: string;
264
264
  /**
265
265
  * Runtime shape of `.slopbrick/health.json`. The on-disk JSON
266
266
  * matches `packages/core/schemas/v1/health.schema.json` (v3); this
@@ -544,6 +544,15 @@ interface Issue {
544
544
  fix?: FixSuggestion;
545
545
  fixes?: FixSuggestion[];
546
546
  signalStrength?: SignalStrengthEntry;
547
+ /**
548
+ * v0.17.0 — Optional rule-specific structured data that the
549
+ * orchestration layer promotes to typed finding fields (e.g.
550
+ * `DbFinding.table`, `DocFinding.package`). Conventions:
551
+ * - db/* rules: `{ table?: string, columnName?: string }`
552
+ * - docs/* rules: `{ package?: string, identifier?: string, link?: string }`
553
+ * Reporters and rules that don't need this can ignore it.
554
+ */
555
+ extras?: Record<string, unknown>;
547
556
  }
548
557
  interface CachedFile {
549
558
  hash: string;