pub fn format_context(entries: &[ModuleContextEntry]) -> StringExpand description
Format module context entries into prompt-ready Markdown: the module list with descriptions, env vars and method signatures, followed by the built-in functions reference. Lines are kept under 120 chars where practical.