substrate-ai 0.20.90 → 0.20.92

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.
@@ -101,7 +101,6 @@ Each dispatched story runs in `.substrate-worktrees/story-<key>` on its own bran
101
101
  | `substrate metrics --output-format json` | View historical run metrics |
102
102
  | `substrate resume` | Resume an interrupted pipeline run |
103
103
  | `substrate run --help-agent` | Full agent instruction reference |
104
- | `substrate diff <story>` | Show row-level state changes for a story (requires Dolt) |
105
104
  | `substrate history` | View Dolt commit log for pipeline state changes (requires Dolt) |
106
105
 
107
106
  ### Operator Files (`.substrate/`)
@@ -112,5 +111,5 @@ Each dispatched story runs in `.substrate-worktrees/story-<key>` on its own bran
112
111
 
113
112
  ### State Backend
114
113
 
115
- Substrate uses Dolt for versioned pipeline state by default. Run `substrate init` to set it up automatically if Dolt is on PATH. Features that require Dolt: `substrate diff`, `substrate history`, OTEL observability persistence, and context engineering repo-map storage.
114
+ Substrate uses Dolt for versioned pipeline state by default. Run `substrate init` to set it up automatically if Dolt is on PATH. Features that require Dolt: `substrate history`, OTEL observability persistence, and context engineering repo-map storage.
116
115
  <!-- substrate:end -->
@@ -1,4 +1,4 @@
1
- import { addTokenUsage, createDecision, createPipelineRun, createRequirement, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunningPipelineRuns, getTokenUsageSummary, listRequirements, registerArtifact, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision } from "./dist-i8Re6HlE.js";
1
+ import { addTokenUsage, createDecision, createPipelineRun, createRequirement, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunningPipelineRuns, getTokenUsageSummary, listRequirements, registerArtifact, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision } from "./dist-l0pA6zZF.js";
2
2
  import "./decisions-CzSIEeGP.js";
3
3
 
4
4
  export { getLatestRun };
@@ -3056,20 +3056,18 @@ async function initSchema(adapter) {
3056
3056
  try {
3057
3057
  await adapter.exec("ALTER TABLE story_dependencies ADD COLUMN created_at DATETIME");
3058
3058
  } catch {}
3059
- try {
3060
- await adapter.exec(`
3061
- CREATE OR REPLACE VIEW ready_stories AS
3062
- SELECT s.* FROM wg_stories s
3063
- WHERE s.status IN ('planned', 'ready')
3064
- AND NOT EXISTS (
3065
- SELECT 1 FROM story_dependencies d
3066
- JOIN wg_stories dep ON dep.story_key = d.depends_on
3067
- WHERE d.story_key = s.story_key
3068
- AND d.dependency_type = 'blocks'
3069
- AND dep.status <> 'complete'
3070
- )
3071
- `);
3072
- } catch {}
3059
+ await adapter.exec(`
3060
+ CREATE VIEW IF NOT EXISTS ready_stories AS
3061
+ SELECT s.* FROM wg_stories s
3062
+ WHERE s.status IN ('planned', 'ready')
3063
+ AND NOT EXISTS (
3064
+ SELECT 1 FROM story_dependencies d
3065
+ JOIN wg_stories dep ON dep.story_key = d.depends_on
3066
+ WHERE d.story_key = s.story_key
3067
+ AND d.dependency_type = 'blocks'
3068
+ AND dep.status <> 'complete'
3069
+ )
3070
+ `);
3073
3071
  await adapter.exec(`
3074
3072
  CREATE VIEW IF NOT EXISTS ready_tasks AS
3075
3073
  SELECT t.* FROM tasks t
@@ -11157,4 +11155,4 @@ async function callLLM(params) {
11157
11155
 
11158
11156
  //#endregion
11159
11157
  export { ADVISORY_NOTES, AdapterRegistry, AdtError, BudgetConfigSchema, CURRENT_CONFIG_FORMAT_VERSION, CURRENT_TASK_GRAPH_VERSION, Categorizer, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, ConsumerAnalyzer, CostTrackerConfigSchema, DEFAULT_CONFIG, DEFAULT_GLOBAL_SETTINGS, DispatcherImpl, DoltClient, DoltNotInstalled, DoltQueryError, ESCALATION_DIAGNOSIS, EXPERIMENT_RESULT, EfficiencyScorer, GeminiCLIAdapter, GlobalSettingsSchema, InMemoryDatabaseAdapter, IngestionServer, LEARNING_FINDING, LogTurnAnalyzer, ModelRoutingConfigSchema, MonitorDatabaseImpl, OPERATIONAL_FINDING, PartialGlobalSettingsSchema, PartialProviderConfigSchema, ProviderPolicySchema, ProvidersSchema, Recommender, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, STORY_METRICS, STORY_OUTCOME, SubstrateConfigSchema, TASK_TYPE_PHASE_MAP, TEST_EXPANSION_FINDING, TEST_PLAN, TelemetryConfigSchema, TelemetryNormalizer, TelemetryPipeline, TurnAnalyzer, VersionManagerImpl, addTokenUsage, aggregateTokenUsageForRun, aggregateTokenUsageForStory, buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, callLLM, checkDoltInstalled, classifyVersionGap, compareRunMetrics, createAmendmentRun, createConfigSystem, createDatabaseAdapter as createDatabaseAdapter$1, createDecision, createDoltClient, createExperimenter, createPipelineRun, createRequirement, createVersionManager, detectInterfaceChanges, determineVerdict, getActiveDecisions, getAllCostEntriesFiltered, getArtifactByTypeForRun, getArtifactsByRun, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getModelTier, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initializeDolt, listRequirements, listRunMetrics, loadModelRoutingConfig, loadParentRunDecisions, registerArtifact, resolvePromptFile, supersedeDecision, swallowDebug, tagRunAsBaseline, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics };
11160
- //# sourceMappingURL=dist-i8Re6HlE.js.map
11158
+ //# sourceMappingURL=dist-l0pA6zZF.js.map
@@ -1,4 +1,4 @@
1
- import { AdtError } from "./dist-i8Re6HlE.js";
1
+ import { AdtError } from "./dist-l0pA6zZF.js";
2
2
 
3
3
  //#region src/core/errors.ts
4
4
  /** Error thrown when task configuration is invalid */
@@ -71,4 +71,4 @@ var TaskGraphIncompatibleFormatError = class extends AdtError {
71
71
 
72
72
  //#endregion
73
73
  export { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError };
74
- //# sourceMappingURL=errors-DPIwiYIO.js.map
74
+ //# sourceMappingURL=errors-DZuD2tVU.js.map
@@ -1,3 +1,3 @@
1
- import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-i8Re6HlE.js";
1
+ import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-l0pA6zZF.js";
2
2
 
3
3
  export { createExperimenter };
@@ -1,7 +1,7 @@
1
- import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-fVo5FGun.js";
1
+ import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-dWYa13k4.js";
2
2
  import "./logger-KeHncl-f.js";
3
- import "./dist-i8Re6HlE.js";
4
- import "./manifest-read-BKmGNnh4.js";
3
+ import "./dist-l0pA6zZF.js";
4
+ import "./manifest-read-CSmDEOWH.js";
5
5
  import "./work-graph-repository-DZyJv5pV.js";
6
6
  import "./decisions-CzSIEeGP.js";
7
7