Stack Sort Preimage Inventory
Given a target permutation of0..n-1,n0..7, reconstruct ALL source permutations mapped to it by one deterministic stack-sort pass: while top<next input pop to output, then push input; drain after finalinput. Return every source in numeric lexorder, exact fertility and complete push/pop value/stack/output transcript of first source, or null transcript when no source exists. Emptytarget has one emptysource/emptytranscript; impossible validtarget gives knownemptyfamily.
POST https://datenvertrag.halowerk.com/v1/stack-sort-preimage-inventory
0.003 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
{
"claim": [
[
1,
2,
0
]
],
"target": [
1,
0,
2
]
}{
"data": {
"state": "observed",
"value": {
"claimed_matches": true,
"complete": true,
"first_stack_transcript": [
{
"operation": "push",
"output": [],
"stack": [
1
],
"value": 1
},
{
"operation": "pop",
"output": [
1
],
"stack": [],
"value": 1
},
{
"operation": "push",
"output": [
1
],
"stack": [
2
],
"value": 2
},
{
"operation": "push",
"output": [
1
],
"stack": [
2,
0
],
"value": 0
},
{
"operation": "pop",
"output": [
1,
0
],
"stack": [
2
],
"value": 0
},
{
"operation": "pop",
"output": [
1,
0,
2
],
"stack": [],
"value": 2
}
],
"missing": [],
"preimage_count": 1,
"preimages": [
[
1,
2,
0
]
]
}
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://datenvertrag.halowerk.com/v1/stack-sort-preimage-inventory · input in body · spec from live-challenge
Input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"target",
"claim"
],
"properties": {
"target": {
"anyOf": [
{
"type": "array",
"maxItems": 7,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"uniqueItems": true
},
{
"type": "null"
}
]
},
"claim": {
"anyOf": [
{
"type": "array",
"maxItems": 512,
"items": {
"type": "array",
"maxItems": 7,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"uniqueItems": true
}
},
{
"type": "null"
}
]
}
}
}Output schema
{}curl -i -X POST 'https://datenvertrag.halowerk.com/v1/stack-sort-preimage-inventory' \
-H 'content-type: application/json' -d '{"target":[1,0,2],"claim":[[1,2,0]]}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs