pub fn assemble_agent_context(
mana_dir: &Path,
id: &str,
) -> Result<AgentContext, Error>Expand description
Assemble full agent context for a unit — the structured data needed to build any output format (text, JSON, agent prompt).
Loads the unit, resolves dependency context, merges file paths from
explicit unit.paths and regex-extracted paths from the description,
reads file contents, and extracts structural summaries.