ai-engineering-loop 1.13.0 → 1.14.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/.agents/workflows/ai-engineering-loop.md +47 -11
- package/.claude/commands/ai-engineering-loop.md +1 -1
- package/.claude/skills/ai-engineering-loop/SKILL.md +26 -44
- package/.claude/skills/ai-engineering-loop/references/loop-commands.md +20 -0
- package/.claude/skills/ai-engineering-loop/references/loop-deliver.md +8 -0
- package/.claude/skills/ai-engineering-loop/references/loop-goal.md +10 -0
- package/.claude/skills/ai-engineering-loop/references/loop-maker.md +8 -0
- package/.claude/skills/ai-engineering-loop/references/loop-review.md +18 -0
- package/.claude/skills/ai-engineering-loop/references/loop-risky.md +9 -0
- package/.claude/skills/ai-engineering-loop/references/loop-verify.md +20 -0
- package/.gemini/skills/ai-engineering-loop/SKILL.md +24 -37
- package/.gemini/skills/ai-engineering-loop/references/loop-commands.md +20 -0
- package/.gemini/skills/ai-engineering-loop/references/loop-deliver.md +8 -0
- package/.gemini/skills/ai-engineering-loop/references/loop-goal.md +10 -0
- package/.gemini/skills/ai-engineering-loop/references/loop-maker.md +8 -0
- package/.gemini/skills/ai-engineering-loop/references/loop-review.md +18 -0
- package/.gemini/skills/ai-engineering-loop/references/loop-risky.md +9 -0
- package/.gemini/skills/ai-engineering-loop/references/loop-verify.md +20 -0
- package/.grok/skills/ai-engineering-loop/SKILL.md +29 -61
- package/.grok/skills/ai-engineering-loop/references/loop-commands.md +20 -0
- package/.grok/skills/ai-engineering-loop/references/loop-deliver.md +8 -0
- package/.grok/skills/ai-engineering-loop/references/loop-goal.md +10 -0
- package/.grok/skills/ai-engineering-loop/references/loop-maker.md +8 -0
- package/.grok/skills/ai-engineering-loop/references/loop-review.md +18 -0
- package/.grok/skills/ai-engineering-loop/references/loop-risky.md +9 -0
- package/.grok/skills/ai-engineering-loop/references/loop-verify.md +20 -0
- package/CHANGELOG.md +69 -0
- package/README.md +40 -1
- package/README.npm.md +6 -2
- package/THIRD_PARTY_NOTICES.md +29 -0
- package/adapters/dot/skills/dot-dev-skill-router/SKILL.md +24 -16
- package/adapters/project-onboarding/SKILL.md +27 -0
- package/adapters/project-onboarding/references/output.md +29 -0
- package/adapters/quality/skills/ael-code-simplifier/SKILL.md +43 -0
- package/adapters/quality/skills/ael-receiving-code-review/SKILL.md +37 -0
- package/bin/ai-engineering-loop.js +979 -69
- package/core/root-cause-analysis.md +6 -0
- package/core/runtime-safety.md +30 -3
- package/evals/cases/21-tier-t0-docs.json +34 -0
- package/evals/cases/22-tier-t1-small-pass.json +30 -0
- package/evals/cases/23-tier-t1-blocker.json +26 -0
- package/evals/cases/24-tier-t1-auth-escalates.json +30 -0
- package/lib/auto-update.js +486 -0
- package/lib/budget.js +31 -1
- package/lib/cli-args.js +84 -0
- package/lib/docs.js +91 -0
- package/lib/doctor.js +7 -1
- package/lib/gates.js +114 -1
- package/lib/host-skill-build.js +121 -0
- package/lib/migrations.js +84 -0
- package/lib/project-registry.js +148 -0
- package/lib/run-state.js +6 -3
- package/lib/sync-hosts.js +325 -42
- package/lib/tier.js +134 -0
- package/lib/update-manager.js +17 -1
- package/lib/update-notice.js +192 -0
- package/lib/user-state.js +80 -0
- package/lib/verification-recorder.js +44 -0
- package/migrations/README.md +21 -0
- package/package.json +7 -2
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Update notice (decision 1 on #37). Project installs are notify-only, so the
|
|
4
|
+
// notice has to be worth reading: current -> target, 2-4 changelog highlights
|
|
5
|
+
// for the versions in between, one copy-pasteable command for the detected
|
|
6
|
+
// package manager, and how to silence it. Shown on an interactive stderr only,
|
|
7
|
+
// at most once per 24 hours per project, never in CI or --json output.
|
|
8
|
+
|
|
9
|
+
const fs = require('fs');
|
|
10
|
+
const path = require('path');
|
|
11
|
+
const https = require('https');
|
|
12
|
+
const { compareVersions } = require('./update-manager.js');
|
|
13
|
+
|
|
14
|
+
const NOTICE_INTERVAL_MS = 24 * 60 * 60 * 1000;
|
|
15
|
+
const MAX_HIGHLIGHTS = 4;
|
|
16
|
+
const truthy = (value) => ['1', 'true', 'yes'].includes(String(value || '').trim().toLowerCase());
|
|
17
|
+
|
|
18
|
+
function detectPackageManager(projectDir) {
|
|
19
|
+
const has = (file) => fs.existsSync(path.join(projectDir, file));
|
|
20
|
+
try {
|
|
21
|
+
const pkg = JSON.parse(fs.readFileSync(path.join(projectDir, 'package.json'), 'utf8'));
|
|
22
|
+
const declared = String(pkg.packageManager || '').split('@')[0];
|
|
23
|
+
if (['npm', 'pnpm', 'yarn', 'bun'].includes(declared)) return declared;
|
|
24
|
+
} catch {
|
|
25
|
+
// No package.json: fall through to lockfiles.
|
|
26
|
+
}
|
|
27
|
+
if (has('pnpm-lock.yaml')) return 'pnpm';
|
|
28
|
+
if (has('yarn.lock')) return 'yarn';
|
|
29
|
+
if (has('bun.lockb') || has('bun.lock')) return 'bun';
|
|
30
|
+
return 'npm';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Global installs: infer the manager from where this package lives.
|
|
34
|
+
function detectGlobalPackageManager(packageRoot) {
|
|
35
|
+
const p = String(packageRoot).replace(/\\/g, '/').toLowerCase();
|
|
36
|
+
if (p.includes('/pnpm/')) return 'pnpm';
|
|
37
|
+
if (p.includes('/.bun/')) return 'bun';
|
|
38
|
+
if (p.includes('/yarn/')) return 'yarn';
|
|
39
|
+
return 'npm';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function updateCommand({ packageName, target, scope, manager }) {
|
|
43
|
+
const spec = `${packageName}@${target}`;
|
|
44
|
+
if (scope === 'global') {
|
|
45
|
+
return {
|
|
46
|
+
npm: `npm install -g ${spec}`,
|
|
47
|
+
pnpm: `pnpm add -g ${spec}`,
|
|
48
|
+
yarn: `yarn global add ${spec}`,
|
|
49
|
+
bun: `bun add -g ${spec}`
|
|
50
|
+
}[manager] || `npm install -g ${spec}`;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
npm: `npm install -D ${spec}`,
|
|
54
|
+
pnpm: `pnpm add -D ${spec}`,
|
|
55
|
+
yarn: `yarn add -D ${spec}`,
|
|
56
|
+
bun: `bun add -d ${spec}`
|
|
57
|
+
}[manager] || `npm install -D ${spec}`;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function clean(line) {
|
|
61
|
+
return line
|
|
62
|
+
.replace(/^\s*[-*]\s+/, '')
|
|
63
|
+
.replace(/^#+\s+/, '')
|
|
64
|
+
.replace(/\*\*([^*]+?):?\*\*:?\s*/g, '$1: ')
|
|
65
|
+
.replace(/`([^`]+)`/g, '$1')
|
|
66
|
+
.replace(/\s*\(#\d+\)\s*$/, '')
|
|
67
|
+
.replace(/\s+/g, ' ')
|
|
68
|
+
.trim();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function truncate(text, max = 96) {
|
|
72
|
+
return text.length <= max ? text : `${text.slice(0, max - 1).trimEnd()}…`;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Highlights from CHANGELOG sections `## <version>` with current < version <= target.
|
|
76
|
+
// Prefers `###` subsection titles (they summarize a change); falls back to bullets.
|
|
77
|
+
function changelogHighlights(changelog, { current, target, max = MAX_HIGHLIGHTS } = {}) {
|
|
78
|
+
const lines = String(changelog || '').replace(/\r\n?/g, '\n').split('\n');
|
|
79
|
+
const titles = [];
|
|
80
|
+
const bullets = [];
|
|
81
|
+
let inRange = false;
|
|
82
|
+
for (const line of lines) {
|
|
83
|
+
const version = line.match(/^##\s+\[?v?(\d+\.\d+\.\d+(?:-[\w.]+)?)\]?/);
|
|
84
|
+
if (version) {
|
|
85
|
+
try {
|
|
86
|
+
inRange = compareVersions(version[1], current) > 0 && compareVersions(version[1], target) <= 0;
|
|
87
|
+
} catch {
|
|
88
|
+
inRange = false;
|
|
89
|
+
}
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
if (/^##\s/.test(line)) {
|
|
93
|
+
inRange = false;
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
if (!inRange) continue;
|
|
97
|
+
if (/^###\s/.test(line)) titles.push(truncate(clean(line)));
|
|
98
|
+
else if (/^\s*[-*]\s+\S/.test(line)) bullets.push(truncate(clean(line)));
|
|
99
|
+
}
|
|
100
|
+
const picked = titles.length >= 2 ? titles : [...titles, ...bullets];
|
|
101
|
+
return picked.filter(Boolean).slice(0, max);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function formatNotice({ packageName, current, target, bump, scope, manager, highlights = [], policy, reason }) {
|
|
105
|
+
const lines = [`ai-engineering-loop ${current} -> ${target} available (${bump}).`];
|
|
106
|
+
for (const item of highlights.slice(0, MAX_HIGHLIGHTS)) lines.push(` • ${item}`);
|
|
107
|
+
if (bump === 'major') lines.push(' Major release: read the migration notes in CHANGELOG.md before updating.');
|
|
108
|
+
const cmd = updateCommand({ packageName, target, scope, manager });
|
|
109
|
+
lines.push(` Update: ${scope === 'global' && bump !== 'major' && policy === 'notify' ? `${cmd} (or auto-apply: ai-engineering-loop update policy minor)` : cmd}`);
|
|
110
|
+
if (scope === 'global') lines.push(' Then: ai-engineering-loop sync-hosts');
|
|
111
|
+
lines.push(' Silence: AEL_NO_UPDATE_NOTICE=1, or ai-engineering-loop update policy off');
|
|
112
|
+
if (reason === 'PINNED') lines.push(' (outside your pin; change it with update policy --pin)');
|
|
113
|
+
return lines.join('\n');
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Where and how often the notice may appear.
|
|
117
|
+
function noticeAllowed({ env = process.env, argv = process.argv, stderrIsTTY = process.stderr.isTTY } = {}) {
|
|
118
|
+
if (truthy(env.AEL_NO_UPDATE_NOTICE) || truthy(env.CI)) return false;
|
|
119
|
+
if (argv.includes('--json')) return false;
|
|
120
|
+
return Boolean(stderrIsTTY) || truthy(env.AEL_FORCE_UPDATE_NOTICE);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function noticeDue(cache, projectKey, now = new Date()) {
|
|
124
|
+
const last = cache && cache.notices && cache.notices[projectKey];
|
|
125
|
+
if (!last || !last.at) return true;
|
|
126
|
+
const age = now.getTime() - Date.parse(last.at);
|
|
127
|
+
return !(age >= 0 && age < NOTICE_INTERVAL_MS);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function markNoticeShown(cache, projectKey, target, now = new Date()) {
|
|
131
|
+
const notices = { ...(cache.notices || {}) };
|
|
132
|
+
notices[projectKey] = { version: target, at: now.toISOString() };
|
|
133
|
+
// Keep the map small.
|
|
134
|
+
const keys = Object.keys(notices);
|
|
135
|
+
if (keys.length > 200) for (const key of keys.slice(0, keys.length - 200)) delete notices[key];
|
|
136
|
+
return { ...cache, notices };
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// Background only: the target's CHANGELOG.md from the npm CDN (package files)
|
|
140
|
+
// or the GitHub tag. Resolves null on any failure; 3 s budget per request.
|
|
141
|
+
function fetchText(url, timeoutMs) {
|
|
142
|
+
return new Promise((resolve) => {
|
|
143
|
+
const req = https.get(url, { timeout: timeoutMs, headers: { 'user-agent': 'ai-engineering-loop' } }, (res) => {
|
|
144
|
+
if (res.statusCode !== 200) {
|
|
145
|
+
res.resume();
|
|
146
|
+
resolve(null);
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
let body = '';
|
|
150
|
+
res.setEncoding('utf8');
|
|
151
|
+
res.on('data', (chunk) => {
|
|
152
|
+
body += chunk;
|
|
153
|
+
if (body.length > 512 * 1024) req.destroy();
|
|
154
|
+
});
|
|
155
|
+
res.on('end', () => resolve(body));
|
|
156
|
+
});
|
|
157
|
+
req.on('timeout', () => req.destroy());
|
|
158
|
+
req.on('error', () => resolve(null));
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
async function fetchChangelog({ packageName, target, repositorySlug, env = process.env, timeoutMs = 3000 }) {
|
|
163
|
+
if (env.AEL_UPDATE_CHANGELOG_FILE) {
|
|
164
|
+
try {
|
|
165
|
+
return fs.readFileSync(env.AEL_UPDATE_CHANGELOG_FILE, 'utf8');
|
|
166
|
+
} catch {
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
if (truthy(env.AEL_UPDATE_OFFLINE)) return null;
|
|
171
|
+
const urls = [`https://cdn.jsdelivr.net/npm/${packageName}@${target}/CHANGELOG.md`];
|
|
172
|
+
if (repositorySlug) urls.push(`https://raw.githubusercontent.com/${repositorySlug}/v${target}/CHANGELOG.md`);
|
|
173
|
+
for (const url of urls) {
|
|
174
|
+
const text = await fetchText(url, timeoutMs);
|
|
175
|
+
if (text) return text;
|
|
176
|
+
}
|
|
177
|
+
return null;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
module.exports = {
|
|
181
|
+
NOTICE_INTERVAL_MS,
|
|
182
|
+
MAX_HIGHLIGHTS,
|
|
183
|
+
detectPackageManager,
|
|
184
|
+
detectGlobalPackageManager,
|
|
185
|
+
updateCommand,
|
|
186
|
+
changelogHighlights,
|
|
187
|
+
formatNotice,
|
|
188
|
+
noticeAllowed,
|
|
189
|
+
noticeDue,
|
|
190
|
+
markNoticeShown,
|
|
191
|
+
fetchChangelog
|
|
192
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// User-level (per machine) AEL state lives in <home>/.ai-engineering-loop/.
|
|
4
|
+
// It is never part of a repository. `home` resolves AEL_HOME first so tests and
|
|
5
|
+
// sandboxes never touch the real home directory.
|
|
6
|
+
|
|
7
|
+
const crypto = require('crypto');
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
const os = require('os');
|
|
10
|
+
const path = require('path');
|
|
11
|
+
|
|
12
|
+
function homeDir(env = process.env) {
|
|
13
|
+
if (env.AEL_HOME) return env.AEL_HOME;
|
|
14
|
+
return os.homedir();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function userStateDir(home = homeDir()) {
|
|
18
|
+
return path.join(home, '.ai-engineering-loop');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function userStatePath(name, home = homeDir()) {
|
|
22
|
+
if (!/^[a-z0-9][a-z0-9.-]*$/.test(name)) throw new Error(`Invalid user-state file name: ${name}`);
|
|
23
|
+
return path.join(userStateDir(home), name);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function sha256(content) {
|
|
27
|
+
return crypto.createHash('sha256').update(content).digest('hex');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function atomicWritePrivate(filePath, content) {
|
|
31
|
+
fs.mkdirSync(path.dirname(filePath), { recursive: true, mode: 0o700 });
|
|
32
|
+
const temporary = `${filePath}.${process.pid}.${crypto.randomBytes(4).toString('hex')}.tmp`;
|
|
33
|
+
try {
|
|
34
|
+
fs.writeFileSync(temporary, content, { mode: 0o600 });
|
|
35
|
+
fs.renameSync(temporary, filePath);
|
|
36
|
+
} finally {
|
|
37
|
+
try {
|
|
38
|
+
fs.unlinkSync(temporary);
|
|
39
|
+
} catch {
|
|
40
|
+
// Rename succeeded or nothing was written.
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function readJsonFile(filePath, fallback) {
|
|
46
|
+
try {
|
|
47
|
+
const stat = fs.lstatSync(filePath);
|
|
48
|
+
if (stat.isSymbolicLink()) return fallback;
|
|
49
|
+
return JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
|
50
|
+
} catch {
|
|
51
|
+
return fallback;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function writeJsonFile(filePath, value) {
|
|
56
|
+
atomicWritePrivate(filePath, `${JSON.stringify(value, null, 2)}\n`);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function readUserConfig(home = homeDir()) {
|
|
60
|
+
const value = readJsonFile(userStatePath('config.json', home), {});
|
|
61
|
+
return value && typeof value === 'object' && !Array.isArray(value) ? value : {};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function writeUserConfig(patch, home = homeDir()) {
|
|
65
|
+
const next = { ...readUserConfig(home), ...patch };
|
|
66
|
+
writeJsonFile(userStatePath('config.json', home), next);
|
|
67
|
+
return next;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
module.exports = {
|
|
71
|
+
homeDir,
|
|
72
|
+
userStateDir,
|
|
73
|
+
userStatePath,
|
|
74
|
+
sha256,
|
|
75
|
+
atomicWritePrivate,
|
|
76
|
+
readJsonFile,
|
|
77
|
+
writeJsonFile,
|
|
78
|
+
readUserConfig,
|
|
79
|
+
writeUserConfig
|
|
80
|
+
};
|
|
@@ -216,7 +216,51 @@ async function recordVerificationCommand(rootDir, {
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
// Issue #34: run several verification commands in one CLI call. Independent
|
|
220
|
+
// commands run in parallel by default (`serial: true` opts out); results are
|
|
221
|
+
// appended to verification.json in the given order, in one atomic write.
|
|
222
|
+
async function recordVerificationCommands(rootDir, {
|
|
223
|
+
runId,
|
|
224
|
+
commands = [],
|
|
225
|
+
serial = false,
|
|
226
|
+
timeoutMs = DEFAULT_TIMEOUT_MS
|
|
227
|
+
} = {}) {
|
|
228
|
+
if (!Array.isArray(commands) || commands.length === 0) {
|
|
229
|
+
throw recorderError('Provide at least one verification command.', 'INVALID_COMMAND');
|
|
230
|
+
}
|
|
231
|
+
for (const item of commands) {
|
|
232
|
+
validateRecordingRequest({ command: item.command, args: item.args || [], timeoutMs, shell: Boolean(item.shell) });
|
|
233
|
+
}
|
|
234
|
+
const run = resolveRun(rootDir, runId);
|
|
235
|
+
if (run.artifacts?.verification) {
|
|
236
|
+
throw recorderError('Verification has already passed its gate. Do not mutate gated evidence; start a new verification iteration instead.', 'VERIFICATION_ALREADY_GATED');
|
|
237
|
+
}
|
|
238
|
+
const diffHash = resolveDiff(rootDir, run);
|
|
239
|
+
const gitRevision = getGitRevision(rootDir);
|
|
240
|
+
const filePath = path.join(runsDir(rootDir), run.runId, 'verification.json');
|
|
241
|
+
const bundle = readExistingBundle(filePath, { runId: run.runId, gitRevision, diffHash });
|
|
242
|
+
const exec = (item) => runCommand(item.command, item.args || [], { cwd: rootDir, timeoutMs, shell: Boolean(item.shell) });
|
|
243
|
+
let results;
|
|
244
|
+
if (serial) {
|
|
245
|
+
results = [];
|
|
246
|
+
for (const item of commands) results.push(await exec(item));
|
|
247
|
+
} else {
|
|
248
|
+
results = await Promise.all(commands.map(exec));
|
|
249
|
+
}
|
|
250
|
+
bundle.commands.push(...results);
|
|
251
|
+
atomicWriteJson(filePath, bundle);
|
|
252
|
+
const summary = writeVerificationSummary(rootDir, { runId: run.runId }).summary;
|
|
253
|
+
return {
|
|
254
|
+
runId: run.runId,
|
|
255
|
+
path: path.relative(rootDir, filePath).split(path.sep).join('/'),
|
|
256
|
+
commands: results,
|
|
257
|
+
summary,
|
|
258
|
+
passed: results.every((r) => r.exitCode === 0 && r.timeoutStatus === 'COMPLETED')
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
|
|
219
262
|
module.exports = {
|
|
263
|
+
recordVerificationCommands,
|
|
220
264
|
DEFAULT_TIMEOUT_MS,
|
|
221
265
|
MAX_CAPTURE_BYTES,
|
|
222
266
|
MAX_TIMEOUT_MS,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Major-version migrations
|
|
2
|
+
|
|
3
|
+
`update apply` runs `ai-engineering-loop migrate --from <old-version>` with the
|
|
4
|
+
new version whenever an update crosses a major (1.x -> 2.x). For each major in
|
|
5
|
+
`(old, new]` that has a `migrations/<major>.js`, AEL runs `migrateHome` once and
|
|
6
|
+
`migrateProject` once per registered project, and records what ran in
|
|
7
|
+
`~/.ai-engineering-loop/migrations.json`.
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
// migrations/2.js
|
|
11
|
+
module.exports = {
|
|
12
|
+
major: 2,
|
|
13
|
+
description: 'Rename X to Y in project context',
|
|
14
|
+
migrateHome({ home }) {},
|
|
15
|
+
migrateProject({ projectDir }) {}
|
|
16
|
+
};
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Rules: idempotent (safe to run twice), no network, touch only AEL-managed files,
|
|
20
|
+
and describe the change in CHANGELOG.md under the major's heading. No migration
|
|
21
|
+
ships yet (1.x).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-engineering-loop",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "A visual workspace that helps AI coding agents plan, build, review, and ship reliable software.",
|
|
5
5
|
"main": "bin/ai-engineering-loop.js",
|
|
6
6
|
"bin": {
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
".claude/skills/",
|
|
28
28
|
"LICENSE",
|
|
29
29
|
"THIRD_PARTY_NOTICES.md",
|
|
30
|
+
"CHANGELOG.md",
|
|
31
|
+
"migrations/",
|
|
30
32
|
"SECURITY.md",
|
|
31
33
|
"SUPPORT.md",
|
|
32
34
|
"README.md"
|
|
@@ -38,7 +40,10 @@
|
|
|
38
40
|
"eval": "node bin/ai-engineering-loop.js eval",
|
|
39
41
|
"audit:package": "node scripts/audit-package.js",
|
|
40
42
|
"verify:release": "node scripts/verify-release.js",
|
|
41
|
-
"prepublishOnly": "npm test && npm run doctor && npm run eval && npm run audit:package"
|
|
43
|
+
"prepublishOnly": "npm run check:skills && npm test && npm run doctor && npm run eval && npm run audit:package",
|
|
44
|
+
"build:skills": "node scripts/build-host-skills.js",
|
|
45
|
+
"check:skills": "node scripts/build-host-skills.js --check",
|
|
46
|
+
"measure": "node scripts/measure.js"
|
|
42
47
|
},
|
|
43
48
|
"engines": {
|
|
44
49
|
"node": ">=18"
|