@agentskit/doc-bridge 1.10.0 → 1.10.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/dist/index.d.ts CHANGED
@@ -4863,11 +4863,27 @@ type RetrievalIndexV1 = z.infer<typeof RetrievalIndexV1Schema>;
4863
4863
  * verified against the entity's content hash, so a file that changed since the scan is projected
4864
4864
  * from what the snapshot says about it rather than from what is on disk now.
4865
4865
  */
4866
- declare const RETRIEVAL_PROJECTION_VERSION: 1;
4866
+ declare const RETRIEVAL_PROJECTION_VERSION: 2;
4867
4867
  /** Documentation body kept for search. Long enough to answer a question, short enough to ship. */
4868
4868
  declare const DOCUMENT_BODY_LIMIT = 4000;
4869
4869
  /** The overlay hash when there is no overlay: the hash of an empty accepted set. */
4870
4870
  declare const EMPTY_OVERLAY_HASH: string;
4871
+ /**
4872
+ * What the snapshot observed, without the revision it observed it at.
4873
+ *
4874
+ * `snapshot.contentHash` seals the whole artifact, `sourceRevision` included — the commit SHA when
4875
+ * the working tree is clean, a digest of the scanned files when it is not. That is right for an
4876
+ * artifact whose job is to say what one revision looked like, and wrong as a projection input: the
4877
+ * projection is a function of what was found, not of where it was found. Sealing the revision into
4878
+ * it made an index that any commit invalidates without one thing it describes having changed — so
4879
+ * an index committed to a repository was stale the moment it landed, because landing it is a
4880
+ * commit, and a freshness gate could never pass twice.
4881
+ *
4882
+ * Entities and relations are the projection's whole input; the analyzer identity comes with them,
4883
+ * because two analyzer versions that observe the same entities and relations have nothing left to
4884
+ * disagree about, and one that observes different ones is caught by the entities.
4885
+ */
4886
+ declare const snapshotObservationHash: (snapshot: Pick<DiscoverySnapshotV1, "entities" | "relations" | "pipelineVersion" | "analyzerVersions">) => string;
4871
4887
  /** The weaker of two confidences: a chain is as trustworthy as its least trustworthy link. */
4872
4888
  declare const weakerConfidence: (a: Confidence, b: Confidence) => Confidence;
4873
4889
  /** What a relation's confidence is: its provenance, unless it resolved by similarity. */
@@ -4929,7 +4945,7 @@ type RetrievalOverlayInput = {
4929
4945
  readonly relations?: readonly KnowledgeRelation[];
4930
4946
  };
