From b84f4aaac1f752b81b2a161755670ec85dc147b6 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 16:00:13 +0200 Subject: [PATCH 1/3] =?UTF-8?q?kin:=20KIN-ARCH-015=20=D0=94=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20routes=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?dept=5Finfra=20=D0=B8=20dept=5Fresearch=20=D0=B2=20specialists.?= =?UTF-8?q?yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/prompts/pm.md | 4 ---- core/context_builder.py | 1 - 2 files changed, 5 deletions(-) diff --git a/agents/prompts/pm.md b/agents/prompts/pm.md index a42787b..baa2cfb 100644 --- a/agents/prompts/pm.md +++ b/agents/prompts/pm.md @@ -131,10 +131,6 @@ Return ONLY valid JSON (no markdown, no explanation): } ``` -Valid values for `status`: `"done"`, `"blocked"`. - -If status is "blocked", include `"blocked_reason": "..."` and `"analysis": "..."` explaining why the task cannot be planned. - ## Blocked Protocol If you cannot plan the pipeline (task is completely ambiguous, no information to work with, or explicitly outside the system scope), return this JSON **instead of** the normal output: diff --git a/core/context_builder.py b/core/context_builder.py index a7215c2..f53d2f5 100644 --- a/core/context_builder.py +++ b/core/context_builder.py @@ -332,7 +332,6 @@ def format_prompt(context: dict, role: str, prompt_template: str | None = None) sections.append("") # Revision context: director's comment + agent's previous output - task = context.get("task") if task and task.get("revise_comment"): sections.append("## Director's revision request:") sections.append(task["revise_comment"]) From cc6867d8137cc61f1823414169efdf70400e3e1d Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 16:00:36 +0200 Subject: [PATCH 2/3] =?UTF-8?q?kin:=20KIN-ARCH-008=20=D0=9A=D0=BE=D0=BD?= =?UTF-8?q?=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B8=D1=80=D1=83=D0=B5=D0=BC?= =?UTF-8?q?=D0=B0=D1=8F=20test=5Fcommand=20=D0=BD=D0=B0=20=D1=83=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=BD=D0=B5=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/runner.py b/agents/runner.py index 2c2bbb5..5a7c295 100644 --- a/agents/runner.py +++ b/agents/runner.py @@ -1800,7 +1800,7 @@ def run_pipeline( pass else: # Review mode: wait for manual approval - models.update_task(conn, task_id, status="review") + models.update_task(conn, task_id, status="review", execution_mode="review") # Run post-pipeline hooks (failures don't affect pipeline status) try: From 028195d09c631657c57c5ec59c9c8677ee06dc73 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 16:00:36 +0200 Subject: [PATCH 3/3] kin: auto-commit after pipeline