Expand description
Transport-agnostic operator server spine (v8, symforge serve).
ServerRuntime is the single in-process owner of request-serving state:
the shared index, the existing protocol dispatcher
(crate::protocol::SymForgeServer — the same handle the stdio path uses),
the RequestGovernor, the AuthConfig, and an optional durable STEL
StelLedgerStore. Both stdio and the future /mcp transport dispatch
through this one runtime — no proxy hop, no logic fork (G-022/G-034/GATE-5).
Phase-2 scope: own the state and expose ServerRuntime::dispatch_tool_call,
which delegates to the protocol dispatcher’s statused tool-dispatch (the same
handler methods stdio invokes). Mounting /mcp over Streamable HTTP is
US1/T013-T016 (mcp_http); the full live tool_router parity battery is
finalized in US1/T018.
Re-exports§
pub use api_keys::ApiKeyRecord;pub use api_keys::ApiKeyStore;pub use api_keys::MintedKey;pub use auth::AuthConfig;pub use auth::AuthLayerState;pub use auth::AuthStartupError;pub use auth::OriginLayerState;pub use auth::apply_bearer_auth;pub use auth::apply_origin_gate;
Modules§
- aap
- AAP (Agent Army Professionals) sibling-repo detection, embed-pin comparison, integration-mode classification, and one-click integration presets.
- admin
- Operator admin UI (
/admin) + versioned JSON API (/api/v1) on the serve router (G-037). - api_
keys - Hashed product API-key store (G-039) for the operator server.
- auth
- Bearer authentication for the operator server (
symforge serve). - mcp_
http /mcpStreamable HTTP transport (US1/T013).- serve
symforge serveasync entrypoint and socket binding.
Structs§
- Server
Runtime - The single transport-agnostic owner of request-serving state.