Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

workflow / workflow reduced boolean decision contract

An agent that publishes an autonomous feature-policy decision artifact needs its claimed reduced ordered decision-node count and satisfying-assignment count checked against the supplied Boolean expression.

POST https://detect.halowerk.com/v1/workflow/workflow-reduced-boolean-decision-contract

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "variables": {
          "type": "integer",
          "minimum": 0,
          "maximum": 16
        },
        "order": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 15
          },
          "minItems": 0,
          "maxItems": 16
        },
        "nodes": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "constant"
                  },
                  "value": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "kind",
                  "value"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "variable"
                  },
                  "variable": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 15
                  }
                },
                "required": [
                  "kind",
                  "variable"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "not"
                  },
                  "child": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 127
                  }
                },
                "required": [
                  "kind",
                  "child"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "and"
                  },
                  "left": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 127
                  },
                  "right": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 127
                  }
                },
                "required": [
                  "kind",
                  "left",
                  "right"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "or"
                  },
                  "left": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 127
                  },
                  "right": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 127
                  }
                },
                "required": [
                  "kind",
                  "left",
                  "right"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "xor"
                  },
                  "left": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 127
                  },
                  "right": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 127
                  }
                },
                "required": [
                  "kind",
                  "left",
                  "right"
                ],
                "additionalProperties": false
              }
            ]
          },
          "minItems": 1,
          "maxItems": 128
        },
        "root": {
          "type": "integer",
          "minimum": 0,
          "maximum": 127
        },
        "claimed_internal_nodes": {
          "type": "integer",
          "minimum": 0,
          "maximum": 65536
        },
        "claimed_true_assignments": {
          "type": "integer",
          "minimum": 0,
          "maximum": 65536
        }
      },
      "required": [
        "variables",
        "order",
        "nodes",
        "root",
        "claimed_internal_nodes",
        "claimed_true_assignments"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "variables": 2,
    "order": [
      0,
      1
    ],
    "nodes": [
      {
        "kind": "variable",
        "variable": 0
      }
    ],
    "root": 0,
    "claimed_internal_nodes": 1,
    "claimed_true_assignments": 2
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →