diff --git a/ops/pipeline-v2/lib/substantive_fixer.py b/ops/pipeline-v2/lib/substantive_fixer.py index 386b6bc44..6b7e8caf8 100644 --- a/ops/pipeline-v2/lib/substantive_fixer.py +++ b/ops/pipeline-v2/lib/substantive_fixer.py @@ -29,7 +29,7 @@ from .llm import openrouter_call logger = logging.getLogger("pipeline.substantive_fixer") # Issue type routing -FIXABLE_TAGS = {"confidence_miscalibration", "title_overclaims", "scope_error", "frontmatter_schema"} +FIXABLE_TAGS = {"confidence_miscalibration", "title_overclaims", "scope_error", "frontmatter_schema", "date_errors"} CONVERTIBLE_TAGS = {"near_duplicate"} UNFIXABLE_TAGS = {"factual_discrepancy"} @@ -78,6 +78,8 @@ def _build_fix_prompt( issue_descriptions.append("TITLE: Reviewer says the title asserts more than the evidence supports.") elif tag == "scope_error": issue_descriptions.append("SCOPE: Reviewer says the claim needs explicit scope qualification.") + elif tag == "date_errors": + issue_descriptions.append("DATES: Reviewer flagged incorrect, missing, or inconsistent dates in the claim. Check created dates, event dates cited in the body, and any temporal claims against the source material.") elif tag == "near_duplicate": issue_descriptions.append("DUPLICATE: Reviewer says this substantially duplicates an existing claim.")