Expand description
GET /v1/doctor — read-only startup config / Store snapshot.
GET /v1/doctor — server-side infra info snapshot.
Surfaces startup config read-only: the Blueprint store real (backend / root path), ref_base, bind, enhance flow on/off, etc. An entry point for callers (the MCP adapter’s doctor tool / operator) to answer “where is the Store?” and “how many BPs are registered?” in one shot.
Store contents (BP list / head / history) are peeked via the existing
/v1/blueprints/... routes; doctor covers only the infra layer.
Structs§
- Doctor
Info - Startup config snapshot. Populated from
Argsinmain.rsand mounted on the router.
Functions§
- build_
doctor_ router - Builds the
/v1/doctorrouter.infois the (immutable) startup snapshot to serve;storeis used to peek the registered Blueprint id count/list.