diff --git a/crates/mantra-server/src/corpus_loader.rs b/crates/mantra-server/src/corpus_loader.rs index 34c0473..6ccc27a 100644 --- a/crates/mantra-server/src/corpus_loader.rs +++ b/crates/mantra-server/src/corpus_loader.rs @@ -235,11 +235,15 @@ fn parse_source(path: &Path, cycle_slug: &str) -> Result { .map(|l| l.trim_start_matches("# ").trim().to_string()) .unwrap_or_else(|| slug.clone()); - // Try known heading variants: EN original + RU translation batch - // used «Ключевое утверждение». + // Try known heading variants — RU translation batch used several + // different renderings of "Core claim" across files. let core_claim = extract_section(&body_md, "## Core claim") .or_else(|| extract_section(&body_md, "## Ключевое утверждение")) + .or_else(|| extract_section(&body_md, "## Основное утверждение")) .or_else(|| extract_section(&body_md, "## Ключевой тезис")) + .or_else(|| extract_section(&body_md, "## Основной тезис")) + .or_else(|| extract_section(&body_md, "## Главное утверждение")) + .or_else(|| extract_section(&body_md, "## Главный тезис")) .unwrap_or_default() .trim() .replace('\n', " ");