Merged
Conversation
Implements all four issues in the v1.0.0 milestone: #23 Local API server (wraithrun serve) - New api_server workspace crate with axum 0.8 - 7 REST endpoints: health, ready, runs CRUD, cancel, runtime status - wraithrun serve --port 8080 subcommand with alias support - Background investigation execution with concurrency limiting #25 Security baseline - Bearer token auth middleware on all endpoints except /health - Auto-generated UUID token printed at startup, --api-token override - Request body size limit (1 MiB) via RequestBodyLimitLayer - 127.0.0.1-only bind enforced in ServerConfig - Audit logging for auth failures via tracing #26 Durable local data model - SQLite-backed DataStore with rusqlite (bundled) - Schema: runs, findings, schema_version tables with WAL mode - Versioned migration framework (schema v1) - --database PATH flag for persistent storage - backup() and export_json() APIs #24 Web UI MVP - Embedded HTML dashboard at GET / - Run list, findings explorer with severity filters, health panel - Run detail slide panel, cancellation, new investigation form - Token-gated access with localStorage persistence - Dark theme, 5-second auto-refresh polling Tests: 223 total (19 api_server: 13 route + 6 data store) Closes #23, #24, #25, #26, #32
This was referenced Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v1.0.0 — Local API and Web UI MVP
Implements all four issues in the v1.0.0 milestone:
#23 Local API Server
#25 Security Baseline
#26 Durable Local Data Model
uns, \indings, \schema_version\ tables with WAL mode
#24 Web UI MVP
Tests
Closes #23, #24, #25, #26, #32