kin: KIN-ARCH-023-debugger

This commit is contained in:
Gros Frumos 2026-03-18 22:27:06 +02:00
parent f1c868e335
commit 2be94f0c68
4 changed files with 94 additions and 68 deletions

View file

@ -1065,6 +1065,11 @@ def revise_task(task_id: str, body: TaskRevise):
}
steps = [analyst_step] + list(steps)
# Persist computed steps so the subprocess can use them (avoids PM re-planning).
# Decision #866: modified pipeline steps must be saved to DB before subprocess launch.
if steps:
models.update_task(conn, task_id, pending_steps=steps)
conn.close()
# Launch pipeline in background subprocess