@mcptoolshop/research-os 0.2.0 → 0.3.1
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/CHANGELOG.md +194 -0
- package/README.md +9 -5
- package/dist/cli.js +245 -57
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +185 -86
- package/dist/index.js +234 -52
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -136,18 +136,62 @@ declare const GateConfigSchema: z.ZodObject<{
|
|
|
136
136
|
extension_requires_evidence?: boolean | undefined;
|
|
137
137
|
} | undefined;
|
|
138
138
|
}>;
|
|
139
|
+
declare const SectionScopedWaiverSchema: z.ZodObject<{
|
|
140
|
+
section_id: z.ZodString;
|
|
141
|
+
scope: z.ZodEnum<["min_independent_publishers", "primary_sources_required"]>;
|
|
142
|
+
reason: z.ZodString;
|
|
143
|
+
compensating_controls: z.ZodArray<z.ZodString, "many">;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
section_id: string;
|
|
146
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
147
|
+
reason: string;
|
|
148
|
+
compensating_controls: string[];
|
|
149
|
+
}, {
|
|
150
|
+
section_id: string;
|
|
151
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
152
|
+
reason: string;
|
|
153
|
+
compensating_controls: string[];
|
|
154
|
+
}>;
|
|
139
155
|
declare const PrimarySourceWaiverSchema: z.ZodObject<{
|
|
140
156
|
status: z.ZodDefault<z.ZodEnum<["none", "requested", "granted"]>>;
|
|
141
157
|
reason: z.ZodOptional<z.ZodString>;
|
|
142
158
|
compensating_controls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
159
|
+
section_waivers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
160
|
+
section_id: z.ZodString;
|
|
161
|
+
scope: z.ZodEnum<["min_independent_publishers", "primary_sources_required"]>;
|
|
162
|
+
reason: z.ZodString;
|
|
163
|
+
compensating_controls: z.ZodArray<z.ZodString, "many">;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
section_id: string;
|
|
166
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
167
|
+
reason: string;
|
|
168
|
+
compensating_controls: string[];
|
|
169
|
+
}, {
|
|
170
|
+
section_id: string;
|
|
171
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
172
|
+
reason: string;
|
|
173
|
+
compensating_controls: string[];
|
|
174
|
+
}>, "many">>;
|
|
143
175
|
}, "strip", z.ZodTypeAny, {
|
|
144
176
|
status: "none" | "requested" | "granted";
|
|
145
177
|
compensating_controls: string[];
|
|
178
|
+
section_waivers: {
|
|
179
|
+
section_id: string;
|
|
180
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
181
|
+
reason: string;
|
|
182
|
+
compensating_controls: string[];
|
|
183
|
+
}[];
|
|
146
184
|
reason?: string | undefined;
|
|
147
185
|
}, {
|
|
148
186
|
status?: "none" | "requested" | "granted" | undefined;
|
|
149
187
|
reason?: string | undefined;
|
|
150
188
|
compensating_controls?: string[] | undefined;
|
|
189
|
+
section_waivers?: {
|
|
190
|
+
section_id: string;
|
|
191
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
192
|
+
reason: string;
|
|
193
|
+
compensating_controls: string[];
|
|
194
|
+
}[] | undefined;
|
|
151
195
|
}>;
|
|
152
196
|
declare const ResearchYamlSchema: z.ZodObject<{
|
|
153
197
|
research_os_version: z.ZodString;
|
|
@@ -172,14 +216,42 @@ declare const ResearchYamlSchema: z.ZodObject<{
|
|
|
172
216
|
status: z.ZodDefault<z.ZodEnum<["none", "requested", "granted"]>>;
|
|
173
217
|
reason: z.ZodOptional<z.ZodString>;
|
|
174
218
|
compensating_controls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
219
|
+
section_waivers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
220
|
+
section_id: z.ZodString;
|
|
221
|
+
scope: z.ZodEnum<["min_independent_publishers", "primary_sources_required"]>;
|
|
222
|
+
reason: z.ZodString;
|
|
223
|
+
compensating_controls: z.ZodArray<z.ZodString, "many">;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
section_id: string;
|
|
226
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
227
|
+
reason: string;
|
|
228
|
+
compensating_controls: string[];
|
|
229
|
+
}, {
|
|
230
|
+
section_id: string;
|
|
231
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
232
|
+
reason: string;
|
|
233
|
+
compensating_controls: string[];
|
|
234
|
+
}>, "many">>;
|
|
175
235
|
}, "strip", z.ZodTypeAny, {
|
|
176
236
|
status: "none" | "requested" | "granted";
|
|
177
237
|
compensating_controls: string[];
|
|
238
|
+
section_waivers: {
|
|
239
|
+
section_id: string;
|
|
240
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
241
|
+
reason: string;
|
|
242
|
+
compensating_controls: string[];
|
|
243
|
+
}[];
|
|
178
244
|
reason?: string | undefined;
|
|
179
245
|
}, {
|
|
180
246
|
status?: "none" | "requested" | "granted" | undefined;
|
|
181
247
|
reason?: string | undefined;
|
|
182
248
|
compensating_controls?: string[] | undefined;
|
|
249
|
+
section_waivers?: {
|
|
250
|
+
section_id: string;
|
|
251
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
252
|
+
reason: string;
|
|
253
|
+
compensating_controls: string[];
|
|
254
|
+
}[] | undefined;
|
|
183
255
|
}>>;
|
|
184
256
|
sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
185
257
|
id: z.ZodString;
|
|
@@ -354,6 +426,12 @@ declare const ResearchYamlSchema: z.ZodObject<{
|
|
|
354
426
|
primary_source_waiver: {
|
|
355
427
|
status: "none" | "requested" | "granted";
|
|
356
428
|
compensating_controls: string[];
|
|
429
|
+
section_waivers: {
|
|
430
|
+
section_id: string;
|
|
431
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
432
|
+
reason: string;
|
|
433
|
+
compensating_controls: string[];
|
|
434
|
+
}[];
|
|
357
435
|
reason?: string | undefined;
|
|
358
436
|
};
|
|
359
437
|
sections: {
|
|
@@ -416,6 +494,12 @@ declare const ResearchYamlSchema: z.ZodObject<{
|
|
|
416
494
|
status?: "none" | "requested" | "granted" | undefined;
|
|
417
495
|
reason?: string | undefined;
|
|
418
496
|
compensating_controls?: string[] | undefined;
|
|
497
|
+
section_waivers?: {
|
|
498
|
+
section_id: string;
|
|
499
|
+
scope: "primary_sources_required" | "min_independent_publishers";
|
|
500
|
+
reason: string;
|
|
501
|
+
compensating_controls: string[];
|
|
502
|
+
}[] | undefined;
|
|
419
503
|
} | undefined;
|
|
420
504
|
sections?: {
|
|
421
505
|
id: string;
|
|
@@ -464,6 +548,7 @@ declare const ResearchYamlSchema: z.ZodObject<{
|
|
|
464
548
|
type Section = z.infer<typeof SectionSchema>;
|
|
465
549
|
type GateConfig = z.infer<typeof GateConfigSchema>;
|
|
466
550
|
type PrimarySourceWaiver = z.infer<typeof PrimarySourceWaiverSchema>;
|
|
551
|
+
type SectionScopedWaiver = z.infer<typeof SectionScopedWaiverSchema>;
|
|
467
552
|
type ResearchYaml = z.infer<typeof ResearchYamlSchema>;
|
|
468
553
|
|
|
469
554
|
interface InitOptions {
|
|
@@ -519,8 +604,8 @@ declare const SectionGatesYamlSchema: z.ZodObject<{
|
|
|
519
604
|
primary_sources_required: number;
|
|
520
605
|
contradictions_required: boolean;
|
|
521
606
|
status: "draft" | "gathering" | "gated" | "reviewed" | "frozen";
|
|
522
|
-
created_at: string;
|
|
523
607
|
section_id: string;
|
|
608
|
+
created_at: string;
|
|
524
609
|
}, {
|
|
525
610
|
purpose: string;
|
|
526
611
|
max_time_minutes: number;
|
|
@@ -528,8 +613,8 @@ declare const SectionGatesYamlSchema: z.ZodObject<{
|
|
|
528
613
|
primary_sources_required: number;
|
|
529
614
|
contradictions_required: boolean;
|
|
530
615
|
status: "draft" | "gathering" | "gated" | "reviewed" | "frozen";
|
|
531
|
-
created_at: string;
|
|
532
616
|
section_id: string;
|
|
617
|
+
created_at: string;
|
|
533
618
|
}>;
|
|
534
619
|
type SectionGatesYaml = z.infer<typeof SectionGatesYamlSchema>;
|
|
535
620
|
|
|
@@ -668,6 +753,7 @@ declare const SourceCardSchema: z.ZodObject<{
|
|
|
668
753
|
extracted_at: z.ZodString;
|
|
669
754
|
}, "strip", z.ZodTypeAny, {
|
|
670
755
|
section_id: string;
|
|
756
|
+
scope: string | null;
|
|
671
757
|
receipt_id: string;
|
|
672
758
|
source_id: string;
|
|
673
759
|
final_url: string | null;
|
|
@@ -676,17 +762,17 @@ declare const SourceCardSchema: z.ZodObject<{
|
|
|
676
762
|
url: string;
|
|
677
763
|
publisher: string | null;
|
|
678
764
|
published_at: string | null;
|
|
679
|
-
source_type: "primary" | "secondary" | "forum" | "benchmark" | "docs"
|
|
765
|
+
source_type: "unknown" | "primary" | "secondary" | "forum" | "benchmark" | "docs";
|
|
680
766
|
relevance: "unknown" | "high" | "medium" | "low";
|
|
681
767
|
key_points: string[];
|
|
682
768
|
limitations: string[];
|
|
683
769
|
asserts: string;
|
|
684
|
-
scope: string | null;
|
|
685
770
|
not: string | null;
|
|
686
771
|
extracted_by: "heuristic" | "ollama-intern";
|
|
687
772
|
extracted_at: string;
|
|
688
773
|
}, {
|
|
689
774
|
section_id: string;
|
|
775
|
+
scope: string | null;
|
|
690
776
|
receipt_id: string;
|
|
691
777
|
source_id: string;
|
|
692
778
|
final_url: string | null;
|
|
@@ -695,12 +781,11 @@ declare const SourceCardSchema: z.ZodObject<{
|
|
|
695
781
|
url: string;
|
|
696
782
|
publisher: string | null;
|
|
697
783
|
published_at: string | null;
|
|
698
|
-
source_type: "primary" | "secondary" | "forum" | "benchmark" | "docs"
|
|
784
|
+
source_type: "unknown" | "primary" | "secondary" | "forum" | "benchmark" | "docs";
|
|
699
785
|
relevance: "unknown" | "high" | "medium" | "low";
|
|
700
786
|
key_points: string[];
|
|
701
787
|
limitations: string[];
|
|
702
788
|
asserts: string;
|
|
703
|
-
scope: string | null;
|
|
704
789
|
not: string | null;
|
|
705
790
|
extracted_by: "heuristic" | "ollama-intern";
|
|
706
791
|
extracted_at: string;
|
|
@@ -1035,8 +1120,8 @@ declare const ClaimDensityAuditSchema: z.ZodObject<{
|
|
|
1035
1120
|
affects_claim_ids?: string[] | undefined;
|
|
1036
1121
|
}>, "many">;
|
|
1037
1122
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
research_os_version: string;
|
|
1039
1123
|
section_id: string;
|
|
1124
|
+
research_os_version: string;
|
|
1040
1125
|
claims_per_1k_words: number;
|
|
1041
1126
|
weak_scope_count: number;
|
|
1042
1127
|
generic_scope_count: number;
|
|
@@ -1068,8 +1153,8 @@ declare const ClaimDensityAuditSchema: z.ZodObject<{
|
|
|
1068
1153
|
affects_claim_ids: string[];
|
|
1069
1154
|
}[];
|
|
1070
1155
|
}, {
|
|
1071
|
-
research_os_version: string;
|
|
1072
1156
|
section_id: string;
|
|
1157
|
+
research_os_version: string;
|
|
1073
1158
|
claims_per_1k_words: number;
|
|
1074
1159
|
weak_scope_count: number;
|
|
1075
1160
|
generic_scope_count: number;
|
|
@@ -1167,10 +1252,10 @@ declare const ClaimSchema: z.ZodObject<{
|
|
|
1167
1252
|
created_at: z.ZodString;
|
|
1168
1253
|
review_state: z.ZodEnum<["candidate", "gated", "reviewed", "rejected", "accepted"]>;
|
|
1169
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1170
|
-
created_at: string;
|
|
1171
1255
|
section_id: string;
|
|
1172
|
-
asserts: string;
|
|
1173
1256
|
scope: string | null;
|
|
1257
|
+
created_at: string;
|
|
1258
|
+
asserts: string;
|
|
1174
1259
|
not: string | null;
|
|
1175
1260
|
evidence_excerpt_ids: string[];
|
|
1176
1261
|
evidence_location: string | null;
|
|
@@ -1183,10 +1268,10 @@ declare const ClaimSchema: z.ZodObject<{
|
|
|
1183
1268
|
extraction_method: string;
|
|
1184
1269
|
review_state: "gated" | "reviewed" | "candidate" | "rejected" | "accepted";
|
|
1185
1270
|
}, {
|
|
1186
|
-
created_at: string;
|
|
1187
1271
|
section_id: string;
|
|
1188
|
-
asserts: string;
|
|
1189
1272
|
scope: string | null;
|
|
1273
|
+
created_at: string;
|
|
1274
|
+
asserts: string;
|
|
1190
1275
|
not: string | null;
|
|
1191
1276
|
evidence_location: string | null;
|
|
1192
1277
|
confidence: "high" | "medium" | "low";
|
|
@@ -1201,6 +1286,7 @@ declare const ClaimSchema: z.ZodObject<{
|
|
|
1201
1286
|
}>;
|
|
1202
1287
|
type Claim = z.infer<typeof ClaimSchema>;
|
|
1203
1288
|
|
|
1289
|
+
type DetectorMode = 'auto' | 'heuristic' | 'ollama-intern';
|
|
1204
1290
|
type ContradictionType = 'direct_conflict' | 'scope_conflict' | 'temporal_conflict' | 'definition_conflict' | 'evidence_conflict' | 'overgeneralization_risk';
|
|
1205
1291
|
type Severity = 'low' | 'medium' | 'high' | 'blocking';
|
|
1206
1292
|
type ContradictionDetectorName = 'heuristic' | 'ollama-intern';
|
|
@@ -1237,6 +1323,13 @@ interface MapOptions {
|
|
|
1237
1323
|
sectionId: string;
|
|
1238
1324
|
packPath?: string;
|
|
1239
1325
|
detectors?: ContradictionDetector[];
|
|
1326
|
+
detectorMode?: DetectorMode;
|
|
1327
|
+
ollamaConfig?: {
|
|
1328
|
+
host?: string;
|
|
1329
|
+
model?: string;
|
|
1330
|
+
timeoutMs?: number;
|
|
1331
|
+
fetchImpl?: typeof fetch;
|
|
1332
|
+
};
|
|
1240
1333
|
triagedOnly?: boolean;
|
|
1241
1334
|
}
|
|
1242
1335
|
interface MapSummary {
|
|
@@ -1249,6 +1342,7 @@ interface MapSummary {
|
|
|
1249
1342
|
contradictionsDeduped: number;
|
|
1250
1343
|
contradictionIds: string[];
|
|
1251
1344
|
detectorError: string | null;
|
|
1345
|
+
detectorAnnouncement: string;
|
|
1252
1346
|
}
|
|
1253
1347
|
|
|
1254
1348
|
declare function map(options: MapOptions): Promise<MapSummary>;
|
|
@@ -1311,7 +1405,7 @@ interface OllamaContradictionConfig {
|
|
|
1311
1405
|
declare class OllamaInternContradictionDetector implements ContradictionDetector {
|
|
1312
1406
|
readonly name: "ollama-intern";
|
|
1313
1407
|
private readonly host;
|
|
1314
|
-
|
|
1408
|
+
readonly model: string;
|
|
1315
1409
|
private readonly timeoutMs;
|
|
1316
1410
|
private readonly fetchImpl;
|
|
1317
1411
|
constructor(config?: OllamaContradictionConfig);
|
|
@@ -1349,9 +1443,9 @@ declare const ContradictionSchema: z.ZodObject<{
|
|
|
1349
1443
|
}, "strip", z.ZodTypeAny, {
|
|
1350
1444
|
status: "rejected" | "unresolved" | "reconciled" | "preserved_deliberately";
|
|
1351
1445
|
type: "direct_conflict" | "scope_conflict" | "temporal_conflict" | "definition_conflict" | "evidence_conflict" | "overgeneralization_risk";
|
|
1446
|
+
section_id: string;
|
|
1352
1447
|
created_at: string;
|
|
1353
1448
|
evidence: string;
|
|
1354
|
-
section_id: string;
|
|
1355
1449
|
confidence: "high" | "medium" | "low";
|
|
1356
1450
|
source_ids: string[];
|
|
1357
1451
|
claim_ids: string[];
|
|
@@ -1365,9 +1459,9 @@ declare const ContradictionSchema: z.ZodObject<{
|
|
|
1365
1459
|
}, {
|
|
1366
1460
|
status: "rejected" | "unresolved" | "reconciled" | "preserved_deliberately";
|
|
1367
1461
|
type: "direct_conflict" | "scope_conflict" | "temporal_conflict" | "definition_conflict" | "evidence_conflict" | "overgeneralization_risk";
|
|
1462
|
+
section_id: string;
|
|
1368
1463
|
created_at: string;
|
|
1369
1464
|
evidence: string;
|
|
1370
|
-
section_id: string;
|
|
1371
1465
|
confidence: "high" | "medium" | "low";
|
|
1372
1466
|
source_ids: string[];
|
|
1373
1467
|
claim_ids: string[];
|
|
@@ -1414,9 +1508,9 @@ declare const ReviewFindingSchema: z.ZodObject<{
|
|
|
1414
1508
|
confidence: z.ZodEnum<["low", "medium", "high"]>;
|
|
1415
1509
|
created_at: z.ZodString;
|
|
1416
1510
|
}, "strip", z.ZodTypeAny, {
|
|
1511
|
+
section_id: string;
|
|
1417
1512
|
created_at: string;
|
|
1418
1513
|
evidence: string;
|
|
1419
|
-
section_id: string;
|
|
1420
1514
|
confidence: "high" | "medium" | "low";
|
|
1421
1515
|
source_ids: string[];
|
|
1422
1516
|
claim_ids: string[];
|
|
@@ -1428,9 +1522,9 @@ declare const ReviewFindingSchema: z.ZodObject<{
|
|
|
1428
1522
|
reviewer: "heuristic" | "ollama-intern";
|
|
1429
1523
|
review_method: string;
|
|
1430
1524
|
}, {
|
|
1525
|
+
section_id: string;
|
|
1431
1526
|
created_at: string;
|
|
1432
1527
|
evidence: string;
|
|
1433
|
-
section_id: string;
|
|
1434
1528
|
confidence: "high" | "medium" | "low";
|
|
1435
1529
|
source_ids: string[];
|
|
1436
1530
|
claim_ids: string[];
|
|
@@ -1488,9 +1582,9 @@ declare const ReviewSnapshotSchema: z.ZodObject<{
|
|
|
1488
1582
|
confidence: z.ZodEnum<["low", "medium", "high"]>;
|
|
1489
1583
|
created_at: z.ZodString;
|
|
1490
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1585
|
+
section_id: string;
|
|
1491
1586
|
created_at: string;
|
|
1492
1587
|
evidence: string;
|
|
1493
|
-
section_id: string;
|
|
1494
1588
|
confidence: "high" | "medium" | "low";
|
|
1495
1589
|
source_ids: string[];
|
|
1496
1590
|
claim_ids: string[];
|
|
@@ -1502,9 +1596,9 @@ declare const ReviewSnapshotSchema: z.ZodObject<{
|
|
|
1502
1596
|
reviewer: "heuristic" | "ollama-intern";
|
|
1503
1597
|
review_method: string;
|
|
1504
1598
|
}, {
|
|
1599
|
+
section_id: string;
|
|
1505
1600
|
created_at: string;
|
|
1506
1601
|
evidence: string;
|
|
1507
|
-
section_id: string;
|
|
1508
1602
|
confidence: "high" | "medium" | "low";
|
|
1509
1603
|
source_ids: string[];
|
|
1510
1604
|
claim_ids: string[];
|
|
@@ -1552,9 +1646,9 @@ declare const ReviewSnapshotSchema: z.ZodObject<{
|
|
|
1552
1646
|
review_method: string;
|
|
1553
1647
|
reviewed_at: string;
|
|
1554
1648
|
findings: {
|
|
1649
|
+
section_id: string;
|
|
1555
1650
|
created_at: string;
|
|
1556
1651
|
evidence: string;
|
|
1557
|
-
section_id: string;
|
|
1558
1652
|
confidence: "high" | "medium" | "low";
|
|
1559
1653
|
source_ids: string[];
|
|
1560
1654
|
claim_ids: string[];
|
|
@@ -1586,9 +1680,9 @@ declare const ReviewSnapshotSchema: z.ZodObject<{
|
|
|
1586
1680
|
review_method: string;
|
|
1587
1681
|
reviewed_at: string;
|
|
1588
1682
|
findings: {
|
|
1683
|
+
section_id: string;
|
|
1589
1684
|
created_at: string;
|
|
1590
1685
|
evidence: string;
|
|
1591
|
-
section_id: string;
|
|
1592
1686
|
confidence: "high" | "medium" | "low";
|
|
1593
1687
|
source_ids: string[];
|
|
1594
1688
|
claim_ids: string[];
|
|
@@ -1917,22 +2011,22 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
1917
2011
|
independent_publishers: z.ZodNumber;
|
|
1918
2012
|
failed_fetches: z.ZodNumber;
|
|
1919
2013
|
}, "strip", z.ZodTypeAny, {
|
|
2014
|
+
unknown: number;
|
|
1920
2015
|
primary: number;
|
|
1921
2016
|
secondary: number;
|
|
1922
2017
|
forum: number;
|
|
1923
2018
|
benchmark: number;
|
|
1924
2019
|
docs: number;
|
|
1925
|
-
unknown: number;
|
|
1926
2020
|
total: number;
|
|
1927
2021
|
independent_publishers: number;
|
|
1928
2022
|
failed_fetches: number;
|
|
1929
2023
|
}, {
|
|
2024
|
+
unknown: number;
|
|
1930
2025
|
primary: number;
|
|
1931
2026
|
secondary: number;
|
|
1932
2027
|
forum: number;
|
|
1933
2028
|
benchmark: number;
|
|
1934
2029
|
docs: number;
|
|
1935
|
-
unknown: number;
|
|
1936
2030
|
total: number;
|
|
1937
2031
|
independent_publishers: number;
|
|
1938
2032
|
failed_fetches: number;
|
|
@@ -2042,12 +2136,12 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
2042
2136
|
orphans: number;
|
|
2043
2137
|
};
|
|
2044
2138
|
source_counts: {
|
|
2139
|
+
unknown: number;
|
|
2045
2140
|
primary: number;
|
|
2046
2141
|
secondary: number;
|
|
2047
2142
|
forum: number;
|
|
2048
2143
|
benchmark: number;
|
|
2049
2144
|
docs: number;
|
|
2050
|
-
unknown: number;
|
|
2051
2145
|
total: number;
|
|
2052
2146
|
independent_publishers: number;
|
|
2053
2147
|
failed_fetches: number;
|
|
@@ -2123,12 +2217,12 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
2123
2217
|
orphans: number;
|
|
2124
2218
|
};
|
|
2125
2219
|
source_counts: {
|
|
2220
|
+
unknown: number;
|
|
2126
2221
|
primary: number;
|
|
2127
2222
|
secondary: number;
|
|
2128
2223
|
forum: number;
|
|
2129
2224
|
benchmark: number;
|
|
2130
2225
|
docs: number;
|
|
2131
|
-
unknown: number;
|
|
2132
2226
|
total: number;
|
|
2133
2227
|
independent_publishers: number;
|
|
2134
2228
|
failed_fetches: number;
|
|
@@ -2368,6 +2462,7 @@ declare function deriveClaimReviews(args: {
|
|
|
2368
2462
|
findings: ReviewFinding[];
|
|
2369
2463
|
reviewer: ReviewerName;
|
|
2370
2464
|
reviewMethod: string;
|
|
2465
|
+
activeSectionWaivers?: SectionScopedWaiver[];
|
|
2371
2466
|
}): ClaimReview[];
|
|
2372
2467
|
|
|
2373
2468
|
declare function renderReviewMarkdown(snapshot: ReviewSnapshot): string;
|
|
@@ -2558,18 +2653,18 @@ declare const ClaimSynthesisDispositionSchema: z.ZodObject<{
|
|
|
2558
2653
|
created_at: z.ZodString;
|
|
2559
2654
|
}, "strip", z.ZodTypeAny, {
|
|
2560
2655
|
status: "parked_not_for_synthesis" | "preserved_for_human_note" | "needs_human_review_excluded" | "out_of_bounds_regression_fixture";
|
|
2656
|
+
section_id: string;
|
|
2561
2657
|
reason: string;
|
|
2562
2658
|
created_at: string;
|
|
2563
|
-
section_id: string;
|
|
2564
2659
|
claim_id: string;
|
|
2565
2660
|
source: string;
|
|
2566
2661
|
decided_by: string;
|
|
2567
2662
|
authorized_by: string;
|
|
2568
2663
|
}, {
|
|
2569
2664
|
status: "parked_not_for_synthesis" | "preserved_for_human_note" | "needs_human_review_excluded" | "out_of_bounds_regression_fixture";
|
|
2665
|
+
section_id: string;
|
|
2570
2666
|
reason: string;
|
|
2571
2667
|
created_at: string;
|
|
2572
|
-
section_id: string;
|
|
2573
2668
|
claim_id: string;
|
|
2574
2669
|
source: string;
|
|
2575
2670
|
decided_by: string;
|
|
@@ -2750,15 +2845,15 @@ declare const WaiverEntrySchema: z.ZodObject<{
|
|
|
2750
2845
|
compensating_controls: z.ZodArray<z.ZodString, "many">;
|
|
2751
2846
|
applied_to: z.ZodString;
|
|
2752
2847
|
}, "strip", z.ZodTypeAny, {
|
|
2848
|
+
scope: "pack" | "gate";
|
|
2753
2849
|
reason: string;
|
|
2754
2850
|
compensating_controls: string[];
|
|
2755
|
-
scope: "pack" | "gate";
|
|
2756
2851
|
family: string;
|
|
2757
2852
|
applied_to: string;
|
|
2758
2853
|
}, {
|
|
2854
|
+
scope: "pack" | "gate";
|
|
2759
2855
|
reason: string;
|
|
2760
2856
|
compensating_controls: string[];
|
|
2761
|
-
scope: "pack" | "gate";
|
|
2762
2857
|
family: string;
|
|
2763
2858
|
applied_to: string;
|
|
2764
2859
|
}>;
|
|
@@ -2780,12 +2875,12 @@ declare const ReviewDecisionCountSchema: z.ZodObject<{
|
|
|
2780
2875
|
decision: z.ZodString;
|
|
2781
2876
|
count: z.ZodNumber;
|
|
2782
2877
|
}, "strip", z.ZodTypeAny, {
|
|
2783
|
-
decision: string;
|
|
2784
2878
|
section_id: string;
|
|
2879
|
+
decision: string;
|
|
2785
2880
|
count: number;
|
|
2786
2881
|
}, {
|
|
2787
|
-
decision: string;
|
|
2788
2882
|
section_id: string;
|
|
2883
|
+
decision: string;
|
|
2789
2884
|
count: number;
|
|
2790
2885
|
}>;
|
|
2791
2886
|
declare const CoworkHandoffPayloadSchema: z.ZodObject<{
|
|
@@ -2952,15 +3047,15 @@ declare const CoworkHandoffPayloadSchema: z.ZodObject<{
|
|
|
2952
3047
|
compensating_controls: z.ZodArray<z.ZodString, "many">;
|
|
2953
3048
|
applied_to: z.ZodString;
|
|
2954
3049
|
}, "strip", z.ZodTypeAny, {
|
|
3050
|
+
scope: "pack" | "gate";
|
|
2955
3051
|
reason: string;
|
|
2956
3052
|
compensating_controls: string[];
|
|
2957
|
-
scope: "pack" | "gate";
|
|
2958
3053
|
family: string;
|
|
2959
3054
|
applied_to: string;
|
|
2960
3055
|
}, {
|
|
3056
|
+
scope: "pack" | "gate";
|
|
2961
3057
|
reason: string;
|
|
2962
3058
|
compensating_controls: string[];
|
|
2963
|
-
scope: "pack" | "gate";
|
|
2964
3059
|
family: string;
|
|
2965
3060
|
applied_to: string;
|
|
2966
3061
|
}>, "many">;
|
|
@@ -2982,12 +3077,12 @@ declare const CoworkHandoffPayloadSchema: z.ZodObject<{
|
|
|
2982
3077
|
decision: z.ZodString;
|
|
2983
3078
|
count: z.ZodNumber;
|
|
2984
3079
|
}, "strip", z.ZodTypeAny, {
|
|
2985
|
-
decision: string;
|
|
2986
3080
|
section_id: string;
|
|
3081
|
+
decision: string;
|
|
2987
3082
|
count: number;
|
|
2988
3083
|
}, {
|
|
2989
|
-
decision: string;
|
|
2990
3084
|
section_id: string;
|
|
3085
|
+
decision: string;
|
|
2991
3086
|
count: number;
|
|
2992
3087
|
}>, "many">;
|
|
2993
3088
|
recommended_next_actions: z.ZodArray<z.ZodString, "many">;
|
|
@@ -3034,9 +3129,9 @@ declare const CoworkHandoffPayloadSchema: z.ZodObject<{
|
|
|
3034
3129
|
}[];
|
|
3035
3130
|
summary: string;
|
|
3036
3131
|
waivers: {
|
|
3132
|
+
scope: "pack" | "gate";
|
|
3037
3133
|
reason: string;
|
|
3038
3134
|
compensating_controls: string[];
|
|
3039
|
-
scope: "pack" | "gate";
|
|
3040
3135
|
family: string;
|
|
3041
3136
|
applied_to: string;
|
|
3042
3137
|
}[];
|
|
@@ -3056,8 +3151,8 @@ declare const CoworkHandoffPayloadSchema: z.ZodObject<{
|
|
|
3056
3151
|
synthesis_allowed: boolean;
|
|
3057
3152
|
blocked_claim_ids: string[];
|
|
3058
3153
|
review_decisions: {
|
|
3059
|
-
decision: string;
|
|
3060
3154
|
section_id: string;
|
|
3155
|
+
decision: string;
|
|
3061
3156
|
count: number;
|
|
3062
3157
|
}[];
|
|
3063
3158
|
recommended_next_actions: string[];
|
|
@@ -3103,9 +3198,9 @@ declare const CoworkHandoffPayloadSchema: z.ZodObject<{
|
|
|
3103
3198
|
}[];
|
|
3104
3199
|
summary: string;
|
|
3105
3200
|
waivers: {
|
|
3201
|
+
scope: "pack" | "gate";
|
|
3106
3202
|
reason: string;
|
|
3107
3203
|
compensating_controls: string[];
|
|
3108
|
-
scope: "pack" | "gate";
|
|
3109
3204
|
family: string;
|
|
3110
3205
|
applied_to: string;
|
|
3111
3206
|
}[];
|
|
@@ -3124,8 +3219,8 @@ declare const CoworkHandoffPayloadSchema: z.ZodObject<{
|
|
|
3124
3219
|
synthesis_allowed: boolean;
|
|
3125
3220
|
blocked_claim_ids: string[];
|
|
3126
3221
|
review_decisions: {
|
|
3127
|
-
decision: string;
|
|
3128
3222
|
section_id: string;
|
|
3223
|
+
decision: string;
|
|
3129
3224
|
count: number;
|
|
3130
3225
|
}[];
|
|
3131
3226
|
recommended_next_actions: string[];
|
|
@@ -3354,16 +3449,16 @@ declare const WaiverDependencySchema: z.ZodObject<{
|
|
|
3354
3449
|
applied_to: z.ZodString;
|
|
3355
3450
|
must_disclose_in: z.ZodEnum<["decision-brief.md", "final-report.md", "both"]>;
|
|
3356
3451
|
}, "strip", z.ZodTypeAny, {
|
|
3452
|
+
scope: "pack" | "gate";
|
|
3357
3453
|
reason: string;
|
|
3358
3454
|
compensating_controls: string[];
|
|
3359
|
-
scope: "pack" | "gate";
|
|
3360
3455
|
family: string;
|
|
3361
3456
|
applied_to: string;
|
|
3362
3457
|
must_disclose_in: "decision-brief.md" | "final-report.md" | "both";
|
|
3363
3458
|
}, {
|
|
3459
|
+
scope: "pack" | "gate";
|
|
3364
3460
|
reason: string;
|
|
3365
3461
|
compensating_controls: string[];
|
|
3366
|
-
scope: "pack" | "gate";
|
|
3367
3462
|
family: string;
|
|
3368
3463
|
applied_to: string;
|
|
3369
3464
|
must_disclose_in: "decision-brief.md" | "final-report.md" | "both";
|
|
@@ -3378,16 +3473,16 @@ declare const AllowedSynthesisInputSchema: z.ZodObject<{
|
|
|
3378
3473
|
source_ids: z.ZodArray<z.ZodString, "many">;
|
|
3379
3474
|
}, "strip", z.ZodTypeAny, {
|
|
3380
3475
|
section_id: string;
|
|
3381
|
-
asserts: string;
|
|
3382
3476
|
scope: string | null;
|
|
3477
|
+
asserts: string;
|
|
3383
3478
|
not: string | null;
|
|
3384
3479
|
claim_id: string;
|
|
3385
3480
|
source_ids: string[];
|
|
3386
3481
|
artifact_path: string;
|
|
3387
3482
|
}, {
|
|
3388
3483
|
section_id: string;
|
|
3389
|
-
asserts: string;
|
|
3390
3484
|
scope: string | null;
|
|
3485
|
+
asserts: string;
|
|
3391
3486
|
not: string | null;
|
|
3392
3487
|
claim_id: string;
|
|
3393
3488
|
source_ids: string[];
|
|
@@ -3399,14 +3494,14 @@ declare const ForbiddenInputSchema: z.ZodObject<{
|
|
|
3399
3494
|
decision: z.ZodString;
|
|
3400
3495
|
reason: z.ZodString;
|
|
3401
3496
|
}, "strip", z.ZodTypeAny, {
|
|
3497
|
+
section_id: string;
|
|
3402
3498
|
reason: string;
|
|
3403
3499
|
decision: string;
|
|
3404
|
-
section_id: string;
|
|
3405
3500
|
claim_id: string;
|
|
3406
3501
|
}, {
|
|
3502
|
+
section_id: string;
|
|
3407
3503
|
reason: string;
|
|
3408
3504
|
decision: string;
|
|
3409
|
-
section_id: string;
|
|
3410
3505
|
claim_id: string;
|
|
3411
3506
|
}>;
|
|
3412
3507
|
declare const CrossSectionMapSchema: z.ZodObject<{
|
|
@@ -3524,16 +3619,16 @@ declare const CrossSectionMapSchema: z.ZodObject<{
|
|
|
3524
3619
|
applied_to: z.ZodString;
|
|
3525
3620
|
must_disclose_in: z.ZodEnum<["decision-brief.md", "final-report.md", "both"]>;
|
|
3526
3621
|
}, "strip", z.ZodTypeAny, {
|
|
3622
|
+
scope: "pack" | "gate";
|
|
3527
3623
|
reason: string;
|
|
3528
3624
|
compensating_controls: string[];
|
|
3529
|
-
scope: "pack" | "gate";
|
|
3530
3625
|
family: string;
|
|
3531
3626
|
applied_to: string;
|
|
3532
3627
|
must_disclose_in: "decision-brief.md" | "final-report.md" | "both";
|
|
3533
3628
|
}, {
|
|
3629
|
+
scope: "pack" | "gate";
|
|
3534
3630
|
reason: string;
|
|
3535
3631
|
compensating_controls: string[];
|
|
3536
|
-
scope: "pack" | "gate";
|
|
3537
3632
|
family: string;
|
|
3538
3633
|
applied_to: string;
|
|
3539
3634
|
must_disclose_in: "decision-brief.md" | "final-report.md" | "both";
|
|
@@ -3549,16 +3644,16 @@ declare const CrossSectionMapSchema: z.ZodObject<{
|
|
|
3549
3644
|
source_ids: z.ZodArray<z.ZodString, "many">;
|
|
3550
3645
|
}, "strip", z.ZodTypeAny, {
|
|
3551
3646
|
section_id: string;
|
|
3552
|
-
asserts: string;
|
|
3553
3647
|
scope: string | null;
|
|
3648
|
+
asserts: string;
|
|
3554
3649
|
not: string | null;
|
|
3555
3650
|
claim_id: string;
|
|
3556
3651
|
source_ids: string[];
|
|
3557
3652
|
artifact_path: string;
|
|
3558
3653
|
}, {
|
|
3559
3654
|
section_id: string;
|
|
3560
|
-
asserts: string;
|
|
3561
3655
|
scope: string | null;
|
|
3656
|
+
asserts: string;
|
|
3562
3657
|
not: string | null;
|
|
3563
3658
|
claim_id: string;
|
|
3564
3659
|
source_ids: string[];
|
|
@@ -3570,14 +3665,14 @@ declare const CrossSectionMapSchema: z.ZodObject<{
|
|
|
3570
3665
|
decision: z.ZodString;
|
|
3571
3666
|
reason: z.ZodString;
|
|
3572
3667
|
}, "strip", z.ZodTypeAny, {
|
|
3668
|
+
section_id: string;
|
|
3573
3669
|
reason: string;
|
|
3574
3670
|
decision: string;
|
|
3575
|
-
section_id: string;
|
|
3576
3671
|
claim_id: string;
|
|
3577
3672
|
}, {
|
|
3673
|
+
section_id: string;
|
|
3578
3674
|
reason: string;
|
|
3579
3675
|
decision: string;
|
|
3580
|
-
section_id: string;
|
|
3581
3676
|
claim_id: string;
|
|
3582
3677
|
}>, "many">;
|
|
3583
3678
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3624,9 +3719,9 @@ declare const CrossSectionMapSchema: z.ZodObject<{
|
|
|
3624
3719
|
contradiction_id: string;
|
|
3625
3720
|
}[];
|
|
3626
3721
|
waiver_dependencies: {
|
|
3722
|
+
scope: "pack" | "gate";
|
|
3627
3723
|
reason: string;
|
|
3628
3724
|
compensating_controls: string[];
|
|
3629
|
-
scope: "pack" | "gate";
|
|
3630
3725
|
family: string;
|
|
3631
3726
|
applied_to: string;
|
|
3632
3727
|
must_disclose_in: "decision-brief.md" | "final-report.md" | "both";
|
|
@@ -3634,17 +3729,17 @@ declare const CrossSectionMapSchema: z.ZodObject<{
|
|
|
3634
3729
|
open_questions: string[];
|
|
3635
3730
|
allowed_synthesis_inputs: {
|
|
3636
3731
|
section_id: string;
|
|
3637
|
-
asserts: string;
|
|
3638
3732
|
scope: string | null;
|
|
3733
|
+
asserts: string;
|
|
3639
3734
|
not: string | null;
|
|
3640
3735
|
claim_id: string;
|
|
3641
3736
|
source_ids: string[];
|
|
3642
3737
|
artifact_path: string;
|
|
3643
3738
|
}[];
|
|
3644
3739
|
forbidden_inputs: {
|
|
3740
|
+
section_id: string;
|
|
3645
3741
|
reason: string;
|
|
3646
3742
|
decision: string;
|
|
3647
|
-
section_id: string;
|
|
3648
3743
|
claim_id: string;
|
|
3649
3744
|
}[];
|
|
3650
3745
|
}, {
|
|
@@ -3691,9 +3786,9 @@ declare const CrossSectionMapSchema: z.ZodObject<{
|
|
|
3691
3786
|
contradiction_id: string;
|
|
3692
3787
|
}[];
|
|
3693
3788
|
waiver_dependencies: {
|
|
3789
|
+
scope: "pack" | "gate";
|
|
3694
3790
|
reason: string;
|
|
3695
3791
|
compensating_controls: string[];
|
|
3696
|
-
scope: "pack" | "gate";
|
|
3697
3792
|
family: string;
|
|
3698
3793
|
applied_to: string;
|
|
3699
3794
|
must_disclose_in: "decision-brief.md" | "final-report.md" | "both";
|
|
@@ -3701,17 +3796,17 @@ declare const CrossSectionMapSchema: z.ZodObject<{
|
|
|
3701
3796
|
open_questions: string[];
|
|
3702
3797
|
allowed_synthesis_inputs: {
|
|
3703
3798
|
section_id: string;
|
|
3704
|
-
asserts: string;
|
|
3705
3799
|
scope: string | null;
|
|
3800
|
+
asserts: string;
|
|
3706
3801
|
not: string | null;
|
|
3707
3802
|
claim_id: string;
|
|
3708
3803
|
source_ids: string[];
|
|
3709
3804
|
artifact_path: string;
|
|
3710
3805
|
}[];
|
|
3711
3806
|
forbidden_inputs: {
|
|
3807
|
+
section_id: string;
|
|
3712
3808
|
reason: string;
|
|
3713
3809
|
decision: string;
|
|
3714
|
-
section_id: string;
|
|
3715
3810
|
claim_id: string;
|
|
3716
3811
|
}[];
|
|
3717
3812
|
}>;
|
|
@@ -3744,6 +3839,8 @@ interface WeakSourceRow {
|
|
|
3744
3839
|
details: string;
|
|
3745
3840
|
evidence_ids: string[];
|
|
3746
3841
|
artifact_path: string;
|
|
3842
|
+
waived?: boolean;
|
|
3843
|
+
waiver_reason?: string;
|
|
3747
3844
|
}
|
|
3748
3845
|
interface UnresolvedContradictionRow {
|
|
3749
3846
|
contradiction_id: string;
|
|
@@ -3766,6 +3863,8 @@ interface SourceDiversityGapRow {
|
|
|
3766
3863
|
section_id: string;
|
|
3767
3864
|
details: string;
|
|
3768
3865
|
evidence_ids: string[];
|
|
3866
|
+
waived?: boolean;
|
|
3867
|
+
waiver_reason?: string;
|
|
3769
3868
|
}
|
|
3770
3869
|
interface SynthesisReadinessRow {
|
|
3771
3870
|
section_id: string;
|
|
@@ -3928,14 +4027,14 @@ declare const OrphanClaimRowSchema: z.ZodObject<{
|
|
|
3928
4027
|
details: z.ZodString;
|
|
3929
4028
|
artifact_path: z.ZodString;
|
|
3930
4029
|
}, "strip", z.ZodTypeAny, {
|
|
3931
|
-
reason: "missing_source_card" | "missing_source_hash" | "missing_evidence_excerpt" | "unresolvable_source_id";
|
|
3932
4030
|
section_id: string;
|
|
4031
|
+
reason: "missing_source_card" | "missing_source_hash" | "missing_evidence_excerpt" | "unresolvable_source_id";
|
|
3933
4032
|
claim_id: string;
|
|
3934
4033
|
artifact_path: string;
|
|
3935
4034
|
details: string;
|
|
3936
4035
|
}, {
|
|
3937
|
-
reason: "missing_source_card" | "missing_source_hash" | "missing_evidence_excerpt" | "unresolvable_source_id";
|
|
3938
4036
|
section_id: string;
|
|
4037
|
+
reason: "missing_source_card" | "missing_source_hash" | "missing_evidence_excerpt" | "unresolvable_source_id";
|
|
3939
4038
|
claim_id: string;
|
|
3940
4039
|
artifact_path: string;
|
|
3941
4040
|
details: string;
|
|
@@ -3961,8 +4060,8 @@ declare const StaleSourceRowSchema: z.ZodObject<{
|
|
|
3961
4060
|
max_source_age_months: number | null;
|
|
3962
4061
|
}>;
|
|
3963
4062
|
}, "strip", z.ZodTypeAny, {
|
|
3964
|
-
reason: "too_old" | "missing_date" | "unparseable_date";
|
|
3965
4063
|
section_id: string;
|
|
4064
|
+
reason: "too_old" | "missing_date" | "unparseable_date";
|
|
3966
4065
|
source_id: string;
|
|
3967
4066
|
publisher: string | null;
|
|
3968
4067
|
artifact_path: string;
|
|
@@ -3973,8 +4072,8 @@ declare const StaleSourceRowSchema: z.ZodObject<{
|
|
|
3973
4072
|
max_source_age_months: number | null;
|
|
3974
4073
|
};
|
|
3975
4074
|
}, {
|
|
3976
|
-
reason: "too_old" | "missing_date" | "unparseable_date";
|
|
3977
4075
|
section_id: string;
|
|
4076
|
+
reason: "too_old" | "missing_date" | "unparseable_date";
|
|
3978
4077
|
source_id: string;
|
|
3979
4078
|
publisher: string | null;
|
|
3980
4079
|
artifact_path: string;
|
|
@@ -3992,14 +4091,14 @@ declare const WeakSourceRowSchema: z.ZodObject<{
|
|
|
3992
4091
|
evidence_ids: z.ZodArray<z.ZodString, "many">;
|
|
3993
4092
|
artifact_path: z.ZodString;
|
|
3994
4093
|
}, "strip", z.ZodTypeAny, {
|
|
3995
|
-
reason: "source_cluster_monopoly" | "low_independent_publishers" | "missing_primary_source" | "excessive_type_imbalance" | "failed_fetches_reducing_floor";
|
|
3996
4094
|
section_id: string;
|
|
4095
|
+
reason: "source_cluster_monopoly" | "low_independent_publishers" | "missing_primary_source" | "excessive_type_imbalance" | "failed_fetches_reducing_floor";
|
|
3997
4096
|
artifact_path: string;
|
|
3998
4097
|
details: string;
|
|
3999
4098
|
evidence_ids: string[];
|
|
4000
4099
|
}, {
|
|
4001
|
-
reason: "source_cluster_monopoly" | "low_independent_publishers" | "missing_primary_source" | "excessive_type_imbalance" | "failed_fetches_reducing_floor";
|
|
4002
4100
|
section_id: string;
|
|
4101
|
+
reason: "source_cluster_monopoly" | "low_independent_publishers" | "missing_primary_source" | "excessive_type_imbalance" | "failed_fetches_reducing_floor";
|
|
4003
4102
|
artifact_path: string;
|
|
4004
4103
|
details: string;
|
|
4005
4104
|
evidence_ids: string[];
|
|
@@ -4036,14 +4135,14 @@ declare const ScopeWideningRiskRowSchema: z.ZodObject<{
|
|
|
4036
4135
|
details: z.ZodString;
|
|
4037
4136
|
artifact_path: z.ZodString;
|
|
4038
4137
|
}, "strip", z.ZodTypeAny, {
|
|
4039
|
-
reason: "overgeneralization_finding" | "scope_null_in_use" | "missing_not_flagged" | "contextual_to_universal_risk";
|
|
4040
4138
|
section_id: string;
|
|
4139
|
+
reason: "overgeneralization_finding" | "scope_null_in_use" | "missing_not_flagged" | "contextual_to_universal_risk";
|
|
4041
4140
|
claim_id: string;
|
|
4042
4141
|
artifact_path: string;
|
|
4043
4142
|
details: string;
|
|
4044
4143
|
}, {
|
|
4045
|
-
reason: "overgeneralization_finding" | "scope_null_in_use" | "missing_not_flagged" | "contextual_to_universal_risk";
|
|
4046
4144
|
section_id: string;
|
|
4145
|
+
reason: "overgeneralization_finding" | "scope_null_in_use" | "missing_not_flagged" | "contextual_to_universal_risk";
|
|
4047
4146
|
claim_id: string;
|
|
4048
4147
|
artifact_path: string;
|
|
4049
4148
|
details: string;
|
|
@@ -4054,13 +4153,13 @@ declare const SourceDiversityGapRowSchema: z.ZodObject<{
|
|
|
4054
4153
|
details: z.ZodString;
|
|
4055
4154
|
evidence_ids: z.ZodArray<z.ZodString, "many">;
|
|
4056
4155
|
}, "strip", z.ZodTypeAny, {
|
|
4057
|
-
reason: "section_publisher_monopoly" | "low_section_publisher_count" | "cross_section_publisher_overlap" | "section_has_no_sources";
|
|
4058
4156
|
section_id: string;
|
|
4157
|
+
reason: "section_publisher_monopoly" | "low_section_publisher_count" | "cross_section_publisher_overlap" | "section_has_no_sources";
|
|
4059
4158
|
details: string;
|
|
4060
4159
|
evidence_ids: string[];
|
|
4061
4160
|
}, {
|
|
4062
|
-
reason: "section_publisher_monopoly" | "low_section_publisher_count" | "cross_section_publisher_overlap" | "section_has_no_sources";
|
|
4063
4161
|
section_id: string;
|
|
4162
|
+
reason: "section_publisher_monopoly" | "low_section_publisher_count" | "cross_section_publisher_overlap" | "section_has_no_sources";
|
|
4064
4163
|
details: string;
|
|
4065
4164
|
evidence_ids: string[];
|
|
4066
4165
|
}>;
|
|
@@ -4221,24 +4320,24 @@ declare const PackAuditPayloadSchema: z.ZodObject<{
|
|
|
4221
4320
|
sections_with_sources: z.ZodNumber;
|
|
4222
4321
|
sections_without_sources: z.ZodNumber;
|
|
4223
4322
|
}, "strip", z.ZodTypeAny, {
|
|
4323
|
+
unknown: number;
|
|
4224
4324
|
primary: number;
|
|
4225
4325
|
secondary: number;
|
|
4226
4326
|
forum: number;
|
|
4227
4327
|
benchmark: number;
|
|
4228
4328
|
docs: number;
|
|
4229
|
-
unknown: number;
|
|
4230
4329
|
total: number;
|
|
4231
4330
|
independent_publishers: number;
|
|
4232
4331
|
failed_fetches: number;
|
|
4233
4332
|
sections_with_sources: number;
|
|
4234
4333
|
sections_without_sources: number;
|
|
4235
4334
|
}, {
|
|
4335
|
+
unknown: number;
|
|
4236
4336
|
primary: number;
|
|
4237
4337
|
secondary: number;
|
|
4238
4338
|
forum: number;
|
|
4239
4339
|
benchmark: number;
|
|
4240
4340
|
docs: number;
|
|
4241
|
-
unknown: number;
|
|
4242
4341
|
total: number;
|
|
4243
4342
|
independent_publishers: number;
|
|
4244
4343
|
failed_fetches: number;
|
|
@@ -4375,12 +4474,12 @@ declare const PackAuditPayloadSchema: z.ZodObject<{
|
|
|
4375
4474
|
not_null: number;
|
|
4376
4475
|
};
|
|
4377
4476
|
source_summary: {
|
|
4477
|
+
unknown: number;
|
|
4378
4478
|
primary: number;
|
|
4379
4479
|
secondary: number;
|
|
4380
4480
|
forum: number;
|
|
4381
4481
|
benchmark: number;
|
|
4382
4482
|
docs: number;
|
|
4383
|
-
unknown: number;
|
|
4384
4483
|
total: number;
|
|
4385
4484
|
independent_publishers: number;
|
|
4386
4485
|
failed_fetches: number;
|
|
@@ -4460,12 +4559,12 @@ declare const PackAuditPayloadSchema: z.ZodObject<{
|
|
|
4460
4559
|
not_null: number;
|
|
4461
4560
|
};
|
|
4462
4561
|
source_summary: {
|
|
4562
|
+
unknown: number;
|
|
4463
4563
|
primary: number;
|
|
4464
4564
|
secondary: number;
|
|
4465
4565
|
forum: number;
|
|
4466
4566
|
benchmark: number;
|
|
4467
4567
|
docs: number;
|
|
4468
|
-
unknown: number;
|
|
4469
4568
|
total: number;
|
|
4470
4569
|
independent_publishers: number;
|
|
4471
4570
|
failed_fetches: number;
|
|
@@ -4942,10 +5041,10 @@ declare const ReviewInvalidationReceiptSchema: z.ZodObject<{
|
|
|
4942
5041
|
}>, "many">;
|
|
4943
5042
|
notes: z.ZodNullable<z.ZodString>;
|
|
4944
5043
|
}, "strip", z.ZodTypeAny, {
|
|
5044
|
+
section_id: string;
|
|
4945
5045
|
reason: string;
|
|
4946
5046
|
notes: string | null;
|
|
4947
5047
|
research_os_version: string;
|
|
4948
|
-
section_id: string;
|
|
4949
5048
|
receipt_id: string;
|
|
4950
5049
|
contract_label: string;
|
|
4951
5050
|
invalidated_at: string;
|
|
@@ -4954,10 +5053,10 @@ declare const ReviewInvalidationReceiptSchema: z.ZodObject<{
|
|
|
4954
5053
|
dst: string;
|
|
4955
5054
|
}[];
|
|
4956
5055
|
}, {
|
|
5056
|
+
section_id: string;
|
|
4957
5057
|
reason: string;
|
|
4958
5058
|
notes: string | null;
|
|
4959
5059
|
research_os_version: string;
|
|
4960
|
-
section_id: string;
|
|
4961
5060
|
receipt_id: string;
|
|
4962
5061
|
contract_label: string;
|
|
4963
5062
|
invalidated_at: string;
|
|
@@ -5436,8 +5535,8 @@ declare const SectionReportSchema: z.ZodObject<{
|
|
|
5436
5535
|
gate_synthesis_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
5437
5536
|
}, "strip", z.ZodTypeAny, {
|
|
5438
5537
|
status: string;
|
|
5439
|
-
research_os_version: string;
|
|
5440
5538
|
section_id: string;
|
|
5539
|
+
research_os_version: string;
|
|
5441
5540
|
extraction: {
|
|
5442
5541
|
claims_per_1k_words: number;
|
|
5443
5542
|
weak_scope_count: number;
|
|
@@ -5497,8 +5596,8 @@ declare const SectionReportSchema: z.ZodObject<{
|
|
|
5497
5596
|
gate_synthesis_eligible: boolean | null;
|
|
5498
5597
|
}, {
|
|
5499
5598
|
status: string;
|
|
5500
|
-
research_os_version: string;
|
|
5501
5599
|
section_id: string;
|
|
5600
|
+
research_os_version: string;
|
|
5502
5601
|
extraction: {
|
|
5503
5602
|
claims_per_1k_words: number;
|
|
5504
5603
|
weak_scope_count: number;
|
|
@@ -5604,20 +5703,20 @@ declare const ClaimTriageSchema: z.ZodObject<{
|
|
|
5604
5703
|
triage_method: z.ZodString;
|
|
5605
5704
|
created_at: z.ZodString;
|
|
5606
5705
|
}, "strip", z.ZodTypeAny, {
|
|
5706
|
+
section_id: string;
|
|
5607
5707
|
reason: string;
|
|
5608
5708
|
created_at: string;
|
|
5609
5709
|
decision: "selected_for_review" | "parked_duplicate" | "parked_overdense_source" | "parked_weak_scope" | "parked_low_value" | "needs_scope_repair" | "needs_human_review";
|
|
5610
|
-
section_id: string;
|
|
5611
5710
|
claim_id: string;
|
|
5612
5711
|
triage_id: string;
|
|
5613
5712
|
rank: number | null;
|
|
5614
5713
|
quality_score: number;
|
|
5615
5714
|
triage_method: string;
|
|
5616
5715
|
}, {
|
|
5716
|
+
section_id: string;
|
|
5617
5717
|
reason: string;
|
|
5618
5718
|
created_at: string;
|
|
5619
5719
|
decision: "selected_for_review" | "parked_duplicate" | "parked_overdense_source" | "parked_weak_scope" | "parked_low_value" | "needs_scope_repair" | "needs_human_review";
|
|
5620
|
-
section_id: string;
|
|
5621
5720
|
claim_id: string;
|
|
5622
5721
|
triage_id: string;
|
|
5623
5722
|
rank: number | null;
|
|
@@ -5649,8 +5748,8 @@ declare const TriageSummarySchema: z.ZodObject<{
|
|
|
5649
5748
|
total: number;
|
|
5650
5749
|
}>, "many">;
|
|
5651
5750
|
}, "strip", z.ZodTypeAny, {
|
|
5652
|
-
research_os_version: string;
|
|
5653
5751
|
section_id: string;
|
|
5752
|
+
research_os_version: string;
|
|
5654
5753
|
triage_method: string;
|
|
5655
5754
|
summary_id: string;
|
|
5656
5755
|
triaged_at: string;
|
|
@@ -5665,8 +5764,8 @@ declare const TriageSummarySchema: z.ZodObject<{
|
|
|
5665
5764
|
total: number;
|
|
5666
5765
|
}[];
|
|
5667
5766
|
}, {
|
|
5668
|
-
research_os_version: string;
|
|
5669
5767
|
section_id: string;
|
|
5768
|
+
research_os_version: string;
|
|
5670
5769
|
triage_method: string;
|
|
5671
5770
|
summary_id: string;
|
|
5672
5771
|
triaged_at: string;
|
|
@@ -5703,14 +5802,14 @@ declare const DiscoveryCandidateSchema: z.ZodObject<{
|
|
|
5703
5802
|
reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5704
5803
|
}, "strip", z.ZodTypeAny, {
|
|
5705
5804
|
status: "candidate" | "rejected" | "approved";
|
|
5706
|
-
reason: string | null;
|
|
5707
5805
|
section_id: string;
|
|
5806
|
+
reason: string | null;
|
|
5708
5807
|
title: string;
|
|
5709
5808
|
url: string;
|
|
5710
5809
|
publisher: string | null;
|
|
5711
5810
|
rank: number;
|
|
5712
5811
|
candidate_id: string;
|
|
5713
|
-
source_type_guess: "
|
|
5812
|
+
source_type_guess: "unknown" | "primary" | "forum" | "benchmark" | "docs" | "article" | "paper" | "standard";
|
|
5714
5813
|
why_relevant: string;
|
|
5715
5814
|
query: string;
|
|
5716
5815
|
discovered_at: string;
|
|
@@ -5723,7 +5822,7 @@ declare const DiscoveryCandidateSchema: z.ZodObject<{
|
|
|
5723
5822
|
publisher: string | null;
|
|
5724
5823
|
rank: number;
|
|
5725
5824
|
candidate_id: string;
|
|
5726
|
-
source_type_guess: "
|
|
5825
|
+
source_type_guess: "unknown" | "primary" | "forum" | "benchmark" | "docs" | "article" | "paper" | "standard";
|
|
5727
5826
|
why_relevant: string;
|
|
5728
5827
|
query: string;
|
|
5729
5828
|
discovered_at: string;
|
|
@@ -5742,8 +5841,8 @@ declare const DiscoverySummarySchema: z.ZodObject<{
|
|
|
5742
5841
|
candidates_rejected_invalid_url: z.ZodNumber;
|
|
5743
5842
|
warnings: z.ZodArray<z.ZodString, "many">;
|
|
5744
5843
|
}, "strip", z.ZodTypeAny, {
|
|
5745
|
-
research_os_version: string;
|
|
5746
5844
|
section_id: string;
|
|
5845
|
+
research_os_version: string;
|
|
5747
5846
|
summary_id: string;
|
|
5748
5847
|
warnings: string[];
|
|
5749
5848
|
query: string;
|
|
@@ -5753,8 +5852,8 @@ declare const DiscoverySummarySchema: z.ZodObject<{
|
|
|
5753
5852
|
candidates_validated: number;
|
|
5754
5853
|
candidates_rejected_invalid_url: number;
|
|
5755
5854
|
}, {
|
|
5756
|
-
research_os_version: string;
|
|
5757
5855
|
section_id: string;
|
|
5856
|
+
research_os_version: string;
|
|
5758
5857
|
summary_id: string;
|
|
5759
5858
|
warnings: string[];
|
|
5760
5859
|
query: string;
|
|
@@ -5911,6 +6010,6 @@ declare class SynthesisNotReadyError extends ResearchOSError {
|
|
|
5911
6010
|
constructor(mode: string);
|
|
5912
6011
|
}
|
|
5913
6012
|
|
|
5914
|
-
declare const RESEARCH_OS_VERSION = "0.
|
|
6013
|
+
declare const RESEARCH_OS_VERSION = "0.3.1";
|
|
5915
6014
|
|
|
5916
|
-
export { type AllowedSynthesisInput, AllowedSynthesisInputSchema, type ApproveOptions, type ApproveResult, type ArchivedArtifact, ArchivedArtifactSchema, type ArtifactHash, ArtifactHashSchema, type AuditDensityOptions, type AuditDensityResult, type HandoffMode as AuditHandoffMode, HandoffModeSchema as AuditHandoffModeSchema, type AuditOptions, type AuditSummary, type CitationCoverage, type Claim, type ClaimCluster, ClaimClusterSchema, type ClaimCounts, type ClaimDensityAudit, ClaimDensityAuditSchema, type ClaimExtractionInput, type ClaimExtractionResult, type ClaimExtractor, type ClaimExtractorAdapter, ClaimExtractorSchema, type ClaimReview, ClaimReviewSchema, ClaimSchema, type ClaimSummary, type ClaimTriage, ClaimTriageSchema, type Confidence, ConfidenceSchema, type Contradiction, ContradictionConfidenceSchema, type ContradictionCounts, type ContradictionDetector, type ContradictionDetectorName, ContradictionDetectorSchema, type ContradictionResolution, ContradictionResolutionSchema, ContradictionSchema, type ContradictionStatus, ContradictionStatusSchema, type ContradictionSummary, type ContradictionType, ContradictionTypeSchema, type CoworkHandoffPayload$1 as CoworkHandoffPayload, CoworkHandoffPayloadSchema, type CrossSectionContradictionRef, CrossSectionContradictionRefSchema, type CrossSectionMap, CrossSectionMapSchema, DEFAULT_PROFILE, type DensityFlag, DensityFlagSchema, type DetectionResult, type DiscoverOptions, type DiscoverProposal, type DiscoverProvider, type DiscoverProviderInput, type DiscoverProviderResult, type DiscoverResult, type DiscoveryCandidate, DiscoveryCandidateSchema, type DiscoveryCandidateStatus, DiscoveryCandidateStatusSchema, type DiscoverySummary, DiscoverySummarySchema, type DraftClaim, type DraftContradiction, type DraftFinding, EXCERPT_ID_PATTERN, type Excerpt, type ExcerptDraft, type ExcerptOrigin, ExcerptOriginSchema, ExcerptSchema, type ExportOptions, type ExportSummary, type ExportUrlsOptions, type ExportUrlsResult, type ExtractClaimsOptions, type ExtractClaimsSummary, type ExtractionInput, type ExtractionResult, type Extractor, type ExtractorName, ExtractorNameSchema, FORBIDDEN_ACTIONS_ALWAYS, type FetchReceipt, FetchReceiptSchema, type FindingCategory, FindingCategorySchema, type FindingSeverity, FindingSeveritySchema, type ForbiddenInput, ForbiddenInputSchema, type FreezeOptions, type FreezeReceiptPayload, FreezeReceiptPayloadSchema, type FreezeRefusalPayload, FreezeRefusalPayloadSchema, type FreezeSummary, type FreshnessSummary, type GateCheckResult, GateCheckResultSchema, type GateCheckStatus, GateCheckStatusSchema, type GateConfig, GateConfigSchema, type GateFamily, GateFamilySchema, type GateInput, type GateVerdictEntry, GateVerdictEntrySchema, type GatherOptions, type GatherSummary, type HandoffMode$1 as HandoffMode, HandoffModeSchema$1 as HandoffModeSchema, HandoffNotFoundError, type HandoffOptions, type HandoffSummary, HeuristicClaimExtractor, HeuristicContradictionDetector, HeuristicExtractor, HeuristicReviewer, type IndexBuildOptions, type IndexBuildSummary, IndexNotBuiltError, type IndexQueryOptions, type IndexQuerySummary, type IndexStatus, IndexStatusSchema, type InitOptions, type InitResult, IntakeValidationError, type IntegrityCheck, IntegrityCheckSchema, InvalidSectionIdError, type InvalidateExtractionOptions, type InvalidateExtractionResult, type InvalidateReviewOptions, type InvalidateReviewResult, type InvalidationReceipt, InvalidationReceiptSchema, LlmHeuristicDiscoverProvider, type LoadOrBuildArgs, type LoadOrBuildResult, type MapOptions, type MapSummary, type NearDuplicateCluster, NearDuplicateClusterSchema, NoSourcesGatheredError, NoUrlsProvidedError, OllamaInternClaimExtractor, OllamaInternContradictionDetector, OllamaInternExtractor, OllamaInternReviewer, type OrphanClaimRow, OrphanClaimRowSchema, type OverlapAssessment, OverlapAssessmentSchema, type PackAuditPayload, PackAuditPayloadSchema, PackExistsError, PackNotFoundError, type PackVerdict, PackVerdictSchema, type PairedDraft, type PerSourceDensity, PerSourceDensitySchema, type PrimarySourceWaiver, PrimarySourceWaiverSchema, type PromoteOptions, type PromoteResult, type QueryHit, RESEARCH_OS_VERSION, type ReadinessSummary, type RecordType, type RejectOptions, type RejectResult, type Relevance, RelevanceSchema, ResearchOSError, type ResearchYaml, ResearchYamlSchema, type ResolutionStatus, ResolutionStatusSchema, type ReviewActive, ReviewActiveSchema, ReviewConfidenceSchema, type ReviewDecision, type ReviewDecisionCount, ReviewDecisionCountSchema, ReviewDecisionSchema, type ReviewFinding, ReviewFindingSchema, type ReviewInvalidationReceipt, ReviewInvalidationReceiptSchema, type ReviewSnapshot, ReviewSnapshotSchema, type ReviewState, ReviewStateSchema, type ReviewSummary, type Reviewer, type ReviewerInput, type ReviewerName, ReviewerNameSchema, type ReviewerResult, type RunGateOptions, type RunReviewOptions, type RunReviewSummary, SCHEMA_VERSION, type ScopeIntegritySummary, type ScopeOverlap, ScopeOverlapSchema, type ScopeWideningRiskRow, ScopeWideningRiskRowSchema, type Section, type SectionAcceptedSummary, SectionAcceptedSummarySchema, type SectionAddOptions, type SectionAddResult, SectionExistsError, type SectionGateResult$1 as SectionGateResult, SectionGateResultSchema, type SectionGatesYaml, SectionGatesYamlSchema, SectionNotFoundError, type SectionReport, SectionReportAcceptanceSchema, SectionReportContradictionsSchema, SectionReportExtractionSchema, type SectionReportOptions, type SectionReportResult, SectionReportReviewSchema, SectionReportSchema, SectionReportSourcesSchema, SectionSchema, type SectionState, SectionStateSchema, type SectionStatusChange, SectionStatusChangeSchema, type Severity, SeveritySchema, type SharedSource, SharedSourceSchema, type SourceCard, SourceCardSchema, type SourceCounts, type SourceDiversityGapRow, SourceDiversityGapRowSchema, type SourceFetchPair, type SourceSummary, type SourceType, type SourceTypeGuess, SourceTypeGuessSchema, SourceTypeSchema, type StaleSourceRow, StaleSourceRowSchema, type SyncOptions, type SyncSummary, SynthesisNotReadyError, type SynthesisReadinessRow, SynthesisReadinessRowSchema, TemplateNotFoundError, type TriageDecision, TriageDecisionSchema, type TriageOptions, type TriageRunResult, type TriageSummary, TriageSummarySchema, type UnresolvedContradictionRow, UnresolvedContradictionRowSchema, type Verdict, VerdictSchema, type WaiverApplication, WaiverApplicationSchema, type WaiverDependency, WaiverDependencySchema, type WaiverEntry, WaiverEntrySchema, type WaiverSummary, type WeakSourceRow, WeakSourceRowSchema, type WorkspaceOptions, type WorkspaceSummary, add, aggregate, appendFetchLog, appendSectionSourceId, applySchema, applyWaivers, approve, assessScopeOverlap, audit, auditDensity, build, buildCard, buildExcerptIndex, buildResearchYaml, checkClaimIntegrity, checkContradiction, checkFreshness, checkScopeIntegrity, checkSectionBudget, checkSourceFloor, chunkKeyPoints, chunkRawText, collectUrls, dedupeAndValidate, defaultClaimExtractors, defaultContradictionDetectors, defaultExtractors, defaultReviewers, derive, deriveClaimReviews, deriveCrossSectionMap, discover, evidenceGrounded, exportRepoKnowledge, exportUrls, extract, extractClaimCitations, extractContradictionDisclosures, extractWaiverDisclosures, fetchOnce, freeze, gate, gather, handoff, hasNegation, indexDbPath, init, invalidateExtraction, invalidateReview, isValidProfileName, jaccardSimilarity, ledgerPathFor, loadOrBuildLedger, makeReceiptId, makeSourceId, map, normalizeOllamaHost, openIndexDb, parseUrlsFileText, pickClaimExtractor, pickContradictionDetector, pickExtractor, pickReviewer, profileDir, promote, query, readActiveProfile, readTriagedClaimIds, readUrlsFile, reject, renderCoworkMaster, renderCrossSectionMapMarkdown, renderDecisionBrief, renderFinalReport, renderFreezeReceiptMarkdown, renderFreezeRefusalMarkdown, renderGateMarkdown, renderLedgerForPrompt, renderMarkdownView, renderOrphanClaimsMarkdown, renderPackAuditMarkdown, renderReviewMarkdown, renderScopeWideningRisksMarkdown, renderSourceDiversityGapsMarkdown, renderStaleSourcesMarkdown, renderSynthesisReadinessMarkdown, renderUnresolvedContradictionsMarkdown, renderWeakSourcesMarkdown, renderWorkingReport, reportSection, resolve, review, reviewActivePath, slugify, syncRepoKnowledge, tokenize, triage, workspace, writeActiveProfile, writeSourceCard };
|
|
6015
|
+
export { type AllowedSynthesisInput, AllowedSynthesisInputSchema, type ApproveOptions, type ApproveResult, type ArchivedArtifact, ArchivedArtifactSchema, type ArtifactHash, ArtifactHashSchema, type AuditDensityOptions, type AuditDensityResult, type HandoffMode as AuditHandoffMode, HandoffModeSchema as AuditHandoffModeSchema, type AuditOptions, type AuditSummary, type CitationCoverage, type Claim, type ClaimCluster, ClaimClusterSchema, type ClaimCounts, type ClaimDensityAudit, ClaimDensityAuditSchema, type ClaimExtractionInput, type ClaimExtractionResult, type ClaimExtractor, type ClaimExtractorAdapter, ClaimExtractorSchema, type ClaimReview, ClaimReviewSchema, ClaimSchema, type ClaimSummary, type ClaimTriage, ClaimTriageSchema, type Confidence, ConfidenceSchema, type Contradiction, ContradictionConfidenceSchema, type ContradictionCounts, type ContradictionDetector, type ContradictionDetectorName, ContradictionDetectorSchema, type ContradictionResolution, ContradictionResolutionSchema, ContradictionSchema, type ContradictionStatus, ContradictionStatusSchema, type ContradictionSummary, type ContradictionType, ContradictionTypeSchema, type CoworkHandoffPayload$1 as CoworkHandoffPayload, CoworkHandoffPayloadSchema, type CrossSectionContradictionRef, CrossSectionContradictionRefSchema, type CrossSectionMap, CrossSectionMapSchema, DEFAULT_PROFILE, type DensityFlag, DensityFlagSchema, type DetectionResult, type DetectorMode, type DiscoverOptions, type DiscoverProposal, type DiscoverProvider, type DiscoverProviderInput, type DiscoverProviderResult, type DiscoverResult, type DiscoveryCandidate, DiscoveryCandidateSchema, type DiscoveryCandidateStatus, DiscoveryCandidateStatusSchema, type DiscoverySummary, DiscoverySummarySchema, type DraftClaim, type DraftContradiction, type DraftFinding, EXCERPT_ID_PATTERN, type Excerpt, type ExcerptDraft, type ExcerptOrigin, ExcerptOriginSchema, ExcerptSchema, type ExportOptions, type ExportSummary, type ExportUrlsOptions, type ExportUrlsResult, type ExtractClaimsOptions, type ExtractClaimsSummary, type ExtractionInput, type ExtractionResult, type Extractor, type ExtractorName, ExtractorNameSchema, FORBIDDEN_ACTIONS_ALWAYS, type FetchReceipt, FetchReceiptSchema, type FindingCategory, FindingCategorySchema, type FindingSeverity, FindingSeveritySchema, type ForbiddenInput, ForbiddenInputSchema, type FreezeOptions, type FreezeReceiptPayload, FreezeReceiptPayloadSchema, type FreezeRefusalPayload, FreezeRefusalPayloadSchema, type FreezeSummary, type FreshnessSummary, type GateCheckResult, GateCheckResultSchema, type GateCheckStatus, GateCheckStatusSchema, type GateConfig, GateConfigSchema, type GateFamily, GateFamilySchema, type GateInput, type GateVerdictEntry, GateVerdictEntrySchema, type GatherOptions, type GatherSummary, type HandoffMode$1 as HandoffMode, HandoffModeSchema$1 as HandoffModeSchema, HandoffNotFoundError, type HandoffOptions, type HandoffSummary, HeuristicClaimExtractor, HeuristicContradictionDetector, HeuristicExtractor, HeuristicReviewer, type IndexBuildOptions, type IndexBuildSummary, IndexNotBuiltError, type IndexQueryOptions, type IndexQuerySummary, type IndexStatus, IndexStatusSchema, type InitOptions, type InitResult, IntakeValidationError, type IntegrityCheck, IntegrityCheckSchema, InvalidSectionIdError, type InvalidateExtractionOptions, type InvalidateExtractionResult, type InvalidateReviewOptions, type InvalidateReviewResult, type InvalidationReceipt, InvalidationReceiptSchema, LlmHeuristicDiscoverProvider, type LoadOrBuildArgs, type LoadOrBuildResult, type MapOptions, type MapSummary, type NearDuplicateCluster, NearDuplicateClusterSchema, NoSourcesGatheredError, NoUrlsProvidedError, OllamaInternClaimExtractor, OllamaInternContradictionDetector, OllamaInternExtractor, OllamaInternReviewer, type OrphanClaimRow, OrphanClaimRowSchema, type OverlapAssessment, OverlapAssessmentSchema, type PackAuditPayload, PackAuditPayloadSchema, PackExistsError, PackNotFoundError, type PackVerdict, PackVerdictSchema, type PairedDraft, type PerSourceDensity, PerSourceDensitySchema, type PrimarySourceWaiver, PrimarySourceWaiverSchema, type PromoteOptions, type PromoteResult, type QueryHit, RESEARCH_OS_VERSION, type ReadinessSummary, type RecordType, type RejectOptions, type RejectResult, type Relevance, RelevanceSchema, ResearchOSError, type ResearchYaml, ResearchYamlSchema, type ResolutionStatus, ResolutionStatusSchema, type ReviewActive, ReviewActiveSchema, ReviewConfidenceSchema, type ReviewDecision, type ReviewDecisionCount, ReviewDecisionCountSchema, ReviewDecisionSchema, type ReviewFinding, ReviewFindingSchema, type ReviewInvalidationReceipt, ReviewInvalidationReceiptSchema, type ReviewSnapshot, ReviewSnapshotSchema, type ReviewState, ReviewStateSchema, type ReviewSummary, type Reviewer, type ReviewerInput, type ReviewerName, ReviewerNameSchema, type ReviewerResult, type RunGateOptions, type RunReviewOptions, type RunReviewSummary, SCHEMA_VERSION, type ScopeIntegritySummary, type ScopeOverlap, ScopeOverlapSchema, type ScopeWideningRiskRow, ScopeWideningRiskRowSchema, type Section, type SectionAcceptedSummary, SectionAcceptedSummarySchema, type SectionAddOptions, type SectionAddResult, SectionExistsError, type SectionGateResult$1 as SectionGateResult, SectionGateResultSchema, type SectionGatesYaml, SectionGatesYamlSchema, SectionNotFoundError, type SectionReport, SectionReportAcceptanceSchema, SectionReportContradictionsSchema, SectionReportExtractionSchema, type SectionReportOptions, type SectionReportResult, SectionReportReviewSchema, SectionReportSchema, SectionReportSourcesSchema, SectionSchema, type SectionState, SectionStateSchema, type SectionStatusChange, SectionStatusChangeSchema, type Severity, SeveritySchema, type SharedSource, SharedSourceSchema, type SourceCard, SourceCardSchema, type SourceCounts, type SourceDiversityGapRow, SourceDiversityGapRowSchema, type SourceFetchPair, type SourceSummary, type SourceType, type SourceTypeGuess, SourceTypeGuessSchema, SourceTypeSchema, type StaleSourceRow, StaleSourceRowSchema, type SyncOptions, type SyncSummary, SynthesisNotReadyError, type SynthesisReadinessRow, SynthesisReadinessRowSchema, TemplateNotFoundError, type TriageDecision, TriageDecisionSchema, type TriageOptions, type TriageRunResult, type TriageSummary, TriageSummarySchema, type UnresolvedContradictionRow, UnresolvedContradictionRowSchema, type Verdict, VerdictSchema, type WaiverApplication, WaiverApplicationSchema, type WaiverDependency, WaiverDependencySchema, type WaiverEntry, WaiverEntrySchema, type WaiverSummary, type WeakSourceRow, WeakSourceRowSchema, type WorkspaceOptions, type WorkspaceSummary, add, aggregate, appendFetchLog, appendSectionSourceId, applySchema, applyWaivers, approve, assessScopeOverlap, audit, auditDensity, build, buildCard, buildExcerptIndex, buildResearchYaml, checkClaimIntegrity, checkContradiction, checkFreshness, checkScopeIntegrity, checkSectionBudget, checkSourceFloor, chunkKeyPoints, chunkRawText, collectUrls, dedupeAndValidate, defaultClaimExtractors, defaultContradictionDetectors, defaultExtractors, defaultReviewers, derive, deriveClaimReviews, deriveCrossSectionMap, discover, evidenceGrounded, exportRepoKnowledge, exportUrls, extract, extractClaimCitations, extractContradictionDisclosures, extractWaiverDisclosures, fetchOnce, freeze, gate, gather, handoff, hasNegation, indexDbPath, init, invalidateExtraction, invalidateReview, isValidProfileName, jaccardSimilarity, ledgerPathFor, loadOrBuildLedger, makeReceiptId, makeSourceId, map, normalizeOllamaHost, openIndexDb, parseUrlsFileText, pickClaimExtractor, pickContradictionDetector, pickExtractor, pickReviewer, profileDir, promote, query, readActiveProfile, readTriagedClaimIds, readUrlsFile, reject, renderCoworkMaster, renderCrossSectionMapMarkdown, renderDecisionBrief, renderFinalReport, renderFreezeReceiptMarkdown, renderFreezeRefusalMarkdown, renderGateMarkdown, renderLedgerForPrompt, renderMarkdownView, renderOrphanClaimsMarkdown, renderPackAuditMarkdown, renderReviewMarkdown, renderScopeWideningRisksMarkdown, renderSourceDiversityGapsMarkdown, renderStaleSourcesMarkdown, renderSynthesisReadinessMarkdown, renderUnresolvedContradictionsMarkdown, renderWeakSourcesMarkdown, renderWorkingReport, reportSection, resolve, review, reviewActivePath, slugify, syncRepoKnowledge, tokenize, triage, workspace, writeActiveProfile, writeSourceCard };
|