# Progress

## architecture.md ✅
- Written to: `docs/context/architecture.md`
- 174 lines, 9 sections covering: single binary design, data flow, AppState, request lifecycle, static assets, WebSocket broadcast, DB schema, route map, AI integration
- All references use actual file paths and line numbers from source

## deploy.md ✅
- Written to: `docs/context/deploy.md`
- 180 lines covering: build/install, server startup, config resolution (theseus.toml + env vars), API key auth (3 methods), CORS, SQLite DB (WAL mode, 5 tables), evidence file storage, E2E test setup (10 Python test suites), production considerations (no TLS, no Docker, DB path caveat)
- Sources: `install.sh`, `src/lib.rs` (serve fn, load_config, auth middleware, CORS), `src/main.rs` (CLI args), `src/db.rs` (open fn), `e2e/helper.py`, `e2e/run_all.sh`, `theseus.toml`, `Cargo.toml`, `.gitignore`
