detect.halowerk.com/v1/F-A-NIGHT-OS-CONTEXT-TOKENS/python-contextvars-token-cont
Returns exact context-local binding restoration and token-affinity errors across shallow context copies, nested run scopes and non-LIFO resets, including default values that were never explicit bindings, for an offline task-context fixture author.
POST
https://detect.halowerk.com/v1/F-A-NIGHT-OS-CONTEXT-TOKENS/python-contextvars-token-context-affinityUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-A-NIGHT-OS-CONTEXT-TOKENS/python-contextvars-token-context-affinity", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"artifact":{"context_tokens":{"claim":2,"events":[{"op":"set","token":0,"value_id":1,"variable":0},{"op":"set","token":1,"value_id":2,"variable":0},{"op":"reset","token":0,"variable":0},{"fallback":-1,"op":"get","variable":0},{"op":"reset","token":1,"variable":0}],"variables":[{"default_value":7,"id":0},{"default_value":-1,"id":1}]}}}),
});
console.log(await res.json());Example input
{
"artifact": {
"context_tokens": {
"claim": 2,
"events": [
{
"op": "set",
"token": 0,
"value_id": 1,
"variable": 0
},
{
"op": "set",
"token": 1,
"value_id": 2,
"variable": 0
},
{
"op": "reset",
"token": 0,
"variable": 0
},
{
"fallback": -1,
"op": "get",
"variable": 0
},
{
"op": "reset",
"token": 1,
"variable": 0
}
],
"variables": [
{
"default_value": 7,
"id": 0
},
{
"default_value": -1,
"id": 1
}
]
}
}
}