@qulib/core 0.10.1 → 0.12.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/README.md +2 -0
- package/dist/cli/confidence-run.d.ts +18 -0
- package/dist/cli/confidence-run.d.ts.map +1 -1
- package/dist/cli/confidence-run.js +58 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/llm/provider.interface.d.ts +4 -1
- package/dist/llm/provider.interface.d.ts.map +1 -1
- package/dist/llm/providers/anthropic.d.ts +2 -2
- package/dist/llm/providers/anthropic.d.ts.map +1 -1
- package/dist/llm/providers/anthropic.js +2 -1
- package/dist/schemas/bug-report-score.schema.d.ts +163 -0
- package/dist/schemas/bug-report-score.schema.d.ts.map +1 -0
- package/dist/schemas/bug-report-score.schema.js +32 -0
- package/dist/schemas/confidence.schema.d.ts +33 -33
- package/dist/schemas/confidence.schema.d.ts.map +1 -1
- package/dist/schemas/confidence.schema.js +1 -0
- package/dist/schemas/decision-score.schema.d.ts +157 -0
- package/dist/schemas/decision-score.schema.d.ts.map +1 -0
- package/dist/schemas/decision-score.schema.js +39 -0
- package/dist/schemas/index.d.ts +2 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +2 -0
- package/dist/schemas/views.schema.d.ts +11 -11
- package/dist/tools/scoring/bug-report-score.d.ts +34 -0
- package/dist/tools/scoring/bug-report-score.d.ts.map +1 -0
- package/dist/tools/scoring/bug-report-score.js +320 -0
- package/dist/tools/scoring/score-decisions.d.ts +30 -0
- package/dist/tools/scoring/score-decisions.d.ts.map +1 -0
- package/dist/tools/scoring/score-decisions.js +348 -0
- package/package.json +2 -2
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - tenantId on every record (CLAUDE.md rule 17 — multi-tenant from day one).
|
|
12
12
|
*/
|
|
13
13
|
import { z } from 'zod';
|
|
14
|
-
export declare const EvidenceSourceKindSchema: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
14
|
+
export declare const EvidenceSourceKindSchema: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
15
15
|
export type EvidenceSourceKind = z.infer<typeof EvidenceSourceKindSchema>;
|
|
16
16
|
export declare const ConfidencePolicySchema: z.ZodObject<{
|
|
17
17
|
/**
|
|
@@ -30,28 +30,28 @@ export declare const ConfidencePolicySchema: z.ZodObject<{
|
|
|
30
30
|
* Sources listed here produce verdict='caution' when their applicability is 'unknown'.
|
|
31
31
|
* Empty by default — callers can require specific sources for stricter gates.
|
|
32
32
|
*/
|
|
33
|
-
requiredSources: z.ZodDefault<z.ZodArray<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>, "many">>;
|
|
33
|
+
requiredSources: z.ZodDefault<z.ZodArray<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>, "many">>;
|
|
34
34
|
/**
|
|
35
35
|
* Per-source weight overrides. When provided, these replace the scorer's default weights
|
|
36
36
|
* for the named sources; unmentioned sources keep their defaults.
|
|
37
37
|
*/
|
|
38
|
-
weights: z.ZodOptional<z.ZodRecord<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>, z.ZodNumber>>;
|
|
38
|
+
weights: z.ZodOptional<z.ZodRecord<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>, z.ZodNumber>>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
passThreshold: number;
|
|
41
41
|
failThreshold: number;
|
|
42
42
|
maxListLength: number;
|
|
43
|
-
requiredSources: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence")[];
|
|
44
|
-
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence", number>> | undefined;
|
|
43
|
+
requiredSources: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality")[];
|
|
44
|
+
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality", number>> | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
passThreshold?: number | undefined;
|
|
47
47
|
failThreshold?: number | undefined;
|
|
48
48
|
maxListLength?: number | undefined;
|
|
49
|
-
requiredSources?: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence")[] | undefined;
|
|
50
|
-
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence", number>> | undefined;
|
|
49
|
+
requiredSources?: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality")[] | undefined;
|
|
50
|
+
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality", number>> | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
export type ConfidencePolicy = z.infer<typeof ConfidencePolicySchema>;
|
|
53
53
|
export declare const EvidenceItemSchema: z.ZodObject<{
|
|
54
|
-
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
54
|
+
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
55
55
|
/**
|
|
56
56
|
* 0–100 normalized score, or null when the source ran but could not produce
|
|
57
57
|
* an honest score (e.g. auth-blocked crawl). null → excluded from denominator
|
|
@@ -114,7 +114,7 @@ export declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
114
114
|
} | undefined;
|
|
115
115
|
}>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
117
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
118
118
|
recommendations: string[];
|
|
119
119
|
score: number | null;
|
|
120
120
|
weight: number;
|
|
@@ -133,7 +133,7 @@ export declare const EvidenceItemSchema: z.ZodObject<{
|
|
|
133
133
|
};
|
|
134
134
|
reason?: string | undefined;
|
|
135
135
|
}, {
|
|
136
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
136
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
137
137
|
score: number | null;
|
|
138
138
|
weight: number;
|
|
139
139
|
evidence: string[];
|
|
@@ -184,7 +184,7 @@ export declare const ConfidenceInputSchema: z.ZodObject<{
|
|
|
184
184
|
tenantId?: string | undefined;
|
|
185
185
|
}>;
|
|
186
186
|
evidence: z.ZodArray<z.ZodObject<{
|
|
187
|
-
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
187
|
+
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
188
188
|
/**
|
|
189
189
|
* 0–100 normalized score, or null when the source ran but could not produce
|
|
190
190
|
* an honest score (e.g. auth-blocked crawl). null → excluded from denominator
|
|
@@ -247,7 +247,7 @@ export declare const ConfidenceInputSchema: z.ZodObject<{
|
|
|
247
247
|
} | undefined;
|
|
248
248
|
}>;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
250
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
251
251
|
recommendations: string[];
|
|
252
252
|
score: number | null;
|
|
253
253
|
weight: number;
|
|
@@ -266,7 +266,7 @@ export declare const ConfidenceInputSchema: z.ZodObject<{
|
|
|
266
266
|
};
|
|
267
267
|
reason?: string | undefined;
|
|
268
268
|
}, {
|
|
269
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
269
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
270
270
|
score: number | null;
|
|
271
271
|
weight: number;
|
|
272
272
|
evidence: string[];
|
|
@@ -302,28 +302,28 @@ export declare const ConfidenceInputSchema: z.ZodObject<{
|
|
|
302
302
|
* Sources listed here produce verdict='caution' when their applicability is 'unknown'.
|
|
303
303
|
* Empty by default — callers can require specific sources for stricter gates.
|
|
304
304
|
*/
|
|
305
|
-
requiredSources: z.ZodDefault<z.ZodArray<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>, "many">>;
|
|
305
|
+
requiredSources: z.ZodDefault<z.ZodArray<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>, "many">>;
|
|
306
306
|
/**
|
|
307
307
|
* Per-source weight overrides. When provided, these replace the scorer's default weights
|
|
308
308
|
* for the named sources; unmentioned sources keep their defaults.
|
|
309
309
|
*/
|
|
310
|
-
weights: z.ZodOptional<z.ZodRecord<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>, z.ZodNumber>>;
|
|
310
|
+
weights: z.ZodOptional<z.ZodRecord<z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>, z.ZodNumber>>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
passThreshold: number;
|
|
313
313
|
failThreshold: number;
|
|
314
314
|
maxListLength: number;
|
|
315
|
-
requiredSources: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence")[];
|
|
316
|
-
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence", number>> | undefined;
|
|
315
|
+
requiredSources: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality")[];
|
|
316
|
+
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality", number>> | undefined;
|
|
317
317
|
}, {
|
|
318
318
|
passThreshold?: number | undefined;
|
|
319
319
|
failThreshold?: number | undefined;
|
|
320
320
|
maxListLength?: number | undefined;
|
|
321
|
-
requiredSources?: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence")[] | undefined;
|
|
322
|
-
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence", number>> | undefined;
|
|
321
|
+
requiredSources?: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality")[] | undefined;
|
|
322
|
+
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality", number>> | undefined;
|
|
323
323
|
}>>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
325
|
evidence: {
|
|
326
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
326
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
327
327
|
recommendations: string[];
|
|
328
328
|
score: number | null;
|
|
329
329
|
weight: number;
|
|
@@ -351,12 +351,12 @@ export declare const ConfidenceInputSchema: z.ZodObject<{
|
|
|
351
351
|
passThreshold: number;
|
|
352
352
|
failThreshold: number;
|
|
353
353
|
maxListLength: number;
|
|
354
|
-
requiredSources: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence")[];
|
|
355
|
-
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence", number>> | undefined;
|
|
354
|
+
requiredSources: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality")[];
|
|
355
|
+
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality", number>> | undefined;
|
|
356
356
|
} | undefined;
|
|
357
357
|
}, {
|
|
358
358
|
evidence: {
|
|
359
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
359
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
360
360
|
score: number | null;
|
|
361
361
|
weight: number;
|
|
362
362
|
evidence: string[];
|
|
@@ -384,15 +384,15 @@ export declare const ConfidenceInputSchema: z.ZodObject<{
|
|
|
384
384
|
passThreshold?: number | undefined;
|
|
385
385
|
failThreshold?: number | undefined;
|
|
386
386
|
maxListLength?: number | undefined;
|
|
387
|
-
requiredSources?: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence")[] | undefined;
|
|
388
|
-
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence", number>> | undefined;
|
|
387
|
+
requiredSources?: ("accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality")[] | undefined;
|
|
388
|
+
weights?: Partial<Record<"accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality", number>> | undefined;
|
|
389
389
|
} | undefined;
|
|
390
390
|
}>;
|
|
391
391
|
export type ConfidenceInput = z.infer<typeof ConfidenceInputSchema>;
|
|
392
392
|
export declare const ConfidenceVerdictSchema: z.ZodEnum<["ship", "caution", "hold", "block"]>;
|
|
393
393
|
export type ConfidenceVerdict = z.infer<typeof ConfidenceVerdictSchema>;
|
|
394
394
|
export declare const ConfidenceContributionSchema: z.ZodObject<{
|
|
395
|
-
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
395
|
+
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
396
396
|
score: z.ZodNullable<z.ZodNumber>;
|
|
397
397
|
weight: z.ZodNumber;
|
|
398
398
|
/** Renormalized weight over the applicable set (sums to 1.0 across applicable items). */
|
|
@@ -400,14 +400,14 @@ export declare const ConfidenceContributionSchema: z.ZodObject<{
|
|
|
400
400
|
applicability: z.ZodEnum<["applicable", "not_applicable", "unknown"]>;
|
|
401
401
|
blocking: z.ZodBoolean;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
403
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
404
404
|
score: number | null;
|
|
405
405
|
weight: number;
|
|
406
406
|
applicability: "unknown" | "applicable" | "not_applicable";
|
|
407
407
|
blocking: boolean;
|
|
408
408
|
effectiveWeight: number;
|
|
409
409
|
}, {
|
|
410
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
410
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
411
411
|
score: number | null;
|
|
412
412
|
weight: number;
|
|
413
413
|
applicability: "unknown" | "applicable" | "not_applicable";
|
|
@@ -442,7 +442,7 @@ export declare const ReleaseConfidenceSchema: z.ZodObject<{
|
|
|
442
442
|
label: z.ZodString;
|
|
443
443
|
/** Per-source breakdown including excluded (not_applicable / unknown) items. */
|
|
444
444
|
contributions: z.ZodArray<z.ZodObject<{
|
|
445
|
-
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
445
|
+
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
446
446
|
score: z.ZodNullable<z.ZodNumber>;
|
|
447
447
|
weight: z.ZodNumber;
|
|
448
448
|
/** Renormalized weight over the applicable set (sums to 1.0 across applicable items). */
|
|
@@ -450,14 +450,14 @@ export declare const ReleaseConfidenceSchema: z.ZodObject<{
|
|
|
450
450
|
applicability: z.ZodEnum<["applicable", "not_applicable", "unknown"]>;
|
|
451
451
|
blocking: z.ZodBoolean;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
453
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
454
454
|
score: number | null;
|
|
455
455
|
weight: number;
|
|
456
456
|
applicability: "unknown" | "applicable" | "not_applicable";
|
|
457
457
|
blocking: boolean;
|
|
458
458
|
effectiveWeight: number;
|
|
459
459
|
}, {
|
|
460
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
460
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
461
461
|
score: number | null;
|
|
462
462
|
weight: number;
|
|
463
463
|
applicability: "unknown" | "applicable" | "not_applicable";
|
|
@@ -485,7 +485,7 @@ export declare const ReleaseConfidenceSchema: z.ZodObject<{
|
|
|
485
485
|
confidenceScore: number | null;
|
|
486
486
|
verdict: "ship" | "caution" | "hold" | "block";
|
|
487
487
|
contributions: {
|
|
488
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
488
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
489
489
|
score: number | null;
|
|
490
490
|
weight: number;
|
|
491
491
|
applicability: "unknown" | "applicable" | "not_applicable";
|
|
@@ -510,7 +510,7 @@ export declare const ReleaseConfidenceSchema: z.ZodObject<{
|
|
|
510
510
|
confidenceScore: number | null;
|
|
511
511
|
verdict: "ship" | "caution" | "hold" | "block";
|
|
512
512
|
contributions: {
|
|
513
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
513
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
514
514
|
score: number | null;
|
|
515
515
|
weight: number;
|
|
516
516
|
applicability: "unknown" | "applicable" | "not_applicable";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confidence.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/confidence.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"confidence.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/confidence.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2EH,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMpE,eAAO,MAAM,uBAAuB,iDAA+C,CAAC;AACpF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAMxE,eAAO,MAAM,4BAA4B;;;;IAIvC,yFAAyF;;;;;;;;;;;;;;;;;;EAIzF,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,uBAAuB;;;;;;QAtClC,qFAAqF;;;;;;;;;;;IA0CrF;;;OAGG;;;;;IAKH,gFAAgF;;;;;QAnBhF,yFAAyF;;;;;;;;;;;;;;;;;;;;;IAuBzF,yEAAyE;;IAEzE,2EAA2E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG3E,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ForkKindSchema: z.ZodEnum<["gate_block_vs_pass", "stop_vs_continue", "escalate_vs_proceed"]>;
|
|
3
|
+
export declare const DecisionForkSchema: z.ZodObject<{
|
|
4
|
+
fork_id: z.ZodString;
|
|
5
|
+
fork_kind: z.ZodEnum<["gate_block_vs_pass", "stop_vs_continue", "escalate_vs_proceed"]>;
|
|
6
|
+
options: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
choice: z.ZodString;
|
|
8
|
+
constraint: z.ZodString;
|
|
9
|
+
settleable: z.ZodBoolean;
|
|
10
|
+
source_event_id: z.ZodString;
|
|
11
|
+
ts: z.ZodString;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
options: string[];
|
|
14
|
+
fork_id: string;
|
|
15
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
16
|
+
choice: string;
|
|
17
|
+
constraint: string;
|
|
18
|
+
settleable: boolean;
|
|
19
|
+
source_event_id: string;
|
|
20
|
+
ts: string;
|
|
21
|
+
}, {
|
|
22
|
+
options: string[];
|
|
23
|
+
fork_id: string;
|
|
24
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
25
|
+
choice: string;
|
|
26
|
+
constraint: string;
|
|
27
|
+
settleable: boolean;
|
|
28
|
+
source_event_id: string;
|
|
29
|
+
ts: string;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const ScoreDecisionsInputSchema: z.ZodObject<{
|
|
32
|
+
forksPath: z.ZodString;
|
|
33
|
+
enableLlmJudge: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
forksPath: string;
|
|
36
|
+
enableLlmJudge?: boolean | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
forksPath: string;
|
|
39
|
+
enableLlmJudge?: boolean | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
export declare const DecisionScoringPathSchema: z.ZodEnum<["deterministic", "llm-refined"]>;
|
|
42
|
+
export declare const ScoredDecisionForkSchema: z.ZodObject<{
|
|
43
|
+
fork_id: z.ZodString;
|
|
44
|
+
fork_kind: z.ZodEnum<["gate_block_vs_pass", "stop_vs_continue", "escalate_vs_proceed"]>;
|
|
45
|
+
choice: z.ZodString;
|
|
46
|
+
decisionQuality: z.ZodNumber;
|
|
47
|
+
seniorCorrect: z.ZodBoolean;
|
|
48
|
+
rationale: z.ZodString;
|
|
49
|
+
scoringPath: z.ZodEnum<["deterministic", "llm-refined"]>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
rationale: string;
|
|
52
|
+
scoringPath: "deterministic" | "llm-refined";
|
|
53
|
+
fork_id: string;
|
|
54
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
55
|
+
choice: string;
|
|
56
|
+
decisionQuality: number;
|
|
57
|
+
seniorCorrect: boolean;
|
|
58
|
+
}, {
|
|
59
|
+
rationale: string;
|
|
60
|
+
scoringPath: "deterministic" | "llm-refined";
|
|
61
|
+
fork_id: string;
|
|
62
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
63
|
+
choice: string;
|
|
64
|
+
decisionQuality: number;
|
|
65
|
+
seniorCorrect: boolean;
|
|
66
|
+
}>;
|
|
67
|
+
export declare const DecisionScoreAggregateSchema: z.ZodObject<{
|
|
68
|
+
meanDecisionQuality: z.ZodNumber;
|
|
69
|
+
byKind: z.ZodRecord<z.ZodEnum<["gate_block_vs_pass", "stop_vs_continue", "escalate_vs_proceed"]>, z.ZodNumber>;
|
|
70
|
+
count: z.ZodNumber;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
count: number;
|
|
73
|
+
meanDecisionQuality: number;
|
|
74
|
+
byKind: Partial<Record<"gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed", number>>;
|
|
75
|
+
}, {
|
|
76
|
+
count: number;
|
|
77
|
+
meanDecisionQuality: number;
|
|
78
|
+
byKind: Partial<Record<"gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed", number>>;
|
|
79
|
+
}>;
|
|
80
|
+
export declare const DecisionScoreResultSchema: z.ZodObject<{
|
|
81
|
+
scored: z.ZodArray<z.ZodObject<{
|
|
82
|
+
fork_id: z.ZodString;
|
|
83
|
+
fork_kind: z.ZodEnum<["gate_block_vs_pass", "stop_vs_continue", "escalate_vs_proceed"]>;
|
|
84
|
+
choice: z.ZodString;
|
|
85
|
+
decisionQuality: z.ZodNumber;
|
|
86
|
+
seniorCorrect: z.ZodBoolean;
|
|
87
|
+
rationale: z.ZodString;
|
|
88
|
+
scoringPath: z.ZodEnum<["deterministic", "llm-refined"]>;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
rationale: string;
|
|
91
|
+
scoringPath: "deterministic" | "llm-refined";
|
|
92
|
+
fork_id: string;
|
|
93
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
94
|
+
choice: string;
|
|
95
|
+
decisionQuality: number;
|
|
96
|
+
seniorCorrect: boolean;
|
|
97
|
+
}, {
|
|
98
|
+
rationale: string;
|
|
99
|
+
scoringPath: "deterministic" | "llm-refined";
|
|
100
|
+
fork_id: string;
|
|
101
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
102
|
+
choice: string;
|
|
103
|
+
decisionQuality: number;
|
|
104
|
+
seniorCorrect: boolean;
|
|
105
|
+
}>, "many">;
|
|
106
|
+
aggregate: z.ZodObject<{
|
|
107
|
+
meanDecisionQuality: z.ZodNumber;
|
|
108
|
+
byKind: z.ZodRecord<z.ZodEnum<["gate_block_vs_pass", "stop_vs_continue", "escalate_vs_proceed"]>, z.ZodNumber>;
|
|
109
|
+
count: z.ZodNumber;
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
count: number;
|
|
112
|
+
meanDecisionQuality: number;
|
|
113
|
+
byKind: Partial<Record<"gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed", number>>;
|
|
114
|
+
}, {
|
|
115
|
+
count: number;
|
|
116
|
+
meanDecisionQuality: number;
|
|
117
|
+
byKind: Partial<Record<"gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed", number>>;
|
|
118
|
+
}>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
scored: {
|
|
121
|
+
rationale: string;
|
|
122
|
+
scoringPath: "deterministic" | "llm-refined";
|
|
123
|
+
fork_id: string;
|
|
124
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
125
|
+
choice: string;
|
|
126
|
+
decisionQuality: number;
|
|
127
|
+
seniorCorrect: boolean;
|
|
128
|
+
}[];
|
|
129
|
+
aggregate: {
|
|
130
|
+
count: number;
|
|
131
|
+
meanDecisionQuality: number;
|
|
132
|
+
byKind: Partial<Record<"gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed", number>>;
|
|
133
|
+
};
|
|
134
|
+
}, {
|
|
135
|
+
scored: {
|
|
136
|
+
rationale: string;
|
|
137
|
+
scoringPath: "deterministic" | "llm-refined";
|
|
138
|
+
fork_id: string;
|
|
139
|
+
fork_kind: "gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed";
|
|
140
|
+
choice: string;
|
|
141
|
+
decisionQuality: number;
|
|
142
|
+
seniorCorrect: boolean;
|
|
143
|
+
}[];
|
|
144
|
+
aggregate: {
|
|
145
|
+
count: number;
|
|
146
|
+
meanDecisionQuality: number;
|
|
147
|
+
byKind: Partial<Record<"gate_block_vs_pass" | "stop_vs_continue" | "escalate_vs_proceed", number>>;
|
|
148
|
+
};
|
|
149
|
+
}>;
|
|
150
|
+
export type ForkKind = z.infer<typeof ForkKindSchema>;
|
|
151
|
+
export type DecisionFork = z.infer<typeof DecisionForkSchema>;
|
|
152
|
+
export type ScoreDecisionsInput = z.infer<typeof ScoreDecisionsInputSchema>;
|
|
153
|
+
export type DecisionScoringPath = z.infer<typeof DecisionScoringPathSchema>;
|
|
154
|
+
export type ScoredDecisionFork = z.infer<typeof ScoredDecisionForkSchema>;
|
|
155
|
+
export type DecisionScoreAggregate = z.infer<typeof DecisionScoreAggregateSchema>;
|
|
156
|
+
export type DecisionScoreResult = z.infer<typeof DecisionScoreResultSchema>;
|
|
157
|
+
//# sourceMappingURL=decision-score.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision-score.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/decision-score.schema.ts"],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+
'escalate_vs_proceed',
|
|
6
|
+
]);
|
|
7
|
+
export const DecisionForkSchema = z.object({
|
|
8
|
+
fork_id: z.string().min(1).max(200),
|
|
9
|
+
fork_kind: ForkKindSchema,
|
|
10
|
+
options: z.array(z.string().min(1).max(500)).min(2).max(20),
|
|
11
|
+
choice: z.string().min(1).max(500),
|
|
12
|
+
constraint: z.string().min(1).max(8000),
|
|
13
|
+
settleable: z.boolean(),
|
|
14
|
+
source_event_id: z.string().min(1).max(200),
|
|
15
|
+
ts: z.string().min(1).max(100),
|
|
16
|
+
});
|
|
17
|
+
export const ScoreDecisionsInputSchema = z.object({
|
|
18
|
+
forksPath: z.string().min(1),
|
|
19
|
+
enableLlmJudge: z.boolean().optional(),
|
|
20
|
+
});
|
|
21
|
+
export const DecisionScoringPathSchema = z.enum(['deterministic', 'llm-refined']);
|
|
22
|
+
export const ScoredDecisionForkSchema = z.object({
|
|
23
|
+
fork_id: z.string(),
|
|
24
|
+
fork_kind: ForkKindSchema,
|
|
25
|
+
choice: z.string(),
|
|
26
|
+
decisionQuality: z.number().min(0).max(1),
|
|
27
|
+
seniorCorrect: z.boolean(),
|
|
28
|
+
rationale: z.string(),
|
|
29
|
+
scoringPath: DecisionScoringPathSchema,
|
|
30
|
+
});
|
|
31
|
+
export const DecisionScoreAggregateSchema = z.object({
|
|
32
|
+
meanDecisionQuality: z.number().min(0).max(1),
|
|
33
|
+
byKind: z.record(ForkKindSchema, z.number().min(0).max(1)),
|
|
34
|
+
count: z.number().int().min(0),
|
|
35
|
+
});
|
|
36
|
+
export const DecisionScoreResultSchema = z.object({
|
|
37
|
+
scored: z.array(ScoredDecisionForkSchema),
|
|
38
|
+
aggregate: DecisionScoreAggregateSchema,
|
|
39
|
+
});
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -9,5 +9,7 @@ export { AutomationMaturitySchema, AutomationMaturityDimensionSchema, Automation
|
|
|
9
9
|
export { PublicSurfaceSchema, PublicSurfaceViolationSchema, PublicSurfaceBrokenLinkSchema, type PublicSurface, type PublicSurfaceViolation, type PublicSurfaceBrokenLink, } from './public-surface.schema.js';
|
|
10
10
|
export { RecipeIdSchema, RecipeConfigSchema, type RecipeId, type RecipeConfig, } from './recipe.schema.js';
|
|
11
11
|
export { EvidenceSourceKindSchema, EvidenceItemSchema, ConfidenceSubjectSchema, ConfidenceInputSchema, ConfidencePolicySchema, ConfidenceVerdictSchema, ConfidenceContributionSchema, ReleaseConfidenceSchema, type EvidenceSourceKind, type EvidenceItem, type ConfidenceSubject, type ConfidenceInput, type ConfidencePolicy, type ConfidenceVerdict, type ConfidenceContribution, type ReleaseConfidence, } from './confidence.schema.js';
|
|
12
|
+
export { BugReportSeveritySchema, BugReportInputSchema, BugReportTargetSchema, ScoreBugReportInputSchema, BugReportRubricSchema, BugReportScoringPathSchema, BugReportScoreResultSchema, type BugReportSeverity, type BugReportInput, type BugReportTarget, type ScoreBugReportInput, type BugReportRubric, type BugReportScoringPath, type BugReportScoreResult, } from './bug-report-score.schema.js';
|
|
13
|
+
export { ForkKindSchema, DecisionForkSchema, ScoreDecisionsInputSchema, DecisionScoringPathSchema, ScoredDecisionForkSchema, DecisionScoreAggregateSchema, DecisionScoreResultSchema, type ForkKind, type DecisionFork, type ScoreDecisionsInput, type DecisionScoringPath, type ScoredDecisionFork, type DecisionScoreAggregate, type DecisionScoreResult, } from './decision-score.schema.js';
|
|
12
14
|
export { DeliveryTrafficPointSchema, InboxItemKindSchema, InboxItemSchema, ReplayStepSchema, ReplayTraceSchema, AuditEntrySchema, type DeliveryTrafficPoint, type InboxItemKind, type InboxItem, type ReplayStep, type ReplayTrace, type AuditEntry, } from './views.schema.js';
|
|
13
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,cAAc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C;AACnC,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EACjC,qCAAqC,EACrC,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,GACrC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC5B,6BAA6B,EAC7B,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,KAAK,QAAQ,EACb,KAAK,YAAY,GAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,kBAAkB,GACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,mBAAmB,EACnB,gCAAgC,EAChC,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,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AK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAC"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -9,4 +9,6 @@ export { AutomationMaturitySchema, AutomationMaturityDimensionSchema, Automation
|
|
|
9
9
|
export { PublicSurfaceSchema, PublicSurfaceViolationSchema, PublicSurfaceBrokenLinkSchema, } from './public-surface.schema.js';
|
|
10
10
|
export { RecipeIdSchema, RecipeConfigSchema, } from './recipe.schema.js';
|
|
11
11
|
export { EvidenceSourceKindSchema, EvidenceItemSchema, ConfidenceSubjectSchema, ConfidenceInputSchema, ConfidencePolicySchema, ConfidenceVerdictSchema, ConfidenceContributionSchema, ReleaseConfidenceSchema, } from './confidence.schema.js';
|
|
12
|
+
export { BugReportSeveritySchema, BugReportInputSchema, BugReportTargetSchema, ScoreBugReportInputSchema, BugReportRubricSchema, BugReportScoringPathSchema, BugReportScoreResultSchema, } from './bug-report-score.schema.js';
|
|
13
|
+
export { ForkKindSchema, DecisionForkSchema, ScoreDecisionsInputSchema, DecisionScoringPathSchema, ScoredDecisionForkSchema, DecisionScoreAggregateSchema, DecisionScoreResultSchema, } from './decision-score.schema.js';
|
|
12
14
|
export { DeliveryTrafficPointSchema, InboxItemKindSchema, InboxItemSchema, ReplayStepSchema, ReplayTraceSchema, AuditEntrySchema, } from './views.schema.js';
|
|
@@ -44,13 +44,13 @@ export declare const InboxItemSchema: z.ZodObject<{
|
|
|
44
44
|
subjectRef: z.ZodString;
|
|
45
45
|
tenantId: z.ZodDefault<z.ZodString>;
|
|
46
46
|
kind: z.ZodEnum<["blocker", "unknown-signal", "approval-needed"]>;
|
|
47
|
-
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
47
|
+
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
48
48
|
summary: z.ZodString;
|
|
49
49
|
raisedAt: z.ZodString;
|
|
50
50
|
resolvedAt: z.ZodOptional<z.ZodString>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
id: string;
|
|
53
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
53
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
54
54
|
summary: string;
|
|
55
55
|
kind: "blocker" | "unknown-signal" | "approval-needed";
|
|
56
56
|
tenantId: string;
|
|
@@ -59,7 +59,7 @@ export declare const InboxItemSchema: z.ZodObject<{
|
|
|
59
59
|
resolvedAt?: string | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
id: string;
|
|
62
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
62
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
63
63
|
summary: string;
|
|
64
64
|
kind: "blocker" | "unknown-signal" | "approval-needed";
|
|
65
65
|
subjectRef: string;
|
|
@@ -69,7 +69,7 @@ export declare const InboxItemSchema: z.ZodObject<{
|
|
|
69
69
|
}>;
|
|
70
70
|
export type InboxItem = z.infer<typeof InboxItemSchema>;
|
|
71
71
|
export declare const ReplayStepSchema: z.ZodObject<{
|
|
72
|
-
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
72
|
+
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
73
73
|
tool: z.ZodString;
|
|
74
74
|
inputRef: z.ZodOptional<z.ZodString>;
|
|
75
75
|
score: z.ZodNullable<z.ZodNumber>;
|
|
@@ -87,7 +87,7 @@ export declare const ReplayStepSchema: z.ZodObject<{
|
|
|
87
87
|
outputTokens: number;
|
|
88
88
|
}>>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
90
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
91
91
|
score: number | null;
|
|
92
92
|
weight: number;
|
|
93
93
|
tool: string;
|
|
@@ -99,7 +99,7 @@ export declare const ReplayStepSchema: z.ZodObject<{
|
|
|
99
99
|
outputTokens: number;
|
|
100
100
|
} | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
102
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
103
103
|
score: number | null;
|
|
104
104
|
weight: number;
|
|
105
105
|
tool: string;
|
|
@@ -116,7 +116,7 @@ export declare const ReplayTraceSchema: z.ZodObject<{
|
|
|
116
116
|
subjectRef: z.ZodString;
|
|
117
117
|
computedAt: z.ZodString;
|
|
118
118
|
steps: z.ZodArray<z.ZodObject<{
|
|
119
|
-
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence"]>;
|
|
119
|
+
source: z.ZodEnum<["live-app-quality", "accessibility", "crawl-coverage", "test-automation", "api-coverage", "ci-results", "deploy-metadata", "error-telemetry", "feature-flags", "doc-health", "human-approval", "agent-evidence", "decision-quality"]>;
|
|
120
120
|
tool: z.ZodString;
|
|
121
121
|
inputRef: z.ZodOptional<z.ZodString>;
|
|
122
122
|
score: z.ZodNullable<z.ZodNumber>;
|
|
@@ -134,7 +134,7 @@ export declare const ReplayTraceSchema: z.ZodObject<{
|
|
|
134
134
|
outputTokens: number;
|
|
135
135
|
}>>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
137
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
138
138
|
score: number | null;
|
|
139
139
|
weight: number;
|
|
140
140
|
tool: string;
|
|
@@ -146,7 +146,7 @@ export declare const ReplayTraceSchema: z.ZodObject<{
|
|
|
146
146
|
outputTokens: number;
|
|
147
147
|
} | undefined;
|
|
148
148
|
}, {
|
|
149
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
149
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
150
150
|
score: number | null;
|
|
151
151
|
weight: number;
|
|
152
152
|
tool: string;
|
|
@@ -162,7 +162,7 @@ export declare const ReplayTraceSchema: z.ZodObject<{
|
|
|
162
162
|
finalVerdict: z.ZodEnum<["ship", "caution", "hold", "block"]>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
steps: {
|
|
165
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
165
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
166
166
|
score: number | null;
|
|
167
167
|
weight: number;
|
|
168
168
|
tool: string;
|
|
@@ -180,7 +180,7 @@ export declare const ReplayTraceSchema: z.ZodObject<{
|
|
|
180
180
|
finalVerdict: "ship" | "caution" | "hold" | "block";
|
|
181
181
|
}, {
|
|
182
182
|
steps: {
|
|
183
|
-
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence";
|
|
183
|
+
source: "accessibility" | "live-app-quality" | "crawl-coverage" | "test-automation" | "api-coverage" | "ci-results" | "deploy-metadata" | "error-telemetry" | "feature-flags" | "doc-health" | "human-approval" | "agent-evidence" | "decision-quality";
|
|
184
184
|
score: number | null;
|
|
185
185
|
weight: number;
|
|
186
186
|
tool: string;
|