substrate-ai 0.20.64 → 0.20.65
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/adapter-registry-BbVWH3Yv.js +4 -0
- package/dist/cli/index.js +93 -24
- package/dist/{decision-router-BA__VYIp.js → decision-router-DblHY8se.js} +1 -1
- package/dist/{decisions-4F91LrVD.js → decisions-DilHo99V.js} +2 -2
- package/dist/{dist-W2emvN3F.js → dist-K_RRWnBX.js} +2 -2
- package/dist/{errors-CKFu8YI9.js → errors-pSiZbn6e.js} +2 -2
- package/dist/{experimenter-BgpUcUaW.js → experimenter-DT9v2Pto.js} +1 -1
- package/dist/health-DC3y-sR6.js +1715 -0
- package/dist/health-qhtWYh49.js +8 -0
- package/dist/index-c924O9mj.d.ts +1432 -0
- package/dist/index.d.ts +56 -735
- package/dist/index.js +2 -2
- package/dist/interactive-prompt-C7wpE4z4.js +183 -0
- package/dist/{health-DudlnqXd.js → manifest-read-DDkXC3L_.js} +120 -2012
- package/dist/modules/interactive-prompt/index.d.ts +86 -0
- package/dist/modules/interactive-prompt/index.js +6 -0
- package/dist/recovery-engine-BKGBeBnW.js +281 -0
- package/dist/{routing-0ykvBl_4.js → routing-CzF0p6lI.js} +2 -2
- package/dist/run-DX95j4_D.js +14 -0
- package/dist/{run-CCxsv-9M.js → run-DzB4rgkj.js} +224 -31
- package/dist/src/modules/decision-router/index.js +1 -1
- package/dist/src/modules/recovery-engine/index.d.ts +1101 -0
- package/dist/src/modules/recovery-engine/index.js +5 -0
- package/dist/{upgrade-OFeC_NIx.js → upgrade-DxzQ1nss.js} +3 -3
- package/dist/{upgrade-aW7GYL2F.js → upgrade-MP9XzrI6.js} +2 -2
- package/dist/version-manager-impl-GZDUBt0Q.js +4 -0
- package/dist/work-graph-repository-DZyJv5pV.js +265 -0
- package/package.json +1 -1
- package/dist/adapter-registry-k7ZX3Bz6.js +0 -4
- package/dist/health-CLNmnZiw.js +0 -6
- package/dist/run-ChxsPICN.js +0 -10
- package/dist/version-manager-impl-BCSf5E3j.js +0 -4
- /package/dist/{decisions-C0pz9Clx.js → decisions-CzSIEeGP.js} +0 -0
- /package/dist/{routing-CcBOCuC9.js → routing-DFxoKHDt.js} +0 -0
- /package/dist/{version-manager-impl-FH4TTnXm.js → version-manager-impl-qFBiO4Eh.js} +0 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { BMAD_BASELINE_TOKENS_FULL, DoltMergeConflict, FileStateStore,
|
|
1
|
+
import { BMAD_BASELINE_TOKENS_FULL, DoltMergeConflict, FileStateStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, VALID_PHASES, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter, formatOutput, formatPipelineSummary, formatTokenTelemetry, inspectProcessTree, parseDbTimestampAsUtc, validateStoryKey } from "./health-DC3y-sR6.js";
|
|
2
2
|
import { createLogger } from "./logger-KeHncl-f.js";
|
|
3
3
|
import { TypedEventBusImpl, createEventBus, createTuiApp, isTuiCapable, printNonTtyWarning, sleep } from "./helpers-CElYrONe.js";
|
|
4
|
-
import { ADVISORY_NOTES, Categorizer, ConsumerAnalyzer, DEFAULT_GLOBAL_SETTINGS, DispatcherImpl, DoltClient, ESCALATION_DIAGNOSIS, EXPERIMENT_RESULT, EfficiencyScorer, IngestionServer, LogTurnAnalyzer, OPERATIONAL_FINDING, Recommender, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, STORY_METRICS, STORY_OUTCOME, SubstrateConfigSchema, TEST_EXPANSION_FINDING, TEST_PLAN, TelemetryNormalizer, TelemetryPipeline, TurnAnalyzer, addTokenUsage, aggregateTokenUsageForRun, aggregateTokenUsageForStory, callLLM, createConfigSystem, createDatabaseAdapter$1, createDecision, createPipelineRun, createRequirement, detectInterfaceChanges, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunMetrics, getRunningPipelineRuns, getStoryMetricsForRun, getTokenUsageSummary, initSchema, listRequirements, loadModelRoutingConfig, registerArtifact, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics } from "./dist-
|
|
5
|
-
import {
|
|
4
|
+
import { ADVISORY_NOTES, Categorizer, ConsumerAnalyzer, DEFAULT_GLOBAL_SETTINGS, DispatcherImpl, DoltClient, ESCALATION_DIAGNOSIS, EXPERIMENT_RESULT, EfficiencyScorer, IngestionServer, LogTurnAnalyzer, OPERATIONAL_FINDING, Recommender, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, STORY_METRICS, STORY_OUTCOME, SubstrateConfigSchema, TEST_EXPANSION_FINDING, TEST_PLAN, TelemetryNormalizer, TelemetryPipeline, TurnAnalyzer, addTokenUsage, aggregateTokenUsageForRun, aggregateTokenUsageForStory, callLLM, createConfigSystem, createDatabaseAdapter$1, createDecision, createPipelineRun, createRequirement, detectInterfaceChanges, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunMetrics, getRunningPipelineRuns, getStoryMetricsForRun, getTokenUsageSummary, initSchema, listRequirements, loadModelRoutingConfig, registerArtifact, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics } from "./dist-K_RRWnBX.js";
|
|
5
|
+
import { FindingsInjector, RunManifest, RuntimeProbeListSchema, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, renderFindings, resolveGraphPath, resolveMainRepoRoot, runStaleVerificationRecovery } from "./manifest-read-DDkXC3L_.js";
|
|
6
|
+
import { WorkGraphRepository, detectCycles } from "./work-graph-repository-DZyJv5pV.js";
|
|
7
|
+
import { deriveExitCode, routeDecision } from "./decision-router-DblHY8se.js";
|
|
8
|
+
import { runInteractivePrompt } from "./interactive-prompt-C7wpE4z4.js";
|
|
9
|
+
import { runRecoveryEngine } from "./recovery-engine-BKGBeBnW.js";
|
|
6
10
|
import { basename, dirname, extname, join } from "path";
|
|
7
11
|
import { access, readFile, readdir, stat } from "fs/promises";
|
|
8
12
|
import { EventEmitter } from "node:events";
|
|
@@ -15,7 +19,7 @@ import path, { basename as basename$1, dirname as dirname$1, extname as extname$
|
|
|
15
19
|
import { tmpdir } from "node:os";
|
|
16
20
|
import { createHash, randomUUID } from "node:crypto";
|
|
17
21
|
import { z } from "zod";
|
|
18
|
-
import { access as access$1, lstat, mkdir as mkdir$1, readFile as readFile$1, readdir as readdir$1, readlink, realpath, rename, stat as stat$1, unlink, writeFile as writeFile$1 } from "node:fs/promises";
|
|
22
|
+
import { access as access$1, lstat, mkdir as mkdir$1, readFile as readFile$1, readdir as readdir$1, readlink, realpath, rename, stat as stat$1, unlink as unlink$1, writeFile as writeFile$1 } from "node:fs/promises";
|
|
19
23
|
import { existsSync as existsSync$1, lstatSync, mkdirSync as mkdirSync$1, readFileSync as readFileSync$1, readdir as readdir$2, readdirSync as readdirSync$1, readlinkSync, realpathSync as realpathSync$1, unlinkSync as unlinkSync$1, writeFileSync as writeFileSync$1 } from "fs";
|
|
20
24
|
import { promisify } from "node:util";
|
|
21
25
|
import { fileURLToPath } from "node:url";
|
|
@@ -14330,13 +14334,35 @@ function createImplementationOrchestrator(deps) {
|
|
|
14330
14334
|
const buildRouteResult = routeDecision("build-verification-failure", buildHaltPolicy);
|
|
14331
14335
|
const buildRunId = config.pipelineRunId ?? "unknown";
|
|
14332
14336
|
const buildReason = `build verification failed for story ${storyKey}`;
|
|
14333
|
-
if (buildRouteResult.halt)
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
|
-
|
|
14339
|
-
|
|
14337
|
+
if (buildRouteResult.halt) {
|
|
14338
|
+
eventBus.emit("decision:halt", {
|
|
14339
|
+
runId: buildRunId,
|
|
14340
|
+
decisionType: "build-verification-failure",
|
|
14341
|
+
severity: buildRouteResult.severity,
|
|
14342
|
+
reason: buildReason
|
|
14343
|
+
});
|
|
14344
|
+
await runInteractivePrompt({
|
|
14345
|
+
runId: buildRunId,
|
|
14346
|
+
decisionType: "build-verification-failure",
|
|
14347
|
+
severity: buildRouteResult.severity,
|
|
14348
|
+
summary: buildReason,
|
|
14349
|
+
defaultAction: buildRouteResult.defaultAction,
|
|
14350
|
+
choices: [
|
|
14351
|
+
"escalate-without-halt",
|
|
14352
|
+
"retry-with-custom-context",
|
|
14353
|
+
"propose-re-scope",
|
|
14354
|
+
"abort-run"
|
|
14355
|
+
],
|
|
14356
|
+
onHaltSkipped: (payload) => {
|
|
14357
|
+
eventBus.emit("decision:halt-skipped-non-interactive", payload);
|
|
14358
|
+
}
|
|
14359
|
+
}).catch((err) => {
|
|
14360
|
+
logger$26.warn({
|
|
14361
|
+
err,
|
|
14362
|
+
storyKey
|
|
14363
|
+
}, "interactive prompt failed — continuing with default action");
|
|
14364
|
+
});
|
|
14365
|
+
} else eventBus.emit("decision:autonomous", {
|
|
14340
14366
|
runId: buildRunId,
|
|
14341
14367
|
decisionType: "build-verification-failure",
|
|
14342
14368
|
severity: buildRouteResult.severity,
|
|
@@ -14442,17 +14468,165 @@ function createImplementationOrchestrator(deps) {
|
|
|
14442
14468
|
verificationStore.set(storyKey, verifSummary);
|
|
14443
14469
|
await persistVerificationResult(storyKey, verifSummary, runManifest);
|
|
14444
14470
|
if (verifSummary.status === "fail") {
|
|
14445
|
-
|
|
14446
|
-
|
|
14447
|
-
|
|
14448
|
-
|
|
14449
|
-
|
|
14450
|
-
|
|
14451
|
-
|
|
14452
|
-
|
|
14453
|
-
|
|
14454
|
-
|
|
14455
|
-
|
|
14471
|
+
let shouldFallThroughToComplete = false;
|
|
14472
|
+
if (runManifest != null) {
|
|
14473
|
+
const failFindings = (verifSummary.checks ?? []).flatMap((c) => c.findings ?? []);
|
|
14474
|
+
const hasBuildFail = (verifSummary.checks ?? []).some((c) => (c.checkName === "build" || c.checkName === "typecheck") && c.status === "fail");
|
|
14475
|
+
const recoveryRootCause = hasBuildFail ? "build-failure" : "ac-missing-evidence";
|
|
14476
|
+
const recoveryBudget = {
|
|
14477
|
+
max: config.maxReviewCycles,
|
|
14478
|
+
remaining: Math.max(0, config.maxReviewCycles - finalReviewCycles)
|
|
14479
|
+
};
|
|
14480
|
+
const recoveryResult = await runRecoveryEngine({
|
|
14481
|
+
runId: config.pipelineRunId ?? storyKey,
|
|
14482
|
+
storyKey,
|
|
14483
|
+
failure: {
|
|
14484
|
+
rootCause: recoveryRootCause,
|
|
14485
|
+
findings: failFindings
|
|
14486
|
+
},
|
|
14487
|
+
budget: recoveryBudget,
|
|
14488
|
+
bus: toSdlcEventBus(eventBus),
|
|
14489
|
+
manifest: runManifest,
|
|
14490
|
+
adapter: db,
|
|
14491
|
+
engine: "linear"
|
|
14492
|
+
}).catch((recoveryErr) => {
|
|
14493
|
+
logger$26.warn({
|
|
14494
|
+
storyKey,
|
|
14495
|
+
err: recoveryErr instanceof Error ? recoveryErr.message : String(recoveryErr)
|
|
14496
|
+
}, "Recovery Engine invocation failed — falling through to VERIFICATION_FAILED (best-effort)");
|
|
14497
|
+
return null;
|
|
14498
|
+
});
|
|
14499
|
+
if (recoveryResult?.action === "halt-entire-run") {
|
|
14500
|
+
logger$26.error({
|
|
14501
|
+
storyKey,
|
|
14502
|
+
pendingProposalsCount: recoveryResult.pendingProposalsCount
|
|
14503
|
+
}, "Recovery Engine safety valve: halting entire run due to >= 5 pending proposals");
|
|
14504
|
+
_budgetExhausted = true;
|
|
14505
|
+
} else if (recoveryResult?.action === "retry") {
|
|
14506
|
+
logger$26.info({
|
|
14507
|
+
storyKey,
|
|
14508
|
+
attempt: recoveryResult.attempt,
|
|
14509
|
+
retryBudgetRemaining: recoveryResult.retryBudgetRemaining
|
|
14510
|
+
}, "Recovery Engine Tier A: re-dispatching dev-story with enriched prompt");
|
|
14511
|
+
try {
|
|
14512
|
+
incrementDispatches(storyKey);
|
|
14513
|
+
const retryDevResult = await runDevStory({
|
|
14514
|
+
db,
|
|
14515
|
+
pack,
|
|
14516
|
+
contextCompiler,
|
|
14517
|
+
dispatcher,
|
|
14518
|
+
projectRoot,
|
|
14519
|
+
tokenCeilings,
|
|
14520
|
+
otlpEndpoint: _otlpEndpoint,
|
|
14521
|
+
repoMapInjector,
|
|
14522
|
+
maxRepoMapTokens,
|
|
14523
|
+
agentId
|
|
14524
|
+
}, {
|
|
14525
|
+
storyKey,
|
|
14526
|
+
storyFilePath: storyFilePath ?? "",
|
|
14527
|
+
pipelineRunId: config.pipelineRunId,
|
|
14528
|
+
findingsPrompt: recoveryResult.enrichedPrompt
|
|
14529
|
+
});
|
|
14530
|
+
replaceDevStorySignals(retryDevResult);
|
|
14531
|
+
await persistDevStorySignals(storyKey, devStorySignals, runManifest);
|
|
14532
|
+
const retryVerifContext = assembleVerificationContext({
|
|
14533
|
+
storyKey,
|
|
14534
|
+
workingDir: projectRoot ?? process.cwd(),
|
|
14535
|
+
reviewResult: latestReviewSignals,
|
|
14536
|
+
storyContent: storyContentForVerification,
|
|
14537
|
+
devStoryResult: devStorySignals,
|
|
14538
|
+
outputTokenCount: devOutputTokenCount,
|
|
14539
|
+
sourceEpicContent
|
|
14540
|
+
});
|
|
14541
|
+
const retryVerifSummary = await verificationPipeline.run(retryVerifContext, "A");
|
|
14542
|
+
verificationStore.set(storyKey, retryVerifSummary);
|
|
14543
|
+
await persistVerificationResult(storyKey, retryVerifSummary, runManifest);
|
|
14544
|
+
if (retryVerifSummary.status !== "fail") {
|
|
14545
|
+
logger$26.info({ storyKey }, "Recovery Engine Tier A retry succeeded — story proceeding to COMPLETE");
|
|
14546
|
+
shouldFallThroughToComplete = true;
|
|
14547
|
+
} else logger$26.warn({ storyKey }, "Recovery Engine Tier A retry still failed — falling through to VERIFICATION_FAILED");
|
|
14548
|
+
} catch (retryErr) {
|
|
14549
|
+
logger$26.warn({
|
|
14550
|
+
storyKey,
|
|
14551
|
+
err: retryErr instanceof Error ? retryErr.message : String(retryErr)
|
|
14552
|
+
}, "Recovery Engine Tier A re-dispatch threw — falling through to VERIFICATION_FAILED");
|
|
14553
|
+
}
|
|
14554
|
+
} else if (recoveryResult?.action === "propose") {
|
|
14555
|
+
logger$26.info({ storyKey }, "Recovery Engine Tier B: proposal appended — marking story ESCALATED for operator re-scope");
|
|
14556
|
+
updateStory(storyKey, {
|
|
14557
|
+
phase: "ESCALATED",
|
|
14558
|
+
completedAt: new Date().toISOString(),
|
|
14559
|
+
error: "recovery-engine-propose"
|
|
14560
|
+
});
|
|
14561
|
+
persistStoryState(storyKey, _stories.get(storyKey)).catch((err) => logger$26.warn({
|
|
14562
|
+
err,
|
|
14563
|
+
storyKey
|
|
14564
|
+
}, "StateStore write failed after recovery-propose"));
|
|
14565
|
+
await emitEscalation({
|
|
14566
|
+
storyKey,
|
|
14567
|
+
lastVerdict: "recovery-propose",
|
|
14568
|
+
reviewCycles: finalReviewCycles,
|
|
14569
|
+
issues: failFindings
|
|
14570
|
+
});
|
|
14571
|
+
await writeStoryMetricsBestEffort(storyKey, "escalated", finalReviewCycles);
|
|
14572
|
+
await persistState();
|
|
14573
|
+
return "verification-failed";
|
|
14574
|
+
} else if (recoveryResult?.action === "halt") {
|
|
14575
|
+
logger$26.warn({ storyKey }, "Recovery Engine Tier C: halt — invoking interactive prompt for operator decision");
|
|
14576
|
+
const haltRunId = config.pipelineRunId ?? storyKey;
|
|
14577
|
+
await runInteractivePrompt({
|
|
14578
|
+
runId: haltRunId,
|
|
14579
|
+
decisionType: "verification-failure",
|
|
14580
|
+
severity: "critical",
|
|
14581
|
+
summary: `Verification failed (Tier C halt) on story ${storyKey}: ${recoveryRootCause}`,
|
|
14582
|
+
defaultAction: "escalate",
|
|
14583
|
+
choices: [
|
|
14584
|
+
"escalate-without-halt",
|
|
14585
|
+
"propose-re-scope",
|
|
14586
|
+
"abort-run"
|
|
14587
|
+
],
|
|
14588
|
+
onHaltSkipped: (haltPayload) => {
|
|
14589
|
+
eventBus.emit("decision:halt-skipped-non-interactive", haltPayload);
|
|
14590
|
+
}
|
|
14591
|
+
}).catch((err) => {
|
|
14592
|
+
logger$26.warn({
|
|
14593
|
+
err,
|
|
14594
|
+
storyKey
|
|
14595
|
+
}, "Recovery Engine Tier C: interactive prompt failed — escalating anyway");
|
|
14596
|
+
});
|
|
14597
|
+
updateStory(storyKey, {
|
|
14598
|
+
phase: "ESCALATED",
|
|
14599
|
+
completedAt: new Date().toISOString(),
|
|
14600
|
+
error: "recovery-engine-halt"
|
|
14601
|
+
});
|
|
14602
|
+
persistStoryState(storyKey, _stories.get(storyKey)).catch((err) => logger$26.warn({
|
|
14603
|
+
err,
|
|
14604
|
+
storyKey
|
|
14605
|
+
}, "StateStore write failed after recovery-halt"));
|
|
14606
|
+
await emitEscalation({
|
|
14607
|
+
storyKey,
|
|
14608
|
+
lastVerdict: "recovery-halt",
|
|
14609
|
+
reviewCycles: finalReviewCycles,
|
|
14610
|
+
issues: failFindings
|
|
14611
|
+
});
|
|
14612
|
+
await writeStoryMetricsBestEffort(storyKey, "escalated", finalReviewCycles);
|
|
14613
|
+
await persistState();
|
|
14614
|
+
return "verification-failed";
|
|
14615
|
+
}
|
|
14616
|
+
}
|
|
14617
|
+
if (!shouldFallThroughToComplete) {
|
|
14618
|
+
updateStory(storyKey, {
|
|
14619
|
+
phase: "VERIFICATION_FAILED",
|
|
14620
|
+
completedAt: new Date().toISOString()
|
|
14621
|
+
});
|
|
14622
|
+
persistStoryState(storyKey, _stories.get(storyKey)).catch((err) => logger$26.warn({
|
|
14623
|
+
err,
|
|
14624
|
+
storyKey
|
|
14625
|
+
}, "StateStore write failed after verification-failed"));
|
|
14626
|
+
await writeStoryMetricsBestEffort(storyKey, "verification-failed", finalReviewCycles);
|
|
14627
|
+
await persistState();
|
|
14628
|
+
return "verification-failed";
|
|
14629
|
+
}
|
|
14456
14630
|
}
|
|
14457
14631
|
}
|
|
14458
14632
|
if (autoApprove !== void 0) eventBus.emit("story:auto-approved", {
|
|
@@ -15299,13 +15473,32 @@ function createImplementationOrchestrator(deps) {
|
|
|
15299
15473
|
const routeResult = routeDecision("cost-ceiling-exhausted", haltPolicy);
|
|
15300
15474
|
const runId = config.pipelineRunId ?? "unknown";
|
|
15301
15475
|
const reason = `cost ceiling exceeded: ${result.cumulative.toFixed(4)} USD >= ${result.ceiling} USD`;
|
|
15302
|
-
if (routeResult.halt)
|
|
15303
|
-
|
|
15304
|
-
|
|
15305
|
-
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15476
|
+
if (routeResult.halt) {
|
|
15477
|
+
eventBus.emit("decision:halt", {
|
|
15478
|
+
runId,
|
|
15479
|
+
decisionType: "cost-ceiling-exhausted",
|
|
15480
|
+
severity: routeResult.severity,
|
|
15481
|
+
reason
|
|
15482
|
+
});
|
|
15483
|
+
await runInteractivePrompt({
|
|
15484
|
+
runId,
|
|
15485
|
+
decisionType: "cost-ceiling-exhausted",
|
|
15486
|
+
severity: routeResult.severity,
|
|
15487
|
+
summary: reason,
|
|
15488
|
+
defaultAction: routeResult.defaultAction,
|
|
15489
|
+
choices: [
|
|
15490
|
+
"skip-remaining",
|
|
15491
|
+
"retry-with-custom-context",
|
|
15492
|
+
"propose-re-scope",
|
|
15493
|
+
"abort-run"
|
|
15494
|
+
],
|
|
15495
|
+
onHaltSkipped: (payload) => {
|
|
15496
|
+
eventBus.emit("decision:halt-skipped-non-interactive", payload);
|
|
15497
|
+
}
|
|
15498
|
+
}).catch((err) => {
|
|
15499
|
+
logger$26.warn({ err }, "interactive prompt failed during cost-ceiling halt — continuing with default action");
|
|
15500
|
+
});
|
|
15501
|
+
} else eventBus.emit("decision:autonomous", {
|
|
15309
15502
|
runId,
|
|
15310
15503
|
decisionType: "cost-ceiling-exhausted",
|
|
15311
15504
|
severity: routeResult.severity,
|
|
@@ -43325,7 +43518,7 @@ async function writeRunState(projectDir, state) {
|
|
|
43325
43518
|
async function clearRunState(projectDir) {
|
|
43326
43519
|
const filePath = runStatePath(projectDir);
|
|
43327
43520
|
try {
|
|
43328
|
-
await unlink(filePath);
|
|
43521
|
+
await unlink$1(filePath);
|
|
43329
43522
|
} catch (err) {
|
|
43330
43523
|
if (err.code !== "ENOENT") throw err;
|
|
43331
43524
|
}
|
|
@@ -45797,4 +45990,4 @@ function registerRunCommand(program, _version = "0.0.0", projectRoot = process.c
|
|
|
45797
45990
|
|
|
45798
45991
|
//#endregion
|
|
45799
45992
|
export { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GLOBSTAR$1 as GLOBSTAR, GitClient, GrammarLoader, Minimatch$1 as Minimatch, Minipass, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, escape$1 as escape, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, normalizeGraphSummaryToStatus, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runRunAction, runSolutioningPhase, unescape$1 as unescape, validateStopAfterFromConflict, wireNdjsonEmitter };
|
|
45800
|
-
//# sourceMappingURL=run-
|
|
45993
|
+
//# sourceMappingURL=run-DzB4rgkj.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DECISION_SEVERITY_MAP, deriveExitCode, routeDecision } from "../../../decision-router-
|
|
1
|
+
import { DECISION_SEVERITY_MAP, deriveExitCode, routeDecision } from "../../../decision-router-DblHY8se.js";
|
|
2
2
|
|
|
3
3
|
export { DECISION_SEVERITY_MAP, deriveExitCode, routeDecision };
|