substrate-ai 0.16.7 → 0.16.8

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
@@ -4,7 +4,7 @@ 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, EXPERIMENT_RESULT, GlobalSettingsSchema, 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, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRequirements, listRunMetrics, loadParentRunDecisions, supersedeDecision, tagRunAsBaseline, updatePipelineRun } from "../dist-CLvAwmT7.js";
6
6
  import "../adapter-registry-DXLMTmfD.js";
7
- import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-BEWyyN-c.js";
7
+ import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runSolutioningPhase, validateStopAfterFromConflict } from "../run-Cw4fBjGQ.js";
8
8
  import "../errors-D1LU8CZ9.js";
9
9
  import "../routing-CcBOCuC9.js";
10
10
  import "../decisions-C0pz9Clx.js";
@@ -4359,7 +4359,7 @@ async function runSupervisorAction(options, deps = {}) {
4359
4359
  await initSchema(expAdapter);
4360
4360
  const { runRunAction: runPipeline } = await import(
4361
4361
  /* @vite-ignore */
4362
- "../run-BUMbrMA_.js"
4362
+ "../run-B88g-P-r.js"
4363
4363
  );
4364
4364
  const runStoryFn = async (opts) => {
4365
4365
  const exitCode = await runPipeline({
@@ -0,0 +1,42 @@
1
+ /**
2
+ * SDLC Pipeline DOT Graph Definition
3
+ *
4
+ * Encodes the existing linear SDLC pipeline topology so the graph executor
5
+ * can drive the same pipeline logic as an alternative to the linear orchestrator.
6
+ *
7
+ * Story 43-1
8
+ */
9
+
10
+ digraph sdlc_pipeline {
11
+ graph [
12
+ goal="Implement SDLC pipeline stories end-to-end",
13
+ label="SDLC Pipeline"
14
+ ]
15
+
16
+ // ── Entry / exit terminals ─────────────────────────────────────────────────
17
+ start [shape=Mdiamond, label="Start"]
18
+ exit [shape=Msquare, label="Exit"]
19
+
20
+ // ── Phase nodes ────────────────────────────────────────────────────────────
21
+ analysis [type="sdlc.phase", label="Analysis Phase"]
22
+ planning [type="sdlc.phase", label="Planning Phase"]
23
+ solutioning [type="sdlc.phase", label="Solutioning Phase"]
24
+
25
+ // ── Story lifecycle nodes ──────────────────────────────────────────────────
26
+ create_story [type="sdlc.create-story", label="Create Story"]
27
+ dev_story [type="sdlc.dev-story", label="Dev Story",
28
+ goal_gate=true, retry_target=dev_story, max_retries=2]
29
+ code_review [type="sdlc.code-review", label="Code Review", shape=diamond]
30
+
31
+ // ── Linear happy-path edges ────────────────────────────────────────────────
32
+ start -> analysis
33
+ analysis -> planning
34
+ planning -> solutioning
35
+ solutioning -> create_story
36
+ create_story -> dev_story
37
+ dev_story -> code_review
38
+
39
+ // ── Conditional edges from code_review ────────────────────────────────────
40
+ code_review -> exit [condition="outcome=success"]
41
+ code_review -> dev_story [condition="outcome=fail"]
42
+ }
@@ -2,7 +2,7 @@ import "./health-DswaC1q5.js";
2
2
  import "./logger-KeHncl-f.js";
3
3
  import "./helpers-CElYrONe.js";
4
4
  import "./dist-CLvAwmT7.js";
5
- import { normalizeGraphSummaryToStatus, registerRunCommand, runRunAction } from "./run-BEWyyN-c.js";
5
+ import { normalizeGraphSummaryToStatus, registerRunCommand, runRunAction } from "./run-Cw4fBjGQ.js";
6
6
  import "./routing-CcBOCuC9.js";
7
7
  import "./decisions-C0pz9Clx.js";
8
8
 
@@ -17250,6 +17250,7 @@ function applyConfigToGraph(graph, options) {
17250
17250
  const devStoryNode = graph.nodes.get("dev_story");
17251
17251
  if (!devStoryNode) throw new Error("applyConfigToGraph: graph does not contain a 'dev_story' node");
17252
17252
  devStoryNode.maxRetries = options.maxReviewCycles;
17253
+ graph.defaultMaxRetries = options.maxReviewCycles;
17253
17254
  }
17254
17255
 
17255
17256
  //#endregion
@@ -31107,4 +31108,4 @@ function registerRunCommand(program, _version = "0.0.0", projectRoot = process.c
31107
31108
 
31108
31109
  //#endregion
31109
31110
  export { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, GitClient, GrammarLoader, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, normalizeGraphSummaryToStatus, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runRunAction, runSolutioningPhase, validateStopAfterFromConflict };
31110
- //# sourceMappingURL=run-BEWyyN-c.js.map
31111
+ //# sourceMappingURL=run-Cw4fBjGQ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "substrate-ai",
3
- "version": "0.16.7",
3
+ "version": "0.16.8",
4
4
  "description": "Substrate — multi-agent orchestration daemon for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,6 +42,7 @@
42
42
  "dist/**/*.d.ts",
43
43
  "dist/**/*.json",
44
44
  "dist/**/*.sql",
45
+ "dist/**/*.dot",
45
46
  "dist/cli/templates",
46
47
  "packs",
47
48
  "README.md"