@oscharko-dev/keiko-workflows 0.2.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.
Files changed (191) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/bug-investigation/context.d.ts +7 -0
  3. package/dist/bug-investigation/context.d.ts.map +1 -0
  4. package/dist/bug-investigation/context.js +119 -0
  5. package/dist/bug-investigation/descriptor.d.ts +4 -0
  6. package/dist/bug-investigation/descriptor.d.ts.map +1 -0
  7. package/dist/bug-investigation/descriptor.js +46 -0
  8. package/dist/bug-investigation/emit.d.ts +13 -0
  9. package/dist/bug-investigation/emit.d.ts.map +1 -0
  10. package/dist/bug-investigation/emit.js +35 -0
  11. package/dist/bug-investigation/events.d.ts +2 -0
  12. package/dist/bug-investigation/events.d.ts.map +1 -0
  13. package/dist/bug-investigation/events.js +6 -0
  14. package/dist/bug-investigation/failure-parse.d.ts +4 -0
  15. package/dist/bug-investigation/failure-parse.d.ts.map +1 -0
  16. package/dist/bug-investigation/failure-parse.js +154 -0
  17. package/dist/bug-investigation/guard.d.ts +3 -0
  18. package/dist/bug-investigation/guard.d.ts.map +1 -0
  19. package/dist/bug-investigation/guard.js +69 -0
  20. package/dist/bug-investigation/index.d.ts +8 -0
  21. package/dist/bug-investigation/index.d.ts.map +1 -0
  22. package/dist/bug-investigation/index.js +13 -0
  23. package/dist/bug-investigation/internal.d.ts +39 -0
  24. package/dist/bug-investigation/internal.d.ts.map +1 -0
  25. package/dist/bug-investigation/internal.js +65 -0
  26. package/dist/bug-investigation/memory.d.ts +5 -0
  27. package/dist/bug-investigation/memory.d.ts.map +1 -0
  28. package/dist/bug-investigation/memory.js +91 -0
  29. package/dist/bug-investigation/model-loop.d.ts +5 -0
  30. package/dist/bug-investigation/model-loop.d.ts.map +1 -0
  31. package/dist/bug-investigation/model-loop.js +225 -0
  32. package/dist/bug-investigation/parse.d.ts +4 -0
  33. package/dist/bug-investigation/parse.d.ts.map +1 -0
  34. package/dist/bug-investigation/parse.js +125 -0
  35. package/dist/bug-investigation/prompt.d.ts +5 -0
  36. package/dist/bug-investigation/prompt.d.ts.map +1 -0
  37. package/dist/bug-investigation/prompt.js +122 -0
  38. package/dist/bug-investigation/report.d.ts +24 -0
  39. package/dist/bug-investigation/report.d.ts.map +1 -0
  40. package/dist/bug-investigation/report.js +151 -0
  41. package/dist/bug-investigation/stages.d.ts +14 -0
  42. package/dist/bug-investigation/stages.d.ts.map +1 -0
  43. package/dist/bug-investigation/stages.js +247 -0
  44. package/dist/bug-investigation/types.d.ts +88 -0
  45. package/dist/bug-investigation/types.d.ts.map +1 -0
  46. package/dist/bug-investigation/types.js +6 -0
  47. package/dist/bug-investigation/verify-stage.d.ts +11 -0
  48. package/dist/bug-investigation/verify-stage.d.ts.map +1 -0
  49. package/dist/bug-investigation/verify-stage.js +91 -0
  50. package/dist/bug-investigation/workflow.d.ts +3 -0
  51. package/dist/bug-investigation/workflow.d.ts.map +1 -0
  52. package/dist/bug-investigation/workflow.js +85 -0
  53. package/dist/contextpack/assemble.d.ts +35 -0
  54. package/dist/contextpack/assemble.d.ts.map +1 -0
  55. package/dist/contextpack/assemble.js +431 -0
  56. package/dist/contextpack/compaction.d.ts +23 -0
  57. package/dist/contextpack/compaction.d.ts.map +1 -0
  58. package/dist/contextpack/compaction.js +68 -0
  59. package/dist/contextpack/index.d.ts +9 -0
  60. package/dist/contextpack/index.d.ts.map +1 -0
  61. package/dist/contextpack/index.js +8 -0
  62. package/dist/contextpack/microIndex.d.ts +29 -0
  63. package/dist/contextpack/microIndex.d.ts.map +1 -0
  64. package/dist/contextpack/microIndex.js +98 -0
  65. package/dist/contextpack/reranker.d.ts +15 -0
  66. package/dist/contextpack/reranker.d.ts.map +1 -0
  67. package/dist/contextpack/reranker.js +31 -0
  68. package/dist/descriptor.d.ts +2 -0
  69. package/dist/descriptor.d.ts.map +1 -0
  70. package/dist/descriptor.js +1 -0
  71. package/dist/governed-handoff.d.ts +6 -0
  72. package/dist/governed-handoff.d.ts.map +1 -0
  73. package/dist/governed-handoff.js +86 -0
  74. package/dist/index.d.ts +9 -0
  75. package/dist/index.d.ts.map +1 -0
  76. package/dist/index.js +13 -0
  77. package/dist/planner/anchors.d.ts +17 -0
  78. package/dist/planner/anchors.d.ts.map +1 -0
  79. package/dist/planner/anchors.js +291 -0
  80. package/dist/planner/explorationPlanner.d.ts +9 -0
  81. package/dist/planner/explorationPlanner.d.ts.map +1 -0
  82. package/dist/planner/explorationPlanner.js +15 -0
  83. package/dist/planner/governor.d.ts +16 -0
  84. package/dist/planner/governor.d.ts.map +1 -0
  85. package/dist/planner/governor.js +106 -0
  86. package/dist/planner/index.d.ts +11 -0
  87. package/dist/planner/index.d.ts.map +1 -0
  88. package/dist/planner/index.js +8 -0
  89. package/dist/planner/intent.d.ts +8 -0
  90. package/dist/planner/intent.d.ts.map +1 -0
  91. package/dist/planner/intent.js +140 -0
  92. package/dist/planner/plan.d.ts +43 -0
  93. package/dist/planner/plan.d.ts.map +1 -0
  94. package/dist/planner/plan.js +237 -0
  95. package/dist/promptEnhancer/index.d.ts +23 -0
  96. package/dist/promptEnhancer/index.d.ts.map +1 -0
  97. package/dist/promptEnhancer/index.js +282 -0
  98. package/dist/qualityIntelligence/__tests__/fixtures/runEntryFixtures.d.ts +30 -0
  99. package/dist/qualityIntelligence/__tests__/fixtures/runEntryFixtures.d.ts.map +1 -0
  100. package/dist/qualityIntelligence/__tests__/fixtures/runEntryFixtures.js +114 -0
  101. package/dist/qualityIntelligence/cancellation.d.ts +20 -0
  102. package/dist/qualityIntelligence/cancellation.d.ts.map +1 -0
  103. package/dist/qualityIntelligence/cancellation.js +55 -0
  104. package/dist/qualityIntelligence/descriptors.d.ts +41 -0
  105. package/dist/qualityIntelligence/descriptors.d.ts.map +1 -0
  106. package/dist/qualityIntelligence/descriptors.js +105 -0
  107. package/dist/qualityIntelligence/index.d.ts +11 -0
  108. package/dist/qualityIntelligence/index.d.ts.map +1 -0
  109. package/dist/qualityIntelligence/index.js +11 -0
  110. package/dist/qualityIntelligence/modelRoutedTestDesign.d.ts +100 -0
  111. package/dist/qualityIntelligence/modelRoutedTestDesign.d.ts.map +1 -0
  112. package/dist/qualityIntelligence/modelRoutedTestDesign.js +620 -0
  113. package/dist/qualityIntelligence/runEntries.d.ts +60 -0
  114. package/dist/qualityIntelligence/runEntries.d.ts.map +1 -0
  115. package/dist/qualityIntelligence/runEntries.js +243 -0
  116. package/dist/qualityIntelligence/runtimeCommon.d.ts +106 -0
  117. package/dist/qualityIntelligence/runtimeCommon.d.ts.map +1 -0
  118. package/dist/qualityIntelligence/runtimeCommon.js +258 -0
  119. package/dist/qualityIntelligence/scopedRegeneration.d.ts +26 -0
  120. package/dist/qualityIntelligence/scopedRegeneration.d.ts.map +1 -0
  121. package/dist/qualityIntelligence/scopedRegeneration.js +35 -0
  122. package/dist/ranking/filter.d.ts +20 -0
  123. package/dist/ranking/filter.d.ts.map +1 -0
  124. package/dist/ranking/filter.js +99 -0
  125. package/dist/ranking/index.d.ts +9 -0
  126. package/dist/ranking/index.d.ts.map +1 -0
  127. package/dist/ranking/index.js +8 -0
  128. package/dist/ranking/rank.d.ts +21 -0
  129. package/dist/ranking/rank.d.ts.map +1 -0
  130. package/dist/ranking/rank.js +160 -0
  131. package/dist/ranking/scoring.d.ts +13 -0
  132. package/dist/ranking/scoring.d.ts.map +1 -0
  133. package/dist/ranking/scoring.js +39 -0
  134. package/dist/ranking/signals.d.ts +20 -0
  135. package/dist/ranking/signals.d.ts.map +1 -0
  136. package/dist/ranking/signals.js +145 -0
  137. package/dist/unit-tests/context.d.ts +7 -0
  138. package/dist/unit-tests/context.d.ts.map +1 -0
  139. package/dist/unit-tests/context.js +129 -0
  140. package/dist/unit-tests/conventions.d.ts +5 -0
  141. package/dist/unit-tests/conventions.d.ts.map +1 -0
  142. package/dist/unit-tests/conventions.js +87 -0
  143. package/dist/unit-tests/descriptor.d.ts +5 -0
  144. package/dist/unit-tests/descriptor.d.ts.map +1 -0
  145. package/dist/unit-tests/descriptor.js +43 -0
  146. package/dist/unit-tests/emit.d.ts +13 -0
  147. package/dist/unit-tests/emit.d.ts.map +1 -0
  148. package/dist/unit-tests/emit.js +35 -0
  149. package/dist/unit-tests/events.d.ts +2 -0
  150. package/dist/unit-tests/events.d.ts.map +1 -0
  151. package/dist/unit-tests/events.js +6 -0
  152. package/dist/unit-tests/frontend.d.ts +42 -0
  153. package/dist/unit-tests/frontend.d.ts.map +1 -0
  154. package/dist/unit-tests/frontend.js +281 -0
  155. package/dist/unit-tests/index.d.ts +9 -0
  156. package/dist/unit-tests/index.d.ts.map +1 -0
  157. package/dist/unit-tests/index.js +15 -0
  158. package/dist/unit-tests/internal.d.ts +36 -0
  159. package/dist/unit-tests/internal.d.ts.map +1 -0
  160. package/dist/unit-tests/internal.js +43 -0
  161. package/dist/unit-tests/model-loop.d.ts +6 -0
  162. package/dist/unit-tests/model-loop.d.ts.map +1 -0
  163. package/dist/unit-tests/model-loop.js +98 -0
  164. package/dist/unit-tests/parse.d.ts +7 -0
  165. package/dist/unit-tests/parse.d.ts.map +1 -0
  166. package/dist/unit-tests/parse.js +68 -0
  167. package/dist/unit-tests/prompt.d.ts +6 -0
  168. package/dist/unit-tests/prompt.d.ts.map +1 -0
  169. package/dist/unit-tests/prompt.js +139 -0
  170. package/dist/unit-tests/report.d.ts +26 -0
  171. package/dist/unit-tests/report.d.ts.map +1 -0
  172. package/dist/unit-tests/report.js +104 -0
  173. package/dist/unit-tests/stages.d.ts +12 -0
  174. package/dist/unit-tests/stages.d.ts.map +1 -0
  175. package/dist/unit-tests/stages.js +202 -0
  176. package/dist/unit-tests/strategy.d.ts +6 -0
  177. package/dist/unit-tests/strategy.d.ts.map +1 -0
  178. package/dist/unit-tests/strategy.js +36 -0
  179. package/dist/unit-tests/target-guard.d.ts +5 -0
  180. package/dist/unit-tests/target-guard.d.ts.map +1 -0
  181. package/dist/unit-tests/target-guard.js +29 -0
  182. package/dist/unit-tests/types.d.ts +74 -0
  183. package/dist/unit-tests/types.d.ts.map +1 -0
  184. package/dist/unit-tests/types.js +6 -0
  185. package/dist/unit-tests/verify-stage.d.ts +10 -0
  186. package/dist/unit-tests/verify-stage.d.ts.map +1 -0
  187. package/dist/unit-tests/verify-stage.js +56 -0
  188. package/dist/unit-tests/workflow.d.ts +3 -0
  189. package/dist/unit-tests/workflow.d.ts.map +1 -0
  190. package/dist/unit-tests/workflow.js +69 -0
  191. package/package.json +38 -0
