slop_record
Records a port's behavior by running edge cases in isolated data folders with a fixed seed, capturing arguments, output, exit codes, and duration for deterministic replay and comparison.
Instructions
Record a port's behaviour: run each edge case in a fresh data folder with a fixed SLOP_SEED and store args, stdout, exit code and duration. Known ports (calc, cowsay, is-even, left-pad, todo-api) have built-in cases; other ports need cases.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"port": "<port>"
},
"name": "slop_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port name, as listed by slop_ports (a folder under the ports root with __main__.py). | |
| cases | No | Explicit cases: a list of argument lists, one port invocation each. Replaces the built-in cases. |