From 5970118d12afe7cd11db2c2d32c90ceaadc67290 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Mon, 16 Mar 2026 09:57:22 +0200 Subject: [PATCH] =?UTF-8?q?kin:=20KIN-ARCH-005=20=D0=9E=D0=B1=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D1=83=D1=81=D1=82=D0=B0=D1=80=D0=B5?= =?UTF-8?q?=D0=B2=D1=88=D0=B8=D0=B9=20=D1=82=D0=B5=D1=81=D1=82=20test=5Fcr?= =?UTF-8?q?eate=5Foperations=5Fproject?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/context_builder.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/context_builder.py b/core/context_builder.py index da2cf9f..76d13d4 100644 --- a/core/context_builder.py +++ b/core/context_builder.py @@ -205,6 +205,12 @@ def format_prompt(context: dict, role: str, prompt_template: str | None = None) sections.append(f"Spec: {json.dumps(task['spec'], ensure_ascii=False)}") sections.append("") + # Acceptance criteria — shown as a dedicated section so agents use it for completeness check + if task and task.get("acceptance_criteria"): + sections.append("## Acceptance Criteria") + sections.append(task["acceptance_criteria"]) + sections.append("") + # Decisions decisions = context.get("decisions") if decisions: