@evomap/evolver-cli 2.0.0-beta.2 → 2.0.0-beta.22
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/antiGeneBenchmark.js +2 -0
- package/dist/antiGeneRollout.js +9 -3
- package/dist/assetHealth.d.ts +6 -0
- package/dist/assetHealth.js +107 -0
- package/dist/assetRepair.d.ts +24 -0
- package/dist/assetRepair.js +172 -0
- package/dist/assetSidecarRecovery.d.ts +14 -0
- package/dist/assetSidecarRecovery.js +171 -0
- package/dist/assetTrust.d.ts +24 -0
- package/dist/assetTrust.js +231 -0
- package/dist/atp.d.ts +10 -5
- package/dist/atp.js +119 -26
- package/dist/atpAutoBuyer.d.ts +120 -0
- package/dist/atpAutoBuyer.js +814 -0
- package/dist/atpAutoDeliver.js +2 -2
- package/dist/autoDistillAntiGene.js +7 -5
- package/dist/autoDistillLlm.d.ts +26 -0
- package/dist/autoDistillLlm.js +119 -22
- package/dist/autoDistillTranscript.js +3 -2
- package/dist/autoexec.d.ts +111 -24
- package/dist/autoexec.js +887 -120
- package/dist/autoexecConfig.d.ts +10 -0
- package/dist/autoexecConfig.js +69 -0
- package/dist/cli.js +13 -0
- package/dist/cliContracts.d.ts +33 -2
- package/dist/cliContracts.js +818 -78
- package/dist/commandCatalog.d.ts +72 -0
- package/dist/commandCatalog.js +120 -0
- package/dist/commands.d.ts +1 -0
- package/dist/commands.js +1 -0
- package/dist/curriculumCapabilityGaps.d.ts +6 -0
- package/dist/curriculumCapabilityGaps.js +24 -0
- package/dist/cycleConsumer.d.ts +17 -2
- package/dist/cycleConsumer.js +374 -50
- package/dist/dashboard.d.ts +13 -1
- package/dist/dashboard.js +235 -18
- package/dist/dispatch.d.ts +9 -2
- package/dist/dispatch.js +29 -6
- package/dist/distillAdmission.d.ts +13 -0
- package/dist/distillAdmission.js +35 -0
- package/dist/distillObserver.js +27 -12
- package/dist/distillPrimitives.d.ts +11 -8
- package/dist/distillPrimitives.js +116 -22
- package/dist/doctor.d.ts +13 -0
- package/dist/doctor.js +177 -10
- package/dist/identityHome.d.ts +9 -0
- package/dist/identityHome.js +47 -0
- package/dist/index.d.ts +73 -40
- package/dist/index.js +745 -207
- package/dist/issueReport.d.ts +7 -0
- package/dist/issueReport.js +291 -0
- package/dist/learningTrace.d.ts +15 -0
- package/dist/learningTrace.js +73 -0
- package/dist/lifecycle.d.ts +199 -2
- package/dist/lifecycle.js +4999 -152
- package/dist/lifecycleBootstrapTransaction.d.ts +235 -0
- package/dist/lifecycleBootstrapTransaction.js +2182 -0
- package/dist/localMemoryGraph.d.ts +184 -0
- package/dist/localMemoryGraph.js +2689 -0
- package/dist/login.d.ts +1 -1
- package/dist/login.js +3 -3
- package/dist/materialPackage.js +3 -6
- package/dist/materialSnapshot.d.ts +35 -1
- package/dist/materialSnapshot.js +265 -18
- package/dist/memoryGraphOps.d.ts +8 -0
- package/dist/memoryGraphOps.js +140 -0
- package/dist/migrate/assetFormatMap.d.ts +61 -0
- package/dist/migrate/assetFormatMap.js +53 -0
- package/dist/migrate/envTranslate.d.ts +26 -0
- package/dist/migrate/envTranslate.js +147 -0
- package/dist/migrate/fieldMap.d.ts +7 -5
- package/dist/migrate/fieldMap.js +20 -14
- package/dist/migrate/oauthImport.d.ts +66 -0
- package/dist/migrate/oauthImport.js +667 -0
- package/dist/migrate/v1Import.d.ts +98 -1
- package/dist/migrate/v1Import.js +1532 -71
- package/dist/modelCompatibility.d.ts +10 -0
- package/dist/modelCompatibility.js +296 -0
- package/dist/promptRecallHook.d.ts +24 -0
- package/dist/promptRecallHook.js +425 -0
- package/dist/recallVerifyReport.d.ts +37 -0
- package/dist/recallVerifyReport.js +244 -0
- package/dist/recipe.d.ts +14 -2
- package/dist/recipe.js +543 -65
- package/dist/repairedAssetStore.d.ts +2 -0
- package/dist/repairedAssetStore.js +12 -0
- package/dist/requiredSandboxValidation.d.ts +5 -0
- package/dist/requiredSandboxValidation.js +4 -0
- package/dist/reuse.d.ts +18 -4
- package/dist/reuse.js +375 -107
- package/dist/reviewFilter.d.ts +3 -1
- package/dist/reviewFilter.js +3 -1
- package/dist/runtimeCapabilities.d.ts +18 -0
- package/dist/runtimeCapabilities.js +81 -0
- package/dist/runtimeSessionSource.d.ts +8 -2
- package/dist/runtimeSessionSource.js +63 -11
- package/dist/selectionPolicyConfig.d.ts +8 -0
- package/dist/selectionPolicyConfig.js +18 -0
- package/dist/semanticIdfConfig.d.ts +2 -0
- package/dist/semanticIdfConfig.js +4 -0
- package/dist/sessionIngest.d.ts +43 -0
- package/dist/sessionIngest.js +180 -0
- package/dist/setupHooks.d.ts +5 -0
- package/dist/setupHooks.js +330 -14
- package/dist/skill2gep.d.ts +13 -9
- package/dist/skill2gep.js +99 -36
- package/dist/skillDistill.d.ts +8 -4
- package/dist/skillDistill.js +39 -9
- package/dist/solo/mode.js +1 -0
- package/dist/sync.d.ts +13 -1
- package/dist/sync.js +1947 -265
- package/dist/thesis.d.ts +1 -1
- package/dist/thesis.js +20 -3
- package/dist/trajectoryExport.js +21 -3
- package/dist/v1Compat.d.ts +1 -0
- package/dist/v1Compat.js +9 -0
- package/dist/valueDigest.js +8 -1
- package/dist/windowsLegacyTaskCleanup.d.ts +228 -0
- package/dist/windowsLegacyTaskCleanup.js +1475 -0
- package/dist/workflow.d.ts +39 -0
- package/dist/workflow.js +386 -0
- package/dist/workflowRuntime.d.ts +66 -0
- package/dist/workflowRuntime.js +638 -0
- package/package.json +14 -7
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export declare const COMMAND_GROUP_ORDER: readonly ["Daemon", "Evolution", "Memory", "Assets", "Hub", "Operations", "Tools", "Advanced"];
|
|
2
|
+
export type CommandGroup = (typeof COMMAND_GROUP_ORDER)[number];
|
|
3
|
+
export declare const SYNC_COMMAND_NAMES: readonly ["status", "cycles", "trigger", "value", "narrative", "retention", "gene-value", "replay", "rebuild-views", "reset-local-secret"];
|
|
4
|
+
export type SyncCommandName = (typeof SYNC_COMMAND_NAMES)[number];
|
|
5
|
+
export declare function isSyncCommandName(value: string): value is SyncCommandName;
|
|
6
|
+
export declare const COMMAND_GROUPS: {
|
|
7
|
+
readonly proxy: "Daemon";
|
|
8
|
+
readonly lifecycle: "Daemon";
|
|
9
|
+
readonly 'proxy-token': "Daemon";
|
|
10
|
+
readonly doctor: "Daemon";
|
|
11
|
+
readonly 'setup-hooks': "Daemon";
|
|
12
|
+
readonly run: "Evolution";
|
|
13
|
+
readonly cycle: "Evolution";
|
|
14
|
+
readonly autoexec: "Evolution";
|
|
15
|
+
readonly solidify: "Evolution";
|
|
16
|
+
readonly distill: "Evolution";
|
|
17
|
+
readonly review: "Evolution";
|
|
18
|
+
readonly thesis: "Evolution";
|
|
19
|
+
readonly ingest: "Memory";
|
|
20
|
+
readonly inject: "Memory";
|
|
21
|
+
readonly recall: "Memory";
|
|
22
|
+
readonly reuse: "Memory";
|
|
23
|
+
readonly 'reuse-report': "Memory";
|
|
24
|
+
readonly 'recall-verify-report': "Memory";
|
|
25
|
+
readonly narrative: "Memory";
|
|
26
|
+
readonly 'gene-value': "Memory";
|
|
27
|
+
readonly 'memory-graph': "Memory";
|
|
28
|
+
readonly 'asset-log': "Assets";
|
|
29
|
+
readonly 'asset-trust': "Assets";
|
|
30
|
+
readonly 'asset-health': "Assets";
|
|
31
|
+
readonly 'asset-repair': "Assets";
|
|
32
|
+
readonly material: "Assets";
|
|
33
|
+
readonly recipe: "Assets";
|
|
34
|
+
readonly skill: "Assets";
|
|
35
|
+
readonly login: "Hub";
|
|
36
|
+
readonly logout: "Hub";
|
|
37
|
+
readonly phub: "Hub";
|
|
38
|
+
readonly sync: "Hub";
|
|
39
|
+
readonly publish: "Hub";
|
|
40
|
+
readonly fetch: "Hub";
|
|
41
|
+
readonly buy: "Hub";
|
|
42
|
+
readonly orders: "Hub";
|
|
43
|
+
readonly verify: "Hub";
|
|
44
|
+
readonly atp: "Hub";
|
|
45
|
+
readonly status: "Operations";
|
|
46
|
+
readonly daily: "Operations";
|
|
47
|
+
readonly workflow: "Operations";
|
|
48
|
+
readonly cycles: "Operations";
|
|
49
|
+
readonly trigger: "Operations";
|
|
50
|
+
readonly value: "Operations";
|
|
51
|
+
readonly retention: "Operations";
|
|
52
|
+
readonly replay: "Operations";
|
|
53
|
+
readonly 'rebuild-views': "Operations";
|
|
54
|
+
readonly 'issue-report': "Operations";
|
|
55
|
+
readonly dashboard: "Tools";
|
|
56
|
+
readonly webui: "Tools";
|
|
57
|
+
readonly 'trajectory-export': "Tools";
|
|
58
|
+
readonly migrate: "Tools";
|
|
59
|
+
readonly exec: "Tools";
|
|
60
|
+
readonly 'anti-gene-benchmark': "Advanced";
|
|
61
|
+
readonly 'anti-gene-rollout': "Advanced";
|
|
62
|
+
readonly 'model-compatibility-replay': "Advanced";
|
|
63
|
+
readonly 'reset-local-secret': "Advanced";
|
|
64
|
+
readonly 'skill-distill': "Advanced";
|
|
65
|
+
readonly 'skill-md-update': "Advanced";
|
|
66
|
+
};
|
|
67
|
+
export type CommandName = keyof typeof COMMAND_GROUPS;
|
|
68
|
+
export type AsyncCommandName = Exclude<CommandName, SyncCommandName>;
|
|
69
|
+
export declare const COMMAND_HELP_MAX_WIDTH = 100;
|
|
70
|
+
export declare function commandsInGroup(group: CommandGroup): readonly CommandName[];
|
|
71
|
+
export declare function commandHelpLabel(command: CommandName): string;
|
|
72
|
+
export declare function renderCommandGroups(): string[];
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export const COMMAND_GROUP_ORDER = [
|
|
2
|
+
'Daemon',
|
|
3
|
+
'Evolution',
|
|
4
|
+
'Memory',
|
|
5
|
+
'Assets',
|
|
6
|
+
'Hub',
|
|
7
|
+
'Operations',
|
|
8
|
+
'Tools',
|
|
9
|
+
'Advanced',
|
|
10
|
+
];
|
|
11
|
+
export const SYNC_COMMAND_NAMES = [
|
|
12
|
+
'status', 'cycles', 'trigger', 'value', 'narrative', 'retention', 'gene-value', 'replay', 'rebuild-views',
|
|
13
|
+
'reset-local-secret',
|
|
14
|
+
];
|
|
15
|
+
const SYNC_COMMAND_NAME_SET = new Set(SYNC_COMMAND_NAMES);
|
|
16
|
+
export function isSyncCommandName(value) {
|
|
17
|
+
return SYNC_COMMAND_NAME_SET.has(value);
|
|
18
|
+
}
|
|
19
|
+
export const COMMAND_GROUPS = {
|
|
20
|
+
proxy: 'Daemon',
|
|
21
|
+
lifecycle: 'Daemon',
|
|
22
|
+
'proxy-token': 'Daemon',
|
|
23
|
+
doctor: 'Daemon',
|
|
24
|
+
'setup-hooks': 'Daemon',
|
|
25
|
+
run: 'Evolution',
|
|
26
|
+
cycle: 'Evolution',
|
|
27
|
+
autoexec: 'Evolution',
|
|
28
|
+
solidify: 'Evolution',
|
|
29
|
+
distill: 'Evolution',
|
|
30
|
+
review: 'Evolution',
|
|
31
|
+
thesis: 'Evolution',
|
|
32
|
+
ingest: 'Memory',
|
|
33
|
+
inject: 'Memory',
|
|
34
|
+
recall: 'Memory',
|
|
35
|
+
reuse: 'Memory',
|
|
36
|
+
'reuse-report': 'Memory',
|
|
37
|
+
'recall-verify-report': 'Memory',
|
|
38
|
+
narrative: 'Memory',
|
|
39
|
+
'gene-value': 'Memory',
|
|
40
|
+
'memory-graph': 'Memory',
|
|
41
|
+
'asset-log': 'Assets',
|
|
42
|
+
'asset-trust': 'Assets',
|
|
43
|
+
'asset-health': 'Assets',
|
|
44
|
+
'asset-repair': 'Assets',
|
|
45
|
+
material: 'Assets',
|
|
46
|
+
recipe: 'Assets',
|
|
47
|
+
skill: 'Assets',
|
|
48
|
+
login: 'Hub',
|
|
49
|
+
logout: 'Hub',
|
|
50
|
+
phub: 'Hub',
|
|
51
|
+
sync: 'Hub',
|
|
52
|
+
publish: 'Hub',
|
|
53
|
+
fetch: 'Hub',
|
|
54
|
+
buy: 'Hub',
|
|
55
|
+
orders: 'Hub',
|
|
56
|
+
verify: 'Hub',
|
|
57
|
+
atp: 'Hub',
|
|
58
|
+
status: 'Operations',
|
|
59
|
+
daily: 'Operations',
|
|
60
|
+
workflow: 'Operations',
|
|
61
|
+
cycles: 'Operations',
|
|
62
|
+
trigger: 'Operations',
|
|
63
|
+
value: 'Operations',
|
|
64
|
+
retention: 'Operations',
|
|
65
|
+
replay: 'Operations',
|
|
66
|
+
'rebuild-views': 'Operations',
|
|
67
|
+
'issue-report': 'Operations',
|
|
68
|
+
dashboard: 'Tools',
|
|
69
|
+
webui: 'Tools',
|
|
70
|
+
'trajectory-export': 'Tools',
|
|
71
|
+
migrate: 'Tools',
|
|
72
|
+
exec: 'Tools',
|
|
73
|
+
'anti-gene-benchmark': 'Advanced',
|
|
74
|
+
'anti-gene-rollout': 'Advanced',
|
|
75
|
+
'model-compatibility-replay': 'Advanced',
|
|
76
|
+
'reset-local-secret': 'Advanced',
|
|
77
|
+
'skill-distill': 'Advanced',
|
|
78
|
+
'skill-md-update': 'Advanced',
|
|
79
|
+
};
|
|
80
|
+
const COMMAND_HELP_LABELS = {
|
|
81
|
+
workflow: 'workflow status',
|
|
82
|
+
'skill-distill': 'skill-distill (legacy; prefer `evolver recipe build`)',
|
|
83
|
+
};
|
|
84
|
+
const COMMAND_HELP_LABEL_COLUMN = 15;
|
|
85
|
+
export const COMMAND_HELP_MAX_WIDTH = 100;
|
|
86
|
+
export function commandsInGroup(group) {
|
|
87
|
+
return Object.keys(COMMAND_GROUPS).filter((command) => COMMAND_GROUPS[command] === group);
|
|
88
|
+
}
|
|
89
|
+
export function commandHelpLabel(command) {
|
|
90
|
+
return COMMAND_HELP_LABELS[command] ?? command;
|
|
91
|
+
}
|
|
92
|
+
function wrapEntries(entries, firstPrefix, continuationPrefix) {
|
|
93
|
+
const lines = [];
|
|
94
|
+
let current = firstPrefix;
|
|
95
|
+
let hasEntry = false;
|
|
96
|
+
entries.forEach((entry, index) => {
|
|
97
|
+
const separator = index === entries.length - 1 ? '' : ',';
|
|
98
|
+
const candidate = hasEntry ? `${current} ${entry}${separator}` : `${current}${entry}${separator}`;
|
|
99
|
+
if (hasEntry && candidate.length > COMMAND_HELP_MAX_WIDTH) {
|
|
100
|
+
lines.push(current);
|
|
101
|
+
current = `${continuationPrefix}${entry}${separator}`;
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
current = candidate;
|
|
105
|
+
hasEntry = true;
|
|
106
|
+
});
|
|
107
|
+
if (hasEntry)
|
|
108
|
+
lines.push(current);
|
|
109
|
+
return lines;
|
|
110
|
+
}
|
|
111
|
+
export function renderCommandGroups() {
|
|
112
|
+
const continuationPrefix = ' '.repeat(COMMAND_HELP_LABEL_COLUMN);
|
|
113
|
+
return COMMAND_GROUP_ORDER.flatMap((group) => {
|
|
114
|
+
const commands = commandsInGroup(group);
|
|
115
|
+
if (commands.length === 0)
|
|
116
|
+
return [];
|
|
117
|
+
const firstPrefix = ` ${group}:`.padEnd(COMMAND_HELP_LABEL_COLUMN, ' ');
|
|
118
|
+
return wrapEntries(commands.map(commandHelpLabel), firstPrefix, continuationPrefix);
|
|
119
|
+
});
|
|
120
|
+
}
|
package/dist/commands.d.ts
CHANGED
|
@@ -5,5 +5,6 @@ export declare const listCycles: typeof events.listCycles;
|
|
|
5
5
|
export declare const showCycle: typeof events.showCycle;
|
|
6
6
|
export declare const listTriggers: typeof events.listTriggers;
|
|
7
7
|
export declare const dailySummary: typeof events.dailySummary;
|
|
8
|
+
export declare const dailyCapsuleCount: typeof events.dailyCapsuleCount;
|
|
8
9
|
export declare const buildNarrativeSnapshot: typeof events.buildNarrativeSnapshot;
|
|
9
10
|
export declare const buildRetentionReport: typeof events.buildRetentionReport;
|
package/dist/commands.js
CHANGED
|
@@ -6,5 +6,6 @@ export const listCycles = events.listCycles;
|
|
|
6
6
|
export const showCycle = events.showCycle;
|
|
7
7
|
export const listTriggers = events.listTriggers;
|
|
8
8
|
export const dailySummary = events.dailySummary;
|
|
9
|
+
export const dailyCapsuleCount = events.dailyCapsuleCount;
|
|
9
10
|
export const buildNarrativeSnapshot = events.buildNarrativeSnapshot;
|
|
10
11
|
export const buildRetentionReport = events.buildRetentionReport;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type CapabilityGapsEnv = Readonly<Record<string, string | undefined>>;
|
|
2
|
+
export declare function resolveCurriculumMailboxPath(env?: CapabilityGapsEnv): string;
|
|
3
|
+
/** Read one immutable lifecycle snapshot per curriculum preparation without creating a proxy database. */
|
|
4
|
+
export declare function readPersistedCapabilityGaps(env?: CapabilityGapsEnv): string[];
|
|
5
|
+
export declare function makeCurriculumCapabilityGapsProvider(env?: CapabilityGapsEnv): () => readonly string[];
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { existsSync } from 'node:fs';
|
|
2
|
+
import { join } from 'node:path';
|
|
3
|
+
import { events, mailbox, signals } from '@evomap/evolver-core';
|
|
4
|
+
export function resolveCurriculumMailboxPath(env = process.env) {
|
|
5
|
+
const configured = env['EVOLVER_PROXY_STORE']?.trim();
|
|
6
|
+
return configured && configured.length > 0
|
|
7
|
+
? configured
|
|
8
|
+
: join(events.evomapHome(env), 'proxy', 'mailbox.db');
|
|
9
|
+
}
|
|
10
|
+
/** Read one immutable lifecycle snapshot per curriculum preparation without creating a proxy database. */
|
|
11
|
+
export function readPersistedCapabilityGaps(env = process.env) {
|
|
12
|
+
const path = resolveCurriculumMailboxPath(env);
|
|
13
|
+
if (!existsSync(path))
|
|
14
|
+
return [];
|
|
15
|
+
try {
|
|
16
|
+
return signals.capabilityGapsFromState(mailbox.readMailboxState(path, signals.CAPABILITY_GAPS_STATE_KEY));
|
|
17
|
+
}
|
|
18
|
+
catch {
|
|
19
|
+
return [];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export function makeCurriculumCapabilityGapsProvider(env = process.env) {
|
|
23
|
+
return () => readPersistedCapabilityGaps(env);
|
|
24
|
+
}
|
package/dist/cycleConsumer.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { assetstore, algo, events, exec, material as materialNs, personality, verify } from '@evomap/evolver-core';
|
|
2
|
+
import { type ConfiguredSelectionGuard, type ConfiguredSelectionPolicy } from './selectionPolicyConfig.js';
|
|
2
3
|
type RunnerName = NonNullable<exec.AutonomousSafety['runner']>;
|
|
3
|
-
type SleepFn = (ms: number) => Promise<void>;
|
|
4
|
+
type SleepFn = (ms: number, signal?: AbortSignal) => Promise<void>;
|
|
4
5
|
type SandboxedValidationRunner = typeof verify.runSandboxedValidation;
|
|
5
6
|
type MaterialCycleAction = 'cycle' | 'observe' | 'skip' | 'fail';
|
|
6
7
|
type MaterialCycleStatus = exec.AutoExecVerdict['status'] | 'observed' | 'already_consumed' | 'already_terminal' | 'already_running' | 'no_signals' | 'parse_failed' | 'pending';
|
|
@@ -36,7 +37,7 @@ export interface MaterialCycleWatchResult {
|
|
|
36
37
|
idleIterations: number;
|
|
37
38
|
failedItems: number;
|
|
38
39
|
cursor: number;
|
|
39
|
-
stopped: 'max_iterations' | 'max_idle';
|
|
40
|
+
stopped: 'max_iterations' | 'max_idle' | 'cancelled';
|
|
40
41
|
}
|
|
41
42
|
export interface MaterialCycleWatchState {
|
|
42
43
|
ok: true;
|
|
@@ -60,7 +61,10 @@ export interface MaterialCycleOptions {
|
|
|
60
61
|
validationCmds?: readonly string[];
|
|
61
62
|
validate?: exec.AutoExecDeps['validate'];
|
|
62
63
|
runner?: RunnerName;
|
|
64
|
+
/** Resume the single native Claude Code or Cursor session represented by each material. Default false. */
|
|
65
|
+
resume?: boolean;
|
|
63
66
|
timeoutMs?: number;
|
|
67
|
+
signal?: AbortSignal;
|
|
64
68
|
safety?: Partial<exec.AutonomousSafety>;
|
|
65
69
|
agent?: exec.AgentRunner;
|
|
66
70
|
git?: exec.GitRunner;
|
|
@@ -81,6 +85,7 @@ export interface MaterialCycleDeps {
|
|
|
81
85
|
ingestor?: events.Ingestor;
|
|
82
86
|
engine?: algo.CycleEngine;
|
|
83
87
|
personality?: personality.PersonalityStore;
|
|
88
|
+
memoryGraph?: algo.MemoryGraphProvider;
|
|
84
89
|
validate?: exec.AutoExecDeps['validate'];
|
|
85
90
|
/** Test/composition seam for the external validator; production defaults to the hardened core runner. */
|
|
86
91
|
runSandboxedValidation?: SandboxedValidationRunner;
|
|
@@ -89,6 +94,16 @@ export interface MaterialCycleDeps {
|
|
|
89
94
|
safety?: Partial<exec.AutonomousSafety>;
|
|
90
95
|
sleep?: SleepFn;
|
|
91
96
|
watchStateWriter?: (path: string, state: MaterialCycleWatchState) => void;
|
|
97
|
+
/** User home whose native runtime directories may contribute resumable session identities. */
|
|
98
|
+
nativeSessionHome?: string;
|
|
99
|
+
/** Override semantic IDF composition; otherwise resolved from EVOLVER_SEMANTIC_IDF. */
|
|
100
|
+
disableSemanticIdf?: boolean;
|
|
101
|
+
/** Override plateau selection policy; otherwise resolved from EVOLVER_SELECTION_POLICY. */
|
|
102
|
+
selectionPolicy?: ConfiguredSelectionPolicy;
|
|
103
|
+
/** Override the relevance guard; otherwise resolved from EVOLVER_SELECTION_GUARD. */
|
|
104
|
+
selectionGuard?: ConfiguredSelectionGuard;
|
|
105
|
+
/** Override the optional score floor; otherwise resolved from EVOLVER_SELECTION_FLOOR. */
|
|
106
|
+
selectionFloor?: number;
|
|
92
107
|
}
|
|
93
108
|
export declare function cycleIdForMaterial(materialId: string): string;
|
|
94
109
|
export declare function cycleLockPathForMaterial(materialStorePath: string, materialId: string): string;
|