4931
4947
  type ProjectRetrievalOptions = {
4932
- readonly snapshot: Pick<DiscoverySnapshotV1, 'contentHash' | 'entities' | 'relations'>;
4948
+ readonly snapshot: Pick<DiscoverySnapshotV1, 'contentHash' | 'entities' | 'relations' | 'pipelineVersion' | 'analyzerVersions'>;
4933
4949
  readonly config: DocBridgeConfigV1 | undefined;
4934
4950
  readonly routes?: RetrievalRoutes;
4935
4951
  readonly curated?: readonly CuratedDocument[];
@@ -9574,7 +9590,7 @@ declare const chunksFromMarkdown: (property: string, raw: string, sourceUrl: str
9574
9590
  declare const loadFederatedChunks: (root: string, config: DocBridgeConfigV1, options?: FederatedRetrieverOptions) => Promise<DocBridgeRetrievedChunk[]>;
9575
9591
  declare const retrieveHybridChunks: (root: string, config: DocBridgeConfigV1, index: DocBridgeIndexV1, query: string, options?: FederatedRetrieverOptions) => Promise<DocBridgeRetrievedChunk[]>;
9576
9592
 
9577
- declare const PACKAGE_VERSION = "1.10.0";
9593
+ declare const PACKAGE_VERSION = "1.10.1";
9578
9594
 
9579
9595
  type FrontmatterValue = string | boolean | readonly string[];
9580
9596
  type FrontmatterData = Record<string, FrontmatterValue>;
@@ -11420,4 +11436,4 @@ declare const checkPublicParity: (options: CheckParityOptions) => PublicParityRe
11420
11436
  declare const parsePublicParityReport: (input: unknown) => PublicParityReportV1;
11421
11437
  declare const formatPublicParityText: (report: PublicParityReportV1) => readonly string[];
11422
11438
 
11423
- export { ACCEPTED_SIGNALS_SHARE, ACCEPTED_SIGNALS_WEIGHT, ALIAS_COLLISION_THRESHOLD, ALIAS_MAX, ANALYZER_PLUGIN_CONTRACT_VERSION, APPROVALS_DIR, AREA_ANALYZER_VERSION, ASSISTED_SCENARIO, type AcceptedEnrichment, AcceptedEnrichmentSchema, AffectedFileSchema, type AgentEfficiencyObservation, AgentHandoffLegacySchema, type AgentHandoffV1, AgentHandoffV1JsonSchema, AgentHandoffV1Schema, type AgentProposalV1, AgentProposalV1Schema, type AgentQueryMode, AgentQueryModeSchema, type AgentSearchV1, AgentSearchV1Schema, type AgentTaskEfficiencyObservation, type AnalyzerPlugin, type AnalyzerPluginInput, type AnalyzerPluginManifest, AnalyzerPluginManifestSchema, type AnalyzerPluginOutput, AnalyzerPluginOutputSchema, type AnalyzerRegistry, type Approval, type ApprovalDecision, type ApprovalGate, type ApprovalStore, type AreaModule, type AreaOwnership, type AreaPageView, type AreaSuggestion, type AssistedArmStatus, type Audience, AudienceSchema, BENCHMARK_SCHEMA_VERSION, BM25_VERSION, BUDGET_SECTION_ORDER, BUNDLED_TEMPLATES, type BenchmarkFixtureV1, BenchmarkFixtureV1Schema, type BenchmarkObservation, type BenchmarkResult, type BenchmarkSetMetrics, type BenchmarkSnapshot, type BenchmarkSnapshotDiff, type Bm25FieldWeights, type Bm25Hit, type Bm25Index, type Bm25Input, type Bm25Params, type BudgetMessage, type BudgetReport, BudgetReportSchema, type BudgetSection, BudgetSectionSchema, type BudgetTokenCounter, type BudgetedSection, type BuildContextPacksOptions, type BuildGraphOptions, type BuildIndexOptions, type BuildIndexResult, CLAIM_TRANSFORMS, CLAIM_VALUE_TYPES, CONFIG_EXTENSIONS, CONTEXT_PACK_VERSION, CORPUS_PROJECTION_VERSION, type ChangeDigestView, type CheckParityOptions, type CheckStudyExpectationsOptions, type ClaimEvidence, type ClaimTransform, type ClaimValueType, type CompareRetrievalBaselineOptions, type CompileBudgetInput, type CompileBudgetResult, type CompiledTemplate, type Confidence, ConfidenceSchema, type ContextPack, type ControlledCommandRequest, type ControlledStudyObservationLedgerV1, ControlledStudyObservationLedgerV1Schema, type ControlledStudyObservationV1, ControlledStudyObservationV1Schema, type ControlledStudyRunOptions, type ControlledStudyRunPlanV1, ControlledStudyRunPlanV1Schema, type ControlledStudyRunSummary, type ControlledStudyVerifiedResultV1, ControlledStudyVerifiedResultV1Schema, type CorrelationContextV1, CorrelationContextV1Schema, CoverageSchema, type CreateRetrievalBaselineOptions, type CuratedDocument, DEFAULT_AREA_DEPTH, DEFAULT_AREA_ROOTS, DEFAULT_COMMUNITY_SEED, DEFAULT_LARGE_REPORT_THRESHOLD_BYTES, DEFAULT_PACK_BYTES, DEFAULT_PROXIMITY_DEPTH, DEFAULT_REGISTRY_AGENT_ID, DEFAULT_SAFETY_EXCLUDES, DEFAULT_SEARCH_PARAMS, DEFAULT_SEARCH_WEIGHTS, DOCUMENTATION_AUDIT_SCHEMA_VERSION, DOCUMENTATION_EDGE_KINDS, DOCUMENTATION_STANDARD_V1_ID, DOCUMENTATION_STANDARD_V1_STATUS, DOCUMENT_BODY_LIMIT, DOCUMENT_EXTENSIONS, DOC_BRIDGE_PATTERN_ID, DOC_BRIDGE_PATTERN_META, type DecideEnrichmentOptions, type DecideEnrichmentResult, type DeriveAreasOptions, type DerivedArea, type DiagnosticSeverity, DiagnosticSeveritySchema, type DiscoveryOptions, type DiscoverySnapshotV1, DiscoverySnapshotV1Schema, DocBridgeConfigV1, type DocBridgeIndexV1, DocBridgeIndexV1JsonSchema, DocBridgeIndexV1Schema, DocBridgeJsonSchemas, type DocBridgeRetrievedChunk, type DocBridgeRetriever, type DocBridgeRetrieverOptions, type DoctorBadgeMetrics, type DoctorCoverage, type DoctorIssue, type DoctorReport, type DocumentationAnalysisResult, DocumentationAuditConfig, type DocumentationAuditDocument, DocumentationAuditDocumentSchema, type DocumentationAuditFinding, DocumentationAuditFindingSchema, type DocumentationAuditOptions, type DocumentationAuditReportV1, DocumentationAuditReportV1Schema, type DocumentationConformanceReportV1, type DocumentationDeclarationInput, type DocumentationDeclarationOptions, type DocumentationDeclarationResult, type DocumentationDiagnostic, type DocumentationStandardEvidence, type DocumentationStandardRemediation, DocumentationStandardRuleId, type DocumentationStandardRuleLevel, type DocumentationStandardRuleResult, type DocumentationStandardRuleStatus, EMPTY_OVERLAY_HASH, ENRICHMENT_APPROVAL_GATE, ENRICHMENT_DIR, ENRICHMENT_KINDS, ENRICHMENT_OVERLAY_FILE, ENRICHMENT_POLICY, ENRICHMENT_REJECTION_REASONS, ENRICHMENT_SCHEMA_VERSION, EVAL_FORMAT_VERSION, type EcosystemLlmsProduct, type EffectiveOverlay, type EnrichmentAdjudicationV1, EnrichmentAdjudicationV1Schema, type EnrichmentAgent, type EnrichmentCache, type EnrichmentCacheKeyInput, type EnrichmentKind, type EnrichmentOrigin, EnrichmentOriginSchema, type EnrichmentOverlayV1, EnrichmentOverlayV1Schema, type EnrichmentPartition, type EnrichmentPayloads, type EnrichmentPolicy, type EnrichmentProposalOf, type EnrichmentProposalV1, EnrichmentProposalV1Schema, type EnrichmentRejectionReason, type EnrichmentReview, type EnrichmentRole, type EnrichmentRunOptions, type EnrichmentRunResult, type EnrichmentStability, type EnrichmentStats, type EnrichmentTask, type EnrichmentValidationContext, type EnrichmentVerdict, EntitySchema, type Evidence, EvidenceSchema$1 as EvidenceSchema, EvidenceSourceSchema, FILE_BACKED_KINDS, FIX_APPROVAL_GATE, FUZZY_RESOLUTION_THRESHOLD, type FederatedRetrieverOptions, type FetchText, type Finding, type FindingStatus, FindingStatusSchema, type FixApplyOptions, type FixChange, FixChangeSchema, type FixProposalOptions, FixProposalStatusSchema, type FixProposalV1, FixProposalV1Schema, type FormatEcosystemLlmsBlockOptions, type FuzzyMatch, GENERATED_REGION_CLOSE, GRAPH_ANALYZER_VERSION, type GateId, type GateResult, type GateRunResult, type GeneratedRegionMismatch, type GeneratedRegionRef, type GithubPrOptions, type GithubPrResult, type GraphEdge, type GraphMemory, type GraphNode, type GraphQuery, type GraphSignal, HANDOFF_SCHEMA_VERSION, type HandoffBridge, HandoffBridgeSchema, type HandoffOptions, type HandoffTarget, type HandoffTargetType, HandoffTargetTypeSchema, type HistoricalEvidenceRecordV1, HistoricalEvidenceRecordV1Schema, type HistoricalEvidenceRegistryV1, HistoricalEvidenceRegistryV1Schema, type HumanDocMap, type HumanDocRecord, IMPORT_EDGE_KINDS, INDEX_SCHEMA_VERSION, INTENT_MAX, INVENTED_RELATION_REASONS, type ImportCycle, type IndependentStudyAdjudicationOptions, IndexNotFoundError, IndexStaleError, KNOWLEDGE_CONTENT_HASH_ALGO, KNOWLEDGE_SCHEMA_VERSION, KNOWLEDGE_TOOLS_SCHEMA_VERSION, type KnowledgeArtifactV1, type KnowledgeDiagnostic, type KnowledgeDocumentRef, type KnowledgeEntity, type KnowledgeEntry, KnowledgeEntrySchema, type KnowledgeEvidence, type KnowledgeLookupEntity, type KnowledgeLookupOptions, type KnowledgeLookupRequest, type KnowledgeLookupResponse, type KnowledgeNeighbour, type KnowledgeOverlay, type KnowledgeRelation, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LlmsTxtEntry, type LlmsTxtVariables, MARKDOWN_ANALYZER_VERSION, MARKDOWN_RELATION_CAP, MAX_LOOKUP_DEPTH, MAX_PACK_NEIGHBOURS, MAX_REPORTED_CYCLES, MCP_TOOLS, MEMORY_CANDIDATE_SCHEMA_VERSION, type MarkdownAnalysis, type MarkdownDocumentV1, type MarkdownFrontmatter, type MarkdownGeneratedRegion, type MarkdownHeading, type MarkdownNote, type MarkdownReference, type MarkdownResolution, type McpInstallResult, type McpInstallTarget, type MeasureOverlayRetrievalDeltaOptions, type MemoryCandidateV1, MemoryCandidateV1JsonSchema, MemoryCandidateV1Schema, type MemoryClassification, type MemoryPromotionDraft, type MemoryRoute, OVERLAY_BLOCKING_METRIC, OVERLAY_DELTA_METRICS, type OfflineReportArtifact, type OfflineReportInput, type OfflineReportOptions, type OverlayMetricDelta, type OverlayRetrievalDelta, type OverlayReviewInput, type OverlayReviewView, type OwnershipPageView, PACKAGE_VERSION, PARITY_CODES, PARITY_EXCERPT_LIMIT, PROJECTED_ENTRY_TYPES, PROPOSABLE_RELATION_KINDS, PROXIMITY_EDGE_KINDS, PUBLIC_CLAIMS_CONTENT_HASH_ALGO, PUBLIC_CLAIMS_SCHEMA_VERSION, PUBLIC_PARITY_SCHEMA_VERSION, type ParityCode, type ParityFinding, type ParseIssue, type ParseResult, PeerMissingError, type PendingEnrichment, PendingEnrichmentSchema, type PriorFile, type PriorSnapshot, ProjectIdentitySchema, type ProjectRetrievalOptions, ProposalOriginSchema, type Provenance, ProvenanceSchema, type ProviderToolTelemetry, type ProximityOptions, type PublicClaim, type PublicClaimException, type PublicClaimsV1, PublicClaimsV1Schema, type PublicParityReportV1, PublicParityReportV1Schema, type QualityScorecard, type QualityScorecardInput, type QueryKind, type QueryRequest, type QueryResult, REGISTRY_AGENT_PROTOCOL_V2, RELEVANCE_FLOOR, RENDER_TEMPLATES, RENDER_TEMPLATE_NAMES, RETRIEVAL_BENCH_SCHEMA_VERSION, RETRIEVAL_INDEX_SCHEMA_VERSION, RETRIEVAL_PROJECTION_VERSION, ROLE_TARGET_KINDS, ROLE_TASK, RUBRIC_MECHANICAL_CHECKS, type RankExplanation, type RankOptions, type RankedEntry, type ReconciliationReportV1, ReconciliationReportV1Schema, type RegistryAgentAdapter, type RegistryAgentContext, type RegistryAgentMetadata, type RegistryAgentRunner, type RegistryEnrichmentContext, type RejectedEnrichment, RejectedEnrichmentSchema, RelationSchema, type RenderArtifactOptions, type RenderArtifactResult, type RenderTemplateInfo, type RenderTemplateName, type RenderedPage, type ReportableDiagnostic, type RepositoryInputs, RepositoryInputsSchema, type RepositoryInputsV1, type ResolveContext, type ResolvedClaim, type ResolvedRole, type RetrievalBaselineV1, RetrievalBaselineV1Schema, type RetrievalBenchResultV1, RetrievalBenchResultV1Schema, type RetrievalCaseOutcome, type RetrievalComparison, type RetrievalComparisonStatus, type RetrievalEdge, type RetrievalEntry, RetrievalEntrySchema, type RetrievalFields, type RetrievalGraph, type RetrievalIndexV1, RetrievalIndexV1Schema, type RetrievalKind, RetrievalKindSchema, type RetrievalMetadata, RetrievalMetadataSchema, type RetrievalMetricDelta, type RetrievalMetrics, type RetrievalOverlayInput, type RetrievalRoutes, type RetrievalSuite, type RetrievalSuiteCase, RetrievalSuiteCaseSchema, RetrievalSuiteSchema, type RetrievedDocument, type Retriever, type RetrieverRequest, type ReuseLedger, type RubricItem, type RubricMechanicalCheck, type RuleEngineOptions, type RuleEvaluationResult, type RuleFinding, RuleId, type RuleMode, RuleSeverity, RulesConfig, type RunRetrievalBenchOptions, SEARCH_LEXICON_VERSION, SEARCH_STOPWORDS, SEVERITY_ORDER, SOURCE_EXTENSIONS, STUDY_ADJUDICATION_METHOD, STUDY_EXPECTATIONS_SCHEMA_VERSION, STUDY_METRICS_SCHEMA_VERSION, STUDY_PROTOCOL_CONTENT_HASH_ALGO, STUDY_PROTOCOL_SCHEMA_VERSION, STUDY_PROVIDER_CLI_CONTENT_HASH_ALGO, STUDY_PROVIDER_CLI_SCHEMA_VERSION, STUDY_REPOSITORY_CONFIG_CONTENT_HASH_ALGO, STUDY_REPOSITORY_CONFIG_SCHEMA_VERSION, STUDY_RUNNER_CONTENT_HASH_ALGO, STUDY_RUNNER_SCHEMA_VERSION, STUDY_TASK_SUITE_CONTENT_HASH_ALGO, STUDY_TASK_SUITE_SCHEMA_VERSION, STUDY_VERIFICATION_CONTENT_HASH_ALGO, STUDY_VERIFICATION_SCHEMA_VERSION, SUMMARY_MAX, type SafeWalkOptions, type SafeWalkResult, type SafetyFinding, type ScoreComponents, type ScorecardCriterion, type ScorecardDimension, type ScorecardStatus, type SearchMatch, type SearchOptions, type SearchTokenizeOptions, type Severity, type SnapshotForDigest, type StudyAdjudicatorCli, type StudyExpectationCheck, type StudyExpectationOutcome, type StudyExpectationsV1, StudyExpectationsV1Schema, type StudyMetricComparisonV1, type StudyMetricGroupV1, type StudyMetricSetV1, type StudyMetricsReportV1, StudyMetricsReportV1Schema, type StudyPrivacyScan, type StudyProtocolV1, StudyProtocolV1Schema, type StudyProviderCli, type StudyProviderCliConfigV1, StudyProviderCliConfigV1Schema, type StudyProviderCostPricing, type StudyRepositoryConfigV1, StudyRepositoryConfigV1Schema, type StudyRetrievalSuite, type StudyTaskSuiteV1, StudyTaskSuiteV1Schema, type StudyTaskV1, type StudyVerificationBindingV1, StudyVerificationBindingV1Schema, TOKEN_METHOD, type TaskEvaluation, type TaskEvaluationInput, type TaskExecution, type TaskExecutionV1, type TaskOutcomeStatus, TemplateError, type TemplateSource, type TemplateVariables, type UnresolvedExpectation, type ValidateStudyTaskSuiteOptions, WORKFLOW_STAGES, type WatchIndexOptions, type WorkflowExecutionResult, type WorkflowOptions, type WorkflowRunV1, WorkflowRunV1Schema, type WorkflowStage, type WorkflowStageContext, type WorkflowStageHandler, type WorkflowState, WorkflowStateSchema, WorkflowStepSchema, WorkflowTransitionSchema, adjudicateControlledStudyObservation, adjudicatedLedgerInputHash, adjudicatorRubric, analyzeMarkdownDocument, applyBudget, applyDocumentationDeclarations, applyEnrichmentAdjudication, applyFixProposal, applyGeneratedRegions, approvalsDir, approveFixProposal, approximateCounter, areaPagesView, areaSuggestionCoverage, areaSuggestions, assertObservedSurvive, assistedArmReadiness, auditDocumentation, batchContextPacks, benchmarkFixture, bm25Idf, bm25Search, budgetedHandoff, buildBm25Index, buildContextPacks, buildDocBridgeIndex, buildKnowledgeGraph, buildLookup, cacheHitRate, calculateStudyCostUsd, calculateStudyMetrics, canonicalJsonV1, canonicality, centrality, changeDigestView, checkPublicParity, checkStudyExpectations, chunksFromMarkdown, claimPattern, claimSurfaces, classifyMemoryCandidates, collectPackages, compareBenchmarkSnapshots, compareRetrievalBaseline, compileBudget, compileTemplate, containedPath, contentHashForArtifactV1, contextPackHash, conventionalAreaPath, createAnalyzerRegistry, createApprovalGateMirror, createArtifactNormalizationProposal, createControlledStudyLedger, createControlledStudyObservation, createControlledStudyRunPlan, createControlledStudyVerifiedResult, createDocBridgeGraphMemory, createDocBridgeRag, createDocBridgeRetriever, createEnrichmentCache, createFileApprovalStore, createHistoricalEvidenceRegistry, createMarkdownLinkFixProposal, createMemoryEnrichmentCache, createPublicClaims, createRegistryAgentAdapter, createRetrievalBaseline, createStudyExpectations, createStudyProtocol, createStudyProviderCliConfig, createStudyRepositoryConfig, createStudyTaskSuite, createStudyVerificationBinding, decideEnrichment, declaredAudience, declaredExportsOf, defaultPromotionDraftPath, deriveAreas, discoverNxProjects, discoverRepository, docBridgePatternMarkdown, docBridgePatternPayload, doctorBadgeMetrics, documentClassification, draftMemoryPromotion, effectiveEnrichment, enrichmentAdjudicationId, enrichmentApprovalId, enrichmentCacheKey, enrichmentCost, enrichmentFindings, enrichmentOverlayContentHash, enrichmentOverlayHash, enrichmentOverlayPath, enrichmentProposalId, enrichmentProposalKey, enrichmentStability, entityContentHash, entityId, evaluateQualityScorecard, evaluateRules, evaluateStudyTask, exceptionFor, expandSearchToken, exportedNames, exportsOf, fileContentHash, findingFromDiagnostic, findingsFromDiagnostics, fitContextPack, fixApprovalId, foldAccents, formatBenchmarkText, formatControlledStudyRunPlanText, formatControlledStudyRunText, formatDoctorBadgeJson, formatDoctorBadgeMarkdown, formatDoctorText, formatDocumentationAuditText, formatDocumentationStandardText, formatEcosystemLlmsBlock, formatEcosystemLlmsSection, formatEnrichmentStatsText, formatEnrichmentText, formatHistoricalEvidenceText, formatKnowledgeLookupText, formatKnowledgeSearchText, formatOverlayRetrievalDeltaText, formatPublicParityText, formatRetrievalBenchText, formatRetrievalComparisonText, formatRetrievedDocuments, formatStudyExpectationsText, formatStudyMetricsText, formatStudyProtocolText, formatStudyProviderCliText, formatStudyTaskSuiteText, formatStudyVerificationText, fuzzyMatchList, generatedRegionHash, generatedRegionOpen, handleMcpRequest, handoffForEntity, hasRetrievalExpectations, hasSearchToken, importCycles, independentlyAdjudicateStudyLedger, independentlyAdjudicateStudyObservation, indexConfigurationHash, indexFilePath, indexPriorSnapshot, ingestAgentMemory, ingestCursorRules, ingestMemoryCandidates, installMcpConfig, inventedReferenceCount, isEnrichmentKind, isProjectedEntry, isRenderTemplateName, isSearchStopword, jaro, jaroWinkler, knowledgeLookup, knowledgeSearch, layer1InstallHint, listApprovals, listEnrichment, llmsTxtVariables, loadApprovalGate, loadDocBridgeIndex, loadFederatedChunks, loadFreshDocBridgeIndex, loadRegistryAgentMetadata, loadRegistryAgentRunner, loadWorkflowManifest, loadWorkflowStepOutput, markdownContentHash, matchesRetrievalExpectation, mcpSnippet, measureAgentEfficiency, measureAgentTaskEfficiency, measureBenchmark, measureOverlayRetrievalDelta, measureProviderToolTelemetry, mechanicalRubricItems, modelRubricItems, moduleUniverseFingerprint, normalizeAgentHandoff, overlayProposalIds, overlayReviewView, ownershipPagesView, packByteBudget, pageFileName, parseAgentHandoff, parseAgentProposal, parseAgentSearch, parseControlledStudyLedger, parseControlledStudyObservation, parseControlledStudyRunPlan, parseControlledStudyVerifiedResult, parseDiscoverySnapshot, parseDocBridgeConfig, parseDocBridgeIndex, parseDocumentationDeclarations, parseEnrichmentOverlay, parseFixProposal, parseHistoricalEvidenceRegistry, parseLlmsTxtLinks, parseMarkdownDocument, parseMemoryCandidate, parsePublicClaims, parsePublicParityReport, parseReconciliationReport, parseRetrievalBaseline, parseRetrievalBenchResult, parseRetrievalSuite, parseRuleId, parseRuleSeverity, parseStudyExpectations, parseStudyMetrics, parseStudyProtocol, parseStudyProviderCliConfig, parseStudyRepositoryConfig, parseStudyTaskSuite, parseStudyVerificationBinding, parseWorkflowRun, partitionEnrichmentProposals, persistControlledStudyLedger, persistIndependentlyAdjudicatedLedger, persistRegistryAgentProposal, projectEnrichmentOverlay, projectRetrievalIndex, promoteMemoryToGithubPr, providerForStudyExecution, proximity, rankRetrieval, rankedOutput, readEnrichmentOverlay, reconcileKnowledge, recordApproval, redactSecrets, redactValue, relationConfidence, relationId, renderArtifact, renderClaim, renderCompiledTemplate, renderNamedTemplate, renderOfflineReport, renderOfflineReportArtifact, renderTemplate, renderTemplateWithKnap, replayableRelations, repositoryInputs, resolutionFingerprint, resolveClaim, resolveEnrichmentRoles, resolveFuzzyReference, resolveGateIds, resolveHandoffEntry, resolveLookupEntry, resolveRoot, resolveSearchParams, resolveSearchWeights, resolveTemplateSource, respondMcpRequest, retrieveDocBridgeChunks, retrieveDocBridgeDocuments, retrieveHybridChunks, reuseCoverage, revalidateEnrichmentOverlay, rubricItemCheck, rubricItemText, runChatOnce, runControlledCommand, runControlledStudy, runDoctor, runDocumentationStandardV1, runEnrichment, runGate, runGates, runQuery, runRetrievalBench, runWorkflow, safeParseAgentHandoff, safeWalkFiles, safeWalkOptions, scanHumanDocRecords, scanHumanDocs, scanMemorySafety, scanStudyPublicationArtifact, sealEnrichmentOverlay, searchIndex, searchTokens, seededRandom, selectTaskExecutions, sha256NormalizedV1, singularizeSearchToken, startInkChat, startMcpStdioServer, studyRetrievalSuite, taskRetrievalQueries, templateFor, toKnowledgeEntry, tokenizeSearchText, unobservedOwnershipPaths, upsertControlledStudyObservation, validateEnrichmentAdjudication, validateEnrichmentProposal, validateHistoricalEvidenceRegistry, validateStudyProviderCommand, validateStudyTaskSuite, verifyGeneratedRegions, watchDocBridgeIndex, weakerConfidence, withAcceptedRelations, wrapGeneratedRegion, writeEnrichmentOverlay, writePromotionDraft, writeRenderedPages };
11439
+ export { ACCEPTED_SIGNALS_SHARE, ACCEPTED_SIGNALS_WEIGHT, ALIAS_COLLISION_THRESHOLD, ALIAS_MAX, ANALYZER_PLUGIN_CONTRACT_VERSION, APPROVALS_DIR, AREA_ANALYZER_VERSION, ASSISTED_SCENARIO, type AcceptedEnrichment, AcceptedEnrichmentSchema, AffectedFileSchema, type AgentEfficiencyObservation, AgentHandoffLegacySchema, type AgentHandoffV1, AgentHandoffV1JsonSchema, AgentHandoffV1Schema, type AgentProposalV1, AgentProposalV1Schema, type AgentQueryMode, AgentQueryModeSchema, type AgentSearchV1, AgentSearchV1Schema, type AgentTaskEfficiencyObservation, type AnalyzerPlugin, type AnalyzerPluginInput, type AnalyzerPluginManifest, AnalyzerPluginManifestSchema, type AnalyzerPluginOutput, AnalyzerPluginOutputSchema, type AnalyzerRegistry, type Approval, type ApprovalDecision, type ApprovalGate, type ApprovalStore, type AreaModule, type AreaOwnership, type AreaPageView, type AreaSuggestion, type AssistedArmStatus, type Audience, AudienceSchema, BENCHMARK_SCHEMA_VERSION, BM25_VERSION, BUDGET_SECTION_ORDER, BUNDLED_TEMPLATES, type BenchmarkFixtureV1, BenchmarkFixtureV1Schema, type BenchmarkObservation, type BenchmarkResult, type BenchmarkSetMetrics, type BenchmarkSnapshot, type BenchmarkSnapshotDiff, type Bm25FieldWeights, type Bm25Hit, type Bm25Index, type Bm25Input, type Bm25Params, type BudgetMessage, type BudgetReport, BudgetReportSchema, type BudgetSection, BudgetSectionSchema, type BudgetTokenCounter, type BudgetedSection, type BuildContextPacksOptions, type BuildGraphOptions, type BuildIndexOptions, type BuildIndexResult, CLAIM_TRANSFORMS, CLAIM_VALUE_TYPES, CONFIG_EXTENSIONS, CONTEXT_PACK_VERSION, CORPUS_PROJECTION_VERSION, type ChangeDigestView, type CheckParityOptions, type CheckStudyExpectationsOptions, type ClaimEvidence, type ClaimTransform, type ClaimValueType, type CompareRetrievalBaselineOptions, type CompileBudgetInput, type CompileBudgetResult, type CompiledTemplate, type Confidence, ConfidenceSchema, type ContextPack, type ControlledCommandRequest, type ControlledStudyObservationLedgerV1, ControlledStudyObservationLedgerV1Schema, type ControlledStudyObservationV1, ControlledStudyObservationV1Schema, type ControlledStudyRunOptions, type ControlledStudyRunPlanV1, ControlledStudyRunPlanV1Schema, type ControlledStudyRunSummary, type ControlledStudyVerifiedResultV1, ControlledStudyVerifiedResultV1Schema, type CorrelationContextV1, CorrelationContextV1Schema, CoverageSchema, type CreateRetrievalBaselineOptions, type CuratedDocument, DEFAULT_AREA_DEPTH, DEFAULT_AREA_ROOTS, DEFAULT_COMMUNITY_SEED, DEFAULT_LARGE_REPORT_THRESHOLD_BYTES, DEFAULT_PACK_BYTES, DEFAULT_PROXIMITY_DEPTH, DEFAULT_REGISTRY_AGENT_ID, DEFAULT_SAFETY_EXCLUDES, DEFAULT_SEARCH_PARAMS, DEFAULT_SEARCH_WEIGHTS, DOCUMENTATION_AUDIT_SCHEMA_VERSION, DOCUMENTATION_EDGE_KINDS, DOCUMENTATION_STANDARD_V1_ID, DOCUMENTATION_STANDARD_V1_STATUS, DOCUMENT_BODY_LIMIT, DOCUMENT_EXTENSIONS, DOC_BRIDGE_PATTERN_ID, DOC_BRIDGE_PATTERN_META, type DecideEnrichmentOptions, type DecideEnrichmentResult, type DeriveAreasOptions, type DerivedArea, type DiagnosticSeverity, DiagnosticSeveritySchema, type DiscoveryOptions, type DiscoverySnapshotV1, DiscoverySnapshotV1Schema, DocBridgeConfigV1, type DocBridgeIndexV1, DocBridgeIndexV1JsonSchema, DocBridgeIndexV1Schema, DocBridgeJsonSchemas, type DocBridgeRetrievedChunk, type DocBridgeRetriever, type DocBridgeRetrieverOptions, type DoctorBadgeMetrics, type DoctorCoverage, type DoctorIssue, type DoctorReport, type DocumentationAnalysisResult, DocumentationAuditConfig, type DocumentationAuditDocument, DocumentationAuditDocumentSchema, type DocumentationAuditFinding, DocumentationAuditFindingSchema, type DocumentationAuditOptions, type DocumentationAuditReportV1, DocumentationAuditReportV1Schema, type DocumentationConformanceReportV1, type DocumentationDeclarationInput, type DocumentationDeclarationOptions, type DocumentationDeclarationResult, type DocumentationDiagnostic, type DocumentationStandardEvidence, type DocumentationStandardRemediation, DocumentationStandardRuleId, type DocumentationStandardRuleLevel, type DocumentationStandardRuleResult, type DocumentationStandardRuleStatus, EMPTY_OVERLAY_HASH, ENRICHMENT_APPROVAL_GATE, ENRICHMENT_DIR, ENRICHMENT_KINDS, ENRICHMENT_OVERLAY_FILE, ENRICHMENT_POLICY, ENRICHMENT_REJECTION_REASONS, ENRICHMENT_SCHEMA_VERSION, EVAL_FORMAT_VERSION, type EcosystemLlmsProduct, type EffectiveOverlay, type EnrichmentAdjudicationV1, EnrichmentAdjudicationV1Schema, type EnrichmentAgent, type EnrichmentCache, type EnrichmentCacheKeyInput, type EnrichmentKind, type EnrichmentOrigin, EnrichmentOriginSchema, type EnrichmentOverlayV1, EnrichmentOverlayV1Schema, type EnrichmentPartition, type EnrichmentPayloads, type EnrichmentPolicy, type EnrichmentProposalOf, type EnrichmentProposalV1, EnrichmentProposalV1Schema, type EnrichmentRejectionReason, type EnrichmentReview, type EnrichmentRole, type EnrichmentRunOptions, type EnrichmentRunResult, type EnrichmentStability, type EnrichmentStats, type EnrichmentTask, type EnrichmentValidationContext, type EnrichmentVerdict, EntitySchema, type Evidence, EvidenceSchema$1 as EvidenceSchema, EvidenceSourceSchema, FILE_BACKED_KINDS, FIX_APPROVAL_GATE, FUZZY_RESOLUTION_THRESHOLD, type FederatedRetrieverOptions, type FetchText, type Finding, type FindingStatus, FindingStatusSchema, type FixApplyOptions, type FixChange, FixChangeSchema, type FixProposalOptions, FixProposalStatusSchema, type FixProposalV1, FixProposalV1Schema, type FormatEcosystemLlmsBlockOptions, type FuzzyMatch, GENERATED_REGION_CLOSE, GRAPH_ANALYZER_VERSION, type GateId, type GateResult, type GateRunResult, type GeneratedRegionMismatch, type GeneratedRegionRef, type GithubPrOptions, type GithubPrResult, type GraphEdge, type GraphMemory, type GraphNode, type GraphQuery, type GraphSignal, HANDOFF_SCHEMA_VERSION, type HandoffBridge, HandoffBridgeSchema, type HandoffOptions, type HandoffTarget, type HandoffTargetType, HandoffTargetTypeSchema, type HistoricalEvidenceRecordV1, HistoricalEvidenceRecordV1Schema, type HistoricalEvidenceRegistryV1, HistoricalEvidenceRegistryV1Schema, type HumanDocMap, type HumanDocRecord, IMPORT_EDGE_KINDS, INDEX_SCHEMA_VERSION, INTENT_MAX, INVENTED_RELATION_REASONS, type ImportCycle, type IndependentStudyAdjudicationOptions, IndexNotFoundError, IndexStaleError, KNOWLEDGE_CONTENT_HASH_ALGO, KNOWLEDGE_SCHEMA_VERSION, KNOWLEDGE_TOOLS_SCHEMA_VERSION, type KnowledgeArtifactV1, type KnowledgeDiagnostic, type KnowledgeDocumentRef, type KnowledgeEntity, type KnowledgeEntry, KnowledgeEntrySchema, type KnowledgeEvidence, type KnowledgeLookupEntity, type KnowledgeLookupOptions, type KnowledgeLookupRequest, type KnowledgeLookupResponse, type KnowledgeNeighbour, type KnowledgeOverlay, type KnowledgeRelation, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LlmsTxtEntry, type LlmsTxtVariables, MARKDOWN_ANALYZER_VERSION, MARKDOWN_RELATION_CAP, MAX_LOOKUP_DEPTH, MAX_PACK_NEIGHBOURS, MAX_REPORTED_CYCLES, MCP_TOOLS, MEMORY_CANDIDATE_SCHEMA_VERSION, type MarkdownAnalysis, type MarkdownDocumentV1, type MarkdownFrontmatter, type MarkdownGeneratedRegion, type MarkdownHeading, type MarkdownNote, type MarkdownReference, type MarkdownResolution, type McpInstallResult, type McpInstallTarget, type MeasureOverlayRetrievalDeltaOptions, type MemoryCandidateV1, MemoryCandidateV1JsonSchema, MemoryCandidateV1Schema, type MemoryClassification, type MemoryPromotionDraft, type MemoryRoute, OVERLAY_BLOCKING_METRIC, OVERLAY_DELTA_METRICS, type OfflineReportArtifact, type OfflineReportInput, type OfflineReportOptions, type OverlayMetricDelta, type OverlayRetrievalDelta, type OverlayReviewInput, type OverlayReviewView, type OwnershipPageView, PACKAGE_VERSION, PARITY_CODES, PARITY_EXCERPT_LIMIT, PROJECTED_ENTRY_TYPES, PROPOSABLE_RELATION_KINDS, PROXIMITY_EDGE_KINDS, PUBLIC_CLAIMS_CONTENT_HASH_ALGO, PUBLIC_CLAIMS_SCHEMA_VERSION, PUBLIC_PARITY_SCHEMA_VERSION, type ParityCode, type ParityFinding, type ParseIssue, type ParseResult, PeerMissingError, type PendingEnrichment, PendingEnrichmentSchema, type PriorFile, type PriorSnapshot, ProjectIdentitySchema, type ProjectRetrievalOptions, ProposalOriginSchema, type Provenance, ProvenanceSchema, type ProviderToolTelemetry, type ProximityOptions, type PublicClaim, type PublicClaimException, type PublicClaimsV1, PublicClaimsV1Schema, type PublicParityReportV1, PublicParityReportV1Schema, type QualityScorecard, type QualityScorecardInput, type QueryKind, type QueryRequest, type QueryResult, REGISTRY_AGENT_PROTOCOL_V2, RELEVANCE_FLOOR, RENDER_TEMPLATES, RENDER_TEMPLATE_NAMES, RETRIEVAL_BENCH_SCHEMA_VERSION, RETRIEVAL_INDEX_SCHEMA_VERSION, RETRIEVAL_PROJECTION_VERSION, ROLE_TARGET_KINDS, ROLE_TASK, RUBRIC_MECHANICAL_CHECKS, type RankExplanation, type RankOptions, type RankedEntry, type ReconciliationReportV1, ReconciliationReportV1Schema, type RegistryAgentAdapter, type RegistryAgentContext, type RegistryAgentMetadata, type RegistryAgentRunner, type RegistryEnrichmentContext, type RejectedEnrichment, RejectedEnrichmentSchema, RelationSchema, type RenderArtifactOptions, type RenderArtifactResult, type RenderTemplateInfo, type RenderTemplateName, type RenderedPage, type ReportableDiagnostic, type RepositoryInputs, RepositoryInputsSchema, type RepositoryInputsV1, type ResolveContext, type ResolvedClaim, type ResolvedRole, type RetrievalBaselineV1, RetrievalBaselineV1Schema, type RetrievalBenchResultV1, RetrievalBenchResultV1Schema, type RetrievalCaseOutcome, type RetrievalComparison, type RetrievalComparisonStatus, type RetrievalEdge, type RetrievalEntry, RetrievalEntrySchema, type RetrievalFields, type RetrievalGraph, type RetrievalIndexV1, RetrievalIndexV1Schema, type RetrievalKind, RetrievalKindSchema, type RetrievalMetadata, RetrievalMetadataSchema, type RetrievalMetricDelta, type RetrievalMetrics, type RetrievalOverlayInput, type RetrievalRoutes, type RetrievalSuite, type RetrievalSuiteCase, RetrievalSuiteCaseSchema, RetrievalSuiteSchema, type RetrievedDocument, type Retriever, type RetrieverRequest, type ReuseLedger, type RubricItem, type RubricMechanicalCheck, type RuleEngineOptions, type RuleEvaluationResult, type RuleFinding, RuleId, type RuleMode, RuleSeverity, RulesConfig, type RunRetrievalBenchOptions, SEARCH_LEXICON_VERSION, SEARCH_STOPWORDS, SEVERITY_ORDER, SOURCE_EXTENSIONS, STUDY_ADJUDICATION_METHOD, STUDY_EXPECTATIONS_SCHEMA_VERSION, STUDY_METRICS_SCHEMA_VERSION, STUDY_PROTOCOL_CONTENT_HASH_ALGO, STUDY_PROTOCOL_SCHEMA_VERSION, STUDY_PROVIDER_CLI_CONTENT_HASH_ALGO, STUDY_PROVIDER_CLI_SCHEMA_VERSION, STUDY_REPOSITORY_CONFIG_CONTENT_HASH_ALGO, STUDY_REPOSITORY_CONFIG_SCHEMA_VERSION, STUDY_RUNNER_CONTENT_HASH_ALGO, STUDY_RUNNER_SCHEMA_VERSION, STUDY_TASK_SUITE_CONTENT_HASH_ALGO, STUDY_TASK_SUITE_SCHEMA_VERSION, STUDY_VERIFICATION_CONTENT_HASH_ALGO, STUDY_VERIFICATION_SCHEMA_VERSION, SUMMARY_MAX, type SafeWalkOptions, type SafeWalkResult, type SafetyFinding, type ScoreComponents, type ScorecardCriterion, type ScorecardDimension, type ScorecardStatus, type SearchMatch, type SearchOptions, type SearchTokenizeOptions, type Severity, type SnapshotForDigest, type StudyAdjudicatorCli, type StudyExpectationCheck, type StudyExpectationOutcome, type StudyExpectationsV1, StudyExpectationsV1Schema, type StudyMetricComparisonV1, type StudyMetricGroupV1, type StudyMetricSetV1, type StudyMetricsReportV1, StudyMetricsReportV1Schema, type StudyPrivacyScan, type StudyProtocolV1, StudyProtocolV1Schema, type StudyProviderCli, type StudyProviderCliConfigV1, StudyProviderCliConfigV1Schema, type StudyProviderCostPricing, type StudyRepositoryConfigV1, StudyRepositoryConfigV1Schema, type StudyRetrievalSuite, type StudyTaskSuiteV1, StudyTaskSuiteV1Schema, type StudyTaskV1, type StudyVerificationBindingV1, StudyVerificationBindingV1Schema, TOKEN_METHOD, type TaskEvaluation, type TaskEvaluationInput, type TaskExecution, type TaskExecutionV1, type TaskOutcomeStatus, TemplateError, type TemplateSource, type TemplateVariables, type UnresolvedExpectation, type ValidateStudyTaskSuiteOptions, WORKFLOW_STAGES, type WatchIndexOptions, type WorkflowExecutionResult, type WorkflowOptions, type WorkflowRunV1, WorkflowRunV1Schema, type WorkflowStage, type WorkflowStageContext, type WorkflowStageHandler, type WorkflowState, WorkflowStateSchema, WorkflowStepSchema, WorkflowTransitionSchema, adjudicateControlledStudyObservation, adjudicatedLedgerInputHash, adjudicatorRubric, analyzeMarkdownDocument, applyBudget, applyDocumentationDeclarations, applyEnrichmentAdjudication, applyFixProposal, applyGeneratedRegions, approvalsDir, approveFixProposal, approximateCounter, areaPagesView, areaSuggestionCoverage, areaSuggestions, assertObservedSurvive, assistedArmReadiness, auditDocumentation, batchContextPacks, benchmarkFixture, bm25Idf, bm25Search, budgetedHandoff, buildBm25Index, buildContextPacks, buildDocBridgeIndex, buildKnowledgeGraph, buildLookup, cacheHitRate, calculateStudyCostUsd, calculateStudyMetrics, canonicalJsonV1, canonicality, centrality, changeDigestView, checkPublicParity, checkStudyExpectations, chunksFromMarkdown, claimPattern, claimSurfaces, classifyMemoryCandidates, collectPackages, compareBenchmarkSnapshots, compareRetrievalBaseline, compileBudget, compileTemplate, containedPath, contentHashForArtifactV1, contextPackHash, conventionalAreaPath, createAnalyzerRegistry, createApprovalGateMirror, createArtifactNormalizationProposal, createControlledStudyLedger, createControlledStudyObservation, createControlledStudyRunPlan, createControlledStudyVerifiedResult, createDocBridgeGraphMemory, createDocBridgeRag, createDocBridgeRetriever, createEnrichmentCache, createFileApprovalStore, createHistoricalEvidenceRegistry, createMarkdownLinkFixProposal, createMemoryEnrichmentCache, createPublicClaims, createRegistryAgentAdapter, createRetrievalBaseline, createStudyExpectations, createStudyProtocol, createStudyProviderCliConfig, createStudyRepositoryConfig, createStudyTaskSuite, createStudyVerificationBinding, decideEnrichment, declaredAudience, declaredExportsOf, defaultPromotionDraftPath, deriveAreas, discoverNxProjects, discoverRepository, docBridgePatternMarkdown, docBridgePatternPayload, doctorBadgeMetrics, documentClassification, draftMemoryPromotion, effectiveEnrichment, enrichmentAdjudicationId, enrichmentApprovalId, enrichmentCacheKey, enrichmentCost, enrichmentFindings, enrichmentOverlayContentHash, enrichmentOverlayHash, enrichmentOverlayPath, enrichmentProposalId, enrichmentProposalKey, enrichmentStability, entityContentHash, entityId, evaluateQualityScorecard, evaluateRules, evaluateStudyTask, exceptionFor, expandSearchToken, exportedNames, exportsOf, fileContentHash, findingFromDiagnostic, findingsFromDiagnostics, fitContextPack, fixApprovalId, foldAccents, formatBenchmarkText, formatControlledStudyRunPlanText, formatControlledStudyRunText, formatDoctorBadgeJson, formatDoctorBadgeMarkdown, formatDoctorText, formatDocumentationAuditText, formatDocumentationStandardText, formatEcosystemLlmsBlock, formatEcosystemLlmsSection, formatEnrichmentStatsText, formatEnrichmentText, formatHistoricalEvidenceText, formatKnowledgeLookupText, formatKnowledgeSearchText, formatOverlayRetrievalDeltaText, formatPublicParityText, formatRetrievalBenchText, formatRetrievalComparisonText, formatRetrievedDocuments, formatStudyExpectationsText, formatStudyMetricsText, formatStudyProtocolText, formatStudyProviderCliText, formatStudyTaskSuiteText, formatStudyVerificationText, fuzzyMatchList, generatedRegionHash, generatedRegionOpen, handleMcpRequest, handoffForEntity, hasRetrievalExpectations, hasSearchToken, importCycles, independentlyAdjudicateStudyLedger, independentlyAdjudicateStudyObservation, indexConfigurationHash, indexFilePath, indexPriorSnapshot, ingestAgentMemory, ingestCursorRules, ingestMemoryCandidates, installMcpConfig, inventedReferenceCount, isEnrichmentKind, isProjectedEntry, isRenderTemplateName, isSearchStopword, jaro, jaroWinkler, knowledgeLookup, knowledgeSearch, layer1InstallHint, listApprovals, listEnrichment, llmsTxtVariables, loadApprovalGate, loadDocBridgeIndex, loadFederatedChunks, loadFreshDocBridgeIndex, loadRegistryAgentMetadata, loadRegistryAgentRunner, loadWorkflowManifest, loadWorkflowStepOutput, markdownContentHash, matchesRetrievalExpectation, mcpSnippet, measureAgentEfficiency, measureAgentTaskEfficiency, measureBenchmark, measureOverlayRetrievalDelta, measureProviderToolTelemetry, mechanicalRubricItems, modelRubricItems, moduleUniverseFingerprint, normalizeAgentHandoff, overlayProposalIds, overlayReviewView, ownershipPagesView, packByteBudget, pageFileName, parseAgentHandoff, parseAgentProposal, parseAgentSearch, parseControlledStudyLedger, parseControlledStudyObservation, parseControlledStudyRunPlan, parseControlledStudyVerifiedResult, parseDiscoverySnapshot, parseDocBridgeConfig, parseDocBridgeIndex, parseDocumentationDeclarations, parseEnrichmentOverlay, parseFixProposal, parseHistoricalEvidenceRegistry, parseLlmsTxtLinks, parseMarkdownDocument, parseMemoryCandidate, parsePublicClaims, parsePublicParityReport, parseReconciliationReport, parseRetrievalBaseline, parseRetrievalBenchResult, parseRetrievalSuite, parseRuleId, parseRuleSeverity, parseStudyExpectations, parseStudyMetrics, parseStudyProtocol, parseStudyProviderCliConfig, parseStudyRepositoryConfig, parseStudyTaskSuite, parseStudyVerificationBinding, parseWorkflowRun, partitionEnrichmentProposals, persistControlledStudyLedger, persistIndependentlyAdjudicatedLedger, persistRegistryAgentProposal, projectEnrichmentOverlay, projectRetrievalIndex, promoteMemoryToGithubPr, providerForStudyExecution, proximity, rankRetrieval, rankedOutput, readEnrichmentOverlay, reconcileKnowledge, recordApproval, redactSecrets, redactValue, relationConfidence, relationId, renderArtifact, renderClaim, renderCompiledTemplate, renderNamedTemplate, renderOfflineReport, renderOfflineReportArtifact, renderTemplate, renderTemplateWithKnap, replayableRelations, repositoryInputs, resolutionFingerprint, resolveClaim, resolveEnrichmentRoles, resolveFuzzyReference, resolveGateIds, resolveHandoffEntry, resolveLookupEntry, resolveRoot, resolveSearchParams, resolveSearchWeights, resolveTemplateSource, respondMcpRequest, retrieveDocBridgeChunks, retrieveDocBridgeDocuments, retrieveHybridChunks, reuseCoverage, revalidateEnrichmentOverlay, rubricItemCheck, rubricItemText, runChatOnce, runControlledCommand, runControlledStudy, runDoctor, runDocumentationStandardV1, runEnrichment, runGate, runGates, runQuery, runRetrievalBench, runWorkflow, safeParseAgentHandoff, safeWalkFiles, safeWalkOptions, scanHumanDocRecords, scanHumanDocs, scanMemorySafety, scanStudyPublicationArtifact, sealEnrichmentOverlay, searchIndex, searchTokens, seededRandom, selectTaskExecutions, sha256NormalizedV1, singularizeSearchToken, snapshotObservationHash, startInkChat, startMcpStdioServer, studyRetrievalSuite, taskRetrievalQueries, templateFor, toKnowledgeEntry, tokenizeSearchText, unobservedOwnershipPaths, upsertControlledStudyObservation, validateEnrichmentAdjudication, validateEnrichmentProposal, validateHistoricalEvidenceRegistry, validateStudyProviderCommand, validateStudyTaskSuite, verifyGeneratedRegions, watchDocBridgeIndex, weakerConfidence, withAcceptedRelations, wrapGeneratedRegion, writeEnrichmentOverlay, writePromotionDraft, writeRenderedPages };
package/dist/index.js CHANGED
@@ -1331,8 +1331,13 @@ var RetrievalIndexV1Schema = z5.object({
1331
1331
  schemaVersion: z5.literal(RETRIEVAL_INDEX_SCHEMA_VERSION),
1332
1332
  contentHash: hash2,
1333
1333
  contentHashAlgo: z5.literal("sha256-normalized-v1"),
1334
- /** The three inputs the projection is a function of. Same three hashes, same projection. */
1334
+ /**
1335
+ * Which snapshot this was projected from. Provenance, not a seal input: it carries the
1336
+ * snapshot's `sourceRevision`, and the projection is a function of what the snapshot observed
1337
+ * rather than of the revision it was observed at.
1338
+ */
1335
1339
  snapshotHash: hash2,
1340
+ /** The inputs the projection is a function of. Same hashes, same projection. */
1336
1341
  overlayHash: hash2,
1337
1342
  configurationHash: hash2,
1338
1343
  lexiconVersion: z5.number().int().nonnegative().max(1e3),
@@ -4393,7 +4398,7 @@ var buildLookup = (config, packages, corpus, indexOutFile, humanDocs = {}, root
4393
4398
  };
4394
4399
 
4395
4400
  // src/version.ts
4396
- var PACKAGE_VERSION = "1.10.0";
4401
+ var PACKAGE_VERSION = "1.10.1";
4397
4402
 
4398
4403
  // src/index-builder/capabilities.ts
4399
4404
  var renderCapabilitiesJson = (config, index, paths) => {
@@ -5973,7 +5978,7 @@ var resolveSearchParams = (configured) => ({
5973
5978
  });
5974
5979
 
5975
5980
  // src/retrieval/project.ts
5976
- var RETRIEVAL_PROJECTION_VERSION = 1;
5981
+ var RETRIEVAL_PROJECTION_VERSION = 2;
5977
5982
  var DOCUMENT_BODY_LIMIT = 4e3;
5978
5983
  var MAX_EDGES = 64;
5979
5984
  var MAX_ALIASES = 32;
@@ -5981,6 +5986,12 @@ var MAX_TAGS = 32;
5981
5986
  var MAX_SYMBOLS = 256;
5982
5987
  var MAX_SUMMARY = 400;
5983
5988
  var EMPTY_OVERLAY_HASH = sha256NormalizedV1({ accepted: [] });
5989
+ var snapshotObservationHash = (snapshot) => sha256NormalizedV1({
5990
+ pipelineVersion: snapshot.pipelineVersion,
5991
+ analyzerVersions: snapshot.analyzerVersions,
5992
+ entities: snapshot.entities,
5993
+ relations: snapshot.relations
5994
+ });
5984
5995
  var CONFIDENCE_RANK = { observed: 0, declared: 1, fuzzy: 2, proposed: 3 };
5985
5996
  var weakerConfidence = (a, b) => CONFIDENCE_RANK[a] >= CONFIDENCE_RANK[b] ? a : b;
5986
5997
  var relationConfidence = (relation) => relation.metadata?.confidence === "fuzzy" ? "fuzzy" : relation.provenance;
@@ -6241,7 +6252,7 @@ var projectRetrievalIndex = (options) => {
6241
6252
  };
6242
6253
  const contentHash = sha256NormalizedV1({
6243
6254
  projectionVersion: RETRIEVAL_PROJECTION_VERSION,
6244
- snapshotHash: base.snapshotHash,
6255
+ observationHash: snapshotObservationHash(snapshot),
6245
6256
  overlayHash: base.overlayHash,
6246
6257
  configurationHash: base.configurationHash,
6247
6258
  lexiconVersion: base.lexiconVersion,
@@ -17882,6 +17893,7 @@ export {
17882
17893
  selectTaskExecutions,
17883
17894
  sha256NormalizedV1,
17884
17895
  singularizeSearchToken,
17896
+ snapshotObservationHash,
17885
17897
  startInkChat,
17886
17898
  startMcpStdioServer,
17887
17899
  studyRetrievalSuite,