@agentskit/doc-bridge 1.7.45 → 1.9.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 +465 -0
- package/CONTRIBUTING.md +23 -0
- package/README.md +87 -40
- package/SECURITY.md +7 -0
- package/action.yml +1 -1
- package/bin/ak-docs.js +2 -2
- package/bin/ak-verify.js +13 -7
- package/dist/cli/program.d.ts +3 -1
- package/dist/cli/program.js +15861 -6223
- package/dist/cli/program.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.js +86 -6
- package/dist/config/index.js.map +1 -1
- package/dist/{index-BUL0q7s8.d.ts → index-Beor6Yhi.d.ts} +133 -1
- package/dist/index.d.ts +9871 -1062
- package/dist/index.js +16126 -6125
- package/dist/index.js.map +1 -1
- package/docs/MARKETPLACE.md +1 -1
- package/docs/PRD-documentation-efficiency-study.md +406 -0
- package/docs/PRD-knowledge-retrieval-and-enrichment.md +466 -0
- package/docs/adr/0002-documentation-audit-boundary.md +22 -0
- package/docs/adr/0003-study-protocol-and-historical-evidence.md +40 -0
- package/docs/adr/0004-controlled-study-runner.md +25 -0
- package/docs/adr/0005-documentation-quality-and-criticality.md +20 -0
- package/docs/adr/0006-registry-semantic-grounding.md +20 -0
- package/docs/adr/0007-longitudinal-study-metrics.md +21 -0
- package/docs/adr/0008-study-verification-boundary.md +21 -0
- package/docs/adr/0009-study-provider-cli-adapter.md +25 -0
- package/docs/agent-corpus/INDEX.md +12 -1
- package/docs/agent-corpus/OVERVIEW.md +25 -0
- package/docs/agent-corpus/chat.md +5 -1
- package/docs/agent-corpus/cli.md +16 -0
- package/docs/agent-corpus/conformance.md +12 -0
- package/docs/agent-corpus/doc-bridge.md +47 -0
- package/docs/agent-corpus/doctor.md +8 -0
- package/docs/agent-corpus/gates.md +4 -0
- package/docs/agent-corpus/mcp.md +13 -0
- package/docs/agent-corpus/memory.md +4 -0
- package/docs/agent-corpus/query.md +33 -0
- package/docs/bench/README.md +122 -0
- package/docs/bench/retrieval-baseline-v1.json +28 -0
- package/docs/bench/retrieval-suite-v1.json +1033 -0
- package/docs/chat-and-rag.md +3 -2
- package/docs/for-agents.md +9 -1
- package/docs/getting-started.md +4 -11
- package/docs/guides/gate-ci.md +11 -1
- package/docs/guides/install-and-run.md +9 -65
- package/docs/index.md +22 -1
- package/docs/knowledge-engine-runbook.md +38 -3
- package/docs/landing/assets/context-payload-reduction.svg +21 -0
- package/docs/landing/assets/controlled-ab-comparison.svg +30 -0
- package/docs/landing/index.html +119 -5
- package/docs/loop-workflow.md +117 -0
- package/docs/mcp.md +6 -1
- package/docs/parity/public-claims-v1.json +145 -0
- package/docs/playbook/doc-bridge-pattern.md +1 -1
- package/docs/query.md +90 -2
- package/docs/recipes/index-pipeline.md +1 -1
- package/docs/schemas/agent-handoff-v1.md +15 -0
- package/docs/schemas/doc-bridge-index-v1.md +65 -0
- package/docs/spec/benchmark-v1.md +33 -1
- package/docs/spec/cli.md +30 -10
- package/docs/spec/config-v1.md +147 -8
- package/docs/spec/documentation-audit-v1.md +61 -0
- package/docs/spec/enrichment-overlay-v1.md +241 -0
- package/docs/spec/graph-signals-v1.md +92 -0
- package/docs/spec/incremental-scan-v1.md +102 -0
- package/docs/spec/markdown-analyzer-v1.md +73 -0
- package/docs/spec/mcp-knowledge-tools-v1.md +147 -0
- package/docs/spec/measured-enrichment-v1.md +229 -0
- package/docs/spec/public-parity-v1.md +119 -0
- package/docs/spec/registry-agents.md +6 -0
- package/docs/spec/render-v1.md +122 -0
- package/docs/spec/retrieval-index-v1.md +164 -0
- package/docs/spec/study-metrics-v1.md +58 -0
- package/docs/spec/study-protocol-v1.md +46 -0
- package/docs/spec/study-provider-cli-v1.md +116 -0
- package/docs/spec/study-runner-v1.md +35 -0
- package/docs/spec/study-task-suite-v1.md +41 -0
- package/docs/spec/study-verification-v1.md +40 -0
- package/docs/study/README.md +84 -0
- package/docs/study/ab-adjudicated-cost-analysis-v1.md +29 -0
- package/docs/study/ab-adjudicated-cost-plan-v1.json +33 -0
- package/docs/study/ab-adjudicated-cost-plan-v2-v1.json +33 -0
- package/docs/study/ab-adjudicated-cost-result-v1.json +80 -0
- package/docs/study/ab-baseline-analysis-v1.md +21 -0
- package/docs/study/ab-baseline-plan-v1.json +33 -0
- package/docs/study/ab-baseline-recovery-plan-v1.json +33 -0
- package/docs/study/ab-baseline-result-v1.json +79 -0
- package/docs/study/documentation-audit-round-2026-08-31.json +183 -0
- package/docs/study/historical-evidence-v1.json +252 -0
- package/docs/study/observation-ledger-v1.json +30632 -0
- package/docs/study/phase3-task-coverage-v1.json +34 -0
- package/docs/study/phase4-public-pilot-ledger-v1.json +1344 -0
- package/docs/study/phase4-public-pilot-result-v1.json +52 -0
- package/docs/study/phase4-public-pilot-run-plan-v1.json +26 -0
- package/docs/study/phase4-public-pilot-task-suite-v1.json +71 -0
- package/docs/study/pilot-round-2026-08-31.json +46 -0
- package/docs/study/protocol-v1.json +90 -0
- package/docs/study/publication-gate-v1.md +45 -0
- package/docs/study/quality-scorecard-cycle-plan.md +545 -0
- package/docs/study/quality-scorecard-v1.json +38 -0
- package/docs/study/round-1-adjudicated-smoke-v1.json +30642 -0
- package/docs/study/round-1-instrumentation-plan-v1.md +39 -0
- package/docs/study/round-2-expanded-adjudication-v1.json +91 -0
- package/docs/study/round-2-expanded-validation-v1.md +58 -0
- package/docs/study/round-3-evidence-contract-v1.json +75 -0
- package/docs/study/round-3-evidence-contract-v1.md +57 -0
- package/docs/study/round-4-confirmation-v1.json +75 -0
- package/docs/study/round-4-confirmation-v1.md +55 -0
- package/docs/study/run-plan-v1.json +33 -0
- package/docs/study/semantic-adjudication-cycle-8.md +20 -0
- package/docs/study/task-suite-v1.json +96 -0
- package/docs/study/token-efficiency-plan-v1.md +337 -0
- package/docs/study/token-efficiency-protocol-v2.json +62 -0
- package/docs/study/verification-binding-v1.json +27 -0
- package/docs/validation-cycle-plan.md +14 -0
- package/docs/verification-harness.md +11 -6
- package/ecosystem-claims.json +2 -2
- package/ecosystem-upstream.json +2 -2
- package/ecosystem.json +4 -4
- package/mcpb/manifest.json +9 -1
- package/package.json +25 -6
- package/scripts/check-ecosystem-upstream.mjs +34 -6
- package/skills/doc-bridge-handoff/fixtures/synthetic-repo/docs/for-agents/packages/payments.md +7 -0
- package/skills/doc-bridge-handoff/scripts/resolve-handoff.mjs +1 -1
- package/src/agents/registry-adapter.ts +192 -24
- package/src/audit/documentation.ts +513 -0
- package/src/bench/baseline.ts +198 -0
- package/src/bench/overlay-delta.ts +139 -0
- package/src/bench/retrieval.ts +319 -0
- package/src/budget/compile.ts +91 -0
- package/src/budget/sections.ts +70 -0
- package/src/cli/program.ts +684 -74
- package/src/cli/usage.ts +71 -0
- package/src/config/defaults.ts +1 -0
- package/src/config/index.ts +4 -0
- package/src/config/schema.ts +117 -2
- package/src/conformance/documentation-standard-v1.ts +8 -6
- package/src/discovery/areas.ts +182 -0
- package/src/discovery/documentation.ts +211 -5
- package/src/discovery/identity.ts +24 -0
- package/src/discovery/incremental.ts +314 -0
- package/src/discovery/inputs.ts +110 -0
- package/src/discovery/markdown.ts +481 -0
- package/src/discovery/repository.ts +484 -101
- package/src/doctor/run-doctor.ts +244 -12
- package/src/enrich/approvals.ts +190 -0
- package/src/enrich/cache.ts +93 -0
- package/src/enrich/context-pack.ts +272 -0
- package/src/enrich/overlay.ts +255 -0
- package/src/enrich/review.ts +106 -0
- package/src/enrich/stage.ts +374 -0
- package/src/enrich/stats.ts +100 -0
- package/src/enrich/validate.ts +410 -0
- package/src/federation/llms.ts +2 -4
- package/src/findings/report.ts +103 -0
- package/src/graph/build.ts +356 -0
- package/src/graph/memory.ts +208 -0
- package/src/index-builder/build-handoffs.ts +22 -11
- package/src/index-builder/build-index.ts +132 -3
- package/src/index-builder/llms-txt.ts +48 -8
- package/src/index-builder/project-corpus.ts +111 -0
- package/src/index.ts +630 -2
- package/src/lib/fuzzy-match.ts +235 -0
- package/src/mcp/knowledge.ts +554 -0
- package/src/mcp/server.ts +113 -18
- package/src/metrics/benchmark.ts +21 -0
- package/src/parity/check.ts +309 -0
- package/src/parity/claims.ts +259 -0
- package/src/parity/resolve.ts +160 -0
- package/src/query/handoff.ts +326 -0
- package/src/query/load-index.ts +53 -1
- package/src/query/query.ts +92 -59
- package/src/query/search.ts +289 -92
- package/src/query/text.ts +155 -0
- package/src/reconciliation/reconcile.ts +101 -10
- package/src/render/data.ts +356 -0
- package/src/render/engine.ts +398 -0
- package/src/render/generated.ts +77 -0
- package/src/render/render.ts +209 -0
- package/src/render/template-source.ts +52 -0
- package/src/render/templates.ts +289 -0
- package/src/report/html.ts +2 -2
- package/src/retrieval/bm25.ts +161 -0
- package/src/retrieval/project.ts +495 -0
- package/src/retrieval/rank.ts +383 -0
- package/src/retrieval/weights.ts +39 -0
- package/src/retriever/doc-bridge-retriever.ts +100 -15
- package/src/rules/engine.ts +30 -10
- package/src/schemas/agent-handoff.ts +56 -0
- package/src/schemas/budget.ts +37 -0
- package/src/schemas/doc-bridge-index.ts +53 -2
- package/src/schemas/enrichment.ts +369 -0
- package/src/schemas/json-schemas.ts +39 -2
- package/src/schemas/knowledge.ts +14 -1
- package/src/schemas/retrieval-index.ts +152 -0
- package/src/shims/graphology.d.ts +91 -0
- package/src/study/adjudication.ts +196 -0
- package/src/study/execution.ts +350 -0
- package/src/study/expectations.ts +219 -0
- package/src/study/metrics.ts +467 -0
- package/src/study/protocol.ts +271 -0
- package/src/study/provider-cli.ts +115 -0
- package/src/study/provider-telemetry.ts +47 -0
- package/src/study/quality-scorecard.ts +164 -0
- package/src/study/runner.ts +461 -0
- package/src/study/task-suite.ts +321 -0
- package/src/study/verification.ts +134 -0
- package/src/validate.ts +1 -4
- package/src/version.ts +1 -1
- package/src/workflow/engine.ts +36 -11
- package/scripts/verification-harness.mjs +0 -482
|
@@ -99,6 +99,7 @@ declare const ReconciliationConfigSchema: z.ZodObject<{
|
|
|
99
99
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
100
100
|
file: "file";
|
|
101
101
|
module: "module";
|
|
102
|
+
area: "area";
|
|
102
103
|
package: "package";
|
|
103
104
|
}>>;
|
|
104
105
|
requiredRelationKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -108,6 +109,35 @@ declare const ReconciliationConfigSchema: z.ZodObject<{
|
|
|
108
109
|
}>>;
|
|
109
110
|
includeOrphanedDocuments: z.ZodOptional<z.ZodBoolean>;
|
|
110
111
|
}, z.core.$strict>;
|
|
112
|
+
declare const DocumentationAuditConfigSchema: z.ZodObject<{
|
|
113
|
+
criticalPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
|
+
generatedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
|
+
minWords: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
requiredSections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
+
requireExamples: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
exactDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
defaultTier: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
"tier-0": "tier-0";
|
|
122
|
+
"tier-1": "tier-1";
|
|
123
|
+
"tier-2": "tier-2";
|
|
124
|
+
}>>;
|
|
125
|
+
tierRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
126
|
+
pattern: z.ZodString;
|
|
127
|
+
tier: z.ZodEnum<{
|
|
128
|
+
"tier-0": "tier-0";
|
|
129
|
+
"tier-1": "tier-1";
|
|
130
|
+
"tier-2": "tier-2";
|
|
131
|
+
}>;
|
|
132
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
}, z.core.$strict>>>;
|
|
134
|
+
requiredCriticalMetadata: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
135
|
+
owner: "owner";
|
|
136
|
+
lifecycle: "lifecycle";
|
|
137
|
+
sourceOfTruth: "sourceOfTruth";
|
|
138
|
+
validationPath: "validationPath";
|
|
139
|
+
}>>>;
|
|
140
|
+
}, z.core.$strict>;
|
|
111
141
|
declare const WorkflowConfigSchema: z.ZodObject<{
|
|
112
142
|
stateDir: z.ZodOptional<z.ZodString>;
|
|
113
143
|
}, z.core.$strict>;
|
|
@@ -186,6 +216,23 @@ declare const DocumentationStandardV1ConfigSchema: z.ZodObject<{
|
|
|
186
216
|
trackingUrl: z.ZodString;
|
|
187
217
|
}, z.core.$strict>>>;
|
|
188
218
|
}, z.core.$strict>;
|
|
219
|
+
/**
|
|
220
|
+
* Retrieval tuning. Weights and parameters are configuration rather than code so a repository can
|
|
221
|
+
* change what its agents find first without a release, and so the change is recorded in the index.
|
|
222
|
+
*/
|
|
223
|
+
declare const RetrievalConfigSchema: z.ZodObject<{
|
|
224
|
+
corpus: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
+
}, z.core.$strict>>;
|
|
227
|
+
weights: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
228
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
k1: z.ZodOptional<z.ZodNumber>;
|
|
230
|
+
b: z.ZodOptional<z.ZodNumber>;
|
|
231
|
+
}, z.core.$strict>>;
|
|
232
|
+
benchmark: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
suite: z.ZodOptional<z.ZodString>;
|
|
234
|
+
}, z.core.$strict>>;
|
|
235
|
+
}, z.core.$strict>;
|
|
189
236
|
declare const ConformanceConfigSchema: z.ZodObject<{
|
|
190
237
|
documentationStandardV1: z.ZodOptional<z.ZodObject<{
|
|
191
238
|
rawSources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -358,6 +405,7 @@ declare const DocBridgeConfigV1Schema: z.ZodObject<{
|
|
|
358
405
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
359
406
|
file: "file";
|
|
360
407
|
module: "module";
|
|
408
|
+
area: "area";
|
|
361
409
|
package: "package";
|
|
362
410
|
}>>;
|
|
363
411
|
requiredRelationKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -367,6 +415,37 @@ declare const DocBridgeConfigV1Schema: z.ZodObject<{
|
|
|
367
415
|
}>>;
|
|
368
416
|
includeOrphanedDocuments: z.ZodOptional<z.ZodBoolean>;
|
|
369
417
|
}, z.core.$strict>>;
|
|
418
|
+
audit: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
documentation: z.ZodOptional<z.ZodObject<{
|
|
420
|
+
criticalPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
421
|
+
generatedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
422
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
423
|
+
minWords: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
requiredSections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
425
|
+
requireExamples: z.ZodOptional<z.ZodBoolean>;
|
|
426
|
+
exactDuplicates: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
+
defaultTier: z.ZodOptional<z.ZodEnum<{
|
|
428
|
+
"tier-0": "tier-0";
|
|
429
|
+
"tier-1": "tier-1";
|
|
430
|
+
"tier-2": "tier-2";
|
|
431
|
+
}>>;
|
|
432
|
+
tierRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
433
|
+
pattern: z.ZodString;
|
|
434
|
+
tier: z.ZodEnum<{
|
|
435
|
+
"tier-0": "tier-0";
|
|
436
|
+
"tier-1": "tier-1";
|
|
437
|
+
"tier-2": "tier-2";
|
|
438
|
+
}>;
|
|
439
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
440
|
+
}, z.core.$strict>>>;
|
|
441
|
+
requiredCriticalMetadata: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
442
|
+
owner: "owner";
|
|
443
|
+
lifecycle: "lifecycle";
|
|
444
|
+
sourceOfTruth: "sourceOfTruth";
|
|
445
|
+
validationPath: "validationPath";
|
|
446
|
+
}>>>;
|
|
447
|
+
}, z.core.$strict>>;
|
|
448
|
+
}, z.core.$strict>>;
|
|
370
449
|
analysis: z.ZodOptional<z.ZodObject<{
|
|
371
450
|
plugins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
372
451
|
id: z.ZodString;
|
|
@@ -383,6 +462,10 @@ declare const DocBridgeConfigV1Schema: z.ZodObject<{
|
|
|
383
462
|
}, z.core.$strict>>>;
|
|
384
463
|
includeTestRuntimeWiring: z.ZodOptional<z.ZodBoolean>;
|
|
385
464
|
}, z.core.$strict>>;
|
|
465
|
+
areas: z.ZodOptional<z.ZodObject<{
|
|
466
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
467
|
+
roots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
386
469
|
}, z.core.$strict>>;
|
|
387
470
|
rules: z.ZodOptional<z.ZodObject<{
|
|
388
471
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -480,6 +563,8 @@ declare const DocBridgeConfigV1Schema: z.ZodObject<{
|
|
|
480
563
|
"docbridge.relations": "docbridge.relations";
|
|
481
564
|
"docbridge.run": "docbridge.run";
|
|
482
565
|
"docbridge.proposals": "docbridge.proposals";
|
|
566
|
+
"knowledge.search": "knowledge.search";
|
|
567
|
+
"knowledge.lookup": "knowledge.lookup";
|
|
483
568
|
}>>>;
|
|
484
569
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
485
570
|
stdio: "stdio";
|
|
@@ -557,11 +642,34 @@ declare const DocBridgeConfigV1Schema: z.ZodObject<{
|
|
|
557
642
|
agentId: z.ZodOptional<z.ZodString>;
|
|
558
643
|
agentRoot: z.ZodOptional<z.ZodString>;
|
|
559
644
|
runnerModule: z.ZodOptional<z.ZodString>;
|
|
645
|
+
cli: z.ZodOptional<z.ZodObject<{
|
|
646
|
+
command: z.ZodString;
|
|
647
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
648
|
+
}, z.core.$strict>>;
|
|
560
649
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
561
650
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
651
|
+
maxInputBytes: z.ZodOptional<z.ZodNumber>;
|
|
562
652
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
563
653
|
maxResponseBytes: z.ZodOptional<z.ZodNumber>;
|
|
564
654
|
maxConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
655
|
+
maxPackBytes: z.ZodOptional<z.ZodNumber>;
|
|
656
|
+
roles: z.ZodOptional<z.ZodObject<{
|
|
657
|
+
curator: z.ZodOptional<z.ZodObject<{
|
|
658
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
659
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
660
|
+
promptVersion: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strict>>;
|
|
662
|
+
reviewer: z.ZodOptional<z.ZodObject<{
|
|
663
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
664
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
665
|
+
promptVersion: z.ZodOptional<z.ZodString>;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
adjudicator: z.ZodOptional<z.ZodObject<{
|
|
668
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
669
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
670
|
+
promptVersion: z.ZodOptional<z.ZodString>;
|
|
671
|
+
}, z.core.$strict>>;
|
|
672
|
+
}, z.core.$strict>>;
|
|
565
673
|
}, z.core.$strict>>;
|
|
566
674
|
}, z.core.$strict>>;
|
|
567
675
|
federation: z.ZodOptional<z.ZodObject<{
|
|
@@ -621,18 +729,42 @@ declare const DocBridgeConfigV1Schema: z.ZodObject<{
|
|
|
621
729
|
}, z.core.$strict>>>;
|
|
622
730
|
}, z.core.$strict>>;
|
|
623
731
|
}, z.core.$strict>>;
|
|
732
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
733
|
+
corpus: z.ZodOptional<z.ZodObject<{
|
|
734
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
735
|
+
}, z.core.$strict>>;
|
|
736
|
+
weights: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
737
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
738
|
+
k1: z.ZodOptional<z.ZodNumber>;
|
|
739
|
+
b: z.ZodOptional<z.ZodNumber>;
|
|
740
|
+
}, z.core.$strict>>;
|
|
741
|
+
benchmark: z.ZodOptional<z.ZodObject<{
|
|
742
|
+
suite: z.ZodOptional<z.ZodString>;
|
|
743
|
+
}, z.core.$strict>>;
|
|
744
|
+
}, z.core.$strict>>;
|
|
745
|
+
render: z.ZodOptional<z.ZodObject<{
|
|
746
|
+
templates: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
747
|
+
ownership: "ownership";
|
|
748
|
+
area: "area";
|
|
749
|
+
"llms.txt": "llms.txt";
|
|
750
|
+
"change-digest": "change-digest";
|
|
751
|
+
"overlay-review": "overlay-review";
|
|
752
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
753
|
+
}, z.core.$strict>>;
|
|
624
754
|
}, z.core.$strict>;
|
|
625
755
|
type DocBridgeConfigV1 = z.infer<typeof DocBridgeConfigV1Schema>;
|
|
626
756
|
type AgentCorpusConfig = z.infer<typeof AgentCorpusConfigSchema>;
|
|
627
757
|
type DocumentationStandardV1Config = z.infer<typeof DocumentationStandardV1ConfigSchema>;
|
|
628
758
|
type DocumentationStandardRuleId = z.infer<typeof DocumentationStandardRuleIdSchema>;
|
|
629
759
|
type ReconciliationConfig = z.infer<typeof ReconciliationConfigSchema>;
|
|
760
|
+
type DocumentationAuditConfig = z.infer<typeof DocumentationAuditConfigSchema>;
|
|
630
761
|
type RuleId = z.infer<typeof RuleIdSchema>;
|
|
631
762
|
type RuleSeverity = z.infer<typeof RuleSeveritySchema>;
|
|
632
763
|
type RulesConfig = z.infer<typeof RulesConfigSchema>;
|
|
633
764
|
type WorkflowConfig = z.infer<typeof WorkflowConfigSchema>;
|
|
634
765
|
type RepositorySafetyConfig = z.infer<typeof RepositorySafetyConfigSchema>;
|
|
635
766
|
type ReportConfig = z.infer<typeof ReportConfigSchema>;
|
|
767
|
+
type RetrievalConfig = z.infer<typeof RetrievalConfigSchema>;
|
|
636
768
|
|
|
637
769
|
/** Type-safe config helper for `doc-bridge.config.ts`. */
|
|
638
770
|
declare const defineConfig: (config: DocBridgeConfigV1) => DocBridgeConfigV1;
|
|
@@ -657,4 +789,4 @@ declare const resolveProjectRoot: (start?: string) => string;
|
|
|
657
789
|
/** Project root for a loaded config file path (directory of the config). */
|
|
658
790
|
declare const projectRootFromConfigPath: (configFilePath: string, projectRootField?: string) => string;
|
|
659
791
|
|
|
660
|
-
export { type AgentCorpusConfig as A, ConfigNotFoundError as C, type DocBridgeConfigV1 as D, EcosystemContractEvidenceSchema as E, HumanCorpusConfigSchema as H, type LoadConfigOptions as L, type RulesConfig as R, type WorkflowConfig as W, type
|
|
792
|
+
export { type AgentCorpusConfig as A, ReconciliationConfigSchema as B, ConfigNotFoundError as C, type DocBridgeConfigV1 as D, EcosystemContractEvidenceSchema as E, type RetrievalConfig as F, RetrievalConfigSchema as G, HumanCorpusConfigSchema as H, type LoadConfigOptions as L, type RulesConfig as R, type WorkflowConfig as W, type DocumentationAuditConfig as a, type RuleId as b, type RuleSeverity as c, type DocumentationStandardRuleId as d, DocBridgeConfigV1Schema as e, DocumentationAuditConfigSchema as f, DocumentationStandardRuleIdSchema as g, type DocumentationStandardV1Config as h, DocumentationStandardV1ConfigSchema as i, type LoadConfigResult as j, type ReportConfig as k, ReportConfigSchema as l, type RepositorySafetyConfig as m, RepositorySafetyConfigSchema as n, RuleIdSchema as o, RuleSeveritySchema as p, RulesConfigSchema as q, WorkflowConfigSchema as r, applyConfigDefaults as s, defineConfig as t, loadConfig as u, projectRootFromConfigPath as v, resolveProjectRoot as w, AgentCorpusConfigSchema as x, ConformanceConfigSchema as y, type ReconciliationConfig as z };
|