aide-sovereign-workbench / harness /run-veritas.mjs
Ferrell Synthetic Intelligence
Add executable Veritas verification gate
61b024b
Raw
History Blame Contribute Delete
382 Bytes
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { runVeritasChecks } from './checks.mjs';
const root = path.resolve(process.argv[2] || path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..'));
const result = await runVeritasChecks({ workspace: root });
console.log(JSON.stringify(result, null, 2));
if (!result.passed) process.exitCode = 1;