substrate-ai 0.20.135 → 0.20.137

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.
@@ -0,0 +1,4 @@
1
+ import { AdapterRegistry } from "./dist-BOooz8sb.js";
2
+ import "./adapter-registry-DIcrxjH8.js";
3
+
4
+ export { AdapterRegistry };
package/dist/cli/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
- import { FileKvStore, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, buildPipelineStatusOutput, createDatabaseAdapter, createDoltOperatorReader, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion } from "../health-DiT_FlpE.js";
2
+ import { FileKvStore, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, buildPipelineStatusOutput, createDatabaseAdapter, createDoltOperatorReader, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion } from "../health-BqCpWu2_.js";
3
3
  import { createLogger } from "../logger-KeHncl-f.js";
4
4
  import { createEventBus } from "../helpers-CElYrONe.js";
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, createPipelineRun, createStderrLogger, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initWorkGraphSchema, initializeDolt, listRunMetrics, loadParentRunDecisions, supersedeDecision, swallowDebug, tagRunAsBaseline, updatePipelineRun } from "../dist-FYMixuGN.js";
6
- import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GLOBSTAR, GitClient, GrammarLoader, Minimatch, Minipass, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createGitWorktreeManager, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, escape, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runSolutioningPhase, unescape, validateStopAfterFromConflict } from "../run-DCcJjWhx.js";
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, createPipelineRun, createStderrLogger, getActiveDecisions, getAllCostEntriesFiltered, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initWorkGraphSchema, initializeDolt, listRunMetrics, loadParentRunDecisions, supersedeDecision, swallowDebug, tagRunAsBaseline, updatePipelineRun } from "../dist-BOooz8sb.js";
6
+ import { AdapterTelemetryPersistence, AppError, DoltRepoMapMetaRepository, DoltSymbolRepository, ERR_REPO_MAP_STORAGE_WRITE, EpicIngester, GLOBSTAR, GitClient, GrammarLoader, Minimatch, Minipass, RepoMapInjector, RepoMapModule, RepoMapQueryEngine, RepoMapStorage, SymbolParser, createContextCompiler, createDispatcher, createEventEmitter, createGitWorktreeManager, createImplementationOrchestrator, createPackLoader, createPhaseOrchestrator, createStopAfterGate, createTelemetryAdvisor, escape, formatPhaseCompletionSummary, getFactoryRunSummaries, getScenarioResultsForRun, getTwinRunsForRun, listGraphRuns, registerExportCommand, registerFactoryCommand, registerRunCommand, registerScenariosCommand, resolveStoryKeys, runAnalysisPhase, runPlanningPhase, runProbeAuthor, runSolutioningPhase, unescape, validateStopAfterFromConflict } from "../run-Bb39uB9y.js";
7
7
  import "../adapter-registry-DIcrxjH8.js";
8
- import { RunManifest, SupervisorLock, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, aggregateProbeAuthorMetrics, parseRuntimeProbes, readCurrentRunId, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorByClass, rollupProbeAuthorMetrics, runAcTraceabilityCheck } from "../manifest-read-BCnoRvTV.js";
9
- import "../errors-Qqm59kND.js";
8
+ import { RunManifest, SupervisorLock, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, aggregateProbeAuthorMetrics, parseRuntimeProbes, readCurrentRunId, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorByClass, rollupProbeAuthorMetrics, runAcTraceabilityCheck } from "../manifest-read-B0XYbIpU.js";
9
+ import "../errors-iQa5SrYw.js";
10
10
  import "../routing-DFxoKHDt.js";
11
11
  import { WorkGraphRepository } from "../work-graph-repository-DZyJv5pV.js";
12
12
  import "../decisions-CzSIEeGP.js";
13
13
  import "../decision-router-DblHY8se.js";
14
- import "../interactive-prompt-CHWGblJe.js";
14
+ import "../interactive-prompt-Czlubg4J.js";
15
15
  import "../recovery-engine-BKGBeBnW.js";
16
16
  import "../version-manager-impl-qFBiO4Eh.js";
17
- import { registerUpgradeCommand } from "../upgrade-DWzAWGtt.js";
17
+ import { registerUpgradeCommand } from "../upgrade-BwitoFQT.js";
18
18
  import { Command } from "commander";
19
19
  import { fileURLToPath } from "url";
20
20
  import { dirname, join, resolve } from "path";
@@ -7023,7 +7023,7 @@ async function runStatusAction(options) {
7023
7023
  logger$15.debug({ err }, "Work graph query failed, continuing without work graph data");
7024
7024
  }
