pub fn build_context_with_lifecycle_and_refs(
config: &AppConfig,
notes: &[Note],
lifecycle_records: &[(String, MemoryRecord)],
input: RouteInput,
debug: DebugTrace,
reference_map: Option<&ReferenceMap>,
) -> ContextBundlepub fn build_context_with_lifecycle_and_refs(
config: &AppConfig,
notes: &[Note],
lifecycle_records: &[(String, MemoryRecord)],
input: RouteInput,
debug: DebugTrace,
reference_map: Option<&ReferenceMap>,
) -> ContextBundle