Files
jason.woltje 7247d80c7a row 196: human boundary on peer credentials, interpreter receipt and the Console tester socket (#1694)
Candidate 527b9a1e6 (gander/row196-r6-prd19, base f48725cfc), the 39 manifest paths of CANDIDATE.sha256 537d30aef70b6cd1 at ec1e7fad8. Duckworth approved round 1 outside B1/B2 (rev 2973, comment 30145) and round 2 merge-scoped (rev 2986, comment 30156). Gate gander-0066 on grant sage-2145: 2334 pass, 0 fail, 1 skip; mutants 38/38 killed. BUILD-LOG lines and Duckworth's C1 DEFERRED entry follow as a doc-only append.
2026-10-21 15:55:39 -05:00

18 lines
584 B
JavaScript

import { connect } from 'node:net';
process.send({pid:process.pid});
process.once('message', ({path,claimed}) => {
const s = connect(path);
s.on('error', () => process.exit(2));
let text = '';
s.on('connect', () => s.write(JSON.stringify({human:{pid:claimed ?? process.pid,startTime:'test',nonce:'a'.repeat(64),business:'demo'},verb:'agents'})+'\n'));
s.on('data', data => {
text += data;
if (!text.includes('\n')) return;
const reply = JSON.parse(text);
s.write('after-helper\n');
s.end();
process.send({reply});
process.disconnect();
});
});