ultra-builder-pro-cli 3.0.2 → 5.0.1

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.
Files changed (42) hide show
  1. package/.ultra-template/contexts/TEMPLATE.md +6 -0
  2. package/CHANGELOG.md +83 -1
  3. package/README.md +126 -36
  4. package/README.zh-CN.md +440 -0
  5. package/adapters/_shared/host-profile.cjs +3 -151
  6. package/adapters/_shared/plugin-core.cjs +57 -0
  7. package/adapters/_shared/runtime-assets.cjs +64 -12
  8. package/adapters/codex.js +3 -6
  9. package/bin/delegate-worker.cjs +2 -345
  10. package/bin/delegate.cjs +3 -530
  11. package/docs/ARCHITECTURE.md +59 -18
  12. package/docs/ARTIFACT-AUTHORITY.md +21 -5
  13. package/docs/DECISIONS.md +31 -10
  14. package/docs/PLUGIN-ISOLATION-CONTRACT.md +28 -12
  15. package/docs/RUNTIME-COMPAT-MATRIX.md +106 -26
  16. package/docs/SKILL-AUTHORING.md +15 -3
  17. package/docs/WORKFLOW-LIFECYCLE.md +83 -29
  18. package/docs/evals/ultra-5-0-journey-results.md +62 -0
  19. package/docs/evals/ultra-5-0-live-acp-conformance.md +93 -0
  20. package/docs/evals/ultra-5-0-route-journeys.md +145 -0
  21. package/package.json +2 -1
  22. package/skills/ultra-change/SKILL.md +30 -4
  23. package/skills/ultra-delegate/SKILL.md +80 -7
  24. package/skills/ultra-delegate/patches/zcode-acp-0.1.0-zcode-0.16.5.patch +184 -0
  25. package/skills/ultra-delegate/references/delegation-contract.md +60 -1
  26. package/skills/ultra-delegate/scripts/acp-conformance.cjs +287 -0
  27. package/skills/ultra-delegate/scripts/acp-driver.cjs +762 -0
  28. package/skills/ultra-delegate/scripts/agent-execution-driver.cjs +320 -0
  29. package/skills/ultra-delegate/scripts/cli-driver.cjs +61 -0
  30. package/skills/ultra-delegate/scripts/delegate-worker.cjs +328 -0
  31. package/skills/ultra-delegate/scripts/delegate.cjs +690 -0
  32. package/skills/ultra-delegate/scripts/host-profile.cjs +267 -0
  33. package/skills/ultra-deliver/SKILL.md +13 -0
  34. package/skills/ultra-dev/SKILL.md +18 -2
  35. package/skills/ultra-init/SKILL.md +12 -0
  36. package/skills/ultra-plan/SKILL.md +21 -3
  37. package/skills/ultra-research/SKILL.md +33 -5
  38. package/skills/ultra-status/SKILL.md +37 -7
  39. package/skills/ultra-status/references/route-contract.md +100 -0
  40. package/skills/ultra-test/SKILL.md +16 -1
  41. /package/{adapters/_shared → skills/ultra-delegate/scripts}/delegate-profiles/kimi-read-only.md +0 -0
  42. /package/{adapters/_shared → skills/ultra-delegate/scripts}/delegate-profiles/kimi-write.md +0 -0
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  /**
4
- * Canonical v0.26 package boundary.
4
+ * Canonical package and invocation boundary.
5
5
  *
6
6
  * Skills carry semantic workflow. Hooks are optional acceleration and safety.
7
7
  * There is no prompt projection, worker registry, MCP kernel, or runtime daemon.
@@ -27,13 +27,54 @@ const MODEL_INVOKED_SKILLS = Object.freeze([
27
27
  ]);
28
28
 
29
29
  const ROUTER_SKILLS = Object.freeze(['ultra-status']);
30
- const GRANT_CONTINUABLE_SKILLS = Object.freeze([
31
- 'ultra-research',
32
- 'ultra-plan',
33
- 'ultra-dev',
34
- 'ultra-test',
35
- 'ultra-deliver',
36
- ]);
30
+ const PUBLIC_SKILL_INVOCATION_MODES = Object.freeze({
31
+ 'ultra-init': Object.freeze({
32
+ create: 'explicit-entry',
33
+ recover: 'explicit-entry',
34
+ }),
35
+ 'ultra-research': Object.freeze({
36
+ baseline: 'explicit-entry',
37
+ 'change-scoped': 'grant-continuable',
38
+ }),
39
+ 'ultra-change': Object.freeze({
40
+ intake: 'explicit-entry',
41
+ 'evidence-needed': 'explicit-entry',
42
+ reconcile: 'grant-continuable',
43
+ accepted: 'explicit-entry',
44
+ }),
45
+ 'ultra-plan': Object.freeze({
46
+ decompose: 'grant-continuable',
47
+ recover: 'grant-continuable',
48
+ }),
49
+ 'ultra-dev': Object.freeze({
50
+ execute: 'grant-continuable',
51
+ resume: 'grant-continuable',
52
+ reopen: 'grant-continuable',
53
+ }),
54
+ 'ultra-test': Object.freeze({
55
+ audit: 'grant-continuable',
56
+ reaudit: 'grant-continuable',
57
+ }),
58
+ 'ultra-deliver': Object.freeze({
59
+ reconcile: 'grant-continuable',
60
+ finalize: 'explicit-entry',
61
+ }),
62
+ 'ultra-delegate': Object.freeze({
63
+ task: 'explicit-entry',
64
+ research: 'explicit-entry',
65
+ aggregate: 'explicit-entry',
66
+ }),
67
+ 'ultra-status': Object.freeze({
68
+ route: 'router',
69
+ history: 'router',
70
+ installation: 'router',
71
+ delegation: 'router',
72
+ recovery: 'router',
73
+ }),
74
+ });
75
+ const GRANT_CONTINUABLE_SKILLS = Object.freeze(USER_INVOKED_SKILLS.filter((name) => (
76
+ Object.values(PUBLIC_SKILL_INVOCATION_MODES[name]).includes('grant-continuable')
77
+ )));
37
78
  const SUPPORTED_RUNTIMES = Object.freeze(['claude', 'opencode', 'codex', 'kimi', 'grok', 'zcode']);
38
79
 
39
80
  const WORKFLOW_HOOK_FILES = Object.freeze([
@@ -59,11 +100,21 @@ function skillPolicy(name) {
59
100
  if (!skillsForRuntime(SUPPORTED_RUNTIMES[0]).includes(name)) {
60
101
  throw new Error(`unknown packaged Ultra skill: ${name}`);
61
102
  }
62
- const modelInvoked = MODEL_INVOKED_SKILLS.includes(name);
63
- const grantContinuable = GRANT_CONTINUABLE_SKILLS.includes(name);
103
+ if (MODEL_INVOKED_SKILLS.includes(name)) {
104
+ return {
105
+ userInvocable: false,
106
+ allowImplicitInvocation: true,
107
+ invocationClasses: ['model-discipline'],
108
+ modes: {},
109
+ };
110
+ }
111
+ const modes = PUBLIC_SKILL_INVOCATION_MODES[name];
112
+ const invocationClasses = [...new Set(Object.values(modes))];
64
113
  return {
65
- userInvocable: !modelInvoked,
66
- allowImplicitInvocation: modelInvoked || grantContinuable,
114
+ userInvocable: true,
115
+ allowImplicitInvocation: invocationClasses.includes('grant-continuable'),
116
+ invocationClasses,
117
+ modes,
67
118
  };
68
119
  }
69
120
 
@@ -71,6 +122,7 @@ module.exports = {
71
122
  GRANT_CONTINUABLE_SKILLS,
72
123
  USER_INVOKED_SKILLS,
73
124
  MODEL_INVOKED_SKILLS,
125
+ PUBLIC_SKILL_INVOCATION_MODES,
74
126
  ROUTER_SKILLS,
75
127
  SUPPORTED_RUNTIMES,
76
128
  WORKFLOW_HOOK_FILES,
package/adapters/codex.js CHANGED
@@ -370,13 +370,10 @@ function doctor(ctx = {}) {
370
370
  if (!discovered) report.issues.push({ code: 'HOST_PLUGIN_NOT_DISCOVERED' });
371
371
  }
372
372
  report.checks.hook_activation = {
373
- status: 'user_review_required',
374
- reason: 'Codex does not trust non-managed plugin hooks merely because the plugin is installed or enabled.',
373
+ status: 'host_managed',
374
+ observable: false,
375
+ reason: 'Codex owns persisted Hook trust, and its CLI does not expose the live trust decision to plugins.',
375
376
  };
376
- report.actions = [{
377
- code: 'REVIEW_CODEX_HOOK_TRUST',
378
- message: 'Open a new Codex session, review the current Ultra hook definition, and trust it before relying on hook acceleration.',
379
- }];
380
377
  report.status = report.issues.length === 0 ? 'healthy' : 'degraded';
381
378
  return report;
382
379
  }
@@ -1,348 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- const crypto = require('node:crypto');
5
- const fs = require('node:fs');
6
- const path = require('node:path');
7
- const { execFileSync, spawn } = require('node:child_process');
8
-
9
- const RESULT_SCHEMA = 'ultra-delegation-result-v1';
10
- const PROTECTED_ROOT = '.ultra';
11
- const MODEL_FIELDS = new Set([
12
- '$schema', 'status', 'summary', 'changed_files', 'checks', 'evidence',
13
- 'questions', 'residual_risks',
14
- ]);
15
-
16
- function writeAtomic(file, payload) {
17
- const temporary = `${file}.tmp-${process.pid}`;
18
- fs.writeFileSync(temporary, `${JSON.stringify(payload, null, 2)}\n`, { mode: 0o600 });
19
- fs.renameSync(temporary, file);
20
- }
21
-
22
- function sha256(file) {
23
- try {
24
- return crypto.createHash('sha256').update(fs.readFileSync(file)).digest('hex');
25
- } catch {
26
- return null;
27
- }
28
- }
29
-
30
- function git(cwd, args, { binary = false } = {}) {
31
- return execFileSync('git', args, {
32
- cwd,
33
- encoding: binary ? 'buffer' : 'utf8',
34
- stdio: ['ignore', 'pipe', 'pipe'],
35
- });
36
- }
37
-
38
- function zeroSeparated(buffer) {
39
- return buffer.toString('utf8').split('\0').filter(Boolean);
40
- }
41
-
42
- function normalizeChangedPath(value) {
43
- if (typeof value !== 'string' || !value || value.includes('\\') || path.posix.isAbsolute(value)) {
44
- return null;
45
- }
46
- const normalized = path.posix.normalize(value);
47
- if (normalized !== value || normalized === '.' || normalized === '..' || normalized.startsWith('../')) {
48
- return null;
49
- }
50
- return normalized;
51
- }
52
-
53
- function changedFiles(spec) {
54
- const tracked = zeroSeparated(git(spec.cwd, [
55
- 'diff', '--name-only', '-z', spec.base_head, '--',
56
- ], { binary: true }));
57
- const untracked = zeroSeparated(git(spec.cwd, [
58
- 'ls-files', '--others', '--exclude-standard', '-z',
59
- ], { binary: true }));
60
- return [...new Set([...tracked, ...untracked]
61
- .map((item) => item.split(path.sep).join('/')))]
62
- .sort();
63
- }
64
-
65
- function parseJson(value) {
66
- if (typeof value !== 'string') return null;
67
- let text = value.trim();
68
- const fence = text.match(/^```(?:json)?\s*([\s\S]*?)\s*```$/i);
69
- if (fence) text = fence[1];
70
- try { return JSON.parse(text); } catch { return null; }
71
- }
72
-
73
- function parseFencedJson(value) {
74
- if (typeof value !== 'string') return [];
75
- const parsed = [];
76
- const fences = /```(?:json)?\s*([\s\S]*?)\s*```/gi;
77
- for (const match of value.matchAll(fences)) {
78
- try { parsed.push(JSON.parse(match[1])); } catch {}
79
- }
80
- return parsed;
81
- }
82
-
83
- function collectResultCandidates(value, candidates, depth = 0) {
84
- if (depth > 12 || value === null || value === undefined) return;
85
- if (typeof value === 'string') {
86
- const parsed = parseJson(value);
87
- if (parsed !== null) collectResultCandidates(parsed, candidates, depth + 1);
88
- for (const fenced of parseFencedJson(value)) {
89
- collectResultCandidates(fenced, candidates, depth + 1);
90
- }
91
- return;
92
- }
93
- if (Array.isArray(value)) {
94
- for (const item of value) collectResultCandidates(item, candidates, depth + 1);
95
- return;
96
- }
97
- if (typeof value !== 'object') return;
98
- if (value.$schema === RESULT_SCHEMA) candidates.push(value);
99
- for (const nested of Object.values(value)) {
100
- collectResultCandidates(nested, candidates, depth + 1);
101
- }
102
- }
103
-
104
- function extractModelResult(spec) {
105
- const candidates = [];
106
- for (const file of [spec.host_output, spec.stdout]) {
107
- if (!file || !fs.existsSync(file) || fs.statSync(file).size === 0) continue;
108
- const text = fs.readFileSync(file, 'utf8');
109
- collectResultCandidates(text, candidates);
110
- const full = parseJson(text);
111
- if (full !== null) collectResultCandidates(full, candidates);
112
- for (const line of text.split('\n')) {
113
- const parsed = parseJson(line);
114
- if (parsed !== null) collectResultCandidates(parsed, candidates);
115
- }
116
- }
117
- return candidates.at(-1) || null;
118
- }
119
-
120
- function validateModelResult(payload) {
121
- if (!payload || Array.isArray(payload) || typeof payload !== 'object') {
122
- return 'result must be a JSON object';
123
- }
124
- const extra = Object.keys(payload).filter((key) => !MODEL_FIELDS.has(key));
125
- const missing = [...MODEL_FIELDS].filter((key) => !(key in payload));
126
- if (extra.length || missing.length) {
127
- return `result fields must be exact; missing=${missing.join(',') || 'none'} extra=${extra.join(',') || 'none'}`;
128
- }
129
- if (payload.$schema !== RESULT_SCHEMA) return `$schema must be ${RESULT_SCHEMA}`;
130
- if (!['finished', 'blocked', 'failed'].includes(payload.status)) {
131
- return 'status must be finished, blocked, or failed';
132
- }
133
- if (typeof payload.summary !== 'string' || !payload.summary.trim()) {
134
- return 'summary must be a non-empty string';
135
- }
136
- if (!Array.isArray(payload.changed_files)) return 'changed_files must be an array';
137
- const normalized = payload.changed_files.map(normalizeChangedPath);
138
- if (normalized.some((item) => item === null) || new Set(normalized).size !== normalized.length) {
139
- return 'changed_files must contain unique normalized repository-relative paths';
140
- }
141
- if (!Array.isArray(payload.checks)) return 'checks must be an array';
142
- for (const check of payload.checks) {
143
- if (!check || Array.isArray(check) || typeof check !== 'object') return 'checks items must be objects';
144
- const keys = Object.keys(check);
145
- if (!keys.every((key) => ['command', 'status', 'output_ref'].includes(key))) {
146
- return 'checks items contain an unknown field';
147
- }
148
- if (typeof check.command !== 'string' || !check.command.trim()) return 'checks.command must be non-empty';
149
- if (!['passed', 'failed', 'not_run'].includes(check.status)) return 'checks.status is invalid';
150
- if (check.output_ref !== undefined && (typeof check.output_ref !== 'string' || !check.output_ref.trim())) {
151
- return 'checks.output_ref must be a non-empty string when present';
152
- }
153
- }
154
- for (const field of ['evidence', 'questions', 'residual_risks']) {
155
- if (!Array.isArray(payload[field]) || !payload[field].every(
156
- (item) => typeof item === 'string' && item.trim(),
157
- )) return `${field} must be an array of non-empty strings`;
158
- }
159
- if (payload.status === 'blocked' && payload.questions.length === 0) {
160
- return 'blocked results require at least one question';
161
- }
162
- payload.changed_files = [...normalized].sort();
163
- return null;
164
- }
165
-
166
- // The project's memory has exactly one writer: the primary host. A worker that edits
167
- // `.ultra` in its own worktree collides in the files every later session reads to
168
- // resume, so no permission grants it — not even `writable_roots: ["."]`.
169
- function authorized(spec, file) {
170
- if (file === PROTECTED_ROOT || file.startsWith(`${PROTECTED_ROOT}/`)) return false;
171
- return spec.writable_roots.some((root) => (
172
- root === '.' || file === root || file.startsWith(`${root}/`)
173
- ));
174
- }
175
-
176
- function finalHead(spec) {
177
- try { return git(spec.cwd, ['rev-parse', 'HEAD']).trim(); } catch { return null; }
178
- }
179
-
180
- function mechanical(spec, exitCode, signal) {
181
- return {
182
- delegation_id: spec.delegation_id,
183
- host: spec.host,
184
- transport_maturity: spec.transport_maturity ?? null,
185
- transport_surface: spec.transport_surface ?? null,
186
- // The explicit experimental acknowledgment travels to every terminal
187
- // result — finished, failed, cancelled, or interrupted — so no result can
188
- // imply an undocumented surface was silently launched.
189
- ...(spec.experimental_ack === true ? { experimental_ack: true } : {}),
190
- instruction_digest: spec.instruction_digest,
191
- permission_digest: spec.permission_digest,
192
- output_schema_digest: spec.output_schema_digest,
193
- read_only: spec.read_only,
194
- base_head: spec.base_head,
195
- final_head: finalHead(spec),
196
- started_at: spec.started_at,
197
- finished_at: new Date().toISOString(),
198
- exit_code: Number.isInteger(exitCode) ? exitCode : null,
199
- signal: signal || null,
200
- };
201
- }
202
-
203
- function failure(spec, type, summary, exitCode = null, signal = null, files = []) {
204
- return {
205
- $schema: RESULT_SCHEMA,
206
- status: 'failed',
207
- summary,
208
- changed_files: files,
209
- checks: [],
210
- evidence: [],
211
- questions: [],
212
- residual_risks: [],
213
- failure_type: type,
214
- ...mechanical(spec, exitCode, signal),
215
- };
216
- }
217
-
218
- function terminate(child, signal = 'SIGTERM') {
219
- if (!child || child.exitCode !== null || child.signalCode !== null) return;
220
- try {
221
- if (process.platform === 'win32') child.kill(signal);
222
- else process.kill(-child.pid, signal);
223
- } catch {}
224
- }
225
-
226
- function runChild(spec) {
227
- return new Promise((resolve) => {
228
- const stdoutFd = fs.openSync(spec.stdout, 'a');
229
- const stderrFd = fs.openSync(spec.stderr, 'a');
230
- let termination = null;
231
- let spawnError = null;
232
- let closed = false;
233
- let hardKill = null;
234
- const child = spawn(spec.command, spec.args, {
235
- cwd: spec.cwd,
236
- env: { ...process.env, ...spec.env },
237
- detached: process.platform !== 'win32',
238
- stdio: ['ignore', stdoutFd, stderrFd],
239
- });
240
- const finish = (code, signal) => {
241
- if (closed) return;
242
- closed = true;
243
- clearInterval(cancelPoll);
244
- clearTimeout(timeout);
245
- if (hardKill) clearTimeout(hardKill);
246
- fs.closeSync(stdoutFd);
247
- fs.closeSync(stderrFd);
248
- resolve({ code, signal, termination, spawnError });
249
- };
250
- child.on('error', (error) => { spawnError = error; });
251
- child.on('close', finish);
252
- const requestTermination = (reason) => {
253
- if (termination) return;
254
- termination = reason;
255
- terminate(child);
256
- hardKill = setTimeout(() => terminate(child, 'SIGKILL'), 1500);
257
- hardKill.unref();
258
- };
259
- const cancelPoll = setInterval(() => {
260
- if (fs.existsSync(spec.cancel)) requestTermination('cancelled');
261
- }, 100);
262
- const timeout = setTimeout(() => requestTermination('timeout'), spec.timeout_ms);
263
- cancelPoll.unref();
264
- timeout.unref();
265
- });
266
- }
267
-
268
- async function main() {
269
- const specFile = process.argv[2];
270
- const expectedSpecDigest = process.argv[3];
271
- if (!specFile || !/^[0-9a-f]{64}$/.test(expectedSpecDigest || '')) {
272
- throw new Error('worker requires a spec path and digest');
273
- }
274
- if (sha256(specFile) !== expectedSpecDigest) throw new Error('worker spec digest mismatch before launch');
275
- const spec = JSON.parse(fs.readFileSync(specFile, 'utf8'));
276
- let terminal;
277
- try {
278
- if (sha256(spec.instruction) !== spec.instruction_digest) {
279
- terminal = failure(spec, 'instruction_changed', 'Instruction digest changed before delegation started.');
280
- } else if (sha256(spec.permission) !== spec.permission_digest) {
281
- terminal = failure(spec, 'permission_changed', 'Permission digest changed before delegation started.');
282
- } else if (sha256(spec.output_schema) !== spec.output_schema_digest) {
283
- terminal = failure(spec, 'output_schema_changed', 'Output schema digest changed before delegation started.');
284
- } else if (fs.existsSync(spec.cancel)) {
285
- terminal = failure(spec, 'cancelled', 'Delegation was cancelled before the host process started.');
286
- } else {
287
- const processResult = await runChild(spec);
288
- let files = [];
289
- try { files = changedFiles(spec); } catch {}
290
- if (processResult.termination === 'cancelled') {
291
- terminal = failure(spec, 'cancelled', 'Delegation cancelled by request.', processResult.code, processResult.signal, files);
292
- } else if (processResult.termination === 'timeout') {
293
- terminal = failure(spec, 'timeout', 'Delegation timed out and the host process was terminated.', processResult.code, processResult.signal, files);
294
- } else if (sha256(specFile) !== expectedSpecDigest) {
295
- terminal = failure(spec, 'worker_spec_changed', 'Worker specification changed during delegation.', processResult.code, processResult.signal, files);
296
- } else if (sha256(spec.instruction) !== spec.instruction_digest) {
297
- terminal = failure(spec, 'instruction_changed', 'Instruction digest changed during delegation.', processResult.code, processResult.signal, files);
298
- } else if (sha256(spec.permission) !== spec.permission_digest) {
299
- terminal = failure(spec, 'permission_changed', 'Permission digest changed during delegation.', processResult.code, processResult.signal, files);
300
- } else if (sha256(spec.output_schema) !== spec.output_schema_digest) {
301
- terminal = failure(spec, 'output_schema_changed', 'Output schema digest changed during delegation.', processResult.code, processResult.signal, files);
302
- } else if (processResult.spawnError) {
303
- terminal = failure(spec, 'spawn_error', `Host process failed to start: ${processResult.spawnError.message}`, null, null, files);
304
- } else if (processResult.code !== 0) {
305
- terminal = failure(spec, 'process_exit', `Host process exited with code ${processResult.code}.`, processResult.code, processResult.signal, files);
306
- } else {
307
- const payload = extractModelResult(spec);
308
- if (!payload) {
309
- terminal = failure(
310
- spec, 'missing_result',
311
- 'Host process exited without a structured Ultra delegation result.',
312
- processResult.code, processResult.signal, files,
313
- );
314
- } else {
315
- const validation = validateModelResult(payload);
316
- if (validation) {
317
- terminal = failure(spec, 'invalid_result', validation, processResult.code, processResult.signal, files);
318
- } else {
319
- const unauthorized = files.filter((file) => !authorized(spec, file));
320
- if (unauthorized.length) {
321
- terminal = failure(
322
- spec, 'unauthorized_write',
323
- `Actual Git diff escaped writable_roots: ${unauthorized.join(', ')}`,
324
- processResult.code, processResult.signal, files,
325
- );
326
- } else if (JSON.stringify(payload.changed_files) !== JSON.stringify(files)) {
327
- terminal = failure(
328
- spec, 'changed_files_mismatch',
329
- `Declared changed_files do not match actual Git diff: ${files.join(', ') || 'none'}`,
330
- processResult.code, processResult.signal, files,
331
- );
332
- } else {
333
- terminal = { ...payload, ...mechanical(spec, processResult.code, processResult.signal) };
334
- }
335
- }
336
- }
337
- }
338
- }
339
- if (!fs.existsSync(spec.result)) writeAtomic(spec.result, terminal);
340
- } finally {
341
- try { fs.unlinkSync(spec.lock); } catch (error) { if (error.code !== 'ENOENT') throw error; }
342
- }
343
- }
344
-
345
- main().catch((error) => {
346
- process.stderr.write(`${error.stack || error.message}\n`);
347
- process.exitCode = 1;
348
- });
4
+ // Compatibility surface for callers that still resolve the historical path.
5
+ require('../skills/ultra-delegate/scripts/delegate-worker.cjs');