Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Update src/llm/prompt/builder.py

Anish Agrawal5736b3b68422
diff --git a/src/llm/prompt/builder.py b/src/llm/prompt/builder.py
index 4d588e274..b6d97a210 100644
--- a/src/llm/prompt/builder.py
+++ b/src/llm/prompt/builder.py
@@ -39,6 +39,7 @@ class PromptBuilder:
if messages[0].role == Role.SYSTEM:
system_parts.insert(0, messages[0].content)
+ result.insert(0, Message(role=Role.SYSTEM, content="\n\n".join(system_parts)))
result.extend(messages[1:])
else:
if system_parts: