Unify halt and fire cancellation by verified run identity with durable first-owner receipts and shared deadlines. Integrate the instance control with the current host, library and tester-socket paths. Focused nine-file evidence is 62 passing tests; broad suites, mutants and review remain pending.
8 lines
369 B
JavaScript
8 lines
369 B
JavaScript
// Image-baked final admission, using the same strict state reader as the host.
|
|
import { assertProcessing } from './state.mjs';
|
|
try { assertProcessing(process.argv[2], process.env.MOSAIC_PROCESSING_GENERATION ?? null); }
|
|
catch (e) {
|
|
process.stderr.write(`run-agent: ${e.code?.startsWith('processing-') ? e.code : 'processing-state-invalid'}\n`);
|
|
process.exit(3);
|
|
}
|