#!/usr/bin/env node
/**
 * Back-compat entry: delegates to IPSAS + journal-matrix anchor (`omnl-reconcile-report.mjs`).
 * For custodian/bank ↔ on-chain Merkle workflows, extend that script or add a separate job; do not fork the anchor format without updating ops runbooks.
 */
import { spawnSync } from 'child_process';
import { fileURLToPath } from 'url';
import { dirname, join } from 'path';

const dir = dirname(fileURLToPath(import.meta.url));
const report = join(dir, 'omnl-reconcile-report.mjs');
const r = spawnSync(process.execPath, [report], { stdio: 'inherit' });
process.exit(r.status ?? 1);
