@velum-labs/routekit-eval-setup 1.3.2 → 1.5.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/dist/adapters/authoring-responses-request.d.ts +5 -0
- package/dist/adapters/authoring-responses-request.js +38 -0
- package/dist/adapters/evaluation-evidence-freshness.d.ts +7 -0
- package/dist/adapters/evaluation-evidence-freshness.js +76 -0
- package/dist/adapters/git-task-history.d.ts +67 -0
- package/dist/adapters/git-task-history.js +171 -0
- package/dist/adapters/integrated-repository-history.d.ts +21 -0
- package/dist/adapters/integrated-repository-history.js +175 -0
- package/dist/adapters/repository-command-diagnostic.d.ts +8 -0
- package/dist/adapters/repository-command-diagnostic.js +46 -0
- package/dist/adapters/repository-command-evidence.d.ts +13 -0
- package/dist/adapters/repository-command-evidence.js +102 -0
- package/dist/adapters/repository-command-runner.d.ts +238 -0
- package/dist/adapters/repository-command-runner.js +1483 -0
- package/dist/adapters/repository-import-context.d.ts +47 -0
- package/dist/adapters/repository-import-context.js +469 -0
- package/dist/adapters/repository-node-test-reporter.d.ts +3 -0
- package/dist/adapters/repository-node-test-reporter.js +27 -0
- package/dist/adapters/repository-review-evidence.d.ts +39 -0
- package/dist/adapters/repository-review-evidence.js +632 -0
- package/dist/adapters/repository-seed-selection.d.ts +7 -0
- package/dist/adapters/repository-seed-selection.js +79 -0
- package/dist/adapters/repository-solution-edits.d.ts +49 -0
- package/dist/adapters/repository-solution-edits.js +136 -0
- package/dist/adapters/repository-vitest-phase-adapter.d.ts +8 -0
- package/dist/adapters/repository-vitest-phase-adapter.js +310 -0
- package/dist/adapters/repository-vitest-reporter.d.ts +24 -0
- package/dist/adapters/repository-vitest-reporter.js +314 -0
- package/dist/adapters/strict-authoring-schema.d.ts +5 -0
- package/dist/adapters/strict-authoring-schema.js +158 -0
- package/dist/adapters/test-discovery.d.ts +30 -0
- package/dist/adapters/test-discovery.js +124 -0
- package/dist/adapters/typescript-repository-index.d.ts +51 -0
- package/dist/adapters/typescript-repository-index.js +226 -0
- package/dist/agentic-capabilities-protocol.d.ts +1373 -0
- package/dist/agentic-capabilities-protocol.js +786 -0
- package/dist/case-checkpoint-store.d.ts +29 -0
- package/dist/case-checkpoint-store.js +133 -0
- package/dist/case-pipeline-protocol-v2.d.ts +184 -0
- package/dist/case-pipeline-protocol-v2.js +193 -0
- package/dist/case-pipeline-protocol.d.ts +2626 -0
- package/dist/case-pipeline-protocol.js +371 -0
- package/dist/effect-api.d.ts +74 -10
- package/dist/effect-api.js +56 -6
- package/dist/errors.d.ts +31 -0
- package/dist/errors.js +10 -0
- package/dist/eval-capability-execution-envelope.d.ts +64 -0
- package/dist/eval-capability-execution-envelope.js +98 -0
- package/dist/eval-capability-policy.d.ts +90 -0
- package/dist/eval-capability-policy.js +107 -0
- package/dist/eval-event-log.d.ts +140 -0
- package/dist/eval-event-log.js +220 -0
- package/dist/evaluation-authoring-policy.d.ts +18 -0
- package/dist/evaluation-authoring-policy.js +19 -0
- package/dist/evaluation-authoring-validation.d.ts +22 -0
- package/dist/evaluation-authoring-validation.js +72 -0
- package/dist/evaluation-evidence.d.ts +20 -0
- package/dist/evaluation-evidence.js +319 -0
- package/dist/evaluation-grader-calibration-protocol.d.ts +108 -0
- package/dist/evaluation-grader-calibration-protocol.js +80 -0
- package/dist/evaluation-grader-calibration.d.ts +18 -0
- package/dist/evaluation-grader-calibration.js +334 -0
- package/dist/evaluation-grading-policy.d.ts +24 -0
- package/dist/evaluation-grading-policy.js +54 -0
- package/dist/evaluation-proposal-policy.d.ts +4 -0
- package/dist/evaluation-proposal-policy.js +91 -0
- package/dist/evaluation-source-retrieval.d.ts +68 -0
- package/dist/evaluation-source-retrieval.js +513 -0
- package/dist/evaluation-structure-policy.d.ts +29 -0
- package/dist/evaluation-structure-policy.js +138 -0
- package/dist/index.d.ts +124 -17
- package/dist/index.js +69 -11
- package/dist/inspection.js +2 -3
- package/dist/project-artifacts.d.ts +7 -2
- package/dist/project-artifacts.js +49 -136
- package/dist/project-authoring.d.ts +66 -5
- package/dist/project-authoring.js +783 -109
- package/dist/project-contracts.d.ts +419 -84
- package/dist/project-contracts.js +160 -52
- package/dist/project-store.js +2 -1
- package/dist/project-workflow.d.ts +5 -4
- package/dist/project-workflow.js +154 -35
- package/dist/repository-adversary-protocol.d.ts +64 -0
- package/dist/repository-adversary-protocol.js +105 -0
- package/dist/repository-behavior-protocol.d.ts +188 -0
- package/dist/repository-behavior-protocol.js +202 -0
- package/dist/repository-benchmark-protocol.d.ts +487 -0
- package/dist/repository-benchmark-protocol.js +96 -0
- package/dist/repository-execution-protocol.d.ts +150 -0
- package/dist/repository-execution-protocol.js +38 -0
- package/dist/repository-fixture-instructions.d.ts +3 -0
- package/dist/repository-fixture-instructions.js +91 -0
- package/dist/repository-fixture-protocol.d.ts +79 -0
- package/dist/repository-fixture-protocol.js +79 -0
- package/dist/repository-foundry-plan-protocol.d.ts +118 -0
- package/dist/repository-foundry-plan-protocol.js +296 -0
- package/dist/repository-foundry-progress-protocol.d.ts +52 -0
- package/dist/repository-foundry-progress-protocol.js +52 -0
- package/dist/repository-improvement-protocol.d.ts +100 -0
- package/dist/repository-improvement-protocol.js +106 -0
- package/dist/repository-language-model-protocol.d.ts +43 -0
- package/dist/repository-language-model-protocol.js +146 -0
- package/dist/repository-oracle-coverage-protocol.d.ts +18 -0
- package/dist/repository-oracle-coverage-protocol.js +39 -0
- package/dist/repository-oracle-execution-binding.d.ts +27 -0
- package/dist/repository-oracle-execution-binding.js +59 -0
- package/dist/repository-oracle-protocol.d.ts +230 -0
- package/dist/repository-oracle-protocol.js +156 -0
- package/dist/repository-oracle-scope-policy.d.ts +22 -0
- package/dist/repository-oracle-scope-policy.js +92 -0
- package/dist/repository-quality-policy.d.ts +15 -0
- package/dist/repository-quality-policy.js +357 -0
- package/dist/repository-routing-benchmark-protocol.d.ts +176 -0
- package/dist/repository-routing-benchmark-protocol.js +103 -0
- package/dist/repository-routing-model-protocol.d.ts +36 -0
- package/dist/repository-routing-model-protocol.js +89 -0
- package/dist/repository-routing-plan-protocol.d.ts +112 -0
- package/dist/repository-routing-plan-protocol.js +58 -0
- package/dist/repository-routing-quality-policy.d.ts +9 -0
- package/dist/repository-routing-quality-policy.js +191 -0
- package/dist/repository-seed-qualification-progress-protocol.d.ts +205 -0
- package/dist/repository-seed-qualification-progress-protocol.js +28 -0
- package/dist/repository-semantic-calibration-protocol.d.ts +768 -0
- package/dist/repository-semantic-calibration-protocol.js +276 -0
- package/dist/repository-semantic-calibration.d.ts +163 -0
- package/dist/repository-semantic-calibration.js +581 -0
- package/dist/repository-specification-contract-facts-protocol.d.ts +224 -0
- package/dist/repository-specification-contract-facts-protocol.js +276 -0
- package/dist/repository-specification-critique-protocol.d.ts +189 -0
- package/dist/repository-specification-critique-protocol.js +103 -0
- package/dist/repository-task-family-protocol.d.ts +24 -0
- package/dist/repository-task-family-protocol.js +37 -0
- package/dist/repository-task-seed-protocol.d.ts +384 -0
- package/dist/repository-task-seed-protocol.js +236 -0
- package/dist/repository-trajectory-protocol.d.ts +20 -0
- package/dist/repository-trajectory-protocol.js +42 -0
- package/dist/service.js +1 -1
- package/dist/services/adversary/service.d.ts +64 -0
- package/dist/services/adversary/service.js +330 -0
- package/dist/services/benchmark-compiler/service.d.ts +450 -0
- package/dist/services/benchmark-compiler/service.js +9 -0
- package/dist/services/budgeted-model/service.d.ts +118 -0
- package/dist/services/budgeted-model/service.js +460 -0
- package/dist/services/case-authoring/service.d.ts +163 -0
- package/dist/services/case-authoring/service.js +1456 -0
- package/dist/services/case-finalization/service.d.ts +283 -0
- package/dist/services/case-finalization/service.js +370 -0
- package/dist/services/case-generation/service.d.ts +619 -0
- package/dist/services/case-generation/service.js +2628 -0
- package/dist/services/case-pipeline/service.d.ts +31 -0
- package/dist/services/case-pipeline/service.js +485 -0
- package/dist/services/case-pipeline-v2/service.d.ts +70 -0
- package/dist/services/case-pipeline-v2/service.js +477 -0
- package/dist/services/command-observability/service.d.ts +13 -0
- package/dist/services/command-observability/service.js +3 -0
- package/dist/services/dimension-labeling/service.d.ts +77 -0
- package/dist/services/dimension-labeling/service.js +188 -0
- package/dist/services/eval-candidate/service.d.ts +208 -0
- package/dist/services/eval-candidate/service.js +64 -0
- package/dist/services/eval-capabilities/service.d.ts +183 -0
- package/dist/services/eval-capabilities/service.js +1433 -0
- package/dist/services/eval-environment/service.d.ts +173 -0
- package/dist/services/eval-environment/service.js +127 -0
- package/dist/services/evidence-reconstruction/service.d.ts +36 -0
- package/dist/services/evidence-reconstruction/service.js +145 -0
- package/dist/services/fixture-builder/service.d.ts +62 -0
- package/dist/services/fixture-builder/service.js +36 -0
- package/dist/services/fixture-validation/service.d.ts +75 -0
- package/dist/services/fixture-validation/service.js +295 -0
- package/dist/services/foundry/service.d.ts +831 -0
- package/dist/services/foundry/service.js +442 -0
- package/dist/services/foundry-progress/service.d.ts +62 -0
- package/dist/services/foundry-progress/service.js +149 -0
- package/dist/services/foundry-v2/service.d.ts +54 -0
- package/dist/services/foundry-v2/service.js +28 -0
- package/dist/services/grounded-authoring/service.d.ts +126 -0
- package/dist/services/grounded-authoring/service.js +822 -0
- package/dist/services/historical-case/service.d.ts +722 -0
- package/dist/services/historical-case/service.js +177 -0
- package/dist/services/improvement-loop/service.d.ts +59 -0
- package/dist/services/improvement-loop/service.js +176 -0
- package/dist/services/language-model/service.d.ts +52 -0
- package/dist/services/language-model/service.js +194 -0
- package/dist/services/oracle-builder/service.d.ts +146 -0
- package/dist/services/oracle-builder/service.js +513 -0
- package/dist/services/oracle-coverage/service.d.ts +28 -0
- package/dist/services/oracle-coverage/service.js +50 -0
- package/dist/services/oracle-coverage-witness/service.d.ts +130 -0
- package/dist/services/oracle-coverage-witness/service.js +538 -0
- package/dist/services/pipeline-challenge/service.d.ts +551 -0
- package/dist/services/pipeline-challenge/service.js +427 -0
- package/dist/services/pipeline-controls/service.d.ts +130 -0
- package/dist/services/pipeline-controls/service.js +483 -0
- package/dist/services/pipeline-oracle/service.d.ts +8 -0
- package/dist/services/pipeline-oracle/service.js +256 -0
- package/dist/services/pipeline-seed/service.d.ts +298 -0
- package/dist/services/pipeline-seed/service.js +428 -0
- package/dist/services/pipeline-spec/service.d.ts +103 -0
- package/dist/services/pipeline-spec/service.js +619 -0
- package/dist/services/pipeline-tournament/service.d.ts +258 -0
- package/dist/services/pipeline-tournament/service.js +476 -0
- package/dist/services/quality-gate/service.d.ts +233 -0
- package/dist/services/quality-gate/service.js +136 -0
- package/dist/services/repository-bundle/service.d.ts +33 -0
- package/dist/services/repository-bundle/service.js +114 -0
- package/dist/services/repository-model/service.d.ts +105 -0
- package/dist/services/repository-model/service.js +250 -0
- package/dist/services/repository-public-artifact/service.d.ts +133 -0
- package/dist/services/repository-public-artifact/service.js +330 -0
- package/dist/services/routing-benchmark/service.d.ts +362 -0
- package/dist/services/routing-benchmark/service.js +96 -0
- package/dist/services/specification-critic/service.d.ts +92 -0
- package/dist/services/specification-critic/service.js +172 -0
- package/dist/services/task-family/service.d.ts +40 -0
- package/dist/services/task-family/service.js +55 -0
- package/dist/services/task-seed/service.d.ts +906 -0
- package/dist/services/task-seed/service.js +1406 -0
- package/dist/services/task-specification/service.d.ts +27 -0
- package/dist/services/task-specification/service.js +40 -0
- package/dist/services/trajectory-policy/service.d.ts +110 -0
- package/dist/services/trajectory-policy/service.js +216 -0
- package/dist/test/agentic-capabilities-protocol.test.d.ts +1 -0
- package/dist/test/agentic-capabilities-protocol.test.js +570 -0
- package/dist/test/agentic-capabilities.test.d.ts +1 -0
- package/dist/test/agentic-capabilities.test.js +1461 -0
- package/dist/test/agentic-environment.test.d.ts +1 -0
- package/dist/test/agentic-environment.test.js +213 -0
- package/dist/test/case-pipeline-foundation.test.d.ts +1 -0
- package/dist/test/case-pipeline-foundation.test.js +535 -0
- package/dist/test/case-pipeline-protocol-v2.test.d.ts +1 -0
- package/dist/test/case-pipeline-protocol-v2.test.js +124 -0
- package/dist/test/case-pipeline-v2.test.d.ts +1 -0
- package/dist/test/case-pipeline-v2.test.js +286 -0
- package/dist/test/case-pipeline.test.d.ts +1 -0
- package/dist/test/case-pipeline.test.js +851 -0
- package/dist/test/eval-capability-policy.test.d.ts +1 -0
- package/dist/test/eval-capability-policy.test.js +50 -0
- package/dist/test/eval-event-log.test.d.ts +1 -0
- package/dist/test/eval-event-log.test.js +125 -0
- package/dist/test/evaluation-evidence-freshness.test.d.ts +1 -0
- package/dist/test/evaluation-evidence-freshness.test.js +44 -0
- package/dist/test/evaluation-evidence.test.d.ts +1 -0
- package/dist/test/evaluation-evidence.test.js +230 -0
- package/dist/test/evaluation-grader-calibration.test.d.ts +1 -0
- package/dist/test/evaluation-grader-calibration.test.js +373 -0
- package/dist/test/evaluation-proposal-digest.test.d.ts +1 -0
- package/dist/test/evaluation-proposal-digest.test.js +187 -0
- package/dist/test/evaluation-source-retrieval.test.d.ts +1 -0
- package/dist/test/evaluation-source-retrieval.test.js +237 -0
- package/dist/test/evaluation-structure-policy.test.d.ts +1 -0
- package/dist/test/evaluation-structure-policy.test.js +196 -0
- package/dist/test/fixtures/repository-resource-panel.d.ts +39 -0
- package/dist/test/fixtures/repository-resource-panel.js +111 -0
- package/dist/test/fixtures/vitest-boundary-panel.d.ts +84 -0
- package/dist/test/fixtures/vitest-boundary-panel.js +120 -0
- package/dist/test/fixtures/vitest-phase-panel.d.ts +135 -0
- package/dist/test/fixtures/vitest-phase-panel.js +213 -0
- package/dist/test/fixtures/vitest-reporter-results.d.ts +76 -0
- package/dist/test/fixtures/vitest-reporter-results.js +94 -0
- package/dist/test/grounded-authoring.test.d.ts +1 -0
- package/dist/test/grounded-authoring.test.js +565 -0
- package/dist/test/integrated-repository-history.test.d.ts +1 -0
- package/dist/test/integrated-repository-history.test.js +227 -0
- package/dist/test/project-authoring.test.js +593 -43
- package/dist/test/project-workflow.test.js +419 -40
- package/dist/test/repository-authoring-artifacts.test.d.ts +1 -0
- package/dist/test/repository-authoring-artifacts.test.js +185 -0
- package/dist/test/repository-bundle.test.d.ts +1 -0
- package/dist/test/repository-bundle.test.js +52 -0
- package/dist/test/repository-case-generation.test.d.ts +1 -0
- package/dist/test/repository-case-generation.test.js +3465 -0
- package/dist/test/repository-command-diagnostic.test.d.ts +1 -0
- package/dist/test/repository-command-diagnostic.test.js +55 -0
- package/dist/test/repository-command-signals.test.d.ts +1 -0
- package/dist/test/repository-command-signals.test.js +124 -0
- package/dist/test/repository-fixture-scope-coverage.test.d.ts +1 -0
- package/dist/test/repository-fixture-scope-coverage.test.js +127 -0
- package/dist/test/repository-fixture-validation.test.d.ts +1 -0
- package/dist/test/repository-fixture-validation.test.js +362 -0
- package/dist/test/repository-foundry-progress.test.d.ts +1 -0
- package/dist/test/repository-foundry-progress.test.js +110 -0
- package/dist/test/repository-foundry-quality.test.d.ts +1 -0
- package/dist/test/repository-foundry-quality.test.js +1138 -0
- package/dist/test/repository-import-context.test.d.ts +1 -0
- package/dist/test/repository-import-context.test.js +354 -0
- package/dist/test/repository-model-authoring.test.d.ts +1 -0
- package/dist/test/repository-model-authoring.test.js +544 -0
- package/dist/test/repository-model.test.d.ts +1 -0
- package/dist/test/repository-model.test.js +2195 -0
- package/dist/test/repository-node-test-reporter.test.d.ts +1 -0
- package/dist/test/repository-node-test-reporter.test.js +104 -0
- package/dist/test/repository-oracle-concurrency.test.d.ts +1 -0
- package/dist/test/repository-oracle-concurrency.test.js +542 -0
- package/dist/test/repository-oracle-coverage-witness.test.d.ts +1 -0
- package/dist/test/repository-oracle-coverage-witness.test.js +511 -0
- package/dist/test/repository-oracle-coverage.test.d.ts +1 -0
- package/dist/test/repository-oracle-coverage.test.js +168 -0
- package/dist/test/repository-oracle-evidence.test.d.ts +1 -0
- package/dist/test/repository-oracle-evidence.test.js +185 -0
- package/dist/test/repository-oracle-plan.test.d.ts +1 -0
- package/dist/test/repository-oracle-plan.test.js +176 -0
- package/dist/test/repository-overlay-isolation.test.d.ts +1 -0
- package/dist/test/repository-overlay-isolation.test.js +85 -0
- package/dist/test/repository-preparation-cache.test.d.ts +1 -0
- package/dist/test/repository-preparation-cache.test.js +414 -0
- package/dist/test/repository-public-artifact.test.d.ts +1 -0
- package/dist/test/repository-public-artifact.test.js +273 -0
- package/dist/test/repository-qualification-diagnostics.test.d.ts +1 -0
- package/dist/test/repository-qualification-diagnostics.test.js +524 -0
- package/dist/test/repository-reference-authoring.test.d.ts +1 -0
- package/dist/test/repository-reference-authoring.test.js +1633 -0
- package/dist/test/repository-review-evidence-v2.test.d.ts +1 -0
- package/dist/test/repository-review-evidence-v2.test.js +183 -0
- package/dist/test/repository-review-evidence.test.d.ts +1 -0
- package/dist/test/repository-review-evidence.test.js +124 -0
- package/dist/test/repository-seed-exclusions.test.d.ts +1 -0
- package/dist/test/repository-seed-exclusions.test.js +96 -0
- package/dist/test/repository-seed-selection.test.d.ts +1 -0
- package/dist/test/repository-seed-selection.test.js +504 -0
- package/dist/test/repository-semantic-calibration.test.d.ts +1 -0
- package/dist/test/repository-semantic-calibration.test.js +688 -0
- package/dist/test/repository-solution-edits.test.d.ts +1 -0
- package/dist/test/repository-solution-edits.test.js +377 -0
- package/dist/test/repository-specification-budget.test.d.ts +1 -0
- package/dist/test/repository-specification-budget.test.js +171 -0
- package/dist/test/repository-specification-contract-checkpoint.test.d.ts +1 -0
- package/dist/test/repository-specification-contract-checkpoint.test.js +228 -0
- package/dist/test/repository-specification-contract-facts.test.d.ts +1 -0
- package/dist/test/repository-specification-contract-facts.test.js +177 -0
- package/dist/test/repository-trajectory-authoring.test.d.ts +1 -0
- package/dist/test/repository-trajectory-authoring.test.js +176 -0
- package/dist/test/repository-valid-control-plan.test.d.ts +1 -0
- package/dist/test/repository-valid-control-plan.test.js +45 -0
- package/dist/test/repository-vitest-phase.test.d.ts +1 -0
- package/dist/test/repository-vitest-phase.test.js +848 -0
- package/dist/test/repository-vitest-reporter.test.d.ts +1 -0
- package/dist/test/repository-vitest-reporter.test.js +158 -0
- package/dist/test/repository-workspace-build.test.d.ts +1 -0
- package/dist/test/repository-workspace-build.test.js +160 -0
- package/dist/test/strict-authoring-schema.test.d.ts +1 -0
- package/dist/test/strict-authoring-schema.test.js +169 -0
- package/package.json +48 -6
|
@@ -0,0 +1,906 @@
|
|
|
1
|
+
import { Context, Effect, Layer } from "effect";
|
|
2
|
+
import { type RepositoryPreparationCacheV1 } from "../../adapters/repository-command-runner.js";
|
|
3
|
+
import { RepositoryFoundryError } from "../../errors.js";
|
|
4
|
+
import type { RepositoryBehaviorMapV1, RepositoryCommandRecipeV1 } from "../../repository-behavior-protocol.js";
|
|
5
|
+
import { type RepositoryHiddenFixtureSuiteV1 } from "../../repository-fixture-protocol.js";
|
|
6
|
+
import { type RepositorySeedCrossBatchQualificationV1, type RepositoryTaskSeedV1 } from "../../repository-task-seed-protocol.js";
|
|
7
|
+
import type { RepositorySeedQualificationProgressV1 } from "../../repository-seed-qualification-progress-protocol.js";
|
|
8
|
+
export declare const deriveHistoricalSeedEnvironmentV1: (input: {
|
|
9
|
+
readonly repositoryRoot: string;
|
|
10
|
+
readonly commit: string;
|
|
11
|
+
readonly gradeRecipes: readonly RepositoryCommandRecipeV1[];
|
|
12
|
+
/** Agentic planning is explicit; omitted preserves the legacy preparation policy. */
|
|
13
|
+
readonly executionMode?: "source" | "emitted" | "repository-default";
|
|
14
|
+
readonly testPaths: readonly string[];
|
|
15
|
+
readonly changedPaths: readonly string[];
|
|
16
|
+
}) => Effect.Effect<{
|
|
17
|
+
readonly protectedControlPaths: readonly string[];
|
|
18
|
+
readonly trustedPreparationRecipes: readonly {
|
|
19
|
+
readonly id: string;
|
|
20
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
21
|
+
readonly cwd: string;
|
|
22
|
+
readonly executable: string;
|
|
23
|
+
readonly args: readonly string[];
|
|
24
|
+
readonly timeoutMs: number;
|
|
25
|
+
}[];
|
|
26
|
+
readonly candidateValidationRecipes: readonly {
|
|
27
|
+
readonly id: string;
|
|
28
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
29
|
+
readonly cwd: string;
|
|
30
|
+
readonly executable: string;
|
|
31
|
+
readonly args: readonly string[];
|
|
32
|
+
readonly timeoutMs: number;
|
|
33
|
+
}[];
|
|
34
|
+
readonly baselineGradeRecipes: readonly {
|
|
35
|
+
readonly id: string;
|
|
36
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
37
|
+
readonly cwd: string;
|
|
38
|
+
readonly executable: string;
|
|
39
|
+
readonly args: readonly string[];
|
|
40
|
+
readonly timeoutMs: number;
|
|
41
|
+
}[];
|
|
42
|
+
readonly gradeRecipes: readonly {
|
|
43
|
+
readonly id: string;
|
|
44
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
45
|
+
readonly cwd: string;
|
|
46
|
+
readonly executable: string;
|
|
47
|
+
readonly args: readonly string[];
|
|
48
|
+
readonly timeoutMs: number;
|
|
49
|
+
}[];
|
|
50
|
+
readonly packageManager?: {
|
|
51
|
+
readonly name: "pnpm";
|
|
52
|
+
readonly version: string;
|
|
53
|
+
} | undefined;
|
|
54
|
+
readonly lockfilePath?: string | undefined;
|
|
55
|
+
}, RepositoryFoundryError, never>;
|
|
56
|
+
export type TaskSeedShape = {
|
|
57
|
+
readonly extractHistorical: (map: RepositoryBehaviorMapV1) => Effect.Effect<readonly RepositoryTaskSeedV1[], RepositoryFoundryError>;
|
|
58
|
+
readonly qualifyHistorical: (input: {
|
|
59
|
+
readonly repositoryRoot: string;
|
|
60
|
+
readonly seed: RepositoryTaskSeedV1;
|
|
61
|
+
readonly hiddenFixtureSuite?: RepositoryHiddenFixtureSuiteV1;
|
|
62
|
+
readonly repetitions?: number;
|
|
63
|
+
}) => Effect.Effect<RepositoryTaskSeedV1, RepositoryFoundryError>;
|
|
64
|
+
readonly qualifyHistoricalAcrossBatches: (input: {
|
|
65
|
+
readonly repositoryRoot: string;
|
|
66
|
+
readonly seed: RepositoryTaskSeedV1;
|
|
67
|
+
readonly batches?: number;
|
|
68
|
+
readonly hiddenFixtureSuite?: RepositoryHiddenFixtureSuiteV1;
|
|
69
|
+
readonly repetitionsPerBatch?: number;
|
|
70
|
+
}) => Effect.Effect<RepositorySeedCrossBatchQualificationV1, RepositoryFoundryError>;
|
|
71
|
+
};
|
|
72
|
+
declare const TaskSeed_base: Context.ServiceClass<TaskSeed, "@velum-labs/routekit-eval-setup/TaskSeed", TaskSeedShape>;
|
|
73
|
+
export declare class TaskSeed extends TaskSeed_base {
|
|
74
|
+
}
|
|
75
|
+
export declare const extractHistoricalTaskSeedsV1: (map: {
|
|
76
|
+
readonly version: 1;
|
|
77
|
+
readonly repository: {
|
|
78
|
+
readonly root: string;
|
|
79
|
+
readonly requestedRef: string;
|
|
80
|
+
readonly commit: string;
|
|
81
|
+
readonly tree: string;
|
|
82
|
+
};
|
|
83
|
+
readonly packages: readonly {
|
|
84
|
+
readonly id: string;
|
|
85
|
+
readonly name: string;
|
|
86
|
+
readonly path: string;
|
|
87
|
+
readonly manifestPath: string;
|
|
88
|
+
readonly dependencyPackageIds: readonly string[];
|
|
89
|
+
readonly publicExports: readonly string[];
|
|
90
|
+
}[];
|
|
91
|
+
readonly publicSurfaces: readonly {
|
|
92
|
+
readonly kind: "package-export" | "cli-command" | "http-endpoint" | "documented-example";
|
|
93
|
+
readonly id: string;
|
|
94
|
+
readonly path: string;
|
|
95
|
+
readonly symbols: readonly string[];
|
|
96
|
+
readonly packageId?: string | undefined;
|
|
97
|
+
}[];
|
|
98
|
+
readonly protocols: readonly {
|
|
99
|
+
readonly id: string;
|
|
100
|
+
readonly path: string;
|
|
101
|
+
readonly name: string;
|
|
102
|
+
readonly kind: "schema" | "wire" | "persistence" | "internal-boundary";
|
|
103
|
+
}[];
|
|
104
|
+
readonly commands: readonly {
|
|
105
|
+
readonly id: string;
|
|
106
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
107
|
+
readonly cwd: string;
|
|
108
|
+
readonly executable: string;
|
|
109
|
+
readonly args: readonly string[];
|
|
110
|
+
readonly timeoutMs: number;
|
|
111
|
+
}[];
|
|
112
|
+
readonly tests: readonly {
|
|
113
|
+
readonly id: string;
|
|
114
|
+
readonly path: string;
|
|
115
|
+
readonly names: readonly string[];
|
|
116
|
+
readonly commandIds: readonly string[];
|
|
117
|
+
}[];
|
|
118
|
+
readonly testBindings: readonly {
|
|
119
|
+
readonly testId: string;
|
|
120
|
+
readonly targetIds: readonly string[];
|
|
121
|
+
readonly signals: readonly ("direct-import" | "symbol-reference" | "fixture-reference" | "package-ownership" | "git-cochange" | "coverage" | "reviewed-hypothesis")[];
|
|
122
|
+
readonly confidence: "high" | "medium" | "hypothesis";
|
|
123
|
+
}[];
|
|
124
|
+
readonly historyEpisodes: readonly {
|
|
125
|
+
readonly id: string;
|
|
126
|
+
readonly commit: string;
|
|
127
|
+
readonly changedPaths: readonly {
|
|
128
|
+
readonly kind: "protocol" | "schema" | "test" | "documentation" | "implementation" | "operational" | "other";
|
|
129
|
+
readonly path: string;
|
|
130
|
+
readonly status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
131
|
+
readonly previousPath?: string | undefined;
|
|
132
|
+
}[];
|
|
133
|
+
readonly testPaths: readonly string[];
|
|
134
|
+
readonly implementationPaths: readonly string[];
|
|
135
|
+
readonly protocolPaths: readonly string[];
|
|
136
|
+
readonly occurredAt: string;
|
|
137
|
+
readonly subject: string;
|
|
138
|
+
readonly body: string;
|
|
139
|
+
readonly behaviorChanging: boolean;
|
|
140
|
+
readonly seedEligible: boolean;
|
|
141
|
+
readonly parentCommit?: string | undefined;
|
|
142
|
+
}[];
|
|
143
|
+
readonly workloadSignals: readonly {
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly kind: "recurring-cochange" | "recurring-behavior-change" | "recurring-command" | "public-contract" | "reviewed-critical";
|
|
146
|
+
readonly label: string;
|
|
147
|
+
readonly episodeIds: readonly string[];
|
|
148
|
+
readonly pathPatterns: readonly string[];
|
|
149
|
+
readonly frequency: number;
|
|
150
|
+
readonly importance: "critical" | "high" | "normal";
|
|
151
|
+
readonly confidence: "high" | "medium" | "review-required";
|
|
152
|
+
}[];
|
|
153
|
+
readonly blindSpots: readonly {
|
|
154
|
+
readonly id: string;
|
|
155
|
+
readonly kind: "unmapped-test" | "unreconstructible-command" | "unsupported-language" | "external-service" | "history-gap" | "unknown-relationship";
|
|
156
|
+
readonly detail: string;
|
|
157
|
+
readonly paths: readonly string[];
|
|
158
|
+
}[];
|
|
159
|
+
}, options?: {
|
|
160
|
+
readonly deferEnvironment?: boolean;
|
|
161
|
+
} | undefined) => Effect.Effect<{
|
|
162
|
+
readonly id: string;
|
|
163
|
+
readonly source: {
|
|
164
|
+
readonly kind: "historical-fix";
|
|
165
|
+
readonly changeEpisodeId: string;
|
|
166
|
+
} | {
|
|
167
|
+
readonly kind: "historical-feature";
|
|
168
|
+
readonly changeEpisodeId: string;
|
|
169
|
+
} | {
|
|
170
|
+
readonly kind: "historical-refactor";
|
|
171
|
+
readonly changeEpisodeId: string;
|
|
172
|
+
} | {
|
|
173
|
+
readonly kind: "existing-test";
|
|
174
|
+
readonly testIds: readonly string[];
|
|
175
|
+
} | {
|
|
176
|
+
readonly kind: "public-api";
|
|
177
|
+
readonly surfaceIds: readonly string[];
|
|
178
|
+
} | {
|
|
179
|
+
readonly kind: "schema-contract";
|
|
180
|
+
readonly protocolIds: readonly string[];
|
|
181
|
+
} | {
|
|
182
|
+
readonly kind: "production-request";
|
|
183
|
+
readonly requestId: string;
|
|
184
|
+
} | {
|
|
185
|
+
readonly kind: "reviewed-synthetic-gap";
|
|
186
|
+
readonly reviewId: string;
|
|
187
|
+
};
|
|
188
|
+
readonly version: 1;
|
|
189
|
+
readonly rejectionReasons: readonly string[];
|
|
190
|
+
readonly confidence: "high" | "medium" | "review-required";
|
|
191
|
+
readonly status: "candidate" | "qualified" | "rejected";
|
|
192
|
+
readonly capabilityEvidence: readonly {
|
|
193
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
194
|
+
readonly id: string;
|
|
195
|
+
readonly path?: string | undefined;
|
|
196
|
+
}[];
|
|
197
|
+
readonly initialState: {
|
|
198
|
+
readonly commit: string;
|
|
199
|
+
readonly parentCommit?: string | undefined;
|
|
200
|
+
};
|
|
201
|
+
readonly targetBehavior: readonly {
|
|
202
|
+
readonly id: string;
|
|
203
|
+
readonly description: string;
|
|
204
|
+
readonly critical: boolean;
|
|
205
|
+
readonly evidence: readonly {
|
|
206
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
207
|
+
readonly id: string;
|
|
208
|
+
readonly path?: string | undefined;
|
|
209
|
+
}[];
|
|
210
|
+
}[];
|
|
211
|
+
readonly baselineObservations: readonly {
|
|
212
|
+
readonly id: string;
|
|
213
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
214
|
+
readonly subjectId: string;
|
|
215
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
216
|
+
readonly detail: string;
|
|
217
|
+
}[];
|
|
218
|
+
readonly preChangeObservations: readonly {
|
|
219
|
+
readonly id: string;
|
|
220
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
221
|
+
readonly subjectId: string;
|
|
222
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
223
|
+
readonly detail: string;
|
|
224
|
+
}[];
|
|
225
|
+
readonly postChangeObservations: readonly {
|
|
226
|
+
readonly id: string;
|
|
227
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
228
|
+
readonly subjectId: string;
|
|
229
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
230
|
+
readonly detail: string;
|
|
231
|
+
}[];
|
|
232
|
+
readonly candidateTestIds: readonly string[];
|
|
233
|
+
readonly risks: readonly ("review-required" | "external-service" | "ambiguous-intent" | "bundled-change" | "flaky-baseline" | "reference-only-oracle" | "weak-test-delta" | "unrealistic-mutation" | "private-context" | "cross-batch-instability")[];
|
|
234
|
+
readonly summary: string;
|
|
235
|
+
readonly environment: {
|
|
236
|
+
readonly protectedControlPaths: readonly string[];
|
|
237
|
+
readonly trustedPreparationRecipes: readonly {
|
|
238
|
+
readonly id: string;
|
|
239
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
240
|
+
readonly cwd: string;
|
|
241
|
+
readonly executable: string;
|
|
242
|
+
readonly args: readonly string[];
|
|
243
|
+
readonly timeoutMs: number;
|
|
244
|
+
}[];
|
|
245
|
+
readonly candidateValidationRecipes: readonly {
|
|
246
|
+
readonly id: string;
|
|
247
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
248
|
+
readonly cwd: string;
|
|
249
|
+
readonly executable: string;
|
|
250
|
+
readonly args: readonly string[];
|
|
251
|
+
readonly timeoutMs: number;
|
|
252
|
+
}[];
|
|
253
|
+
readonly baselineGradeRecipes: readonly {
|
|
254
|
+
readonly id: string;
|
|
255
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
256
|
+
readonly cwd: string;
|
|
257
|
+
readonly executable: string;
|
|
258
|
+
readonly args: readonly string[];
|
|
259
|
+
readonly timeoutMs: number;
|
|
260
|
+
}[];
|
|
261
|
+
readonly gradeRecipes: readonly {
|
|
262
|
+
readonly id: string;
|
|
263
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
264
|
+
readonly cwd: string;
|
|
265
|
+
readonly executable: string;
|
|
266
|
+
readonly args: readonly string[];
|
|
267
|
+
readonly timeoutMs: number;
|
|
268
|
+
}[];
|
|
269
|
+
readonly packageManager?: {
|
|
270
|
+
readonly name: "pnpm";
|
|
271
|
+
readonly version: string;
|
|
272
|
+
} | undefined;
|
|
273
|
+
readonly lockfilePath?: string | undefined;
|
|
274
|
+
};
|
|
275
|
+
readonly referenceCommit?: string | undefined;
|
|
276
|
+
}[], RepositoryFoundryError, never>;
|
|
277
|
+
export declare const qualifyHistoricalTaskSeedV1: (input: {
|
|
278
|
+
readonly repositoryRoot: string;
|
|
279
|
+
readonly seed: RepositoryTaskSeedV1;
|
|
280
|
+
readonly hiddenFixtureSuite?: RepositoryHiddenFixtureSuiteV1;
|
|
281
|
+
readonly repetitions?: number;
|
|
282
|
+
/** Diagnostic identity only; does not change replay or qualification behavior. */
|
|
283
|
+
readonly diagnosticBatch?: number;
|
|
284
|
+
/** Scoped immutable preparation shared only by the owning qualification. */
|
|
285
|
+
readonly preparationCache?: RepositoryPreparationCacheV1;
|
|
286
|
+
}) => Effect.Effect<{
|
|
287
|
+
readonly id: string;
|
|
288
|
+
readonly source: {
|
|
289
|
+
readonly kind: "historical-fix";
|
|
290
|
+
readonly changeEpisodeId: string;
|
|
291
|
+
} | {
|
|
292
|
+
readonly kind: "historical-feature";
|
|
293
|
+
readonly changeEpisodeId: string;
|
|
294
|
+
} | {
|
|
295
|
+
readonly kind: "historical-refactor";
|
|
296
|
+
readonly changeEpisodeId: string;
|
|
297
|
+
} | {
|
|
298
|
+
readonly kind: "existing-test";
|
|
299
|
+
readonly testIds: readonly string[];
|
|
300
|
+
} | {
|
|
301
|
+
readonly kind: "public-api";
|
|
302
|
+
readonly surfaceIds: readonly string[];
|
|
303
|
+
} | {
|
|
304
|
+
readonly kind: "schema-contract";
|
|
305
|
+
readonly protocolIds: readonly string[];
|
|
306
|
+
} | {
|
|
307
|
+
readonly kind: "production-request";
|
|
308
|
+
readonly requestId: string;
|
|
309
|
+
} | {
|
|
310
|
+
readonly kind: "reviewed-synthetic-gap";
|
|
311
|
+
readonly reviewId: string;
|
|
312
|
+
};
|
|
313
|
+
readonly version: 1;
|
|
314
|
+
readonly rejectionReasons: readonly string[];
|
|
315
|
+
readonly confidence: "high" | "medium" | "review-required";
|
|
316
|
+
readonly status: "candidate" | "qualified" | "rejected";
|
|
317
|
+
readonly capabilityEvidence: readonly {
|
|
318
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
319
|
+
readonly id: string;
|
|
320
|
+
readonly path?: string | undefined;
|
|
321
|
+
}[];
|
|
322
|
+
readonly initialState: {
|
|
323
|
+
readonly commit: string;
|
|
324
|
+
readonly parentCommit?: string | undefined;
|
|
325
|
+
};
|
|
326
|
+
readonly targetBehavior: readonly {
|
|
327
|
+
readonly id: string;
|
|
328
|
+
readonly description: string;
|
|
329
|
+
readonly critical: boolean;
|
|
330
|
+
readonly evidence: readonly {
|
|
331
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
332
|
+
readonly id: string;
|
|
333
|
+
readonly path?: string | undefined;
|
|
334
|
+
}[];
|
|
335
|
+
}[];
|
|
336
|
+
readonly baselineObservations: readonly {
|
|
337
|
+
readonly id: string;
|
|
338
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
339
|
+
readonly subjectId: string;
|
|
340
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
341
|
+
readonly detail: string;
|
|
342
|
+
}[];
|
|
343
|
+
readonly preChangeObservations: readonly {
|
|
344
|
+
readonly id: string;
|
|
345
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
346
|
+
readonly subjectId: string;
|
|
347
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
348
|
+
readonly detail: string;
|
|
349
|
+
}[];
|
|
350
|
+
readonly postChangeObservations: readonly {
|
|
351
|
+
readonly id: string;
|
|
352
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
353
|
+
readonly subjectId: string;
|
|
354
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
355
|
+
readonly detail: string;
|
|
356
|
+
}[];
|
|
357
|
+
readonly candidateTestIds: readonly string[];
|
|
358
|
+
readonly risks: readonly ("review-required" | "external-service" | "ambiguous-intent" | "bundled-change" | "flaky-baseline" | "reference-only-oracle" | "weak-test-delta" | "unrealistic-mutation" | "private-context" | "cross-batch-instability")[];
|
|
359
|
+
readonly summary: string;
|
|
360
|
+
readonly environment: {
|
|
361
|
+
readonly protectedControlPaths: readonly string[];
|
|
362
|
+
readonly trustedPreparationRecipes: readonly {
|
|
363
|
+
readonly id: string;
|
|
364
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
365
|
+
readonly cwd: string;
|
|
366
|
+
readonly executable: string;
|
|
367
|
+
readonly args: readonly string[];
|
|
368
|
+
readonly timeoutMs: number;
|
|
369
|
+
}[];
|
|
370
|
+
readonly candidateValidationRecipes: readonly {
|
|
371
|
+
readonly id: string;
|
|
372
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
373
|
+
readonly cwd: string;
|
|
374
|
+
readonly executable: string;
|
|
375
|
+
readonly args: readonly string[];
|
|
376
|
+
readonly timeoutMs: number;
|
|
377
|
+
}[];
|
|
378
|
+
readonly baselineGradeRecipes: readonly {
|
|
379
|
+
readonly id: string;
|
|
380
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
381
|
+
readonly cwd: string;
|
|
382
|
+
readonly executable: string;
|
|
383
|
+
readonly args: readonly string[];
|
|
384
|
+
readonly timeoutMs: number;
|
|
385
|
+
}[];
|
|
386
|
+
readonly gradeRecipes: readonly {
|
|
387
|
+
readonly id: string;
|
|
388
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
389
|
+
readonly cwd: string;
|
|
390
|
+
readonly executable: string;
|
|
391
|
+
readonly args: readonly string[];
|
|
392
|
+
readonly timeoutMs: number;
|
|
393
|
+
}[];
|
|
394
|
+
readonly packageManager?: {
|
|
395
|
+
readonly name: "pnpm";
|
|
396
|
+
readonly version: string;
|
|
397
|
+
} | undefined;
|
|
398
|
+
readonly lockfilePath?: string | undefined;
|
|
399
|
+
};
|
|
400
|
+
readonly referenceCommit?: string | undefined;
|
|
401
|
+
}, RepositoryFoundryError, never>;
|
|
402
|
+
export declare const qualifyHistoricalTaskSeedAcrossBatchesV1: (input: {
|
|
403
|
+
readonly repositoryRoot: string;
|
|
404
|
+
readonly seed: RepositoryTaskSeedV1;
|
|
405
|
+
readonly batches?: number;
|
|
406
|
+
readonly hiddenFixtureSuite?: RepositoryHiddenFixtureSuiteV1;
|
|
407
|
+
readonly repetitionsPerBatch?: number;
|
|
408
|
+
}) => Effect.Effect<{
|
|
409
|
+
readonly seed: {
|
|
410
|
+
readonly id: string;
|
|
411
|
+
readonly source: {
|
|
412
|
+
readonly kind: "historical-fix";
|
|
413
|
+
readonly changeEpisodeId: string;
|
|
414
|
+
} | {
|
|
415
|
+
readonly kind: "historical-feature";
|
|
416
|
+
readonly changeEpisodeId: string;
|
|
417
|
+
} | {
|
|
418
|
+
readonly kind: "historical-refactor";
|
|
419
|
+
readonly changeEpisodeId: string;
|
|
420
|
+
} | {
|
|
421
|
+
readonly kind: "existing-test";
|
|
422
|
+
readonly testIds: readonly string[];
|
|
423
|
+
} | {
|
|
424
|
+
readonly kind: "public-api";
|
|
425
|
+
readonly surfaceIds: readonly string[];
|
|
426
|
+
} | {
|
|
427
|
+
readonly kind: "schema-contract";
|
|
428
|
+
readonly protocolIds: readonly string[];
|
|
429
|
+
} | {
|
|
430
|
+
readonly kind: "production-request";
|
|
431
|
+
readonly requestId: string;
|
|
432
|
+
} | {
|
|
433
|
+
readonly kind: "reviewed-synthetic-gap";
|
|
434
|
+
readonly reviewId: string;
|
|
435
|
+
};
|
|
436
|
+
readonly version: 1;
|
|
437
|
+
readonly rejectionReasons: readonly string[];
|
|
438
|
+
readonly confidence: "high" | "medium" | "review-required";
|
|
439
|
+
readonly status: "candidate" | "qualified" | "rejected";
|
|
440
|
+
readonly capabilityEvidence: readonly {
|
|
441
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
442
|
+
readonly id: string;
|
|
443
|
+
readonly path?: string | undefined;
|
|
444
|
+
}[];
|
|
445
|
+
readonly initialState: {
|
|
446
|
+
readonly commit: string;
|
|
447
|
+
readonly parentCommit?: string | undefined;
|
|
448
|
+
};
|
|
449
|
+
readonly targetBehavior: readonly {
|
|
450
|
+
readonly id: string;
|
|
451
|
+
readonly description: string;
|
|
452
|
+
readonly critical: boolean;
|
|
453
|
+
readonly evidence: readonly {
|
|
454
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
455
|
+
readonly id: string;
|
|
456
|
+
readonly path?: string | undefined;
|
|
457
|
+
}[];
|
|
458
|
+
}[];
|
|
459
|
+
readonly baselineObservations: readonly {
|
|
460
|
+
readonly id: string;
|
|
461
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
462
|
+
readonly subjectId: string;
|
|
463
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
464
|
+
readonly detail: string;
|
|
465
|
+
}[];
|
|
466
|
+
readonly preChangeObservations: readonly {
|
|
467
|
+
readonly id: string;
|
|
468
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
469
|
+
readonly subjectId: string;
|
|
470
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
471
|
+
readonly detail: string;
|
|
472
|
+
}[];
|
|
473
|
+
readonly postChangeObservations: readonly {
|
|
474
|
+
readonly id: string;
|
|
475
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
476
|
+
readonly subjectId: string;
|
|
477
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
478
|
+
readonly detail: string;
|
|
479
|
+
}[];
|
|
480
|
+
readonly candidateTestIds: readonly string[];
|
|
481
|
+
readonly risks: readonly ("review-required" | "external-service" | "ambiguous-intent" | "bundled-change" | "flaky-baseline" | "reference-only-oracle" | "weak-test-delta" | "unrealistic-mutation" | "private-context" | "cross-batch-instability")[];
|
|
482
|
+
readonly summary: string;
|
|
483
|
+
readonly environment: {
|
|
484
|
+
readonly protectedControlPaths: readonly string[];
|
|
485
|
+
readonly trustedPreparationRecipes: readonly {
|
|
486
|
+
readonly id: string;
|
|
487
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
488
|
+
readonly cwd: string;
|
|
489
|
+
readonly executable: string;
|
|
490
|
+
readonly args: readonly string[];
|
|
491
|
+
readonly timeoutMs: number;
|
|
492
|
+
}[];
|
|
493
|
+
readonly candidateValidationRecipes: readonly {
|
|
494
|
+
readonly id: string;
|
|
495
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
496
|
+
readonly cwd: string;
|
|
497
|
+
readonly executable: string;
|
|
498
|
+
readonly args: readonly string[];
|
|
499
|
+
readonly timeoutMs: number;
|
|
500
|
+
}[];
|
|
501
|
+
readonly baselineGradeRecipes: readonly {
|
|
502
|
+
readonly id: string;
|
|
503
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
504
|
+
readonly cwd: string;
|
|
505
|
+
readonly executable: string;
|
|
506
|
+
readonly args: readonly string[];
|
|
507
|
+
readonly timeoutMs: number;
|
|
508
|
+
}[];
|
|
509
|
+
readonly gradeRecipes: readonly {
|
|
510
|
+
readonly id: string;
|
|
511
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
512
|
+
readonly cwd: string;
|
|
513
|
+
readonly executable: string;
|
|
514
|
+
readonly args: readonly string[];
|
|
515
|
+
readonly timeoutMs: number;
|
|
516
|
+
}[];
|
|
517
|
+
readonly packageManager?: {
|
|
518
|
+
readonly name: "pnpm";
|
|
519
|
+
readonly version: string;
|
|
520
|
+
} | undefined;
|
|
521
|
+
readonly lockfilePath?: string | undefined;
|
|
522
|
+
};
|
|
523
|
+
readonly referenceCommit?: string | undefined;
|
|
524
|
+
};
|
|
525
|
+
readonly stability: {
|
|
526
|
+
readonly version: 1;
|
|
527
|
+
readonly seedId: string;
|
|
528
|
+
readonly batchesRequired: number;
|
|
529
|
+
readonly repetitionsPerBatch: number;
|
|
530
|
+
readonly stable: boolean;
|
|
531
|
+
readonly batches: readonly {
|
|
532
|
+
readonly batch: number;
|
|
533
|
+
readonly status: "qualified" | "rejected";
|
|
534
|
+
readonly phaseSignatures: readonly {
|
|
535
|
+
readonly phase: "baseline" | "pre-change" | "post-change";
|
|
536
|
+
readonly signatures: readonly string[];
|
|
537
|
+
}[];
|
|
538
|
+
readonly rejectionReasons: readonly string[];
|
|
539
|
+
}[];
|
|
540
|
+
readonly divergentPhases: readonly ("baseline" | "pre-change" | "post-change")[];
|
|
541
|
+
readonly failureSignatures: readonly {
|
|
542
|
+
readonly signature: string;
|
|
543
|
+
readonly count: number;
|
|
544
|
+
}[];
|
|
545
|
+
readonly rejectionReasons: readonly string[];
|
|
546
|
+
};
|
|
547
|
+
}, RepositoryFoundryError, never>;
|
|
548
|
+
export declare const repositorySeedQualificationProgressSummaryV1: (progress: RepositorySeedQualificationProgressV1) => {
|
|
549
|
+
completedBatches: number;
|
|
550
|
+
batchesRequired: number;
|
|
551
|
+
completedUnits: number;
|
|
552
|
+
unitsPerBatch: number;
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Resume reference qualification only at completed replay boundaries. Every
|
|
556
|
+
* started replay still owns and closes its checkout scope; interruption may
|
|
557
|
+
* repeat the in-flight replay, but never a previously checkpointed repetition.
|
|
558
|
+
*/
|
|
559
|
+
export declare const qualifyHistoricalTaskSeedAcrossBatchesResumableV1: (input: {
|
|
560
|
+
readonly repositoryRoot: string;
|
|
561
|
+
readonly seed: RepositoryTaskSeedV1;
|
|
562
|
+
readonly bindingDigest: string;
|
|
563
|
+
readonly progress?: RepositorySeedQualificationProgressV1;
|
|
564
|
+
readonly checkpoint: (progress: RepositorySeedQualificationProgressV1) => Effect.Effect<void, RepositoryFoundryError>;
|
|
565
|
+
readonly batches?: number;
|
|
566
|
+
readonly hiddenFixtureSuite?: RepositoryHiddenFixtureSuiteV1;
|
|
567
|
+
readonly repetitionsPerBatch?: number;
|
|
568
|
+
}) => Effect.Effect<{
|
|
569
|
+
qualification: {
|
|
570
|
+
readonly seed: {
|
|
571
|
+
readonly id: string;
|
|
572
|
+
readonly source: {
|
|
573
|
+
readonly kind: "historical-fix";
|
|
574
|
+
readonly changeEpisodeId: string;
|
|
575
|
+
} | {
|
|
576
|
+
readonly kind: "historical-feature";
|
|
577
|
+
readonly changeEpisodeId: string;
|
|
578
|
+
} | {
|
|
579
|
+
readonly kind: "historical-refactor";
|
|
580
|
+
readonly changeEpisodeId: string;
|
|
581
|
+
} | {
|
|
582
|
+
readonly kind: "existing-test";
|
|
583
|
+
readonly testIds: readonly string[];
|
|
584
|
+
} | {
|
|
585
|
+
readonly kind: "public-api";
|
|
586
|
+
readonly surfaceIds: readonly string[];
|
|
587
|
+
} | {
|
|
588
|
+
readonly kind: "schema-contract";
|
|
589
|
+
readonly protocolIds: readonly string[];
|
|
590
|
+
} | {
|
|
591
|
+
readonly kind: "production-request";
|
|
592
|
+
readonly requestId: string;
|
|
593
|
+
} | {
|
|
594
|
+
readonly kind: "reviewed-synthetic-gap";
|
|
595
|
+
readonly reviewId: string;
|
|
596
|
+
};
|
|
597
|
+
readonly version: 1;
|
|
598
|
+
readonly rejectionReasons: readonly string[];
|
|
599
|
+
readonly confidence: "high" | "medium" | "review-required";
|
|
600
|
+
readonly status: "candidate" | "qualified" | "rejected";
|
|
601
|
+
readonly capabilityEvidence: readonly {
|
|
602
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
603
|
+
readonly id: string;
|
|
604
|
+
readonly path?: string | undefined;
|
|
605
|
+
}[];
|
|
606
|
+
readonly initialState: {
|
|
607
|
+
readonly commit: string;
|
|
608
|
+
readonly parentCommit?: string | undefined;
|
|
609
|
+
};
|
|
610
|
+
readonly targetBehavior: readonly {
|
|
611
|
+
readonly id: string;
|
|
612
|
+
readonly description: string;
|
|
613
|
+
readonly critical: boolean;
|
|
614
|
+
readonly evidence: readonly {
|
|
615
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
616
|
+
readonly id: string;
|
|
617
|
+
readonly path?: string | undefined;
|
|
618
|
+
}[];
|
|
619
|
+
}[];
|
|
620
|
+
readonly baselineObservations: readonly {
|
|
621
|
+
readonly id: string;
|
|
622
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
623
|
+
readonly subjectId: string;
|
|
624
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
625
|
+
readonly detail: string;
|
|
626
|
+
}[];
|
|
627
|
+
readonly preChangeObservations: readonly {
|
|
628
|
+
readonly id: string;
|
|
629
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
630
|
+
readonly subjectId: string;
|
|
631
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
632
|
+
readonly detail: string;
|
|
633
|
+
}[];
|
|
634
|
+
readonly postChangeObservations: readonly {
|
|
635
|
+
readonly id: string;
|
|
636
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
637
|
+
readonly subjectId: string;
|
|
638
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
639
|
+
readonly detail: string;
|
|
640
|
+
}[];
|
|
641
|
+
readonly candidateTestIds: readonly string[];
|
|
642
|
+
readonly risks: readonly ("review-required" | "external-service" | "ambiguous-intent" | "bundled-change" | "flaky-baseline" | "reference-only-oracle" | "weak-test-delta" | "unrealistic-mutation" | "private-context" | "cross-batch-instability")[];
|
|
643
|
+
readonly summary: string;
|
|
644
|
+
readonly environment: {
|
|
645
|
+
readonly protectedControlPaths: readonly string[];
|
|
646
|
+
readonly trustedPreparationRecipes: readonly {
|
|
647
|
+
readonly id: string;
|
|
648
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
649
|
+
readonly cwd: string;
|
|
650
|
+
readonly executable: string;
|
|
651
|
+
readonly args: readonly string[];
|
|
652
|
+
readonly timeoutMs: number;
|
|
653
|
+
}[];
|
|
654
|
+
readonly candidateValidationRecipes: readonly {
|
|
655
|
+
readonly id: string;
|
|
656
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
657
|
+
readonly cwd: string;
|
|
658
|
+
readonly executable: string;
|
|
659
|
+
readonly args: readonly string[];
|
|
660
|
+
readonly timeoutMs: number;
|
|
661
|
+
}[];
|
|
662
|
+
readonly baselineGradeRecipes: readonly {
|
|
663
|
+
readonly id: string;
|
|
664
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
665
|
+
readonly cwd: string;
|
|
666
|
+
readonly executable: string;
|
|
667
|
+
readonly args: readonly string[];
|
|
668
|
+
readonly timeoutMs: number;
|
|
669
|
+
}[];
|
|
670
|
+
readonly gradeRecipes: readonly {
|
|
671
|
+
readonly id: string;
|
|
672
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
673
|
+
readonly cwd: string;
|
|
674
|
+
readonly executable: string;
|
|
675
|
+
readonly args: readonly string[];
|
|
676
|
+
readonly timeoutMs: number;
|
|
677
|
+
}[];
|
|
678
|
+
readonly packageManager?: {
|
|
679
|
+
readonly name: "pnpm";
|
|
680
|
+
readonly version: string;
|
|
681
|
+
} | undefined;
|
|
682
|
+
readonly lockfilePath?: string | undefined;
|
|
683
|
+
};
|
|
684
|
+
readonly referenceCommit?: string | undefined;
|
|
685
|
+
};
|
|
686
|
+
readonly stability: {
|
|
687
|
+
readonly version: 1;
|
|
688
|
+
readonly seedId: string;
|
|
689
|
+
readonly batchesRequired: number;
|
|
690
|
+
readonly repetitionsPerBatch: number;
|
|
691
|
+
readonly stable: boolean;
|
|
692
|
+
readonly batches: readonly {
|
|
693
|
+
readonly batch: number;
|
|
694
|
+
readonly status: "qualified" | "rejected";
|
|
695
|
+
readonly phaseSignatures: readonly {
|
|
696
|
+
readonly phase: "baseline" | "pre-change" | "post-change";
|
|
697
|
+
readonly signatures: readonly string[];
|
|
698
|
+
}[];
|
|
699
|
+
readonly rejectionReasons: readonly string[];
|
|
700
|
+
}[];
|
|
701
|
+
readonly divergentPhases: readonly ("baseline" | "pre-change" | "post-change")[];
|
|
702
|
+
readonly failureSignatures: readonly {
|
|
703
|
+
readonly signature: string;
|
|
704
|
+
readonly count: number;
|
|
705
|
+
}[];
|
|
706
|
+
readonly rejectionReasons: readonly string[];
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
progress: {
|
|
710
|
+
readonly version: 1;
|
|
711
|
+
readonly bindingDigest: string;
|
|
712
|
+
readonly batchesRequired: number;
|
|
713
|
+
readonly repetitionsPerBatch: number;
|
|
714
|
+
readonly completedBatches: readonly {
|
|
715
|
+
readonly batch: number;
|
|
716
|
+
readonly seed: {
|
|
717
|
+
readonly id: string;
|
|
718
|
+
readonly source: {
|
|
719
|
+
readonly kind: "historical-fix";
|
|
720
|
+
readonly changeEpisodeId: string;
|
|
721
|
+
} | {
|
|
722
|
+
readonly kind: "historical-feature";
|
|
723
|
+
readonly changeEpisodeId: string;
|
|
724
|
+
} | {
|
|
725
|
+
readonly kind: "historical-refactor";
|
|
726
|
+
readonly changeEpisodeId: string;
|
|
727
|
+
} | {
|
|
728
|
+
readonly kind: "existing-test";
|
|
729
|
+
readonly testIds: readonly string[];
|
|
730
|
+
} | {
|
|
731
|
+
readonly kind: "public-api";
|
|
732
|
+
readonly surfaceIds: readonly string[];
|
|
733
|
+
} | {
|
|
734
|
+
readonly kind: "schema-contract";
|
|
735
|
+
readonly protocolIds: readonly string[];
|
|
736
|
+
} | {
|
|
737
|
+
readonly kind: "production-request";
|
|
738
|
+
readonly requestId: string;
|
|
739
|
+
} | {
|
|
740
|
+
readonly kind: "reviewed-synthetic-gap";
|
|
741
|
+
readonly reviewId: string;
|
|
742
|
+
};
|
|
743
|
+
readonly version: 1;
|
|
744
|
+
readonly rejectionReasons: readonly string[];
|
|
745
|
+
readonly confidence: "high" | "medium" | "review-required";
|
|
746
|
+
readonly status: "candidate" | "qualified" | "rejected";
|
|
747
|
+
readonly capabilityEvidence: readonly {
|
|
748
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
749
|
+
readonly id: string;
|
|
750
|
+
readonly path?: string | undefined;
|
|
751
|
+
}[];
|
|
752
|
+
readonly initialState: {
|
|
753
|
+
readonly commit: string;
|
|
754
|
+
readonly parentCommit?: string | undefined;
|
|
755
|
+
};
|
|
756
|
+
readonly targetBehavior: readonly {
|
|
757
|
+
readonly id: string;
|
|
758
|
+
readonly description: string;
|
|
759
|
+
readonly critical: boolean;
|
|
760
|
+
readonly evidence: readonly {
|
|
761
|
+
readonly kind: "symbol" | "package" | "public-surface" | "protocol" | "schema" | "test" | "command" | "history-episode" | "workload-signal" | "documentation";
|
|
762
|
+
readonly id: string;
|
|
763
|
+
readonly path?: string | undefined;
|
|
764
|
+
}[];
|
|
765
|
+
}[];
|
|
766
|
+
readonly baselineObservations: readonly {
|
|
767
|
+
readonly id: string;
|
|
768
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
769
|
+
readonly subjectId: string;
|
|
770
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
771
|
+
readonly detail: string;
|
|
772
|
+
}[];
|
|
773
|
+
readonly preChangeObservations: readonly {
|
|
774
|
+
readonly id: string;
|
|
775
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
776
|
+
readonly subjectId: string;
|
|
777
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
778
|
+
readonly detail: string;
|
|
779
|
+
}[];
|
|
780
|
+
readonly postChangeObservations: readonly {
|
|
781
|
+
readonly id: string;
|
|
782
|
+
readonly kind: "test-command" | "property" | "schema" | "event-trace" | "structural";
|
|
783
|
+
readonly subjectId: string;
|
|
784
|
+
readonly outcome: "pass" | "fail" | "unknown";
|
|
785
|
+
readonly detail: string;
|
|
786
|
+
}[];
|
|
787
|
+
readonly candidateTestIds: readonly string[];
|
|
788
|
+
readonly risks: readonly ("review-required" | "external-service" | "ambiguous-intent" | "bundled-change" | "flaky-baseline" | "reference-only-oracle" | "weak-test-delta" | "unrealistic-mutation" | "private-context" | "cross-batch-instability")[];
|
|
789
|
+
readonly summary: string;
|
|
790
|
+
readonly environment: {
|
|
791
|
+
readonly protectedControlPaths: readonly string[];
|
|
792
|
+
readonly trustedPreparationRecipes: readonly {
|
|
793
|
+
readonly id: string;
|
|
794
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
795
|
+
readonly cwd: string;
|
|
796
|
+
readonly executable: string;
|
|
797
|
+
readonly args: readonly string[];
|
|
798
|
+
readonly timeoutMs: number;
|
|
799
|
+
}[];
|
|
800
|
+
readonly candidateValidationRecipes: readonly {
|
|
801
|
+
readonly id: string;
|
|
802
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
803
|
+
readonly cwd: string;
|
|
804
|
+
readonly executable: string;
|
|
805
|
+
readonly args: readonly string[];
|
|
806
|
+
readonly timeoutMs: number;
|
|
807
|
+
}[];
|
|
808
|
+
readonly baselineGradeRecipes: readonly {
|
|
809
|
+
readonly id: string;
|
|
810
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
811
|
+
readonly cwd: string;
|
|
812
|
+
readonly executable: string;
|
|
813
|
+
readonly args: readonly string[];
|
|
814
|
+
readonly timeoutMs: number;
|
|
815
|
+
}[];
|
|
816
|
+
readonly gradeRecipes: readonly {
|
|
817
|
+
readonly id: string;
|
|
818
|
+
readonly kind: "schema" | "test" | "build" | "check" | "custom";
|
|
819
|
+
readonly cwd: string;
|
|
820
|
+
readonly executable: string;
|
|
821
|
+
readonly args: readonly string[];
|
|
822
|
+
readonly timeoutMs: number;
|
|
823
|
+
}[];
|
|
824
|
+
readonly packageManager?: {
|
|
825
|
+
readonly name: "pnpm";
|
|
826
|
+
readonly version: string;
|
|
827
|
+
} | undefined;
|
|
828
|
+
readonly lockfilePath?: string | undefined;
|
|
829
|
+
};
|
|
830
|
+
readonly referenceCommit?: string | undefined;
|
|
831
|
+
};
|
|
832
|
+
}[];
|
|
833
|
+
readonly activeUnits: readonly {
|
|
834
|
+
readonly batch: number;
|
|
835
|
+
readonly phase: "baseline" | "pre-change" | "post-change";
|
|
836
|
+
readonly repetition: number;
|
|
837
|
+
readonly results: readonly {
|
|
838
|
+
readonly recipeId: string;
|
|
839
|
+
readonly commit: string;
|
|
840
|
+
readonly repetition: number;
|
|
841
|
+
readonly stdout: string;
|
|
842
|
+
readonly stderr: string;
|
|
843
|
+
readonly exitCode: number | null;
|
|
844
|
+
readonly stage: "trusted-preparation" | "candidate-validation" | "grade";
|
|
845
|
+
readonly timedOut: boolean;
|
|
846
|
+
readonly outputTruncated: boolean;
|
|
847
|
+
readonly durationMs: number;
|
|
848
|
+
readonly trustedPreparationResults: readonly {
|
|
849
|
+
readonly recipeId: string;
|
|
850
|
+
readonly commit: string;
|
|
851
|
+
readonly repetition: number;
|
|
852
|
+
readonly stdout: string;
|
|
853
|
+
readonly stderr: string;
|
|
854
|
+
readonly exitCode: number | null;
|
|
855
|
+
readonly stage: "trusted-preparation" | "candidate-validation" | "grade";
|
|
856
|
+
readonly timedOut: boolean;
|
|
857
|
+
readonly outputTruncated: boolean;
|
|
858
|
+
readonly durationMs: number;
|
|
859
|
+
readonly testReporter?: "vitest-v1" | undefined;
|
|
860
|
+
}[];
|
|
861
|
+
readonly candidateValidationResults: readonly {
|
|
862
|
+
readonly recipeId: string;
|
|
863
|
+
readonly commit: string;
|
|
864
|
+
readonly repetition: number;
|
|
865
|
+
readonly stdout: string;
|
|
866
|
+
readonly stderr: string;
|
|
867
|
+
readonly exitCode: number | null;
|
|
868
|
+
readonly stage: "trusted-preparation" | "candidate-validation" | "grade";
|
|
869
|
+
readonly timedOut: boolean;
|
|
870
|
+
readonly outputTruncated: boolean;
|
|
871
|
+
readonly durationMs: number;
|
|
872
|
+
readonly testReporter?: "vitest-v1" | undefined;
|
|
873
|
+
}[];
|
|
874
|
+
readonly gradeExecuted: boolean;
|
|
875
|
+
readonly testReporter?: "vitest-v1" | undefined;
|
|
876
|
+
readonly isolationTimings?: {
|
|
877
|
+
readonly checkoutDurationMs: number;
|
|
878
|
+
readonly overlayDurationMs: number;
|
|
879
|
+
readonly cleanupDurationMs: number;
|
|
880
|
+
} | undefined;
|
|
881
|
+
readonly preparation?: {
|
|
882
|
+
readonly kind: "pristine-install-template";
|
|
883
|
+
readonly templateKey: string;
|
|
884
|
+
readonly sourceCommit: string;
|
|
885
|
+
readonly cloneDurationMs: number;
|
|
886
|
+
readonly sharedResults: readonly {
|
|
887
|
+
readonly recipeId: string;
|
|
888
|
+
readonly commit: string;
|
|
889
|
+
readonly repetition: number;
|
|
890
|
+
readonly stdout: string;
|
|
891
|
+
readonly stderr: string;
|
|
892
|
+
readonly exitCode: number | null;
|
|
893
|
+
readonly stage: "trusted-preparation" | "candidate-validation" | "grade";
|
|
894
|
+
readonly timedOut: boolean;
|
|
895
|
+
readonly outputTruncated: boolean;
|
|
896
|
+
readonly durationMs: number;
|
|
897
|
+
readonly testReporter?: "vitest-v1" | undefined;
|
|
898
|
+
}[];
|
|
899
|
+
} | undefined;
|
|
900
|
+
}[];
|
|
901
|
+
}[];
|
|
902
|
+
};
|
|
903
|
+
}, RepositoryFoundryError, never>;
|
|
904
|
+
export declare const makeTaskSeed: Effect.Effect<TaskSeedShape, never, never>;
|
|
905
|
+
export declare const TaskSeedLive: Layer.Layer<TaskSeed, never, never>;
|
|
906
|
+
export {};
|