pub fn update_managed_section(
content: &str,
ctx: &TemplateContext,
) -> Result<String>Expand description
Update the managed section in an existing AGENTS.md.
Handles both current (edict:managed-*) and legacy (botbox:managed-*) markers,
always writing back with current markers. This enables automatic migration of
AGENTS.md files from botbox-era projects on the next edict sync.