MCPcopy Create free account
hub / github.com/EvoMap/evolver / geneEnvelope

Function geneEnvelope

test/autoDistillConv.test.js:12–14  ·  view source on GitHub ↗
(geneObj)

Source from the content-addressed store, hash-verified

10// fake claude: emits a result envelope whose `result` is the given gene object
11// (or garbage / structural-invalid per mode), then exits 0 (or nonzero).
12function geneEnvelope(geneObj) {
13 return JSON.stringify({ type: 'result', is_error: false, result: JSON.stringify(geneObj) });
14}
15function fakeSpawn(emit, counter, exitCode) {
16 return (bin, args, opts) => {
17 if (counter) counter.n++;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected