From cac4f2c0e6800628445f230195c150b5f225e945 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Mon, 4 May 2026 02:00:13 -0700 Subject: [PATCH] test(kanban): update worker-prompt header assertion to match #19427 PR #19427 dropped the 'You are a Kanban worker' identity line from KANBAN_GUIDANCE so SOUL.md stays authoritative for profile identity. This test assertion was stale against that change; update it to the new protocol-only header. --- tests/tools/test_kanban_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tools/test_kanban_tools.py b/tests/tools/test_kanban_tools.py index a7a8fda44d..1217e7c738 100644 --- a/tests/tools/test_kanban_tools.py +++ b/tests/tools/test_kanban_tools.py @@ -467,8 +467,8 @@ def test_kanban_guidance_in_worker_prompt(monkeypatch, tmp_path): skip_memory=True, ) prompt = a._build_system_prompt() - # Header phrase - assert "You are a Kanban worker" in prompt + # Header phrase (identity-free — SOUL.md owns identity, layer 3 is protocol) + assert "Kanban task execution protocol" in prompt # Lifecycle signals assert "kanban_show()" in prompt assert "kanban_complete" in prompt