promptlooper/backend
John Lightner e42117c8ee MAESTRO: Implement export router with JSON, .env, YAML, and markdown report endpoints
Four fully authenticated endpoints at /api/export/experiments/{id}/:
- /best: Returns best config as JSON with weighted score and metadata
- /env: Flattened KEY=VALUE format with metadata comments
- /yaml: Simple YAML serialization (no external dependency)
- /report: Full markdown report with config space, top N configs,
  score distributions, token usage, and timing stats

34 tests in test_export.py covering all endpoints, auth, 404s, and helpers.
Updated test_routers.py to expect 401 (auth required) instead of 501 (stub).
2026-04-07 03:30:45 -05:00
..
engine MAESTRO: Implement Celery tasks (execute_run, execute_sweep) with synchronous fallback for single-container mode 2026-04-07 03:08:41 -05:00
mcp MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
routers MAESTRO: Implement export router with JSON, .env, YAML, and markdown report endpoints 2026-04-07 03:30:45 -05:00
tests MAESTRO: Implement export router with JSON, .env, YAML, and markdown report endpoints 2026-04-07 03:30:45 -05:00
websocket MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
__init__.py MAESTRO: Create full directory structure with placeholder files 2026-04-07 01:40:27 -05:00
auth.py MAESTRO: Create backend/auth.py with JWT, API key auth, and first-boot setup flow 2026-04-07 01:59:24 -05:00
config.py MAESTRO: Create backend/config.py with Pydantic Settings and SQLite/in-process fallback 2026-04-07 01:46:30 -05:00
encryption.py MAESTRO: Implement LLM endpoints router with CRUD, test_connection, and Fernet-encrypted API key storage 2026-04-07 03:13:52 -05:00
main.py MAESTRO: Create backend/main.py with FastAPI app, CORS, health check, WebSocket, and router mounting 2026-04-07 01:56:40 -05:00
models.py MAESTRO: Implement LLM endpoints router with CRUD, test_connection, and Fernet-encrypted API key storage 2026-04-07 03:13:52 -05:00
requirements.txt MAESTRO: Implement LLM endpoints router with CRUD, test_connection, and Fernet-encrypted API key storage 2026-04-07 03:13:52 -05:00
schemas.py MAESTRO: Implement runs router with full CRUD, filtering, scoring, and leaderboard 2026-04-07 03:24:56 -05:00
worker.py MAESTRO: Add entrypoint migrations, worker config, and stack integration tests 2026-04-07 02:09:56 -05:00