substrate-ai 0.20.48 → 0.20.49
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/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { FileStateStore, RunManifest, SUBSTRATE_OWNED_SETTINGS_KEYS, SupervisorLock, VALID_PHASES, WorkGraphRepository, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, aggregateProbeAuthorMetrics, buildPipelineStatusOutput, createDatabaseAdapter, createStateStore, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, parseDbTimestampAsUtc, parseRuntimeProbes, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorMetrics } from "../health-
|
|
2
|
+
import { FileStateStore, RunManifest, SUBSTRATE_OWNED_SETTINGS_KEYS, SupervisorLock, VALID_PHASES, WorkGraphRepository, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, aggregateProbeAuthorMetrics, buildPipelineStatusOutput, createDatabaseAdapter, createStateStore, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, parseDbTimestampAsUtc, parseRuntimeProbes, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorMetrics } from "../health-sQ1X_5_6.js";
|
|
3
3
|
import { createLogger } from "../logger-KeHncl-f.js";
|
|
4
4
|
import { createEventBus } from "../helpers-CElYrONe.js";
|
|
5
5
|
import { AdapterRegistry, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, ConfigError, CostTrackerConfigSchema, DEFAULT_CONFIG, DoltClient, DoltNotInstalled, GlobalSettingsSchema, InMemoryDatabaseAdapter, IngestionServer, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProvidersSchema, RoutingRecommender, STORY_METRICS, TelemetryConfigSchema, addTokenUsage, aggregateTokenUsageForRun, checkDoltInstalled, compareRunMetrics, createAmendmentRun, createConfigSystem, createDecision, createDoltClient, createPipelineRun, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRunMetrics, loadParentRunDecisions, supersedeDecision, tagRunAsBaseline, updatePipelineRun } from "../dist-VcMmfo2w.js";
|
|
6
6
|
import "../adapter-registry-DXLMTmfD.js";
|
|
7
|
-
import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runSolutioningPhase, validateStopAfterFromConflict } from "../run-
|
|
7
|
+
import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runSolutioningPhase, validateStopAfterFromConflict } from "../run-CFRXRuRO.js";
|
|
8
8
|
import "../errors-CogpxBUg.js";
|
|
9
9
|
import "../routing-CcBOCuC9.js";
|
|
10
10
|
import "../decisions-C0pz9Clx.js";
|
|
@@ -3667,7 +3667,7 @@ async function runStatusAction(options) {
|
|
|
3667
3667
|
logger$13.debug({ err }, "Work graph query failed, continuing without work graph data");
|
|
3668
3668
|
}
|
|
3669
3669
|
if (run === void 0) {
|
|
3670
|
-
const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-
|
|
3670
|
+
const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-BQ5dj53s.js");
|
|
3671
3671
|
const substrateDirPath = join(projectRoot, ".substrate");
|
|
3672
3672
|
const processInfo = inspectProcessTree$1({
|
|
3673
3673
|
projectRoot,
|
|
@@ -5204,7 +5204,7 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
5204
5204
|
await initSchema(expAdapter);
|
|
5205
5205
|
const { runRunAction: runPipeline } = await import(
|
|
5206
5206
|
/* @vite-ignore */
|
|
5207
|
-
"../run-
|
|
5207
|
+
"../run-C6jy25us.js"
|
|
5208
5208
|
);
|
|
5209
5209
|
const runStoryFn = async (opts) => {
|
|
5210
5210
|
const exitCode = await runPipeline({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-
|
|
1
|
+
import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-sQ1X_5_6.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
3
|
import "./dist-VcMmfo2w.js";
|
|
4
4
|
import "./decisions-C0pz9Clx.js";
|
|
@@ -4135,6 +4135,101 @@ function detectsEventDrivenAC(sourceEpicContent) {
|
|
|
4135
4135
|
return false;
|
|
4136
4136
|
}
|
|
4137
4137
|
/**
|
|
4138
|
+
* Source-AC keywords that signal a state-integrating implementation. The six
|
|
4139
|
+
* categories — subprocess, filesystem, git, database, network, registry —
|
|
4140
|
+
* mirror the behavioral-signal enumeration in the create-story.md prompt
|
|
4141
|
+
* (Phase 1, v0.20.42, obs_2026-05-01_017 hotfix).
|
|
4142
|
+
*
|
|
4143
|
+
* Code identifiers are case-sensitive (e.g., `execSync(`, `Dolt`).
|
|
4144
|
+
* Natural-language phrases are case-insensitive (e.g., "reads from disk").
|
|
4145
|
+
*
|
|
4146
|
+
* Used by `detectsStateIntegratingAC` to gate probe-author dispatch for
|
|
4147
|
+
* state-integrating stories whose ACs do NOT use event-driven phrasing
|
|
4148
|
+
* (hooks, timers, signals, webhooks). Coexists with `EVENT_DRIVEN_KEYWORDS`:
|
|
4149
|
+
* ACs matching both heuristics trigger a single probe-author dispatch.
|
|
4150
|
+
*/
|
|
4151
|
+
const STATE_INTEGRATING_KEYWORDS = [
|
|
4152
|
+
/\bexecSync\(/,
|
|
4153
|
+
/\bspawn\(/,
|
|
4154
|
+
/\bexec\(/,
|
|
4155
|
+
/\bchild_process\b/,
|
|
4156
|
+
/\bspawns\b/i,
|
|
4157
|
+
/\binvokes?\b/i,
|
|
4158
|
+
/\bfs\.read/,
|
|
4159
|
+
/\bfs\.write/,
|
|
4160
|
+
/\breadFile\b/,
|
|
4161
|
+
/\bwriteFile\b/,
|
|
4162
|
+
/\bpath\.join\b/,
|
|
4163
|
+
/\bhomedir\(\)/,
|
|
4164
|
+
/\bos\.homedir\(\)/,
|
|
4165
|
+
/\breads?\s+from\s+disk\b/i,
|
|
4166
|
+
/\bwrites?\s+to\s+disk\b/i,
|
|
4167
|
+
/\bscans?\s+(?:the\s+)?filesystem\b/i,
|
|
4168
|
+
/\bgit\s+log\b/,
|
|
4169
|
+
/\bgit\s+push\b/,
|
|
4170
|
+
/\bgit\s+pull\b/,
|
|
4171
|
+
/\bgit\s+merge\b/,
|
|
4172
|
+
/\bqueries?\s+git\b/i,
|
|
4173
|
+
/\bruns?\s+git\b/i,
|
|
4174
|
+
/\bDolt\b/,
|
|
4175
|
+
/\bmysql\b/i,
|
|
4176
|
+
/\bpg\b/,
|
|
4177
|
+
/\bsqlite\b/i,
|
|
4178
|
+
/\bINSERT\b/,
|
|
4179
|
+
/\bSELECT\b/,
|
|
4180
|
+
/\bqueries?\s+the\s+database\b/i,
|
|
4181
|
+
/\bwrites?\s+to\s+[Dd]olt\b/,
|
|
4182
|
+
/\bfetch\(/,
|
|
4183
|
+
/\baxios\b/i,
|
|
4184
|
+
/\bhttp\.get\(/,
|
|
4185
|
+
/\bhttps\.get\(/,
|
|
4186
|
+
/\bfetches?\b/i,
|
|
4187
|
+
/\bPOSTs?\s+to\b/i,
|
|
4188
|
+
/\bcalls?\s+the\s+API\b/i,
|
|
4189
|
+
/\bqueries?\s+(?:the\s+)?registry\b/i,
|
|
4190
|
+
/\bscans?\s+(?:the\s+)?registry\b/i
|
|
4191
|
+
];
|
|
4192
|
+
/** Phrases that indicate a keyword match is in a mock/stub context (not real state). */
|
|
4193
|
+
const MOCK_QUALIFIER_PHRASES = [
|
|
4194
|
+
"mocks the",
|
|
4195
|
+
"stubs the",
|
|
4196
|
+
"mock ",
|
|
4197
|
+
"stub "
|
|
4198
|
+
];
|
|
4199
|
+
/**
|
|
4200
|
+
* Returns true when a line contains a mock/stub qualifier, indicating the
|
|
4201
|
+
* keyword match is in a test-double context rather than production state.
|
|
4202
|
+
*/
|
|
4203
|
+
function lineHasMockQualifier(line) {
|
|
4204
|
+
const lower = line.toLowerCase();
|
|
4205
|
+
return MOCK_QUALIFIER_PHRASES.some((phrase) => lower.includes(phrase));
|
|
4206
|
+
}
|
|
4207
|
+
/**
|
|
4208
|
+
* Returns true if the source AC text mentions a state-integrating operation:
|
|
4209
|
+
* subprocess, filesystem, git, database, network, or registry interaction.
|
|
4210
|
+
*
|
|
4211
|
+
* Exported for use by probe-author-integration.ts (Story 65-1) so the
|
|
4212
|
+
* orchestrator can gate probe-author dispatch on the same heuristic.
|
|
4213
|
+
*
|
|
4214
|
+
* Mock guard (AC #4): scans each matching line for mock/stub qualifiers
|
|
4215
|
+
* ("mocks the", "stubs the", "mock ", "stub "). If every match is in a
|
|
4216
|
+
* mock context, returns false — ground truth is whether the production
|
|
4217
|
+
* code path hits real state. If any match is NOT in a mock context,
|
|
4218
|
+
* returns true.
|
|
4219
|
+
*
|
|
4220
|
+
* Coexists with `detectsEventDrivenAC` (Story 60-11): when an AC matches
|
|
4221
|
+
* both heuristics, the orchestrator dispatches probe-author once (dispatch
|
|
4222
|
+
* gate uses `||`). No double-dispatch.
|
|
4223
|
+
*/
|
|
4224
|
+
function detectsStateIntegratingAC(sourceContent) {
|
|
4225
|
+
const lines = sourceContent.split("\n");
|
|
4226
|
+
for (const line of lines) {
|
|
4227
|
+
const hasKeyword = STATE_INTEGRATING_KEYWORDS.some((p) => p.test(line));
|
|
4228
|
+
if (hasKeyword && !lineHasMockQualifier(line)) return true;
|
|
4229
|
+
}
|
|
4230
|
+
return false;
|
|
4231
|
+
}
|
|
4232
|
+
/**
|
|
4138
4233
|
* Returns true if any probe's command line invokes a known production trigger.
|
|
4139
4234
|
*/
|
|
4140
4235
|
function probesInvokeProductionTrigger(probes) {
|
|
@@ -6779,5 +6874,5 @@ function registerHealthCommand(program, _version = "0.0.0", projectRoot = proces
|
|
|
6779
6874
|
}
|
|
6780
6875
|
|
|
6781
6876
|
//#endregion
|
|
6782
|
-
export { BMAD_BASELINE_TOKENS_FULL, DEFAULT_STALL_THRESHOLD_SECONDS, DoltMergeConflict, FileStateStore, FindingsInjector, RunManifest, RuntimeProbeListSchema, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN$1 as STORY_KEY_PATTERN, SUBSTRATE_OWNED_SETTINGS_KEYS, SupervisorLock, VALID_PHASES, WorkGraphRepository, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, __commonJS, __require, __toESM, aggregateProbeAuthorMetrics, applyConfigToGraph, buildPipelineStatusOutput, createDatabaseAdapter$1 as createDatabaseAdapter, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, createStateStore, detectCycles, detectsEventDrivenAC, extractTargetFilesFromStoryContent, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, isOrchestratorProcessLine, parseDbTimestampAsUtc, parseRuntimeProbes, registerHealthCommand, renderFindings, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveGraphPath, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorMetrics, runHealthAction, validateStoryKey };
|
|
6783
|
-
//# sourceMappingURL=health-
|
|
6877
|
+
export { BMAD_BASELINE_TOKENS_FULL, DEFAULT_STALL_THRESHOLD_SECONDS, DoltMergeConflict, FileStateStore, FindingsInjector, RunManifest, RuntimeProbeListSchema, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN$1 as STORY_KEY_PATTERN, SUBSTRATE_OWNED_SETTINGS_KEYS, SupervisorLock, VALID_PHASES, WorkGraphRepository, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, __commonJS, __require, __toESM, aggregateProbeAuthorMetrics, applyConfigToGraph, buildPipelineStatusOutput, createDatabaseAdapter$1 as createDatabaseAdapter, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, createStateStore, detectCycles, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, isOrchestratorProcessLine, parseDbTimestampAsUtc, parseRuntimeProbes, registerHealthCommand, renderFindings, resolveBmadMethodSrcPath, resolveBmadMethodVersion, resolveGraphPath, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorMetrics, runHealthAction, validateStoryKey };
|
|
6878
|
+
//# sourceMappingURL=health-sQ1X_5_6.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./health-
|
|
1
|
+
import "./health-sQ1X_5_6.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
3
|
import "./helpers-CElYrONe.js";
|
|
4
4
|
import "./dist-VcMmfo2w.js";
|
|
5
|
-
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, runRunAction, wireNdjsonEmitter } from "./run-
|
|
5
|
+
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, runRunAction, wireNdjsonEmitter } from "./run-CFRXRuRO.js";
|
|
6
6
|
import "./routing-CcBOCuC9.js";
|
|
7
7
|
import "./decisions-C0pz9Clx.js";
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BMAD_BASELINE_TOKENS_FULL, DoltMergeConflict, FileStateStore, FindingsInjector, RunManifest, RuntimeProbeListSchema, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, VALID_PHASES, WorkGraphRepository, __commonJS, __require, __toESM, applyConfigToGraph, buildPipelineStatusOutput, createDatabaseAdapter, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectCycles, detectsEventDrivenAC, extractTargetFilesFromStoryContent, formatOutput, formatPipelineSummary, formatTokenTelemetry, inspectProcessTree, parseDbTimestampAsUtc, renderFindings, resolveGraphPath, resolveMainRepoRoot, validateStoryKey } from "./health-
|
|
1
|
+
import { BMAD_BASELINE_TOKENS_FULL, DoltMergeConflict, FileStateStore, FindingsInjector, RunManifest, RuntimeProbeListSchema, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, VALID_PHASES, WorkGraphRepository, __commonJS, __require, __toESM, applyConfigToGraph, buildPipelineStatusOutput, createDatabaseAdapter, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectCycles, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, formatOutput, formatPipelineSummary, formatTokenTelemetry, inspectProcessTree, parseDbTimestampAsUtc, renderFindings, resolveGraphPath, resolveMainRepoRoot, validateStoryKey } from "./health-sQ1X_5_6.js";
|
|
2
2
|
import { createLogger } from "./logger-KeHncl-f.js";
|
|
3
3
|
import { TypedEventBusImpl, createEventBus, createTuiApp, isTuiCapable, printNonTtyWarning, sleep } from "./helpers-CElYrONe.js";
|
|
4
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-VcMmfo2w.js";
|
|
@@ -8412,8 +8412,11 @@ const TIMEOUT_RETRY_MULTIPLIER = 1.5;
|
|
|
8412
8412
|
/**
|
|
8413
8413
|
* Execute the probe-author integration phase.
|
|
8414
8414
|
*
|
|
8415
|
-
* Gate 1 — Event-driven AC check: calls
|
|
8416
|
-
*
|
|
8415
|
+
* Gate 1 — Event-driven or state-integrating AC check: calls
|
|
8416
|
+
* `detectsEventDrivenAC(epicContent)` and `detectsStateIntegratingAC(epicContent)`
|
|
8417
|
+
* (Story 65-1). Skip if the source AC describes neither an event-driven
|
|
8418
|
+
* mechanism (hook, timer, signal, webhook) nor a state-integrating operation
|
|
8419
|
+
* (subprocess, filesystem, git, database, network, registry).
|
|
8417
8420
|
*
|
|
8418
8421
|
* Gate 2 — Idempotency check: reads storyFilePath and checks for an existing
|
|
8419
8422
|
* `## Runtime Probes` section. Skip if present (probes already authored).
|
|
@@ -8440,8 +8443,8 @@ async function runProbeAuthor(deps, params) {
|
|
|
8440
8443
|
input: 0,
|
|
8441
8444
|
output: 0
|
|
8442
8445
|
};
|
|
8443
|
-
if (bypassGates !== true && !detectsEventDrivenAC(epicContent)) {
|
|
8444
|
-
logger$14.debug({ storyKey }, "probe-author: source AC
|
|
8446
|
+
if (bypassGates !== true && !detectsEventDrivenAC(epicContent) && !detectsStateIntegratingAC(epicContent)) {
|
|
8447
|
+
logger$14.debug({ storyKey }, "probe-author: source AC neither event-driven nor state-integrating — skipping");
|
|
8445
8448
|
emitEvent?.("probe-author:skipped", {
|
|
8446
8449
|
storyKey,
|
|
8447
8450
|
runId: pipelineRunId,
|
|
@@ -13443,7 +13446,7 @@ function createImplementationOrchestrator(deps) {
|
|
|
13443
13446
|
const section = extractStorySection(epicFull, storyKey);
|
|
13444
13447
|
probeAuthorEpicContent = section ?? epicFull;
|
|
13445
13448
|
} catch {}
|
|
13446
|
-
if (detectsEventDrivenAC(probeAuthorEpicContent)) {
|
|
13449
|
+
if (detectsEventDrivenAC(probeAuthorEpicContent) || detectsStateIntegratingAC(probeAuthorEpicContent)) {
|
|
13447
13450
|
let artifactHasProbes = false;
|
|
13448
13451
|
try {
|
|
13449
13452
|
const artifactContent = readFileSync(storyFilePath, "utf-8");
|
|
@@ -45366,4 +45369,4 @@ function registerRunCommand(program, _version = "0.0.0", projectRoot = process.c
|
|
|
45366
45369
|
|
|
45367
45370
|
//#endregion
|
|
45368
45371
|
export { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, normalizeGraphSummaryToStatus, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveMaxReviewCycles, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runRunAction, runSolutioningPhase, validateStopAfterFromConflict, wireNdjsonEmitter };
|
|
45369
|
-
//# sourceMappingURL=run-
|
|
45372
|
+
//# sourceMappingURL=run-CFRXRuRO.js.map
|