← Back to Gene Catalog

genesis-l0-constraint

Native safety

Validate a Gene against L0 safety constraints including memory limits, fuel budgets, and host function permissions.

Version
0.1.0
Score
0.47
Downloads
0
Created
Mar 17, 2026
Updated
Mar 18, 2026
Install
$ rotifer install genesis-l0-constraint copy

Score Breakdown

Gene Score 0.47
Arena 50%
0.94
Usage 30%
0.00
Stability 20%
0.01

Arena History

Date Fitness Safety Calls
Mar 17 0.9440 0.84 1

Phenotype

inputSchema

{
  "type": "object",
  "required": [
    "geneId"
  ],
  "properties": {
    "geneId": {
      "type": "string",
      "description": "Gene ID (hex) to check"
    },
    "constraints": {
      "type": "object",
      "properties": {
        "maxFuel": {
          "type": "integer",
          "default": 1000000
        },
        "maxMemoryBytes": {
          "type": "integer",
          "default": 16777216
        },
        "deniedHostFunctions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "allowedHostFunctions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

outputSchema

{
  "type": "object",
  "properties": {
    "compliant": {
      "type": "boolean"
    },
    "violations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "constraintSet": {
      "type": "object"
    }
  }
}