P0: config, DTOs, source traits, fakes, error, state and module stubs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ariandClaude Sonnet 5.5 committed 2026-10-15 17:23:17 -04:00
1 parent aa9b0da962
commit 1802f97d94
22 files changed
+1736

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
//! GET /api/v1/docker/* handlers (WS-E)
//!
//! Placeholder created in P0 so the owning workstream only edits its own files.
+3
View File
@@ -0,0 +1,3 @@
//! GET /api/v1/journal and /journal/follow handlers (WS-E)
//!
//! Placeholder created in P0 so the owning workstream only edits its own files.
+18
View File
@@ -0,0 +1,18 @@
//! REST layer (WS-E owns `src/api/`).
//!
//! STUB: signature is final. Uses axum 0.8 `{name}` path syntax. The router
//! contains `/api/v1/*` only; `/healthz`, auth and `/mcp` are merged by
//! `main.rs` (P3 I1) so `/healthz` stays public.
pub mod docker;
pub mod journal;
pub mod systemd;
use axum::Router;
use crate::state::AppState;
/// Routes under `/api/v1`, already bound to `state`.
pub fn router(_state: AppState) -> Router {
todo!("WS-E E1")
}
+3
View File
@@ -0,0 +1,3 @@
//! GET /api/v1/systemd/* handlers (WS-E)
//!
//! Placeholder created in P0 so the owning workstream only edits its own files.