test: seal live delivery T and reproduce working memory gaps

This commit is contained in:
Agent Workbench Dev
2026-11-04 07:21:32 +08:00
parent 28d21e75f4
commit 0644407b2c
219 changed files with 1654977 additions and 9 deletions
@@ -0,0 +1,8 @@
import { spawnSync } from 'node:child_process';
import { readFileSync } from 'node:fs';
for (const file of ['src/amount.mjs','src/summary.mjs','src/report.mjs']) {
const result=spawnSync(process.execPath,['--check',file],{encoding:'utf8'});
if(result.status!==0) { process.stderr.write(result.stderr);process.exit(result.status??1); }
if(!readFileSync(file,'utf8').trim()) throw new Error('Empty business module');
}
console.log('All three business modules compile.');