7025
7025
  if (run === void 0) {
7026
- const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-CmwLEwMG.js");
7026
+ const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-xmLvQgb4.js");
7027
7027
  const substrateDirPath = join(projectRoot, ".substrate");
7028
7028
  const processInfo = inspectProcessTree$1({
7029
7029
  projectRoot,
@@ -7971,7 +7971,7 @@ function defaultSupervisorDeps() {
7971
7971
  if (cached === null) {
7972
7972
  const { AdapterRegistry: AR } = await import(
7973
7973
  /* @vite-ignore */
7974
- "../adapter-registry-61HN97Pb.js"
7974
+ "../adapter-registry-DxomlVMx.js"
7975
7975
  );
7976
7976
  cached = new AR();
7977
7977
  await cached.discoverAndRegister();
@@ -8538,11 +8538,11 @@ async function runSupervisorAction(options, deps = {}) {
8538
8538
  try {
8539
8539
  const { createExperimenter } = await import(
8540
8540
  /* @vite-ignore */
8541
- "../experimenter-Dwti5ZXb.js"
8541
+ "../experimenter-B7NPkaQ8.js"
8542
8542
  );
8543
8543
  const { getLatestRun: getLatest } = await import(
8544
8544
  /* @vite-ignore */
8545
- "../decisions-B2ColN4E.js"
8545
+ "../decisions-DVuBgwlc.js"
8546
8546
  );
8547
8547
  const expAdapter = createDatabaseAdapter({
8548
8548
  backend: "auto",
@@ -8552,7 +8552,7 @@ async function runSupervisorAction(options, deps = {}) {
8552
8552
  await initSchema(expAdapter);
8553
8553
  const { runRunAction: runPipeline } = await import(
8554
8554
  /* @vite-ignore */
8555
- "../run-DBu_DjmA.js"
8555
+ "../run-DBifBbYW.js"
8556
8556
  );
8557
8557
  const runStoryFn = async (opts) => {
8558
8558
  const exitCode = await runPipeline({
@@ -9077,7 +9077,7 @@ async function runMetricsAction(options) {
9077
9077
  const routingConfigPath = join(dbDir, "routing.yml");
9078
9078
  let routingConfig = null;
9079
9079
  if (existsSync$1(routingConfigPath)) try {
9080
- const { loadModelRoutingConfig } = await import("../routing-Bl3LFjFs.js");
9080
+ const { loadModelRoutingConfig } = await import("../routing-DkRxOHcc.js");
9081
9081
  routingConfig = loadModelRoutingConfig(routingConfigPath);
9082
9082
  } catch {}
9083
9083
  if (routingConfig === null) routingConfig = {
@@ -13387,8 +13387,8 @@ async function createProgram() {
13387
13387
  /** Fire-and-forget startup version check (story 8.3, AC3/AC5) */
13388
13388
  function checkForUpdatesInBackground(currentVersion) {
13389
13389
  if (process.env.SUBSTRATE_NO_UPDATE_CHECK === "1") return;
13390
- import("../upgrade-Bq4SRZgH.js").then(async () => {
13391
- const { createVersionManager } = await import("../version-manager-impl-CZKVyewX.js");
13390
+ import("../upgrade-GFHZ2nsS.js").then(async () => {
13391
+ const { createVersionManager } = await import("../version-manager-impl-CPbTqr0B.js");
13392
13392
  const vm = createVersionManager();
13393
13393
  const result = await vm.checkForUpdates();
13394
13394
  if (result.updateAvailable) {
@@ -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-FYMixuGN.js";
1
+ import { addTokenUsage, createDecision, createPipelineRun, createRequirement, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunningPipelineRuns, getTokenUsageSummary, listRequirements, registerArtifact, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision } from "./dist-BOooz8sb.js";
2
2
  import "./decisions-CzSIEeGP.js";
3
3
 
4
4
  export { getLatestRun };
@@ -9728,7 +9728,7 @@ const CODEX_SANDBOX_BLOCK_SIGNATURES = [
9728
9728
  "disallowed by requirements"
9729
9729
  ];
9730
9730
  /** Human-readable explanation appended to escalations caused by a Codex write-block. */
9731
- const CODEX_SANDBOX_BLOCK_HINT = "Likely cause: Codex could not write files. Substrate runs `codex exec --sandbox workspace-write --ask-for-approval never` (normal automation mode not the org-blocked `--dangerously-bypass-approvals-and-sandbox`). If the run log shows \"disallowed by requirements\", your org policy forbids the `never` approval policy, so Codex cannot write non-interactively on this machinean org constraint, not substrate. Workaround: dispatch with a provider that can write here (e.g. `--agent claude-code`), or have the Codex policy permit non-interactive workspace writes.";
9731
+ const CODEX_SANDBOX_BLOCK_HINT = "Likely cause: Codex could not write files. This is structural in `codex exec`, not substrate: the `exec` subcommand hardcodes `approval_policy=Never` (codex-rs/exec/src/lib.rs:407) and has no `--ask-for-approval` flag, so no substrate flag combination can override it. On non-enterprise installs this is fine — `Never` + `workspace-write` auto-approves apply_patch within writable roots. On enterprise installs with managed configs that disallow `Never`, the hardcoded `Some(Never)` falls back to `UnlessTrusted`, which has a maintainer-flagged defect (`TODO(ragona)` at codex-rs/core/src/safety.rs:54-58) that unconditionally requests approval which exec mode rejects. Workarounds, in order of practical leverage: (1) dispatch with a provider that can write here (e.g. `--agent claude-code`); (2) get the enterprise managed config to add `Never` to `allowed_approval_policies` (the workspace-write sandbox provides the actual security boundary — see Codex docs and issue #10949); (3) wait for the upstream Codex fix to `safety.rs` or for an `exec`-side `--ask-for-approval` flag.";
9732
9732
  /**
9733
9733
  * Returns the Codex-write-block hint if `output` contains a sandbox/approval
9734
9734
  * block signature, else null. Pure + exported for diagnostics and testing.
@@ -9784,27 +9784,40 @@ var CodexCLIAdapter = class {
9784
9784
  * Build spawn command for a coding task.
9785
9785
  * Uses: `codex exec` with prompt delivered via stdin.
9786
9786
  *
9787
- * `--sandbox workspace-write -c approval_policy=never` is required so the
9788
- * non-interactive `codex exec` can actually write files. Without these, exec
9789
- * defaults to a read-only sandbox + an approval policy that escalates to the
9790
- * user but exec has no one to approve, so file writes fail with
9791
- * "file change approval is not supported in exec mode" (→ create-story-no-file).
9787
+ * `--sandbox workspace-write` is Codex's documented form for non-interactive
9788
+ * automation as of v0.128.0+. The `--full-auto` flag (used in v0.20.136) was
9789
+ * deprecated in Codex v0.128.0 and now prints a warning on every invocation:
9790
+ * `warning: --full-auto is deprecated; use --sandbox workspace-write instead.`
9792
9791
  *
9793
- * Why `-c approval_policy=never` instead of `--ask-for-approval never`:
9794
- * `-a`/`--ask-for-approval` is a TOP-LEVEL flag in modern Codex CLI
9795
- * versionsit must appear BEFORE the `exec` subcommand. Placing it after
9796
- * `exec` errors out with `unexpected argument '--ask-for-approval' found`,
9797
- * which is what bit substrate v0.20.131–133. The `-c key=value` override
9798
- * IS a documented `exec` flag in every version (it overrides any
9799
- * `~/.codex/config.toml` setting via dotted-path), and `approval_policy`
9800
- * is the same underlying setting `-a` writes. The TOML value `never` falls
9801
- * back to a literal string when bare-keyword parsing fails (per Codex's
9802
- * own `-c` documentation), so the unquoted form is portable across shells.
9792
+ * **There is no flag form that can override `approval_policy` on `codex exec`.**
9793
+ * Per Codex source at tag `rust-v0.134.0`:
9794
+ * - `codex-rs/exec/src/lib.rs:407` — the `exec` harness hardcodes
9795
+ * `ConfigOverrides { approval_policy: Some(AskForApproval::Never), ... }`
9796
+ * unconditionally.
9797
+ * - `codex-rs/core/src/config/mod.rs:2902-2914` harness overrides beat
9798
+ * both `-c approval_policy=...` and any TOML config.
9799
+ * - `codex-rs/exec/src/cli.rs` + `codex-rs/utils/cli/src/shared_options.rs`
9800
+ * zero references to `--ask-for-approval` on the `exec` subcommand;
9801
+ * `-a` is top-level only and is silently ignored if placed after `exec`.
9803
9802
  *
9804
- * `never` is exactly what Codex's docs recommend for non-interactive runs,
9805
- * and this is normal automation mode NOT the
9806
- * `--dangerously-bypass-approvals-and-sandbox` flag (which some org policies
9807
- * forbid). The planning command stays read-only (it must not write).
9803
+ * So `codex exec` deterministically runs with `approval_policy=Never`,
9804
+ * regardless of what flags substrate passes. On non-enterprise installs
9805
+ * this is fine: `Never` + `--sandbox workspace-write` + `apply_patch` inside
9806
+ * writable roots = auto-approve via the writable-paths fall-through
9807
+ * (`assess_patch_safety` in `codex-rs/core/src/safety.rs:138`).
9808
+ *
9809
+ * On enterprise installs with managed configs that disallow `Never`,
9810
+ * the hardcoded `Some(Never)` fails the constrained-set check, falls back
9811
+ * to `UnlessTrusted`, and `UnlessTrusted` hits a maintainer-flagged defect
9812
+ * (`TODO(ragona)` at `safety.rs:54-58`) that returns `AskUser` unconditionally
9813
+ * — which `exec` mode rejects with `file change approval is not supported`.
9814
+ * **No substrate flag combination unblocks this case**; the structural fix
9815
+ * is either an org-policy change (add `Never` to `allowed_approval_policies`)
9816
+ * or an upstream Codex fix (issue #10949, open since v0.98.0). The
9817
+ * `CODEX_SANDBOX_BLOCK_HINT` below names both escalation paths.
9818
+ *
9819
+ * Not the org-blocked `--dangerously-bypass-approvals-and-sandbox` flag.
9820
+ * The planning command stays read-only (it must not write).
9808
9821
  *
9809
9822
  * Do NOT use --json: it produces a JSONL event stream that prevents
9810
9823
  * extractYamlBlock from finding the structured result block in stdout.
@@ -9814,9 +9827,7 @@ var CodexCLIAdapter = class {
9814
9827
  const args = [
9815
9828
  "exec",
9816
9829
  "--sandbox",
9817
- "workspace-write",
9818
- "-c",
9819
- "approval_policy=never"
9830
+ "workspace-write"
9820
9831
  ];
9821
9832
  if (options.additionalFlags && options.additionalFlags.length > 0) args.push(...options.additionalFlags);
9822
9833
  const envEntries = {};
@@ -11331,4 +11342,4 @@ async function callLLM(params) {
11331
11342
 
11332
11343
  //#endregion
11333
11344
  export { ADVISORY_NOTES, AdapterRegistry, AdtError, BudgetConfigSchema, CODEX_SANDBOX_BLOCK_HINT, 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, createExperimenter, createPipelineRun, createRequirement, createStderrLogger, createVersionManager, detectCodexSandboxBlock, detectInterfaceChanges, determineVerdict, getActiveDecisions, getAllCostEntriesFiltered, getArtifactByTypeForRun, getArtifactsByRun, getBaselineRunMetrics, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestCompletedRun, getLatestRun, getModelTier, getPipelineRunById, getPlanningCostTotal, getRetryableEscalations, getRunMetrics, getRunningPipelineRuns, getSessionCostSummary, getSessionCostSummaryFiltered, getStoryMetricsForRun, getTokenUsageSummary, incrementRunRestarts, initSchema, initWorkGraphSchema, initializeDolt, listRequirements, listRunMetrics, loadModelRoutingConfig, loadParentRunDecisions, registerArtifact, resolvePromptFile, supersedeDecision, swallowDebug, tagRunAsBaseline, updateDecision, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics };
11334
- //# sourceMappingURL=dist-FYMixuGN.js.map
11345
+ //# sourceMappingURL=dist-BOooz8sb.js.map
@@ -1,4 +1,4 @@
1
- import { AdtError } from "./dist-FYMixuGN.js";
1
+ import { AdtError } from "./dist-BOooz8sb.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-Qqm59kND.js.map
74
+ //# sourceMappingURL=errors-iQa5SrYw.js.map
@@ -1,3 +1,3 @@
1
- import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-FYMixuGN.js";
1
+ import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-BOooz8sb.js";
2
2
 
3
3
  export { createExperimenter };
@@ -1,6 +1,6 @@
1
1
  import { createLogger } from "./logger-KeHncl-f.js";
2
- import { DoltClient, DoltQueryError, createDatabaseAdapter$1 as createDatabaseAdapter, getLatestRun, getPipelineRunById, initSchema } from "./dist-FYMixuGN.js";
3
- import { resolveMainRepoRoot, resolveRunManifest } from "./manifest-read-BCnoRvTV.js";
2
+ import { DoltClient, DoltQueryError, createDatabaseAdapter$1 as createDatabaseAdapter, getLatestRun, getPipelineRunById, initSchema } from "./dist-BOooz8sb.js";
3
+ import { resolveMainRepoRoot, resolveRunManifest } from "./manifest-read-B0XYbIpU.js";
4
4
  import { createRequire } from "module";
5
5
  import { dirname, join } from "path";
6
6
  import { existsSync, readFileSync } from "node:fs";
@@ -1000,4 +1000,4 @@ function registerHealthCommand(program, _version = "0.0.0", projectRoot = proces
1000
1000
 
1001
1001
  //#endregion
1002
1002
  export { BMAD_BASELINE_TOKENS_FULL, DEFAULT_STALL_THRESHOLD_SECONDS, FileKvStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, SUBSTRATE_OWNED_SETTINGS_KEYS, VALID_PHASES, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter$1 as createDatabaseAdapter, createDoltOperatorReader, findPackageRoot, formatOutput, formatPipelineStatusHuman, formatPipelineSummary, formatTokenTelemetry, getAllDescendantPids, getAutoHealthData, getSubstrateDefaultSettings, inspectProcessTree, isOrchestratorProcessLine, parseDbTimestampAsUtc, registerHealthCommand, resolveBmadMethodSrcPath, resolveBmadMethodVersion, runHealthAction, validateStoryKey };
1003
- //# sourceMappingURL=health-DiT_FlpE.js.map
1003
+ //# sourceMappingURL=health-BqCpWu2_.js.map
@@ -1,7 +1,7 @@
1
- import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-DiT_FlpE.js";
1
+ import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-BqCpWu2_.js";
2
2
  import "./logger-KeHncl-f.js";
3
- import "./dist-FYMixuGN.js";
4
- import "./manifest-read-BCnoRvTV.js";
3
+ import "./dist-BOooz8sb.js";
4
+ import "./manifest-read-B0XYbIpU.js";
5
5
  import "./work-graph-repository-DZyJv5pV.js";
6
6
  import "./decisions-CzSIEeGP.js";
7
7
 
@@ -1333,27 +1333,40 @@ declare class CodexCLIAdapter implements WorkerAdapter {
1333
1333
  * Build spawn command for a coding task.
1334
1334
  * Uses: `codex exec` with prompt delivered via stdin.
1335
1335
  *
1336
- * `--sandbox workspace-write -c approval_policy=never` is required so the
1337
- * non-interactive `codex exec` can actually write files. Without these, exec
1338
- * defaults to a read-only sandbox + an approval policy that escalates to the
1339
- * user but exec has no one to approve, so file writes fail with
1340
- * "file change approval is not supported in exec mode" (→ create-story-no-file).
1336
+ * `--sandbox workspace-write` is Codex's documented form for non-interactive
1337
+ * automation as of v0.128.0+. The `--full-auto` flag (used in v0.20.136) was
1338
+ * deprecated in Codex v0.128.0 and now prints a warning on every invocation:
1339
+ * `warning: --full-auto is deprecated; use --sandbox workspace-write instead.`
1341
1340
  *
1342
- * Why `-c approval_policy=never` instead of `--ask-for-approval never`:
1343
- * `-a`/`--ask-for-approval` is a TOP-LEVEL flag in modern Codex CLI
1344
- * versionsit must appear BEFORE the `exec` subcommand. Placing it after
1345
- * `exec` errors out with `unexpected argument '--ask-for-approval' found`,
1346
- * which is what bit substrate v0.20.131–133. The `-c key=value` override
1347
- * IS a documented `exec` flag in every version (it overrides any
1348
- * `~/.codex/config.toml` setting via dotted-path), and `approval_policy`
1349
- * is the same underlying setting `-a` writes. The TOML value `never` falls
1350
- * back to a literal string when bare-keyword parsing fails (per Codex's
1351
- * own `-c` documentation), so the unquoted form is portable across shells.
1341
+ * **There is no flag form that can override `approval_policy` on `codex exec`.**
1342
+ * Per Codex source at tag `rust-v0.134.0`:
1343
+ * - `codex-rs/exec/src/lib.rs:407` — the `exec` harness hardcodes
1344
+ * `ConfigOverrides { approval_policy: Some(AskForApproval::Never), ... }`
1345
+ * unconditionally.
1346
+ * - `codex-rs/core/src/config/mod.rs:2902-2914` harness overrides beat
1347
+ * both `-c approval_policy=...` and any TOML config.
1348
+ * - `codex-rs/exec/src/cli.rs` + `codex-rs/utils/cli/src/shared_options.rs`
1349
+ * zero references to `--ask-for-approval` on the `exec` subcommand;
1350
+ * `-a` is top-level only and is silently ignored if placed after `exec`.
1352
1351
  *
1353
- * `never` is exactly what Codex's docs recommend for non-interactive runs,
1354
- * and this is normal automation mode NOT the
1355
- * `--dangerously-bypass-approvals-and-sandbox` flag (which some org policies
1356
- * forbid). The planning command stays read-only (it must not write).
1352
+ * So `codex exec` deterministically runs with `approval_policy=Never`,
1353
+ * regardless of what flags substrate passes. On non-enterprise installs
1354
+ * this is fine: `Never` + `--sandbox workspace-write` + `apply_patch` inside
1355
+ * writable roots = auto-approve via the writable-paths fall-through
1356
+ * (`assess_patch_safety` in `codex-rs/core/src/safety.rs:138`).
1357
+ *
1358
+ * On enterprise installs with managed configs that disallow `Never`,
1359
+ * the hardcoded `Some(Never)` fails the constrained-set check, falls back
1360
+ * to `UnlessTrusted`, and `UnlessTrusted` hits a maintainer-flagged defect
1361
+ * (`TODO(ragona)` at `safety.rs:54-58`) that returns `AskUser` unconditionally
1362
+ * — which `exec` mode rejects with `file change approval is not supported`.
1363
+ * **No substrate flag combination unblocks this case**; the structural fix
1364
+ * is either an org-policy change (add `Never` to `allowed_approval_policies`)
1365
+ * or an upstream Codex fix (issue #10949, open since v0.98.0). The
1366
+ * `CODEX_SANDBOX_BLOCK_HINT` below names both escalation paths.
1367
+ *
1368
+ * Not the org-blocked `--dangerously-bypass-approvals-and-sandbox` flag.
1369
+ * The planning command stays read-only (it must not write).
1357
1370
  *
1358
1371
  * Do NOT use --json: it produces a JSONL event stream that prevents
1359
1372
  * extractYamlBlock from finding the structured result block in stdout.
@@ -1461,4 +1474,4 @@ interface Recommendation {
1461
1474
 
1462
1475
  //#endregion
1463
1476
  export { AdapterDiscoveryResult, AdapterRegistry as AdapterRegistry$1, AdtError as AdtError$1, ClaudeCodeAdapter as ClaudeCodeAdapter$1, CodexCLIAdapter as CodexCLIAdapter$1, ConfigError as ConfigError$1, ConfigIncompatibleFormatError as ConfigIncompatibleFormatError$1, CoreEvents, DatabaseAdapter, DiscoveryReport, GeminiCLIAdapter as GeminiCLIAdapter$1, Recommendation, TypedEventBus };
1464
- //# sourceMappingURL=index-CO-wmVvJ.d.ts.map
1477
+ //# sourceMappingURL=index-DG7r9fNS.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AdapterDiscoveryResult, AdapterRegistry$1 as AdapterRegistry, AdtError$1 as AdtError, ClaudeCodeAdapter$1 as ClaudeCodeAdapter, CodexCLIAdapter$1 as CodexCLIAdapter, ConfigError$1 as ConfigError, ConfigIncompatibleFormatError$1 as ConfigIncompatibleFormatError, DiscoveryReport, GeminiCLIAdapter$1 as GeminiCLIAdapter, Recommendation, TypedEventBus } from "./index-CO-wmVvJ.js";
1
+ import { AdapterDiscoveryResult, AdapterRegistry$1 as AdapterRegistry, AdtError$1 as AdtError, ClaudeCodeAdapter$1 as ClaudeCodeAdapter, CodexCLIAdapter$1 as CodexCLIAdapter, ConfigError$1 as ConfigError, ConfigIncompatibleFormatError$1 as ConfigIncompatibleFormatError, DiscoveryReport, GeminiCLIAdapter$1 as GeminiCLIAdapter, Recommendation, TypedEventBus } from "./index-DG7r9fNS.js";
2
2
  import pino from "pino";
3
3
  import { z } from "zod";
4
4
  import { Readable, Writable } from "node:stream";
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { childLogger, createLogger, logger } from "./logger-KeHncl-f.js";
2
2
  import { assertDefined, createEventBus, createTuiApp, deepClone, formatDuration, generateId, isPlainObject, isTuiCapable, printNonTtyWarning, sleep, withRetry } from "./helpers-CElYrONe.js";
3
- import { AdapterRegistry, AdtError, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, GeminiCLIAdapter } from "./dist-FYMixuGN.js";
3
+ import { AdapterRegistry, AdtError, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, GeminiCLIAdapter } from "./dist-BOooz8sb.js";
4
4
  import "./adapter-registry-DIcrxjH8.js";
5
- import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-Qqm59kND.js";
5
+ import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-iQa5SrYw.js";
6
6
 
7
7
  //#region src/core/di.ts
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  import { createLogger } from "./logger-KeHncl-f.js";
2
- import { readCurrentRunId, resolveMainRepoRoot } from "./manifest-read-BCnoRvTV.js";
2
+ import { readCurrentRunId, resolveMainRepoRoot } from "./manifest-read-B0XYbIpU.js";
3
3
  import { join } from "node:path";
4
4
  import { mkdir, readFile, writeFile } from "node:fs/promises";
5
5
  import * as readline from "node:readline";
@@ -180,4 +180,4 @@ async function runInteractivePrompt(decisionContext) {
180
180
 
181
181
  //#endregion
182
182
  export { runInteractivePrompt };
183
- //# sourceMappingURL=interactive-prompt-CHWGblJe.js.map
183
+ //# sourceMappingURL=interactive-prompt-Czlubg4J.js.map
@@ -1,5 +1,5 @@
1
1
  import { createLogger } from "./logger-KeHncl-f.js";
2
- import { LEARNING_FINDING, createDecision, getDecisionsByCategory } from "./dist-FYMixuGN.js";
2
+ import { LEARNING_FINDING, createDecision, getDecisionsByCategory } from "./dist-BOooz8sb.js";
3
3
  import * as path$1 from "path";
4
4
  import { join } from "path";
5
5
  import { readFile } from "fs/promises";
@@ -5851,4 +5851,4 @@ async function resolveRunManifest(dbRoot, runId) {
5851
5851
 
5852
5852
  //#endregion
5853
5853
  export { FindingsInjector, RunManifest, RuntimeProbeListSchema, SupervisorLock, ZERO_FINDINGS_BY_AUTHOR, ZERO_FINDING_COUNTS, ZERO_PROBE_AUTHOR_METRICS, aggregateProbeAuthorMetrics, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, parseRuntimeProbes, readCurrentRunId, renderFindings, resolveGraphPath, resolveMainRepoRoot, resolveRunManifest, rollupFindingCounts, rollupFindingsByAuthor, rollupProbeAuthorByClass, rollupProbeAuthorMetrics, runAcTraceabilityCheck, runStaleVerificationRecovery };
5854
- //# sourceMappingURL=manifest-read-BCnoRvTV.js.map
5854
+ //# sourceMappingURL=manifest-read-B0XYbIpU.js.map
@@ -1,6 +1,6 @@
1
1
  import "../../logger-KeHncl-f.js";
2
- import "../../dist-FYMixuGN.js";
3
- import "../../manifest-read-BCnoRvTV.js";
4
- import { runInteractivePrompt } from "../../interactive-prompt-CHWGblJe.js";
2
+ import "../../dist-BOooz8sb.js";
3
+ import "../../manifest-read-B0XYbIpU.js";
4
+ import { runInteractivePrompt } from "../../interactive-prompt-Czlubg4J.js";
5
5
 
6
6
  export { runInteractivePrompt };
@@ -1,4 +1,4 @@
1
- import { ModelRoutingConfigSchema, ProviderPolicySchema, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, TASK_TYPE_PHASE_MAP, getModelTier, loadModelRoutingConfig } from "./dist-FYMixuGN.js";
1
+ import { ModelRoutingConfigSchema, ProviderPolicySchema, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, TASK_TYPE_PHASE_MAP, getModelTier, loadModelRoutingConfig } from "./dist-BOooz8sb.js";
2
2
  import "./routing-DFxoKHDt.js";
3
3
 
4
4
  export { loadModelRoutingConfig };
@@ -1,11 +1,11 @@
1
- import { BMAD_BASELINE_TOKENS_FULL, FileKvStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, VALID_PHASES, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter, formatOutput, formatPipelineSummary, formatTokenTelemetry, inspectProcessTree, parseDbTimestampAsUtc, validateStoryKey } from "./health-DiT_FlpE.js";
1
+ import { BMAD_BASELINE_TOKENS_FULL, FileKvStore, STOP_AFTER_VALID_PHASES, STORY_KEY_PATTERN, VALID_PHASES, __commonJS, __require, __toESM, buildPipelineStatusOutput, createDatabaseAdapter, formatOutput, formatPipelineSummary, formatTokenTelemetry, inspectProcessTree, parseDbTimestampAsUtc, validateStoryKey } from "./health-BqCpWu2_.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, CODEX_SANDBOX_BLOCK_HINT, 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, classifyVersionGap, createConfigSystem, createDatabaseAdapter$1, createDecision, createPipelineRun, createRequirement, createStderrLogger, detectCodexSandboxBlock, detectInterfaceChanges, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunMetrics, getRunningPipelineRuns, getStoryMetricsForRun, getTokenUsageSummary, initSchema, listRequirements, loadModelRoutingConfig, registerArtifact, swallowDebug, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics } from "./dist-FYMixuGN.js";
5
- import { FindingsInjector, RunManifest, RuntimeProbeListSchema, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, parseRuntimeProbes, renderFindings, resolveGraphPath, resolveMainRepoRoot, runAcTraceabilityCheck, runStaleVerificationRecovery } from "./manifest-read-BCnoRvTV.js";
4
+ import { ADVISORY_NOTES, CODEX_SANDBOX_BLOCK_HINT, 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, classifyVersionGap, createConfigSystem, createDatabaseAdapter$1, createDecision, createPipelineRun, createRequirement, createStderrLogger, detectCodexSandboxBlock, detectInterfaceChanges, getArtifactByTypeForRun, getArtifactsByRun, getDecisionsByCategory, getDecisionsByPhase, getDecisionsByPhaseForRun, getLatestRun, getPipelineRunById, getRunMetrics, getRunningPipelineRuns, getStoryMetricsForRun, getTokenUsageSummary, initSchema, listRequirements, loadModelRoutingConfig, registerArtifact, swallowDebug, updatePipelineRun, updatePipelineRunConfig, upsertDecision, writeRunMetrics, writeStoryMetrics } from "./dist-BOooz8sb.js";
5
+ import { FindingsInjector, RunManifest, RuntimeProbeListSchema, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, parseRuntimeProbes, renderFindings, resolveGraphPath, resolveMainRepoRoot, runAcTraceabilityCheck, runStaleVerificationRecovery } from "./manifest-read-B0XYbIpU.js";
6
6
  import { WorkGraphRepository, detectCycles } from "./work-graph-repository-DZyJv5pV.js";
7
7
  import { deriveExitCode, routeDecision } from "./decision-router-DblHY8se.js";
8
- import { runInteractivePrompt } from "./interactive-prompt-CHWGblJe.js";
8
+ import { runInteractivePrompt } from "./interactive-prompt-Czlubg4J.js";
9
9
  import { runRecoveryEngine } from "./recovery-engine-BKGBeBnW.js";
10
10
  import { basename, dirname, extname, join } from "path";
11
11
  import { access, readFile, readdir, stat } from "fs/promises";
@@ -47442,7 +47442,7 @@ async function runFullPipeline(options) {
47442
47442
  */
47443
47443
  async function emitPreDispatchVersionAdvisory(currentVersion) {
47444
47444
  if (process.env["SUBSTRATE_NO_UPDATE_CHECK"] === "1") return;
47445
- const { createVersionManager } = await import("./version-manager-impl-CZKVyewX.js");
47445
+ const { createVersionManager } = await import("./version-manager-impl-CPbTqr0B.js");
47446
47446
  const vm = createVersionManager();
47447
47447
  const result = await vm.checkForUpdates(true);
47448
47448
  const gap = classifyVersionGap(currentVersion, result.latestVersion);
@@ -47539,4 +47539,4 @@ function registerRunCommand(program, version = "0.0.0", projectRoot = process.cw
47539
47539
 
47540
47540
  //#endregion
47541
47541
  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, createGitWorktreeManager, 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 };
47542
- //# sourceMappingURL=run-DCcJjWhx.js.map
47542
+ //# sourceMappingURL=run-Bb39uB9y.js.map
@@ -1,14 +1,14 @@
1
- import "./health-DiT_FlpE.js";
1
+ import "./health-BqCpWu2_.js";
2
2
  import "./logger-KeHncl-f.js";
3
3
  import "./helpers-CElYrONe.js";
4
- import "./dist-FYMixuGN.js";
5
- import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-DCcJjWhx.js";
6
- import "./manifest-read-BCnoRvTV.js";
4
+ import "./dist-BOooz8sb.js";
5
+ import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-Bb39uB9y.js";
6
+ import "./manifest-read-B0XYbIpU.js";
7
7
  import "./routing-DFxoKHDt.js";
8
8
  import "./work-graph-repository-DZyJv5pV.js";
9
9
  import "./decisions-CzSIEeGP.js";
10
10
  import "./decision-router-DblHY8se.js";
11
- import "./interactive-prompt-CHWGblJe.js";
11
+ import "./interactive-prompt-Czlubg4J.js";
12
12
  import "./recovery-engine-BKGBeBnW.js";
13
13
 
14
14
  export { runRunAction };
@@ -1,4 +1,4 @@
1
- import { CoreEvents, DatabaseAdapter, TypedEventBus } from "../../../index-CO-wmVvJ.js";
1
+ import { CoreEvents, DatabaseAdapter, TypedEventBus } from "../../../index-DG7r9fNS.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region packages/sdlc/dist/verification/findings.d.ts
@@ -1,4 +1,4 @@
1
- import { createVersionManager } from "./dist-FYMixuGN.js";
1
+ import { createVersionManager } from "./dist-BOooz8sb.js";
2
2
  import { execSync, spawn } from "child_process";
3
3
  import * as readline from "readline";
4
4
 
@@ -123,4 +123,4 @@ function registerUpgradeCommand(program) {
123
123
 
124
124
  //#endregion
125
125
  export { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand };
126
- //# sourceMappingURL=upgrade-DWzAWGtt.js.map
126
+ //# sourceMappingURL=upgrade-BwitoFQT.js.map
@@ -1,5 +1,5 @@
1
- import "./dist-FYMixuGN.js";
1
+ import "./dist-BOooz8sb.js";
2
2
  import "./version-manager-impl-qFBiO4Eh.js";
3
- import { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand } from "./upgrade-DWzAWGtt.js";
3
+ import { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand } from "./upgrade-BwitoFQT.js";
4
4
 
5
5
  export { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand };
@@ -1,4 +1,4 @@
1
- import { VersionManagerImpl, createVersionManager } from "./dist-FYMixuGN.js";
1
+ import { VersionManagerImpl, createVersionManager } from "./dist-BOooz8sb.js";
2
2
  import "./version-manager-impl-qFBiO4Eh.js";
3
3
 
4
4
  export { createVersionManager };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "substrate-ai",
3
- "version": "0.20.135",
3
+ "version": "0.20.137",
4
4
  "description": "Substrate — multi-agent orchestration daemon for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +0,0 @@
1
- import { AdapterRegistry } from "./dist-FYMixuGN.js";
2
- import "./adapter-registry-DIcrxjH8.js";
3
-
4
- export { AdapterRegistry };