//! Shared `update_routine` logic: response shape and how to build it. Both the HTTP handler
//! (`http.rs`) and the MCP tool (`mcp.rs`) build on top of this.
use crateAppError;
pub use crate;
/// Apply `req` to the routine identified by `id`, returning the updated record.