substrate-ai 0.20.132 → 0.20.134
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-61HN97Pb.js +4 -0
- package/dist/cli/index.js +49 -19
- package/dist/{decisions-DAuvU4q9.js → decisions-B2ColN4E.js} +1 -1
- package/dist/{dist-BUDAiEaH.js → dist-FYMixuGN.js} +18 -6
- package/dist/{errors-pJaYVCUJ.js → errors-Qqm59kND.js} +2 -2
- package/dist/{experimenter-CpnxTV5m.js → experimenter-Dwti5ZXb.js} +1 -1
- package/dist/{health-Cb4jPuRd.js → health-CmwLEwMG.js} +3 -3
- package/dist/{health-BtNrnj3J.js → health-DiT_FlpE.js} +3 -3
- package/dist/{index-CyQhVXLB.d.ts → index-CO-wmVvJ.d.ts} +16 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{interactive-prompt-DKNFNQ7u.js → interactive-prompt-CHWGblJe.js} +2 -2
- package/dist/{manifest-read-CKmTZKA5.js → manifest-read-BCnoRvTV.js} +2 -2
- package/dist/modules/interactive-prompt/index.js +3 -3
- package/dist/{routing-CEd36PVz.js → routing-Bl3LFjFs.js} +1 -1
- package/dist/{run-DAb4BgAO.js → run-C0h5CjUK.js} +6 -6
- package/dist/{run-BMx6kY0E.js → run-CniiJHAS.js} +5 -5
- package/dist/src/modules/recovery-engine/index.d.ts +1 -1
- package/dist/{upgrade-D4Dj7rjQ.js → upgrade-Bq4SRZgH.js} +2 -2
- package/dist/{upgrade-BApZ1sPK.js → upgrade-DWzAWGtt.js} +2 -2
- package/dist/{version-manager-impl-Bi05jQ9s.js → version-manager-impl-CZKVyewX.js} +1 -1
- package/package.json +1 -1
- package/dist/adapter-registry-D70o7g1c.js +0 -4
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-
|
|
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";
|
|
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-
|
|
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-
|
|
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-C0h5CjUK.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-
|
|
9
|
-
import "../errors-
|
|
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";
|
|
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-
|
|
14
|
+
import "../interactive-prompt-CHWGblJe.js";
|
|
15
15
|
import "../recovery-engine-BKGBeBnW.js";
|
|
16
16
|
import "../version-manager-impl-qFBiO4Eh.js";
|
|
17
|
-
import { registerUpgradeCommand } from "../upgrade-
|
|
17
|
+
import { registerUpgradeCommand } from "../upgrade-DWzAWGtt.js";
|
|
18
18
|
import { Command } from "commander";
|
|
19
19
|
import { fileURLToPath } from "url";
|
|
20
20
|
import { dirname, join, resolve } from "path";
|
|
@@ -1864,24 +1864,44 @@ function syncSkillsToTarget(srcSkillsDir, destSkillsDir, ownershipPrefixes, name
|
|
|
1864
1864
|
}, "Failed to prune stale skills");
|
|
1865
1865
|
}
|
|
1866
1866
|
let count = 0;
|
|
1867
|
+
const failures = [];
|
|
1867
1868
|
for (const entry of sourceEntries) {
|
|
1868
1869
|
const destName = namePrefix && !entry.name.startsWith(namePrefix) ? `${namePrefix}${entry.name}` : entry.name;
|
|
1869
1870
|
const dest = join(destSkillsDir, destName);
|
|
1871
|
+
let stage = "rm";
|
|
1870
1872
|
try {
|
|
1871
1873
|
rmSync$1(dest, {
|
|
1872
1874
|
recursive: true,
|
|
1873
1875
|
force: true
|
|
1874
1876
|
});
|
|
1877
|
+
stage = "cp";
|
|
1875
1878
|
cpSync(join(srcSkillsDir, entry.name), dest, { recursive: true });
|
|
1876
1879
|
count++;
|
|
1877
1880
|
} catch (err) {
|
|
1881
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
1882
|
+
failures.push({
|
|
1883
|
+
skill: entry.name,
|
|
1884
|
+
op: stage,
|
|
1885
|
+
err: msg
|
|
1886
|
+
});
|
|
1878
1887
|
logger$18.warn({
|
|
1879
1888
|
skill: entry.name,
|
|
1880
1889
|
dest,
|
|
1881
|
-
|
|
1882
|
-
|
|
1890
|
+
stage,
|
|
1891
|
+
err: msg
|
|
1892
|
+
}, `Skipped skill (${stage} failed): ${msg}`);
|
|
1883
1893
|
}
|
|
1884
1894
|
}
|
|
1895
|
+
if (failures.length > 0 && count === 0) {
|
|
1896
|
+
const first = failures[0];
|
|
1897
|
+
logger$18.warn({
|
|
1898
|
+
destSkillsDir,
|
|
1899
|
+
attempted: failures.length,
|
|
1900
|
+
dominantStage: first.op,
|
|
1901
|
+
dominantSkill: first.skill,
|
|
1902
|
+
dominantErr: first.err
|
|
1903
|
+
}, `All ${String(failures.length)} skills failed under ${destSkillsDir} (first: ${first.op} on '${first.skill}' — ${first.err}). Check that ${destSkillsDir} and its parent are writable; on macOS look for restrictive permissions, extended attributes (xattr), or immutable flags. To skip Codex scaffolding entirely, set SUBSTRATE_NO_CODEX_SCAFFOLD=1.`);
|
|
1904
|
+
}
|
|
1885
1905
|
return count;
|
|
1886
1906
|
}
|
|
1887
1907
|
const PROJECT_OWNERSHIP_PREFIXES = ["bmad-", "substrate-"];
|
|
@@ -1899,6 +1919,11 @@ const PROJECT_OWNERSHIP_PREFIXES = ["bmad-", "substrate-"];
|
|
|
1899
1919
|
* a plugin) are left alone.
|
|
1900
1920
|
*/
|
|
1901
1921
|
function scaffoldCodexProject(projectRoot, outputFormat) {
|
|
1922
|
+
if (process.env["SUBSTRATE_NO_CODEX_SCAFFOLD"] === "1") {
|
|
1923
|
+
if (outputFormat !== "json") process.stdout.write(" Skipping .codex/ scaffolding (SUBSTRATE_NO_CODEX_SCAFFOLD=1)\n");
|
|
1924
|
+
logger$18.debug("SUBSTRATE_NO_CODEX_SCAFFOLD=1 — skipping .codex/ scaffolding");
|
|
1925
|
+
return;
|
|
1926
|
+
}
|
|
1902
1927
|
const claudeCommandsDir = join(projectRoot, ".claude", "commands");
|
|
1903
1928
|
const claudeSkillsDir = join(projectRoot, ".claude", "skills");
|
|
1904
1929
|
const codexDir = join(projectRoot, ".codex");
|
|
@@ -1934,6 +1959,11 @@ function scaffoldCodexProject(projectRoot, outputFormat) {
|
|
|
1934
1959
|
* are never touched.
|
|
1935
1960
|
*/
|
|
1936
1961
|
function scaffoldCodexUser(projectRoot, homeDir, outputFormat) {
|
|
1962
|
+
if (process.env["SUBSTRATE_NO_CODEX_SCAFFOLD"] === "1") {
|
|
1963
|
+
if (outputFormat !== "json") process.stdout.write(" Skipping ~/.codex/ scaffolding (SUBSTRATE_NO_CODEX_SCAFFOLD=1)\n");
|
|
1964
|
+
logger$18.debug("SUBSTRATE_NO_CODEX_SCAFFOLD=1 — skipping ~/.codex/ scaffolding");
|
|
1965
|
+
return;
|
|
1966
|
+
}
|
|
1937
1967
|
const claudeCommandsDir = join(projectRoot, ".claude", "commands");
|
|
1938
1968
|
const claudeSkillsDir = join(projectRoot, ".claude", "skills");
|
|
1939
1969
|
const userCodexDir = join(homeDir, ".codex");
|
|
@@ -2109,12 +2139,12 @@ async function runInitAction(options) {
|
|
|
2109
2139
|
await mkdir(substrateDir, { recursive: true });
|
|
2110
2140
|
const configHeader = "# Substrate Configuration\n# Generated by `substrate init`\n# Edit this file to customize your AI agent orchestration settings.\n# API keys must be set as environment variables — never stored here.\n#\n# Provider API key env vars:\n" + Object.entries(PROVIDER_KEY_ENV).map(([p, env]) => `# ${p}: ${env}`).join("\n") + "\n\n";
|
|
2111
2141
|
const configExists = existsSync$1(configPath);
|
|
2112
|
-
if (configExists && !force) {
|
|
2142
|
+
if (configExists && !force && nonInteractive) {
|
|
2113
2143
|
if (outputFormat !== "json") process.stdout.write(" .substrate/config.yaml already exists — preserving (use --force to overwrite)\n");
|
|
2114
2144
|
} else await writeFile(configPath, configHeader + yaml.dump(config), "utf-8");
|
|
2115
2145
|
const routingHeader = "# Substrate Routing Policy\n# Defines how tasks are routed to AI providers.\n# Customize rules to match your workflow and available agents.\n\n";
|
|
2116
2146
|
const routingExists = existsSync$1(routingPolicyPath);
|
|
2117
|
-
if (routingExists && !force) {
|
|
2147
|
+
if (routingExists && !force && nonInteractive) {
|
|
2118
2148
|
if (outputFormat !== "json") process.stdout.write(" .substrate/routing-policy.yaml already exists — preserving (use --force to overwrite)\n");
|
|
2119
2149
|
} else await writeFile(routingPolicyPath, routingHeader + yaml.dump(routingPolicy), "utf-8");
|
|
2120
2150
|
const projectProfilePath = join(substrateDir, "project-profile.yaml");
|
|
@@ -6993,7 +7023,7 @@ async function runStatusAction(options) {
|
|
|
6993
7023
|
logger$15.debug({ err }, "Work graph query failed, continuing without work graph data");
|
|
6994
7024
|
}
|
|
6995
7025
|
if (run === void 0) {
|
|
6996
|
-
const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-
|
|
7026
|
+
const { inspectProcessTree: inspectProcessTree$1 } = await import("../health-CmwLEwMG.js");
|
|
6997
7027
|
const substrateDirPath = join(projectRoot, ".substrate");
|
|
6998
7028
|
const processInfo = inspectProcessTree$1({
|
|
6999
7029
|
projectRoot,
|
|
@@ -7941,7 +7971,7 @@ function defaultSupervisorDeps() {
|
|
|
7941
7971
|
if (cached === null) {
|
|
7942
7972
|
const { AdapterRegistry: AR } = await import(
|
|
7943
7973
|
/* @vite-ignore */
|
|
7944
|
-
"../adapter-registry-
|
|
7974
|
+
"../adapter-registry-61HN97Pb.js"
|
|
7945
7975
|
);
|
|
7946
7976
|
cached = new AR();
|
|
7947
7977
|
await cached.discoverAndRegister();
|
|
@@ -8508,11 +8538,11 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
8508
8538
|
try {
|
|
8509
8539
|
const { createExperimenter } = await import(
|
|
8510
8540
|
/* @vite-ignore */
|
|
8511
|
-
"../experimenter-
|
|
8541
|
+
"../experimenter-Dwti5ZXb.js"
|
|
8512
8542
|
);
|
|
8513
8543
|
const { getLatestRun: getLatest } = await import(
|
|
8514
8544
|
/* @vite-ignore */
|
|
8515
|
-
"../decisions-
|
|
8545
|
+
"../decisions-B2ColN4E.js"
|
|
8516
8546
|
);
|
|
8517
8547
|
const expAdapter = createDatabaseAdapter({
|
|
8518
8548
|
backend: "auto",
|
|
@@ -8522,7 +8552,7 @@ async function runSupervisorAction(options, deps = {}) {
|
|
|
8522
8552
|
await initSchema(expAdapter);
|
|
8523
8553
|
const { runRunAction: runPipeline } = await import(
|
|
8524
8554
|
/* @vite-ignore */
|
|
8525
|
-
"../run-
|
|
8555
|
+
"../run-CniiJHAS.js"
|
|
8526
8556
|
);
|
|
8527
8557
|
const runStoryFn = async (opts) => {
|
|
8528
8558
|
const exitCode = await runPipeline({
|
|
@@ -9047,7 +9077,7 @@ async function runMetricsAction(options) {
|
|
|
9047
9077
|
const routingConfigPath = join(dbDir, "routing.yml");
|
|
9048
9078
|
let routingConfig = null;
|
|
9049
9079
|
if (existsSync$1(routingConfigPath)) try {
|
|
9050
|
-
const { loadModelRoutingConfig } = await import("../routing-
|
|
9080
|
+
const { loadModelRoutingConfig } = await import("../routing-Bl3LFjFs.js");
|
|
9051
9081
|
routingConfig = loadModelRoutingConfig(routingConfigPath);
|
|
9052
9082
|
} catch {}
|
|
9053
9083
|
if (routingConfig === null) routingConfig = {
|
|
@@ -13357,8 +13387,8 @@ async function createProgram() {
|
|
|
13357
13387
|
/** Fire-and-forget startup version check (story 8.3, AC3/AC5) */
|
|
13358
13388
|
function checkForUpdatesInBackground(currentVersion) {
|
|
13359
13389
|
if (process.env.SUBSTRATE_NO_UPDATE_CHECK === "1") return;
|
|
13360
|
-
import("../upgrade-
|
|
13361
|
-
const { createVersionManager } = await import("../version-manager-impl-
|
|
13390
|
+
import("../upgrade-Bq4SRZgH.js").then(async () => {
|
|
13391
|
+
const { createVersionManager } = await import("../version-manager-impl-CZKVyewX.js");
|
|
13362
13392
|
const vm = createVersionManager();
|
|
13363
13393
|
const result = await vm.checkForUpdates();
|
|
13364
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-
|
|
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";
|
|
2
2
|
import "./decisions-CzSIEeGP.js";
|
|
3
3
|
|
|
4
4
|
export { getLatestRun };
|
|
@@ -9784,12 +9784,24 @@ 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
|
|
9788
|
-
* non-interactive `codex exec` can actually write files. Without
|
|
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
9789
|
* defaults to a read-only sandbox + an approval policy that escalates to the
|
|
9790
9790
|
* user — but exec has no one to approve, so file writes fail with
|
|
9791
9791
|
* "file change approval is not supported in exec mode" (→ create-story-no-file).
|
|
9792
|
-
*
|
|
9792
|
+
*
|
|
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
|
+
* versions — it 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.
|
|
9803
|
+
*
|
|
9804
|
+
* `never` is exactly what Codex's docs recommend for non-interactive runs,
|
|
9793
9805
|
* and this is normal automation mode — NOT the
|
|
9794
9806
|
* `--dangerously-bypass-approvals-and-sandbox` flag (which some org policies
|
|
9795
9807
|
* forbid). The planning command stays read-only (it must not write).
|
|
@@ -9803,8 +9815,8 @@ var CodexCLIAdapter = class {
|
|
|
9803
9815
|
"exec",
|
|
9804
9816
|
"--sandbox",
|
|
9805
9817
|
"workspace-write",
|
|
9806
|
-
"
|
|
9807
|
-
"never"
|
|
9818
|
+
"-c",
|
|
9819
|
+
"approval_policy=never"
|
|
9808
9820
|
];
|
|
9809
9821
|
if (options.additionalFlags && options.additionalFlags.length > 0) args.push(...options.additionalFlags);
|
|
9810
9822
|
const envEntries = {};
|
|
@@ -11319,4 +11331,4 @@ async function callLLM(params) {
|
|
|
11319
11331
|
|
|
11320
11332
|
//#endregion
|
|
11321
11333
|
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 };
|
|
11322
|
-
//# sourceMappingURL=dist-
|
|
11334
|
+
//# sourceMappingURL=dist-FYMixuGN.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdtError } from "./dist-
|
|
1
|
+
import { AdtError } from "./dist-FYMixuGN.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-
|
|
74
|
+
//# sourceMappingURL=errors-Qqm59kND.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-
|
|
1
|
+
import { buildAuditLogEntry, buildBranchName, buildModificationDirective, buildPRBody, buildWorktreePath, createExperimenter, determineVerdict, resolvePromptFile } from "./dist-FYMixuGN.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-
|
|
1
|
+
import { DEFAULT_STALL_THRESHOLD_SECONDS, getAllDescendantPids, getAutoHealthData, inspectProcessTree, isOrchestratorProcessLine, registerHealthCommand, runHealthAction } from "./health-DiT_FlpE.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
|
-
import "./dist-
|
|
4
|
-
import "./manifest-read-
|
|
3
|
+
import "./dist-FYMixuGN.js";
|
|
4
|
+
import "./manifest-read-BCnoRvTV.js";
|
|
5
5
|
import "./work-graph-repository-DZyJv5pV.js";
|
|
6
6
|
import "./decisions-CzSIEeGP.js";
|
|
7
7
|
|
|
@@ -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-
|
|
3
|
-
import { resolveMainRepoRoot, resolveRunManifest } from "./manifest-read-
|
|
2
|
+
import { DoltClient, DoltQueryError, createDatabaseAdapter$1 as createDatabaseAdapter, getLatestRun, getPipelineRunById, initSchema } from "./dist-FYMixuGN.js";
|
|
3
|
+
import { resolveMainRepoRoot, resolveRunManifest } from "./manifest-read-BCnoRvTV.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-
|
|
1003
|
+
//# sourceMappingURL=health-DiT_FlpE.js.map
|
|
@@ -1333,12 +1333,24 @@ 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
|
|
1337
|
-
* non-interactive `codex exec` can actually write files. Without
|
|
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
1338
|
* defaults to a read-only sandbox + an approval policy that escalates to the
|
|
1339
1339
|
* user — but exec has no one to approve, so file writes fail with
|
|
1340
1340
|
* "file change approval is not supported in exec mode" (→ create-story-no-file).
|
|
1341
|
-
*
|
|
1341
|
+
*
|
|
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
|
+
* versions — it 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.
|
|
1352
|
+
*
|
|
1353
|
+
* `never` is exactly what Codex's docs recommend for non-interactive runs,
|
|
1342
1354
|
* and this is normal automation mode — NOT the
|
|
1343
1355
|
* `--dangerously-bypass-approvals-and-sandbox` flag (which some org policies
|
|
1344
1356
|
* forbid). The planning command stays read-only (it must not write).
|
|
@@ -1449,4 +1461,4 @@ interface Recommendation {
|
|
|
1449
1461
|
|
|
1450
1462
|
//#endregion
|
|
1451
1463
|
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 };
|
|
1452
|
-
//# sourceMappingURL=index-
|
|
1464
|
+
//# sourceMappingURL=index-CO-wmVvJ.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-
|
|
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";
|
|
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-
|
|
3
|
+
import { AdapterRegistry, AdtError, ClaudeCodeAdapter, CodexCLIAdapter, ConfigError, ConfigIncompatibleFormatError, GeminiCLIAdapter } from "./dist-FYMixuGN.js";
|
|
4
4
|
import "./adapter-registry-DIcrxjH8.js";
|
|
5
|
-
import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-
|
|
5
|
+
import { BudgetExceededError, GitError, RecoveryError, TaskConfigError, TaskGraphCycleError, TaskGraphError, TaskGraphIncompatibleFormatError, WorkerError, WorkerNotFoundError } from "./errors-Qqm59kND.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-
|
|
2
|
+
import { readCurrentRunId, resolveMainRepoRoot } from "./manifest-read-BCnoRvTV.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-
|
|
183
|
+
//# sourceMappingURL=interactive-prompt-CHWGblJe.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createLogger } from "./logger-KeHncl-f.js";
|
|
2
|
-
import { LEARNING_FINDING, createDecision, getDecisionsByCategory } from "./dist-
|
|
2
|
+
import { LEARNING_FINDING, createDecision, getDecisionsByCategory } from "./dist-FYMixuGN.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-
|
|
5854
|
+
//# sourceMappingURL=manifest-read-BCnoRvTV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../logger-KeHncl-f.js";
|
|
2
|
-
import "../../dist-
|
|
3
|
-
import "../../manifest-read-
|
|
4
|
-
import { runInteractivePrompt } from "../../interactive-prompt-
|
|
2
|
+
import "../../dist-FYMixuGN.js";
|
|
3
|
+
import "../../manifest-read-BCnoRvTV.js";
|
|
4
|
+
import { runInteractivePrompt } from "../../interactive-prompt-CHWGblJe.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-
|
|
1
|
+
import { ModelRoutingConfigSchema, ProviderPolicySchema, RoutingConfigError, RoutingRecommender, RoutingResolver, RoutingTelemetry, RoutingTokenAccumulator, RoutingTuner, TASK_TYPE_PHASE_MAP, getModelTier, loadModelRoutingConfig } from "./dist-FYMixuGN.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-
|
|
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";
|
|
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-
|
|
5
|
-
import { FindingsInjector, RunManifest, RuntimeProbeListSchema, applyConfigToGraph, createDefaultVerificationPipeline, createGraphOrchestrator, createSdlcCodeReviewHandler, createSdlcCreateStoryHandler, createSdlcDevStoryHandler, createSdlcPhaseHandler, detectsEventDrivenAC, detectsStateIntegratingAC, extractTargetFilesFromStoryContent, parseRuntimeProbes, renderFindings, resolveGraphPath, resolveMainRepoRoot, runAcTraceabilityCheck, runStaleVerificationRecovery } from "./manifest-read-
|
|
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";
|
|
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-
|
|
8
|
+
import { runInteractivePrompt } from "./interactive-prompt-CHWGblJe.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";
|
|
@@ -47441,7 +47441,7 @@ async function runFullPipeline(options) {
|
|
|
47441
47441
|
*/
|
|
47442
47442
|
async function emitPreDispatchVersionAdvisory(currentVersion) {
|
|
47443
47443
|
if (process.env["SUBSTRATE_NO_UPDATE_CHECK"] === "1") return;
|
|
47444
|
-
const { createVersionManager } = await import("./version-manager-impl-
|
|
47444
|
+
const { createVersionManager } = await import("./version-manager-impl-CZKVyewX.js");
|
|
47445
47445
|
const vm = createVersionManager();
|
|
47446
47446
|
const result = await vm.checkForUpdates(true);
|
|
47447
47447
|
const gap = classifyVersionGap(currentVersion, result.latestVersion);
|
|
@@ -47538,4 +47538,4 @@ function registerRunCommand(program, version = "0.0.0", projectRoot = process.cw
|
|
|
47538
47538
|
|
|
47539
47539
|
//#endregion
|
|
47540
47540
|
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 };
|
|
47541
|
-
//# sourceMappingURL=run-
|
|
47541
|
+
//# sourceMappingURL=run-C0h5CjUK.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./health-
|
|
1
|
+
import "./health-DiT_FlpE.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
3
|
import "./helpers-CElYrONe.js";
|
|
4
|
-
import "./dist-
|
|
5
|
-
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-
|
|
6
|
-
import "./manifest-read-
|
|
4
|
+
import "./dist-FYMixuGN.js";
|
|
5
|
+
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-C0h5CjUK.js";
|
|
6
|
+
import "./manifest-read-BCnoRvTV.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-
|
|
11
|
+
import "./interactive-prompt-CHWGblJe.js";
|
|
12
12
|
import "./recovery-engine-BKGBeBnW.js";
|
|
13
13
|
|
|
14
14
|
export { runRunAction };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
1
|
+
import "./dist-FYMixuGN.js";
|
|
2
2
|
import "./version-manager-impl-qFBiO4Eh.js";
|
|
3
|
-
import { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand } from "./upgrade-
|
|
3
|
+
import { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand } from "./upgrade-DWzAWGtt.js";
|
|
4
4
|
|
|
5
5
|
export { isGlobalInstall, registerUpgradeCommand, runUpgradeCommand };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createVersionManager } from "./dist-
|
|
1
|
+
import { createVersionManager } from "./dist-FYMixuGN.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-
|
|
126
|
+
//# sourceMappingURL=upgrade-DWzAWGtt.js.map
|
package/package.json
CHANGED