@ddse/acm-runtime 0.5.0
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/LICENSE +21 -0
- package/README.md +393 -0
- package/dist/src/checkpoint.d.ts +97 -0
- package/dist/src/checkpoint.d.ts.map +1 -0
- package/dist/src/checkpoint.js +200 -0
- package/dist/src/checkpoint.js.map +1 -0
- package/dist/src/execution-transcript.d.ts +30 -0
- package/dist/src/execution-transcript.d.ts.map +1 -0
- package/dist/src/execution-transcript.js +70 -0
- package/dist/src/execution-transcript.js.map +1 -0
- package/dist/src/executor.d.ts +49 -0
- package/dist/src/executor.d.ts.map +1 -0
- package/dist/src/executor.js +390 -0
- package/dist/src/executor.js.map +1 -0
- package/dist/src/guards.d.ts +7 -0
- package/dist/src/guards.d.ts.map +1 -0
- package/dist/src/guards.js +13 -0
- package/dist/src/guards.js.map +1 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +10 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/ledger.d.ts +12 -0
- package/dist/src/ledger.d.ts.map +1 -0
- package/dist/src/ledger.js +53 -0
- package/dist/src/ledger.js.map +1 -0
- package/dist/src/resumable-executor.d.ts +39 -0
- package/dist/src/resumable-executor.d.ts.map +1 -0
- package/dist/src/resumable-executor.js +354 -0
- package/dist/src/resumable-executor.js.map +1 -0
- package/dist/src/retry.d.ts +7 -0
- package/dist/src/retry.d.ts.map +1 -0
- package/dist/src/retry.js +25 -0
- package/dist/src/retry.js.map +1 -0
- package/dist/src/tool-envelope.d.ts +14 -0
- package/dist/src/tool-envelope.d.ts.map +1 -0
- package/dist/src/tool-envelope.js +84 -0
- package/dist/src/tool-envelope.js.map +1 -0
- package/dist/tests/resumable.test.d.ts +2 -0
- package/dist/tests/resumable.test.d.ts.map +1 -0
- package/dist/tests/resumable.test.js +337 -0
- package/dist/tests/resumable.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +29 -0
- package/src/checkpoint.ts +311 -0
- package/src/execution-transcript.ts +108 -0
- package/src/executor.ts +540 -0
- package/src/guards.ts +21 -0
- package/src/index.ts +9 -0
- package/src/ledger.ts +63 -0
- package/src/resumable-executor.ts +471 -0
- package/src/retry.ts +37 -0
- package/src/tool-envelope.ts +113 -0
- package/tests/resumable.test.ts +421 -0
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
// Main execution engine
|
|
2
|
+
import { InternalContextScopeImpl, } from '@ddse/acm-sdk';
|
|
3
|
+
import { evaluateGuard } from './guards.js';
|
|
4
|
+
import { MemoryLedger } from './ledger.js';
|
|
5
|
+
import { withRetry } from './retry.js';
|
|
6
|
+
import { createInstrumentedToolGetter } from './tool-envelope.js';
|
|
7
|
+
export async function executePlan(options) {
|
|
8
|
+
const { goal, context, plan, capabilityRegistry, toolRegistry, policy, verify, stream, nucleusFactory, nucleusConfig, contextProvider, } = options;
|
|
9
|
+
const ledger = options.ledger ?? new MemoryLedger();
|
|
10
|
+
const outputs = {};
|
|
11
|
+
const executionRecords = {};
|
|
12
|
+
const policyContext = {};
|
|
13
|
+
const metrics = { costUsd: 0, elapsedSec: 0 };
|
|
14
|
+
const startTime = Date.now();
|
|
15
|
+
// Log plan selection
|
|
16
|
+
ledger.append('PLAN_SELECTED', {
|
|
17
|
+
planId: plan.id,
|
|
18
|
+
contextRef: plan.contextRef,
|
|
19
|
+
capabilityMapVersion: plan.capabilityMapVersion,
|
|
20
|
+
});
|
|
21
|
+
// Build execution order based on edges
|
|
22
|
+
const executed = new Set();
|
|
23
|
+
const pending = [...plan.tasks];
|
|
24
|
+
while (pending.length > 0) {
|
|
25
|
+
const readyTasks = pending.filter(taskSpec => {
|
|
26
|
+
// Check if all dependencies are satisfied
|
|
27
|
+
const incomingEdges = plan.edges.filter(e => e.to === taskSpec.id);
|
|
28
|
+
if (incomingEdges.length === 0) {
|
|
29
|
+
return true; // No dependencies
|
|
30
|
+
}
|
|
31
|
+
return incomingEdges.every(edge => {
|
|
32
|
+
if (!executed.has(edge.from)) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
// Evaluate guard if present
|
|
36
|
+
if (edge.guard) {
|
|
37
|
+
const guardResult = evaluateGuard(edge.guard, {
|
|
38
|
+
context,
|
|
39
|
+
outputs,
|
|
40
|
+
policy: policyContext,
|
|
41
|
+
});
|
|
42
|
+
ledger.append('GUARD_EVAL', {
|
|
43
|
+
edge: `${edge.from}->${edge.to}`,
|
|
44
|
+
guard: edge.guard,
|
|
45
|
+
result: guardResult,
|
|
46
|
+
});
|
|
47
|
+
return guardResult;
|
|
48
|
+
}
|
|
49
|
+
return true;
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
if (readyTasks.length === 0) {
|
|
53
|
+
break; // No more tasks can be executed
|
|
54
|
+
}
|
|
55
|
+
// Execute ready tasks
|
|
56
|
+
for (const taskSpec of readyTasks) {
|
|
57
|
+
pending.splice(pending.indexOf(taskSpec), 1);
|
|
58
|
+
const capabilityName = taskSpec.capabilityRef || taskSpec.capability;
|
|
59
|
+
if (!capabilityName) {
|
|
60
|
+
throw new Error(`Task ${taskSpec.id} missing capability reference`);
|
|
61
|
+
}
|
|
62
|
+
const task = capabilityRegistry.resolve(capabilityName);
|
|
63
|
+
if (!task) {
|
|
64
|
+
throw new Error(`Task not found for capability: ${capabilityName}`);
|
|
65
|
+
}
|
|
66
|
+
const nucleusAllowedTools = new Set(nucleusConfig.allowedTools ?? []);
|
|
67
|
+
for (const tool of taskSpec.tools ?? []) {
|
|
68
|
+
nucleusAllowedTools.add(tool.name);
|
|
69
|
+
}
|
|
70
|
+
const nucleus = nucleusFactory({
|
|
71
|
+
goalId: goal.id,
|
|
72
|
+
goalIntent: goal.intent,
|
|
73
|
+
planId: plan.id,
|
|
74
|
+
taskId: taskSpec.id,
|
|
75
|
+
contextRef: plan.contextRef,
|
|
76
|
+
context,
|
|
77
|
+
llmCall: nucleusConfig.llmCall,
|
|
78
|
+
hooks: nucleusConfig.hooks,
|
|
79
|
+
allowedTools: Array.from(nucleusAllowedTools),
|
|
80
|
+
});
|
|
81
|
+
const internalScope = new InternalContextScopeImpl(entry => {
|
|
82
|
+
ledger.append(entry.type, entry.details);
|
|
83
|
+
});
|
|
84
|
+
nucleus.setInternalContext(internalScope);
|
|
85
|
+
const getTool = createInstrumentedToolGetter({
|
|
86
|
+
taskId: taskSpec.id,
|
|
87
|
+
capability: capabilityName,
|
|
88
|
+
toolRegistry,
|
|
89
|
+
ledger,
|
|
90
|
+
});
|
|
91
|
+
// Build run context
|
|
92
|
+
const runContext = {
|
|
93
|
+
goal,
|
|
94
|
+
context,
|
|
95
|
+
outputs,
|
|
96
|
+
metrics,
|
|
97
|
+
getTool,
|
|
98
|
+
getCapabilityRegistry: () => capabilityRegistry,
|
|
99
|
+
stream,
|
|
100
|
+
nucleus,
|
|
101
|
+
internalContext: internalScope,
|
|
102
|
+
};
|
|
103
|
+
let preflight = await nucleus.preflight();
|
|
104
|
+
if (preflight.status === 'NEEDS_CONTEXT') {
|
|
105
|
+
const requestedDirectives = preflight.retrievalDirectives;
|
|
106
|
+
ledger.append('CONTEXT_INTERNALIZED', {
|
|
107
|
+
taskId: taskSpec.id,
|
|
108
|
+
directives: requestedDirectives,
|
|
109
|
+
status: contextProvider ? 'requested' : 'unhandled',
|
|
110
|
+
});
|
|
111
|
+
if (!contextProvider) {
|
|
112
|
+
throw new Error(`Task ${taskSpec.id} requires additional context retrieval: ${preflight.retrievalDirectives.join(', ')}`);
|
|
113
|
+
}
|
|
114
|
+
await contextProvider.fulfill({
|
|
115
|
+
directives: requestedDirectives,
|
|
116
|
+
scope: internalScope,
|
|
117
|
+
runContext,
|
|
118
|
+
nucleus,
|
|
119
|
+
});
|
|
120
|
+
preflight = await nucleus.preflight();
|
|
121
|
+
if (preflight.status === 'NEEDS_CONTEXT') {
|
|
122
|
+
throw new Error(`Task ${taskSpec.id} still requires additional context after adapter execution: ${preflight.retrievalDirectives.join(', ')}`);
|
|
123
|
+
}
|
|
124
|
+
ledger.append('CONTEXT_INTERNALIZED', {
|
|
125
|
+
taskId: taskSpec.id,
|
|
126
|
+
directives: requestedDirectives,
|
|
127
|
+
status: 'resolved',
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
// Policy pre-check
|
|
131
|
+
if (policy) {
|
|
132
|
+
const policyInput = task.policyInput?.(runContext, taskSpec.input) ?? {};
|
|
133
|
+
const decision = await policy.evaluate('task.pre', {
|
|
134
|
+
taskId: taskSpec.id,
|
|
135
|
+
capability: taskSpec.capability,
|
|
136
|
+
...policyInput,
|
|
137
|
+
});
|
|
138
|
+
ledger.append('POLICY_PRE', {
|
|
139
|
+
taskId: taskSpec.id,
|
|
140
|
+
decision,
|
|
141
|
+
});
|
|
142
|
+
if (!decision.allow) {
|
|
143
|
+
throw new Error(`Policy denied task ${taskSpec.id}: ${decision.reason}`);
|
|
144
|
+
}
|
|
145
|
+
policyContext[taskSpec.id] = decision;
|
|
146
|
+
}
|
|
147
|
+
// Execute task with retry
|
|
148
|
+
const ledgerBaseline = ledger.getEntries().length;
|
|
149
|
+
ledger.append('TASK_START', {
|
|
150
|
+
taskId: taskSpec.id,
|
|
151
|
+
capability: capabilityName,
|
|
152
|
+
input: taskSpec.input,
|
|
153
|
+
});
|
|
154
|
+
stream?.emit('task', { taskId: taskSpec.id, status: 'running' });
|
|
155
|
+
try {
|
|
156
|
+
const executeTask = async () => task.execute(runContext, taskSpec.input);
|
|
157
|
+
const retryConfig = taskSpec.retry || (taskSpec.retryPolicy
|
|
158
|
+
? {
|
|
159
|
+
attempts: taskSpec.retryPolicy.maxAttempts || 3,
|
|
160
|
+
backoff: 'exp',
|
|
161
|
+
}
|
|
162
|
+
: undefined);
|
|
163
|
+
const output = retryConfig ? await withRetry(executeTask, retryConfig) : await executeTask();
|
|
164
|
+
outputs[taskSpec.id] = output;
|
|
165
|
+
// Policy post-check
|
|
166
|
+
if (policy) {
|
|
167
|
+
const decision = await policy.evaluate('task.post', {
|
|
168
|
+
taskId: taskSpec.id,
|
|
169
|
+
output,
|
|
170
|
+
});
|
|
171
|
+
ledger.append('POLICY_POST', {
|
|
172
|
+
taskId: taskSpec.id,
|
|
173
|
+
decision,
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
// Verification
|
|
177
|
+
if (verify && taskSpec.verification && taskSpec.verification.length > 0) {
|
|
178
|
+
const verified = await verify(taskSpec.id, output, taskSpec.verification);
|
|
179
|
+
ledger.append('VERIFICATION', {
|
|
180
|
+
taskId: taskSpec.id,
|
|
181
|
+
expressions: taskSpec.verification,
|
|
182
|
+
result: verified,
|
|
183
|
+
});
|
|
184
|
+
if (!verified) {
|
|
185
|
+
throw new Error(`Verification failed for task ${taskSpec.id}`);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
const postcheck = await nucleus.postcheck(output);
|
|
189
|
+
if (postcheck.status === 'NEEDS_COMPENSATION') {
|
|
190
|
+
ledger.append('ERROR', {
|
|
191
|
+
taskId: taskSpec.id,
|
|
192
|
+
stage: 'NUCLEUS_POSTCHECK',
|
|
193
|
+
message: postcheck.reason,
|
|
194
|
+
});
|
|
195
|
+
throw new Error(`Task ${taskSpec.id} requires compensation: ${postcheck.reason}`);
|
|
196
|
+
}
|
|
197
|
+
if (postcheck.status === 'ESCALATE') {
|
|
198
|
+
ledger.append('ERROR', {
|
|
199
|
+
taskId: taskSpec.id,
|
|
200
|
+
stage: 'NUCLEUS_POSTCHECK',
|
|
201
|
+
message: postcheck.reason,
|
|
202
|
+
});
|
|
203
|
+
throw new Error(`Task ${taskSpec.id} escalated: ${postcheck.reason}`);
|
|
204
|
+
}
|
|
205
|
+
const narrative = buildTaskNarrative(ledger, ledgerBaseline, taskSpec.id, postcheck);
|
|
206
|
+
executionRecords[taskSpec.id] = {
|
|
207
|
+
output,
|
|
208
|
+
narrative,
|
|
209
|
+
};
|
|
210
|
+
ledger.append('TASK_END', {
|
|
211
|
+
taskId: taskSpec.id,
|
|
212
|
+
output,
|
|
213
|
+
narrative,
|
|
214
|
+
});
|
|
215
|
+
stream?.emit('task', { taskId: taskSpec.id, status: 'completed', output, narrative });
|
|
216
|
+
executed.add(taskSpec.id);
|
|
217
|
+
}
|
|
218
|
+
catch (error) {
|
|
219
|
+
ledger.append('ERROR', {
|
|
220
|
+
taskId: taskSpec.id,
|
|
221
|
+
capability: capabilityName,
|
|
222
|
+
message: error.message || 'Unknown error',
|
|
223
|
+
});
|
|
224
|
+
stream?.emit('task', {
|
|
225
|
+
taskId: taskSpec.id,
|
|
226
|
+
status: 'failed',
|
|
227
|
+
error: error.message || error.toString(),
|
|
228
|
+
});
|
|
229
|
+
throw error;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const goalSummary = await synthesizeGoalSummary({
|
|
234
|
+
goal,
|
|
235
|
+
plan,
|
|
236
|
+
executionRecords,
|
|
237
|
+
context,
|
|
238
|
+
nucleusFactory,
|
|
239
|
+
nucleusConfig,
|
|
240
|
+
ledger,
|
|
241
|
+
stream,
|
|
242
|
+
});
|
|
243
|
+
metrics.elapsedSec = (Date.now() - startTime) / 1000;
|
|
244
|
+
return {
|
|
245
|
+
outputsByTask: executionRecords,
|
|
246
|
+
ledger: ledger.getEntries(),
|
|
247
|
+
goalSummary,
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
export function buildTaskNarrative(ledger, baselineIndex, taskId, postcheck) {
|
|
251
|
+
const entries = ledger.getEntries().slice(baselineIndex);
|
|
252
|
+
const reasonings = entries
|
|
253
|
+
.filter(entry => entry.type === 'NUCLEUS_INFERENCE')
|
|
254
|
+
.filter(entry => entry.details?.nucleus?.taskId === taskId)
|
|
255
|
+
.map(entry => (typeof entry.details?.reasoning === 'string' ? entry.details.reasoning.trim() : undefined))
|
|
256
|
+
.filter((text) => Boolean(text && text.length > 0));
|
|
257
|
+
const narrative = {};
|
|
258
|
+
if (reasonings.length > 0) {
|
|
259
|
+
narrative.reasoning = reasonings;
|
|
260
|
+
}
|
|
261
|
+
narrative.postcheck = {
|
|
262
|
+
status: postcheck.status,
|
|
263
|
+
...(postcheck.status !== 'COMPLETE' && 'reason' in postcheck
|
|
264
|
+
? { reason: postcheck.reason }
|
|
265
|
+
: {}),
|
|
266
|
+
};
|
|
267
|
+
if (!narrative.reasoning && !narrative.postcheck?.reason && narrative.postcheck?.status === 'COMPLETE') {
|
|
268
|
+
// Return undefined if narrative is completely empty beyond a routine COMPLETE status
|
|
269
|
+
return undefined;
|
|
270
|
+
}
|
|
271
|
+
return narrative;
|
|
272
|
+
}
|
|
273
|
+
export async function synthesizeGoalSummary(options) {
|
|
274
|
+
const { goal, plan, executionRecords, context, nucleusFactory, nucleusConfig, ledger, stream } = options;
|
|
275
|
+
if (plan.tasks.length === 0 || Object.keys(executionRecords).length === 0) {
|
|
276
|
+
return undefined;
|
|
277
|
+
}
|
|
278
|
+
try {
|
|
279
|
+
const allowedTools = Array.from(new Set(nucleusConfig.allowedTools ?? []));
|
|
280
|
+
const nucleus = nucleusFactory({
|
|
281
|
+
goalId: goal.id,
|
|
282
|
+
goalIntent: goal.intent,
|
|
283
|
+
planId: plan.id,
|
|
284
|
+
taskId: 'goal-summary',
|
|
285
|
+
contextRef: plan.contextRef,
|
|
286
|
+
context,
|
|
287
|
+
llmCall: nucleusConfig.llmCall,
|
|
288
|
+
hooks: nucleusConfig.hooks,
|
|
289
|
+
allowedTools,
|
|
290
|
+
});
|
|
291
|
+
const prompt = buildGoalSummaryPrompt(goal, plan, executionRecords, context);
|
|
292
|
+
const result = await nucleus.invoke({ prompt, tools: [] });
|
|
293
|
+
const summary = result.reasoning?.trim() ?? '';
|
|
294
|
+
const normalizedSummary = summary.length > 0 ? summary : undefined;
|
|
295
|
+
ledger.append('GOAL_SUMMARY', {
|
|
296
|
+
goalId: goal.id,
|
|
297
|
+
planId: plan.id,
|
|
298
|
+
summary: normalizedSummary,
|
|
299
|
+
tasks: plan.tasks.map(task => {
|
|
300
|
+
const record = executionRecords[task.id];
|
|
301
|
+
return {
|
|
302
|
+
id: task.id,
|
|
303
|
+
title: task.title,
|
|
304
|
+
objective: task.objective,
|
|
305
|
+
successCriteria: task.successCriteria,
|
|
306
|
+
outputPreview: record ? previewForSummary(record.output) : undefined,
|
|
307
|
+
postcheck: record?.narrative?.postcheck,
|
|
308
|
+
};
|
|
309
|
+
}),
|
|
310
|
+
});
|
|
311
|
+
if (normalizedSummary) {
|
|
312
|
+
stream?.emit('summary', {
|
|
313
|
+
goalId: goal.id,
|
|
314
|
+
planId: plan.id,
|
|
315
|
+
summary: normalizedSummary,
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
return normalizedSummary;
|
|
319
|
+
}
|
|
320
|
+
catch (error) {
|
|
321
|
+
ledger.append('ERROR', {
|
|
322
|
+
stage: 'GOAL_SUMMARY',
|
|
323
|
+
message: error?.message ?? 'Failed to synthesize goal summary',
|
|
324
|
+
});
|
|
325
|
+
return undefined;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
function buildGoalSummaryPrompt(goal, plan, executionRecords, context) {
|
|
329
|
+
const goalIntent = goal.intent ?? goal.id;
|
|
330
|
+
const contextFacts = context?.facts ? JSON.stringify(context.facts, null, 2) : '{}';
|
|
331
|
+
const contextAssumptions = context?.assumptions?.length
|
|
332
|
+
? `Assumptions:\n- ${context.assumptions.join('\n- ')}`
|
|
333
|
+
: 'Assumptions: none provided';
|
|
334
|
+
const taskSections = plan.tasks.map(task => {
|
|
335
|
+
const record = executionRecords[task.id];
|
|
336
|
+
const label = task.title || task.capabilityRef || task.capability || task.id;
|
|
337
|
+
const pieces = [
|
|
338
|
+
`Task ${task.id}: ${label}`,
|
|
339
|
+
task.objective ? `Objective: ${task.objective}` : undefined,
|
|
340
|
+
task.successCriteria && task.successCriteria.length > 0
|
|
341
|
+
? `Success Criteria: ${task.successCriteria.join('; ')}`
|
|
342
|
+
: undefined,
|
|
343
|
+
record ? `Outcome: ${previewForSummary(record.output)}` : 'Outcome: not captured.',
|
|
344
|
+
record?.narrative?.reasoning?.length
|
|
345
|
+
? `Narrative: ${record.narrative.reasoning.join(' ')}`
|
|
346
|
+
: undefined,
|
|
347
|
+
record?.narrative?.postcheck
|
|
348
|
+
? `Postcheck: ${record.narrative.postcheck.status}${record.narrative.postcheck.reason ? ` (${record.narrative.postcheck.reason})` : ''}`
|
|
349
|
+
: undefined,
|
|
350
|
+
].filter(Boolean);
|
|
351
|
+
return pieces.join('\n');
|
|
352
|
+
});
|
|
353
|
+
return `You are composing the wrap-up for an ACM execution run.
|
|
354
|
+
Goal intent: ${goalIntent}
|
|
355
|
+
Context reference: ${plan.contextRef}
|
|
356
|
+
|
|
357
|
+
Context facts:
|
|
358
|
+
${contextFacts}
|
|
359
|
+
${contextAssumptions}
|
|
360
|
+
|
|
361
|
+
Summarize the outcome in 2-3 sentences for the operator. Highlight what happened, any remaining risks or follow-up, and reference task achievements when relevant.
|
|
362
|
+
|
|
363
|
+
Task outcomes:
|
|
364
|
+
${taskSections.join('\n\n')}`;
|
|
365
|
+
}
|
|
366
|
+
function previewForSummary(value, maxLength = 240) {
|
|
367
|
+
if (value === null || value === undefined) {
|
|
368
|
+
return 'No output provided.';
|
|
369
|
+
}
|
|
370
|
+
let text;
|
|
371
|
+
if (typeof value === 'string') {
|
|
372
|
+
text = value.trim();
|
|
373
|
+
}
|
|
374
|
+
else if (typeof value === 'number' || typeof value === 'boolean') {
|
|
375
|
+
text = String(value);
|
|
376
|
+
}
|
|
377
|
+
else {
|
|
378
|
+
try {
|
|
379
|
+
text = JSON.stringify(value);
|
|
380
|
+
}
|
|
381
|
+
catch {
|
|
382
|
+
text = String(value);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
if (text.length <= maxLength) {
|
|
386
|
+
return text;
|
|
387
|
+
}
|
|
388
|
+
return `${text.slice(0, maxLength - 1)}…`;
|
|
389
|
+
}
|
|
390
|
+
//# sourceMappingURL=executor.js.map
|
|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CAAC,MAAM,IAAI,SAAS,EAAE,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,GAAG,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../src/guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,SAAS,EACf,OAAO,EAAE;IACP,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC7B,GACA,OAAO,CAUT"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function evaluateGuard(expr, context) {
|
|
2
|
+
try {
|
|
3
|
+
// Simple expression evaluation
|
|
4
|
+
// Support basic comparisons and logical operators
|
|
5
|
+
const func = new Function('context', 'outputs', 'policy', `return ${expr};`);
|
|
6
|
+
return func(context.context, context.outputs, context.policy);
|
|
7
|
+
}
|
|
8
|
+
catch (err) {
|
|
9
|
+
console.error(`Guard evaluation failed: ${expr}`, err);
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=guards.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guards.js","sourceRoot":"","sources":["../../src/guards.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,aAAa,CAC3B,IAAe,EACf,OAIC;IAED,IAAI,CAAC;QACH,+BAA+B;QAC/B,kDAAkD;QAClD,MAAM,IAAI,GAAG,IAAI,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,IAAI,GAAG,CAAC,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAChE,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,4BAA4B,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC;QACvD,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './executor.js';
|
|
2
|
+
export * from './guards.js';
|
|
3
|
+
export * from './ledger.js';
|
|
4
|
+
export * from './retry.js';
|
|
5
|
+
export * from './checkpoint.js';
|
|
6
|
+
export * from './resumable-executor.js';
|
|
7
|
+
export * from './tool-envelope.js';
|
|
8
|
+
export * from './execution-transcript.js';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Runtime exports
|
|
2
|
+
export * from './executor.js';
|
|
3
|
+
export * from './guards.js';
|
|
4
|
+
export * from './ledger.js';
|
|
5
|
+
export * from './retry.js';
|
|
6
|
+
export * from './checkpoint.js';
|
|
7
|
+
export * from './resumable-executor.js';
|
|
8
|
+
export * from './tool-envelope.js';
|
|
9
|
+
export * from './execution-transcript.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LedgerEntry } from '@ddse/acm-sdk';
|
|
2
|
+
export declare class MemoryLedger {
|
|
3
|
+
private entries;
|
|
4
|
+
private nextId;
|
|
5
|
+
append(type: LedgerEntry['type'], details: Record<string, any>, computeDigest?: boolean): LedgerEntry;
|
|
6
|
+
getEntries(): readonly LedgerEntry[];
|
|
7
|
+
getEntriesByType(type: LedgerEntry['type']): readonly LedgerEntry[];
|
|
8
|
+
clear(): void;
|
|
9
|
+
validate(): boolean;
|
|
10
|
+
private computeDigest;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=ledger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ledger.d.ts","sourceRoot":"","sources":["../../src/ledger.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD,qBAAa,YAAY;IACvB,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,MAAM,CAAK;IAEnB,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,aAAa,UAAO,GAAG,WAAW;IAiBlG,UAAU,IAAI,SAAS,WAAW,EAAE;IAIpC,gBAAgB,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,WAAW,EAAE;IAInE,KAAK,IAAI,IAAI;IAKb,QAAQ,IAAI,OAAO;IAanB,OAAO,CAAC,aAAa;CAWtB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { createHash } from 'crypto';
|
|
2
|
+
export class MemoryLedger {
|
|
3
|
+
entries = [];
|
|
4
|
+
nextId = 1;
|
|
5
|
+
append(type, details, computeDigest = true) {
|
|
6
|
+
const entry = {
|
|
7
|
+
id: `ledger-${this.nextId++}`,
|
|
8
|
+
ts: Date.now(),
|
|
9
|
+
type,
|
|
10
|
+
details,
|
|
11
|
+
};
|
|
12
|
+
// Compute digest for tamper detection if requested
|
|
13
|
+
if (computeDigest) {
|
|
14
|
+
entry.digest = this.computeDigest(entry);
|
|
15
|
+
}
|
|
16
|
+
this.entries.push(entry);
|
|
17
|
+
return entry;
|
|
18
|
+
}
|
|
19
|
+
getEntries() {
|
|
20
|
+
return [...this.entries];
|
|
21
|
+
}
|
|
22
|
+
getEntriesByType(type) {
|
|
23
|
+
return this.entries.filter(e => e.type === type);
|
|
24
|
+
}
|
|
25
|
+
clear() {
|
|
26
|
+
this.entries = [];
|
|
27
|
+
}
|
|
28
|
+
// Validate ledger integrity
|
|
29
|
+
validate() {
|
|
30
|
+
for (const entry of this.entries) {
|
|
31
|
+
if (entry.digest) {
|
|
32
|
+
const computed = this.computeDigest(entry);
|
|
33
|
+
if (computed !== entry.digest) {
|
|
34
|
+
console.error(`Ledger entry ${entry.id} failed integrity check`);
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
computeDigest(entry) {
|
|
42
|
+
const normalized = JSON.stringify({
|
|
43
|
+
id: entry.id,
|
|
44
|
+
ts: entry.ts,
|
|
45
|
+
type: entry.type,
|
|
46
|
+
details: entry.details,
|
|
47
|
+
});
|
|
48
|
+
const hash = createHash('sha256');
|
|
49
|
+
hash.update(normalized);
|
|
50
|
+
return hash.digest('hex').substring(0, 32);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=ledger.js.map
|
|
@@ -0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AAC,KAAK,CAAC,gBAAgB,KAAK,CAAC,EAAE,yBAAyB,CAAC,CAAC;oBACjE,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,aAAa,CAAC,KAAkB;QACtC,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;YAChC,EAAE,EAAE,KAAK,CAAC,EAAE;YACZ,EAAE,EAAE,KAAK,CAAC,EAAE;YACZ,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC,CAAC;QACH,MAAM,IAAI,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;QAClC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7C,CAAC;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type Checkpoint, type CheckpointStore } from './checkpoint.js';
|
|
2
|
+
import type { ExecutePlanOptions, ExecutePlanResult } from './executor.js';
|
|
3
|
+
/**
|
|
4
|
+
* Extended options for resumable execution
|
|
5
|
+
*/
|
|
6
|
+
export interface ResumableExecutePlanOptions extends ExecutePlanOptions {
|
|
7
|
+
resumeFrom?: string;
|
|
8
|
+
checkpointInterval?: number;
|
|
9
|
+
checkpointStore?: CheckpointStore;
|
|
10
|
+
runId?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Execute a plan with checkpoint and resume support
|
|
14
|
+
*/
|
|
15
|
+
export declare function executeResumablePlan(options: ResumableExecutePlanOptions): Promise<ExecutePlanResult>;
|
|
16
|
+
/**
|
|
17
|
+
* ResumableExecutor class for managing resumable executions
|
|
18
|
+
*/
|
|
19
|
+
export declare class ResumableExecutor {
|
|
20
|
+
private checkpointStore;
|
|
21
|
+
constructor(checkpointStore?: CheckpointStore);
|
|
22
|
+
/**
|
|
23
|
+
* Execute a plan with checkpointing enabled
|
|
24
|
+
*/
|
|
25
|
+
execute(options: ResumableExecutePlanOptions): Promise<ExecutePlanResult>;
|
|
26
|
+
/**
|
|
27
|
+
* List available checkpoints for a run
|
|
28
|
+
*/
|
|
29
|
+
listCheckpoints(runId: string): Promise<import("./checkpoint.js").CheckpointMetadata[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Get a specific checkpoint
|
|
32
|
+
*/
|
|
33
|
+
getCheckpoint(runId: string, checkpointId?: string): Promise<Checkpoint | null>;
|
|
34
|
+
/**
|
|
35
|
+
* Prune old checkpoints
|
|
36
|
+
*/
|
|
37
|
+
pruneCheckpoints(runId: string, keepLast?: number): Promise<void>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=resumable-executor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resumable-executor.d.ts","sourceRoot":"","sources":["../../src/resumable-executor.ts"],"names":[],"mappings":"AAgBA,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,eAAe,EAErB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAuB,MAAM,eAAe,CAAC;AAIhG;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,iBAAiB,CAAC,CAmY5B;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAE1B,OAAO,CAAC,eAAe;gBAAf,eAAe,GAAE,eAA6C;IAGxE;;OAEG;IACG,OAAO,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAO/E;;OAEG;IACG,eAAe,CAAC,KAAK,EAAE,MAAM;IAInC;;OAEG;IACG,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;IAIrF;;OAEG;IACG,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAU,GAAG,OAAO,CAAC,IAAI,CAAC;CAG3E"}
|