Faultline
PLUGINLocal API flight recorder for debugging HTTP services with Ulpi.
by bigmantech001 · v0.1.1
What it does
Local API flight recorder for debugging HTTP services with Ulpi. The agent starts a loopback reverse proxy in front of your service, captures every request and response (auth headers and secret JSON fields redacted before storage), learns an OpenAPI 3.1 contract from healthy traffic and flags drift (type changes, missing fields, 5xx, latency regressions), injects chaos faults (429/5xx, latency, truncated JSON), and after a fix replays the exact failing request to prove 500 -> 200.
Ships six tools, a tool_execution middleware. Disclosure — the proxy listens on 127.0.0.1 only and forwards to the target_url you give it (normally local; any http(s) host is accepted except literal link-local, cloud-metadata and reserved addresses and the cloud-metadata hostnames, and the URL may not carry a query, fragment or credentials); replay re-sends captured requests to the upstream they were recorded from only (the agent cannot choose another host), resolves it first and refuses link-local and cloud-metadata addresses, reaches loopback/private targets only when the owner enables the allow_local_replay setting (off by default), and replaying a POST repeats its side effects; captured traffic, contracts and chaos rules are stored in SQLite under $ULPI_HOME/plugin-data/faultline/; each running proxy is a daemon thread in the Ulpi process; no telemetry, no other network calls, no credentials read, no shell commands, no Python dependencies.
Tools it adds
The tools an agent gets once this plugin is installed.
- faultline_proxy
- faultline_traces
- faultline_replay
- faultline_contract
- faultline_chaos
- faultline_simulate
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve