--- title: Membra Liquidity Automation emoji: 💧 colorFrom: blue colorTo: cyan sdk: docker pinned: false license: mit --- # Membra Liquidity Automation Aggregator Local-first automation/control plane for a 24/7 liquidity loop with Windsurf bridge. ## Features - SQLite event/receipt/task ledger - Hash-chained receipts - Local HTTP API - Risk-state gate - Emergency halt gate - Windsurf packet generator - Liquidity loop finite-state machine - Secret redaction helpers ## Safety This is a control-plane system, not a live trading bot: - Does not place orders - Does not store private keys - Dry-run by default - Risk-state gate enabled ## API Endpoints - `GET /health` - Health check - `POST /events` - Ingest events - `GET /events` - List events - `POST /loop/step` - Execute loop step - `GET /loop/state` - Get loop state - `POST /windsurf/packet` - Build Windsurf packet - `GET /receipts` - Get receipts - `POST /halt` - Emergency halt - `POST /resume` - Resume operation ## License MIT