dab6140f99
Add verify→Aider→OpenHands dev loop, memindadm config/history UI, and john4 customer-order Page Data demo with scenario + verification scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
714 B
JavaScript
21 lines
714 B
JavaScript
#!/usr/bin/env node
|
|
/**
|
|
* CI/staging smoke for Page Data dev loop (dry-run only, no Aider spawn).
|
|
*/
|
|
import { spawnSync } from 'node:child_process';
|
|
import path from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
const repoRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
const script = path.join(repoRoot, 'scripts/page-data-aider-dev-loop.mjs');
|
|
|
|
const result = spawnSync(
|
|
process.execPath,
|
|
[script, '--dry-run', '--skip-initial-verify', '--max-attempts', '1', '--escalate-after', '1'],
|
|
{ cwd: repoRoot, encoding: 'utf8' },
|
|
);
|
|
|
|
if (result.stdout) process.stdout.write(result.stdout);
|
|
if (result.stderr) process.stderr.write(result.stderr);
|
|
process.exit(result.status ?? 1);
|