Expand description
dragoon-server — public-relay server for remote-executor.
Modules§
- app
- axum application factory + shared state + signed-request middleware.
- audit
- Append-only audit log table.
- auth
- Authentication primitives: password hashing, TOTP, recovery codes, session / challenge / nonce lifecycle.
- db
- SQLite schema, bootstrap, and forward migrations.
- messages_
repo - Per-user controller-message inbox. Server enqueues task-state + worker-error events; ctl drains them via /v1/messages.
- routes
- HTTP route modules. Each one exposes
pub fn router(state) -> Router. - server_
keys - Server task-signing keypair persistence (table
server_signing_key). - settings
- Server runtime settings, loaded from TOML or constructed in tests.
- storage
- Blob storage on the local filesystem.
- tasks_
repo - Tasks: ID generation, CRUD, state machine, per-worker monotonic seq.
Mirrors
python/.../server/tasks_repo.py. - users_
repo - User + pubkey CRUD. Mirrors
python/.../server/users_repo.py. - workers_
repo - Worker registration & token bookkeeping.
Mirrors
python/.../server/workers_repo.py.