pub fn serve_with_cx(cx: &mut Cx, config: &ServeConfig) -> Result<()>Expand description
Bind and serve the shell until the process is terminated, using the
bootloader-provided cx as the cookbook eval sandbox. The sim-web-shell
binary boots through sim_run_core::Bootloader (see cli.rs), which loads the
codec/lisp boot codec and dispatches the serve verb into this function with
a ready cx. Read-eval is granted to that cx by the bootloader at the
web-serve composition point (configure_web_bootloader, through the boot
session’s host GrantSeat), not self-granted here; run_recipe gates each run
on it (REVIEW_12 F4/F23).