← Market

Cfg Loop Invariant Hoist Candidates

Find loop operations whose operands become invariant and whose declared effects permit speculative hoisting.

POST https://code.halowerk.com/v1/cfg-loop-invariant-hoist-candidates

0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.005 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "invariant_variables": [
    "x"
  ],
  "operations": [
    {
      "id": "b",
      "operands": [
        "x"
      ],
      "pure": true,
      "safe_to_speculate": true,
      "target": "y"
    },
    {
      "id": "c",
      "operands": [
        "y"
      ],
      "pure": true,
      "safe_to_speculate": false,
      "target": "z"
    }
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score73 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency459 ms
Paid calls (30d, on-chain)978 calls · 7 buyers · shared price cohort of 1467
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://code.halowerk.com/v1/cfg-loop-invariant-hoist-candidates · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "invariant_variables": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 32,
        "minLength": 1
      },
      "maxItems": 32,
      "minItems": 0
    },
    "operations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "target": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "operands": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 32,
              "minLength": 1
            },
            "maxItems": 32,
            "minItems": 0
          },
          "pure": {
            "type": "boolean"
          },
          "safe_to_speculate": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "target",
          "operands",
          "pure",
          "safe_to_speculate"
        ],
        "additionalProperties": false
      },
      "maxItems": 32,
      "minItems": 0
    }
  },
  "required": [
    "invariant_variables",
    "operations"
  ],
  "additionalProperties": false
}
curl -i -X POST 'https://code.halowerk.com/v1/cfg-loop-invariant-hoist-candidates' \
  -H 'content-type: application/json' -d '{"invariant_variables":["x"],"operations":[{"id":"b","target":"y","operands":["x"],"pure":true,"safe_to_speculate":true},{"id":"c","target":"z","operands":["y"],"pure":true,"safe_to_speculate":false}]}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)