kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 15:25:53 +02:00
parent 603eee8f28
commit 9ba202f395
2 changed files with 57 additions and 1 deletions

View file

@ -848,6 +848,12 @@ def _save_decomposer_output(
).fetchone()
if existing:
skipped += 1
_logger.info(
"task_decomposer: skip duplicate child task '%s' (parent=%s, existing=%s)",
title,
parent_task_id,
existing[0],
)
continue
category = (item.get("category") or "").strip().upper()
if category not in models.TASK_CATEGORIES: