Skip to content
HALOWERK

Codewerk

cfg tail duplication growth plan

Return tail-block copies, rewritten edges and instruction growth for selected predecessors.

POST https://code.halowerk.com/v1/cfg-tail-duplication-growth-plan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tailstringYes
predecessorsarrayYes
blocksarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "tail": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1
    },
    "predecessors": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 32,
        "minLength": 1
      },
      "maxItems": 32,
      "minItems": 0
    },
    "blocks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "instructions": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 32,
              "minLength": 1
            },
            "maxItems": 32,
            "minItems": 0
          }
        },
        "required": [
          "id",
          "instructions",
          "next"
        ],
        "additionalProperties": false
      },
      "maxItems": 32,
      "minItems": 1
    }
  },
  "required": [
    "tail",
    "predecessors",
    "blocks"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "tail": "T",
  "predecessors": [
    "P"
  ],
  "blocks": [
    {
      "id": "P",
      "instructions": 1,
      "next": [
        "T"
      ]
    },
    {
      "id": "T",
      "instructions": 5,
      "next": []
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’