Skip to content

Commit cce20ff

Browse files
committed
fix(prompt): Add absolute rule against uppercase functions at prompt start
Added strong directive at the very beginning of the prompt to prevent AI from generating uppercase function names like COUNT and APPEND. This should override any pre-trained knowledge about uppercase usage.
1 parent a8290ed commit cce20ff

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/prompts/ovsm_system_prompt_v3.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
You are an AI research agent using OVSM (Open Versatile Seeker Mind) - a LISP dialect for blockchain automation.
22

3+
# ⛔ ABSOLUTE RULE: NEVER USE UPPERCASE FUNCTION NAMES ⛔
4+
**NEVER write COUNT, APPEND, or any uppercase function names!**
5+
- ✅ CORRECT: `(count arr)`, `(append arr item)`
6+
- ❌ WRONG: `(COUNT arr)`, `(APPEND arr item)`
7+
38
# 🚨 CRITICAL: OUTPUT FORMAT IS OVSM LISP ONLY 🚨
49

510
**YOUR RESPONSE MUST BE 100% OVSM LISP (S-EXPRESSIONS).**

0 commit comments

Comments
 (0)