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

Function gene

test/cliContracts.test.js:55–67  ·  view source on GitHub ↗
(extra)

Source from the content-addressed store, hash-verified

53}
54
55function gene(extra) {
56 return Object.assign({
57 type: 'Gene',
58 schema_version: '1',
59 asset_id: 'sha256:gene-original',
60 id: 'gene-1',
61 category: 'repair',
62 signals_match: ['log_error'],
63 strategy: ['inspect logs'],
64 constraints: { max_files: 2, forbidden_paths: [] },
65 validation: ['node --test'],
66 }, extra || {});
67}
68
69function capsule(extra) {
70 return Object.assign({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected