@mcptoolshop/research-os 0.3.2 → 0.4.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/CHANGELOG.md +159 -0
- package/README.es.md +9 -5
- package/README.fr.md +8 -4
- package/README.hi.md +8 -4
- package/README.it.md +9 -5
- package/README.ja.md +8 -4
- package/README.md +6 -2
- package/README.pt-BR.md +8 -4
- package/README.zh.md +9 -5
- package/dist/cli.js +1849 -1270
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +143 -4
- package/dist/index.js +1511 -1185
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -618,7 +618,7 @@ declare const SectionGatesYamlSchema: z.ZodObject<{
|
|
|
618
618
|
}>;
|
|
619
619
|
type SectionGatesYaml = z.infer<typeof SectionGatesYamlSchema>;
|
|
620
620
|
|
|
621
|
-
type SourceType = 'primary' | 'secondary' | 'forum' | 'benchmark' | 'docs' | 'unknown';
|
|
621
|
+
type SourceType$1 = 'primary' | 'secondary' | 'forum' | 'benchmark' | 'docs' | 'unknown';
|
|
622
622
|
type Relevance = 'high' | 'medium' | 'low' | 'unknown';
|
|
623
623
|
type ExtractorName = 'heuristic' | 'ollama-intern';
|
|
624
624
|
interface ExtractionInput {
|
|
@@ -632,7 +632,7 @@ type ExtractionResult = {
|
|
|
632
632
|
publisher: string | null;
|
|
633
633
|
published_at: string | null;
|
|
634
634
|
title: string;
|
|
635
|
-
source_type: SourceType;
|
|
635
|
+
source_type: SourceType$1;
|
|
636
636
|
relevance: Relevance;
|
|
637
637
|
key_points: string[];
|
|
638
638
|
limitations: string[];
|
|
@@ -751,6 +751,10 @@ declare const SourceCardSchema: z.ZodObject<{
|
|
|
751
751
|
not: z.ZodNullable<z.ZodString>;
|
|
752
752
|
extracted_by: z.ZodEnum<["heuristic", "ollama-intern"]>;
|
|
753
753
|
extracted_at: z.ZodString;
|
|
754
|
+
/** Rule that classified the URL. Added by Component B (v0.4). Optional for back-compat with pre-v0.4 cards. */
|
|
755
|
+
rule_hint: z.ZodOptional<z.ZodString>;
|
|
756
|
+
/** Precedence level of the rule that fired (2–6). Optional for back-compat with pre-v0.4 cards. */
|
|
757
|
+
precedence_level: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
754
758
|
}, "strip", z.ZodTypeAny, {
|
|
755
759
|
section_id: string;
|
|
756
760
|
scope: string | null;
|
|
@@ -770,6 +774,8 @@ declare const SourceCardSchema: z.ZodObject<{
|
|
|
770
774
|
not: string | null;
|
|
771
775
|
extracted_by: "heuristic" | "ollama-intern";
|
|
772
776
|
extracted_at: string;
|
|
777
|
+
rule_hint?: string | undefined;
|
|
778
|
+
precedence_level?: 5 | 2 | 4 | 3 | 6 | undefined;
|
|
773
779
|
}, {
|
|
774
780
|
section_id: string;
|
|
775
781
|
scope: string | null;
|
|
@@ -789,6 +795,8 @@ declare const SourceCardSchema: z.ZodObject<{
|
|
|
789
795
|
not: string | null;
|
|
790
796
|
extracted_by: "heuristic" | "ollama-intern";
|
|
791
797
|
extracted_at: string;
|
|
798
|
+
rule_hint?: string | undefined;
|
|
799
|
+
precedence_level?: 5 | 2 | 4 | 3 | 6 | undefined;
|
|
792
800
|
}>;
|
|
793
801
|
type FetchReceipt = z.infer<typeof FetchReceiptSchema>;
|
|
794
802
|
type SourceCard = z.infer<typeof SourceCardSchema>;
|
|
@@ -848,17 +856,136 @@ declare class OllamaInternExtractor implements Extractor {
|
|
|
848
856
|
declare function defaultExtractors(): Extractor[];
|
|
849
857
|
declare function pickExtractor(extractors: Extractor[]): Promise<Extractor>;
|
|
850
858
|
|
|
859
|
+
/**
|
|
860
|
+
* Source-card override ledger schema — v0.4 Component A.
|
|
861
|
+
*
|
|
862
|
+
* Append-only ledger at evidence/source-card-overrides.jsonl.
|
|
863
|
+
* Schema is advisor-locked (Q2 field set).
|
|
864
|
+
* Latest-wins per source_id per field, computed at read time by the helpers
|
|
865
|
+
* in effective-card.ts.
|
|
866
|
+
*
|
|
867
|
+
* Mirrors claim-reviews.jsonl Pattern 2 (Law 15 — append-only audit-trail).
|
|
868
|
+
*/
|
|
869
|
+
|
|
870
|
+
declare const SourceCardOverrideSchema: z.ZodEffects<z.ZodObject<{
|
|
871
|
+
source_id: z.ZodString;
|
|
872
|
+
url: z.ZodString;
|
|
873
|
+
previous_source_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
874
|
+
new_source_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["primary", "secondary", "forum", "benchmark", "docs", "unknown"]>>>;
|
|
875
|
+
previous_publisher: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
|
+
new_publisher: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
877
|
+
reason: z.ZodEffects<z.ZodString, string, string>;
|
|
878
|
+
operator: z.ZodString;
|
|
879
|
+
created_at: z.ZodEffects<z.ZodString, string, string>;
|
|
880
|
+
rule_hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
881
|
+
pack_version: z.ZodString;
|
|
882
|
+
}, "strip", z.ZodTypeAny, {
|
|
883
|
+
reason: string;
|
|
884
|
+
created_at: string;
|
|
885
|
+
source_id: string;
|
|
886
|
+
url: string;
|
|
887
|
+
operator: string;
|
|
888
|
+
pack_version: string;
|
|
889
|
+
rule_hint?: string | null | undefined;
|
|
890
|
+
previous_source_type?: string | null | undefined;
|
|
891
|
+
new_source_type?: "unknown" | "primary" | "secondary" | "forum" | "benchmark" | "docs" | null | undefined;
|
|
892
|
+
previous_publisher?: string | null | undefined;
|
|
893
|
+
new_publisher?: string | null | undefined;
|
|
894
|
+
}, {
|
|
895
|
+
reason: string;
|
|
896
|
+
created_at: string;
|
|
897
|
+
source_id: string;
|
|
898
|
+
url: string;
|
|
899
|
+
operator: string;
|
|
900
|
+
pack_version: string;
|
|
901
|
+
rule_hint?: string | null | undefined;
|
|
902
|
+
previous_source_type?: string | null | undefined;
|
|
903
|
+
new_source_type?: "unknown" | "primary" | "secondary" | "forum" | "benchmark" | "docs" | null | undefined;
|
|
904
|
+
previous_publisher?: string | null | undefined;
|
|
905
|
+
new_publisher?: string | null | undefined;
|
|
906
|
+
}>, {
|
|
907
|
+
reason: string;
|
|
908
|
+
created_at: string;
|
|
909
|
+
source_id: string;
|
|
910
|
+
url: string;
|
|
911
|
+
operator: string;
|
|
912
|
+
pack_version: string;
|
|
913
|
+
rule_hint?: string | null | undefined;
|
|
914
|
+
previous_source_type?: string | null | undefined;
|
|
915
|
+
new_source_type?: "unknown" | "primary" | "secondary" | "forum" | "benchmark" | "docs" | null | undefined;
|
|
916
|
+
previous_publisher?: string | null | undefined;
|
|
917
|
+
new_publisher?: string | null | undefined;
|
|
918
|
+
}, {
|
|
919
|
+
reason: string;
|
|
920
|
+
created_at: string;
|
|
921
|
+
source_id: string;
|
|
922
|
+
url: string;
|
|
923
|
+
operator: string;
|
|
924
|
+
pack_version: string;
|
|
925
|
+
rule_hint?: string | null | undefined;
|
|
926
|
+
previous_source_type?: string | null | undefined;
|
|
927
|
+
new_source_type?: "unknown" | "primary" | "secondary" | "forum" | "benchmark" | "docs" | null | undefined;
|
|
928
|
+
previous_publisher?: string | null | undefined;
|
|
929
|
+
new_publisher?: string | null | undefined;
|
|
930
|
+
}>;
|
|
931
|
+
type SourceCardOverride = z.infer<typeof SourceCardOverrideSchema>;
|
|
932
|
+
declare function validateSourceCardOverride(input: unknown): SourceCardOverride;
|
|
933
|
+
|
|
851
934
|
declare function buildCard(args: {
|
|
852
935
|
receipt: FetchReceipt;
|
|
853
936
|
extraction: Extract<ExtractionResult, {
|
|
854
937
|
ok: true;
|
|
855
938
|
}>;
|
|
856
939
|
extractedBy: ExtractorName;
|
|
940
|
+
/**
|
|
941
|
+
* Override entries loaded from evidence/source-card-overrides.jsonl.
|
|
942
|
+
* Component A (v0.4): when present, effective source_type and publisher are
|
|
943
|
+
* computed via the L1 override layer before the card is persisted.
|
|
944
|
+
* Omit (or pass []) to skip override application — e.g. in test environments
|
|
945
|
+
* that do not supply a pack path.
|
|
946
|
+
*/
|
|
947
|
+
overrides?: SourceCardOverride[];
|
|
857
948
|
}): SourceCard;
|
|
858
949
|
declare function writeSourceCard(packPath: string, card: SourceCard): Promise<string>;
|
|
859
950
|
declare function appendFetchLog(packPath: string, receipt: FetchReceipt): Promise<void>;
|
|
860
951
|
declare function appendSectionSourceId(packPath: string, sectionId: string, sourceId: string): Promise<void>;
|
|
861
952
|
|
|
953
|
+
declare function readOverrides(packPath: string): Promise<SourceCardOverride[]>;
|
|
954
|
+
declare function appendOverride(packPath: string, override: SourceCardOverride): Promise<void>;
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Effective-view helpers for source-card overrides — v0.4 Component A.
|
|
958
|
+
*
|
|
959
|
+
* Pure functions. No I/O. Mirror getEffectiveAcceptedClaimIds (F-36 pattern)
|
|
960
|
+
* from src/closure-ledger/effective-accepted.ts.
|
|
961
|
+
*
|
|
962
|
+
* Latest-wins per source_id per field — independent across fields.
|
|
963
|
+
* A later override that sets only new_source_type does NOT clear an earlier
|
|
964
|
+
* override's new_publisher, and vice-versa.
|
|
965
|
+
*
|
|
966
|
+
* Reusable by Component D (audit CLI, Session 4) without further refactor.
|
|
967
|
+
*/
|
|
968
|
+
|
|
969
|
+
type SourceType = SourceCard['source_type'];
|
|
970
|
+
/**
|
|
971
|
+
* Return the effective source_type for a card, applying override precedence (L1).
|
|
972
|
+
*
|
|
973
|
+
* Filters overrides to those matching card.source_id that carry a non-null
|
|
974
|
+
* new_source_type. Walks newest-to-oldest (ISO-8601 lexicographic sort);
|
|
975
|
+
* returns the first non-null new_source_type found. Falls back to
|
|
976
|
+
* card.source_type when no matching override exists.
|
|
977
|
+
*/
|
|
978
|
+
declare function getEffectiveSourceType(card: Pick<SourceCard, 'source_id' | 'source_type'>, overrides: SourceCardOverride[]): SourceType;
|
|
979
|
+
/**
|
|
980
|
+
* Return the effective publisher for a card, applying override precedence (L1).
|
|
981
|
+
*
|
|
982
|
+
* Filters overrides to those matching card.source_id that explicitly set
|
|
983
|
+
* new_publisher (including null — "set publisher to null" is a valid correction).
|
|
984
|
+
* Walks newest-to-oldest; returns the first entry's new_publisher.
|
|
985
|
+
* Falls back to card.publisher when no matching override exists.
|
|
986
|
+
*/
|
|
987
|
+
declare function getEffectivePublisher(card: Pick<SourceCard, 'source_id' | 'publisher'>, overrides: SourceCardOverride[]): string | null;
|
|
988
|
+
|
|
862
989
|
declare const EXCERPT_ID_PATTERN: RegExp;
|
|
863
990
|
declare const ExcerptOriginSchema: z.ZodEnum<["raw_text", "key_point"]>;
|
|
864
991
|
declare const ExcerptSchema: z.ZodObject<{
|
|
@@ -1751,6 +1878,8 @@ interface SourceCounts {
|
|
|
1751
1878
|
unknown: number;
|
|
1752
1879
|
independent_publishers: number;
|
|
1753
1880
|
failed_fetches: number;
|
|
1881
|
+
section_primary: number;
|
|
1882
|
+
section_independent_publishers: number;
|
|
1754
1883
|
}
|
|
1755
1884
|
interface ContradictionCounts {
|
|
1756
1885
|
total: number;
|
|
@@ -2010,6 +2139,8 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
2010
2139
|
unknown: z.ZodNumber;
|
|
2011
2140
|
independent_publishers: z.ZodNumber;
|
|
2012
2141
|
failed_fetches: z.ZodNumber;
|
|
2142
|
+
section_primary: z.ZodNumber;
|
|
2143
|
+
section_independent_publishers: z.ZodNumber;
|
|
2013
2144
|
}, "strip", z.ZodTypeAny, {
|
|
2014
2145
|
unknown: number;
|
|
2015
2146
|
primary: number;
|
|
@@ -2020,6 +2151,8 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
2020
2151
|
total: number;
|
|
2021
2152
|
independent_publishers: number;
|
|
2022
2153
|
failed_fetches: number;
|
|
2154
|
+
section_primary: number;
|
|
2155
|
+
section_independent_publishers: number;
|
|
2023
2156
|
}, {
|
|
2024
2157
|
unknown: number;
|
|
2025
2158
|
primary: number;
|
|
@@ -2030,6 +2163,8 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
2030
2163
|
total: number;
|
|
2031
2164
|
independent_publishers: number;
|
|
2032
2165
|
failed_fetches: number;
|
|
2166
|
+
section_primary: number;
|
|
2167
|
+
section_independent_publishers: number;
|
|
2033
2168
|
}>;
|
|
2034
2169
|
contradiction_counts: z.ZodObject<{
|
|
2035
2170
|
total: z.ZodNumber;
|
|
@@ -2145,6 +2280,8 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
2145
2280
|
total: number;
|
|
2146
2281
|
independent_publishers: number;
|
|
2147
2282
|
failed_fetches: number;
|
|
2283
|
+
section_primary: number;
|
|
2284
|
+
section_independent_publishers: number;
|
|
2148
2285
|
};
|
|
2149
2286
|
contradiction_counts: {
|
|
2150
2287
|
blocking: number;
|
|
@@ -2226,6 +2363,8 @@ declare const SectionGateResultSchema: z.ZodObject<{
|
|
|
2226
2363
|
total: number;
|
|
2227
2364
|
independent_publishers: number;
|
|
2228
2365
|
failed_fetches: number;
|
|
2366
|
+
section_primary: number;
|
|
2367
|
+
section_independent_publishers: number;
|
|
2229
2368
|
};
|
|
2230
2369
|
contradiction_counts: {
|
|
2231
2370
|
blocking: number;
|
|
@@ -6010,6 +6149,6 @@ declare class SynthesisNotReadyError extends ResearchOSError {
|
|
|
6010
6149
|
constructor(mode: string);
|
|
6011
6150
|
}
|
|
6012
6151
|
|
|
6013
|
-
declare const RESEARCH_OS_VERSION = "0.
|
|
6152
|
+
declare const RESEARCH_OS_VERSION = "0.4.0";
|
|
6014
6153
|
|
|
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 };
|
|
6154
|
+
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, type SourceCardOverride, SourceCardOverrideSchema, SourceCardSchema, type SourceCounts, type SourceDiversityGapRow, SourceDiversityGapRowSchema, type SourceFetchPair, type SourceSummary, type SourceType$1 as 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, appendOverride, 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, getEffectivePublisher, getEffectiveSourceType, handoff, hasNegation, indexDbPath, init, invalidateExtraction, invalidateReview, isValidProfileName, jaccardSimilarity, ledgerPathFor, loadOrBuildLedger, makeReceiptId, makeSourceId, map, normalizeOllamaHost, openIndexDb, parseUrlsFileText, pickClaimExtractor, pickContradictionDetector, pickExtractor, pickReviewer, profileDir, promote, query, readActiveProfile, readOverrides, 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, validateSourceCardOverride, workspace, writeActiveProfile, writeSourceCard };
|