@@ -0,0 +1,11 @@
1
+ export { QI_ARTIFACT_REFINEMENT_WORKFLOW_DESCRIPTOR, QI_COVERAGE_REVIEW_WORKFLOW_DESCRIPTOR, QI_TEST_DESIGN_WORKFLOW_DESCRIPTOR, QI_VALIDATION_WORKFLOW_DESCRIPTOR, QUALITY_INTELLIGENCE_DEFAULT_WORKFLOW_LIMITS, QUALITY_INTELLIGENCE_WORKFLOW_DESCRIPTORS, findQualityIntelligenceWorkflowDescriptor, } from "./descriptors.js";
2
+ export type { QualityIntelligenceWorkflowDescriptor, QualityIntelligenceWorkflowId, QualityIntelligenceWorkflowLimits, } from "./descriptors.js";
3
+ export { composeStageCancellation, isCancelled } from "./cancellation.js";
4
+ export type { QualityIntelligenceStageCancellationHandle } from "./cancellation.js";
5
+ export { runQualityIntelligenceArtifactRefinement, runQualityIntelligenceCoverageReview, runQualityIntelligenceTestDesign, runQualityIntelligenceValidation, } from "./runEntries.js";
6
+ export type { QualityIntelligenceArtifactRefinementInput, QualityIntelligenceClock, QualityIntelligenceCoverageReviewInput, QualityIntelligenceDispatchPort, QualityIntelligenceModelRoutedDeps, QualityIntelligenceProvenanceRefs, QualityIntelligenceRunEntryDeps, QualityIntelligenceRunEventSink, QualityIntelligenceRunStatus, QualityIntelligenceRunSummary, QualityIntelligenceTestDesignInput, QualityIntelligenceValidationInput, } from "./runEntries.js";
7
+ export { excerptsByAtomId, runQualityIntelligenceModelRoutedTestDesign, } from "./modelRoutedTestDesign.js";
8
+ export { runScopedRegeneration } from "./scopedRegeneration.js";
9
+ export type { ScopedRegenerationInput, ScopedRegenerationResult } from "./scopedRegeneration.js";
10
+ export type { QualityIntelligenceCandidatesSink, QualityIntelligenceGenerationPort, QualityIntelligenceGenerationPortArgs, QualityIntelligenceGenerationPortResult, QualityIntelligenceIngestedAtom, QualityIntelligenceModelRoutedTestDesignDeps, QualityIntelligenceModelRoutedTestDesignInput, } from "./modelRoutedTestDesign.js";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/qualityIntelligence/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,0CAA0C,EAC1C,sCAAsC,EACtC,kCAAkC,EAClC,iCAAiC,EACjC,4CAA4C,EAC5C,yCAAyC,EACzC,yCAAyC,GAC1C,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,qCAAqC,EACrC,6BAA6B,EAC7B,iCAAiC,GAClC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC1E,YAAY,EAAE,0CAA0C,EAAE,MAAM,mBAAmB,CAAC;AAEpF,OAAO,EACL,wCAAwC,EACxC,oCAAoC,EACpC,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,0CAA0C,EAC1C,wBAAwB,EACxB,sCAAsC,EACtC,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EACjC,+BAA+B,EAC/B,+BAA+B,EAC/B,4BAA4B,EAC5B,6BAA6B,EAC7B,kCAAkC,EAClC,kCAAkC,GACnC,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,gBAAgB,EAChB,2CAA2C,GAC5C,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,YAAY,EACV,iCAAiC,EACjC,iCAAiC,EACjC,qCAAqC,EACrC,uCAAuC,EACvC,+BAA+B,EAC/B,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,11 @@
1
+ // Public barrel for the Quality Intelligence workflow execution surface (Epic #270, Issue #273,
2
+ // ADR-0023 D6). Re-exports the descriptors, the typed run entries, the cancellation adapter,
3
+ // and the helper types callers need to construct inputs. The package barrel re-exports this
4
+ // directory under the `QualityIntelligence` namespace.
5
+ export { QI_ARTIFACT_REFINEMENT_WORKFLOW_DESCRIPTOR, QI_COVERAGE_REVIEW_WORKFLOW_DESCRIPTOR, QI_TEST_DESIGN_WORKFLOW_DESCRIPTOR, QI_VALIDATION_WORKFLOW_DESCRIPTOR, QUALITY_INTELLIGENCE_DEFAULT_WORKFLOW_LIMITS, QUALITY_INTELLIGENCE_WORKFLOW_DESCRIPTORS, findQualityIntelligenceWorkflowDescriptor, } from "./descriptors.js";
6
+ export { composeStageCancellation, isCancelled } from "./cancellation.js";
7
+ export { runQualityIntelligenceArtifactRefinement, runQualityIntelligenceCoverageReview, runQualityIntelligenceTestDesign, runQualityIntelligenceValidation, } from "./runEntries.js";
8
+ // Model-routed (live LLM) test-design entry (Issue #272/#273/#279).
9
+ export { excerptsByAtomId, runQualityIntelligenceModelRoutedTestDesign, } from "./modelRoutedTestDesign.js";
10
+ // Scoped regeneration entry (Epic #735, Issue #743).
11
+ export { runScopedRegeneration } from "./scopedRegeneration.js";
@@ -0,0 +1,100 @@
1
+ import { QualityIntelligence as QI } from "@oscharko-dev/keiko-contracts";
2
+ import { type PolicyProfile } from "@oscharko-dev/keiko-quality-intelligence";
3
+ import type { QualityIntelligenceLocalStore, QualityIntelligenceRecordOptions } from "@oscharko-dev/keiko-evidence";
4
+ import { type QualityIntelligenceClock, type QualityIntelligenceProvenanceRefs, type QualityIntelligenceRunEventSink, type QualityIntelligenceRunSummary } from "./runtimeCommon.js";
5
+ import type { QualityIntelligenceWorkflowLimits } from "./descriptors.js";
6
+ type Candidate = QI.QualityIntelligenceTestCaseCandidate;
7
+ type EvidenceAtom = QI.QualityIntelligenceEvidenceAtom;
8
+ /** A content-bearing ingested atom: the wire-safe atom plus its server-side canonical text. */
9
+ export interface QualityIntelligenceIngestedAtom {
10
+ readonly atom: EvidenceAtom;
11
+ readonly canonicalText: string;
12
+ /** Optional opaque metadata for mapping an edited source atom to its current replacement. */
13
+ readonly replacementGroupId?: string;
14
+ readonly replacementOrdinal?: number;
15
+ }
16
+ export interface QualityIntelligenceGenerationPortArgs {
17
+ readonly systemPrompt: string;
18
+ readonly instruction: string;
19
+ readonly evidence: readonly {
20
+ readonly index: number;
21
+ readonly kind: string;
22
+ readonly text: string;
23
+ }[];
24
+ readonly maxCandidates: number;
25
+ readonly signal?: AbortSignal | undefined;
26
+ }
27
+ export interface QualityIntelligenceGenerationPortResult {
28
+ readonly rawText: string;
29
+ readonly modelCallCount: number;
30
+ readonly modelId?: string | undefined;
31
+ /** Seed used for this generation, or null when the model does not support seeding (Epic #761). */
32
+ readonly seedUsed?: number | null;
33
+ /** Redaction-safe scalars describing request parameters (e.g. responseFormat, seed) (Epic #761). */
34
+ readonly modelParameters?: Record<string, unknown> | undefined;
35
+ }
36
+ /** Abstract model-generation seam. The server backs it with the real Keiko Model Gateway port. */
37
+ export interface QualityIntelligenceGenerationPort {
38
+ readonly generate: (args: QualityIntelligenceGenerationPortArgs) => Promise<QualityIntelligenceGenerationPortResult>;
39
+ }
40
+ /** Persistence seam for the generated candidate bodies (companion artifact in #274). */
41
+ export interface QualityIntelligenceCandidatesSink {
42
+ readonly record: (candidates: readonly Candidate[], generatedAt: string) => void;
43
+ }
44
+ export interface QualityIntelligenceJudgeSourceContext {
45
+ readonly atomId: string;
46
+ readonly text: string;
47
+ }
48
+ export interface QualityIntelligenceJudgeInput {
49
+ readonly candidateText: string;
50
+ readonly sourceContext: readonly QualityIntelligenceJudgeSourceContext[];
51
+ }
52
+ export interface QualityIntelligenceJudgeResult extends QI.TestQualityJudgeVerdict {
53
+ /**
54
+ * Number of actual Model Gateway dispatches made while producing this verdict.
55
+ * Older test doubles omit this field and are treated as one dispatch for compatibility.
56
+ */
57
+ readonly gatewayCallCount?: number;
58
+ }
59
+ /** Abstract model-judge seam (Epic #736, Issue #747). The server backs it with the gateway judge port. */
60
+ export interface QualityIntelligenceJudgePort {
61
+ readonly judge: (input: QualityIntelligenceJudgeInput, signal?: AbortSignal) => Promise<QualityIntelligenceJudgeResult>;
62
+ }
63
+ export interface QualityIntelligenceModelRoutedTestDesignInput {
64
+ readonly plan: QI.QualityIntelligenceRunPlan;
65
+ readonly envelopes: readonly QI.QualityIntelligenceSourceEnvelope[];
66
+ readonly ingestedAtoms: readonly QualityIntelligenceIngestedAtom[];
67
+ readonly provenanceRefs: QualityIntelligenceProvenanceRefs;
68
+ readonly profile?: PolicyProfile | undefined;
69
+ }
70
+ export interface QualityIntelligenceModelRoutedTestDesignDeps {
71
+ readonly sink: QualityIntelligenceRunEventSink;
72
+ readonly evidenceStore: QualityIntelligenceLocalStore;
73
+ readonly candidatesSink: QualityIntelligenceCandidatesSink;
74
+ readonly generate: QualityIntelligenceGenerationPort;
75
+ /**
76
+ * Gateway calls made before this workflow context exists, such as capability-routed vision hints
77
+ * during server-side source ingestion. They are folded into summary + manifest evidence.
78
+ */
79
+ readonly initialModelGatewayCallCount?: number | undefined;
80
+ /** Optional model-judge for test-quality scoring (Epic #736). Absent → judge stage is skipped. */
81
+ readonly judge?: QualityIntelligenceJudgePort | undefined;
82
+ readonly clock?: QualityIntelligenceClock | undefined;
83
+ readonly signal?: AbortSignal | undefined;
84
+ readonly limits?: QualityIntelligenceWorkflowLimits | undefined;
85
+ readonly redaction?: QualityIntelligenceRecordOptions["redaction"] | undefined;
86
+ }
87
+ /**
88
+ * Map each ingested atom's id to a short, redacted excerpt of its canonical text (#790) so
89
+ * coverage rows and gap findings can name the requirement, not just its opaque id. Atoms whose
90
+ * text collapses to nothing are omitted (the optional field is simply absent downstream).
91
+ */
92
+ export declare function excerptsByAtomId(ingestedAtoms: readonly QualityIntelligenceIngestedAtom[]): ReadonlyMap<string, string>;
93
+ /**
94
+ * Execute a model-routed QI test-design run end to end. Emits the standard QI run-event envelope,
95
+ * fails the run with a safe reason when the model output is unusable (rather than silently emitting
96
+ * zero candidates), and persists both the run manifest and the generated candidate bodies.
97
+ */
98
+ export declare function runQualityIntelligenceModelRoutedTestDesign(input: QualityIntelligenceModelRoutedTestDesignInput, deps: QualityIntelligenceModelRoutedTestDesignDeps): Promise<QualityIntelligenceRunSummary>;
99
+ export {};
100
+ //# sourceMappingURL=modelRoutedTestDesign.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modelRoutedTestDesign.d.ts","sourceRoot":"","sources":["../../src/qualityIntelligence/modelRoutedTestDesign.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,IAAI,EAAE,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAcL,KAAK,aAAa,EACnB,MAAM,0CAA0C,CAAC;AAElD,OAAO,KAAK,EACV,6BAA6B,EAC7B,gCAAgC,EACjC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAcL,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAEnC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kBAAkB,CAAC;AAG1E,KAAK,SAAS,GAAG,EAAE,CAAC,oCAAoC,CAAC;AACzD,KAAK,YAAY,GAAG,EAAE,CAAC,+BAA+B,CAAC;AAEvD,+FAA+F;AAC/F,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,6FAA6F;IAC7F,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;I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