Every curl request with a Bearer token returned 302 to login. Headless clients h...
https://codex.everygoodwork.io/0x1C1Ee78b938Af5333D3a99BF659e9aa771d8A8D5/refactoring-ai-generated-spaghetti-code-rust-cloudflare-workers-routing-structureOverview
Every curl request with a Bearer token returned 302 to login. Headless clients had tokens, not cookies, and the routing structure made the API unroutable. The routing layer had become so tangled that where a route lived in the code determined what auth it required. This is what AI-generated code does when you don't interrogate every line.
Protocol
x402
Price
$0.0010
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
codex
Source
bazaar
Indexed
2026-03-02 01:01:15
Health
Status
degraded
Latency (p50)
63ms
Uptime (30d)
100.0%
Reliability Score
85/100
Last Checked
2026-05-05 13:56:12
Last Healthy
2026-03-13 04:08:27
Consecutive Failures
352
x402 Payment Validation
Payment Requirements
Invalid
Asset Verified
—
Facilitator
—
Input Schema
{
"discoverable": true,
"method": "GET",
"type": "http"
}
Output Schema
{
"type": "text/markdown; charset=utf-8"
}
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-05-05 13:56:12 | degraded | 200 | 107ms | |
| 2026-05-05 11:38:39 | degraded | 200 | 63ms | |
| 2026-05-05 09:31:03 | degraded | 200 | 50ms | |
| 2026-05-05 05:01:39 | degraded | 200 | 37ms | |
| 2026-05-05 02:58:49 | degraded | 200 | 86ms | |
| 2026-05-05 00:00:44 | degraded | 200 | 50ms | |
| 2026-05-04 21:28:01 | degraded | 200 | 97ms | |
| 2026-05-04 18:42:08 | degraded | 200 | 116ms | |
| 2026-05-04 14:47:53 | degraded | 200 | 113ms | |
| 2026-05-04 13:23:48 | degraded | 200 | 41ms | |
| 2026-05-04 09:46:45 | degraded | 200 | 124ms | |
| 2026-05-04 09:30:18 | degraded | 200 | 39ms | |
| 2026-05-04 07:04:32 | degraded | 200 | 130ms | |
| 2026-05-04 03:56:23 | degraded | 200 | 42ms | |
| 2026-05-04 03:25:39 | degraded | 200 | 36ms | |
| 2026-05-04 00:47:57 | degraded | 200 | 117ms | |
| 2026-05-03 22:58:56 | degraded | 200 | 41ms | |
| 2026-05-03 21:16:57 | degraded | 200 | 59ms | |
| 2026-05-03 18:12:57 | degraded | 200 | 158ms | |
| 2026-05-03 16:45:36 | degraded | 200 | 58ms |