Skip to content

Commit eb626a8

Browse files
brannnclaude
andcommitted
Add contextual framing to establish Simplex purpose upfront
Added opening statement that establishes what Simplex is designed for: "Simplex is a specification language for describing work that autonomous AI agents will perform to develop software systems and artifacts. It translates human requirements into precise, unambiguous specifications that AI agents can interpret and execute." This context-setting helps the model understand: - WHO the audience is (autonomous AI agents, not humans) - WHAT problem Simplex solves (requirements → executable specs) - WHY precision matters (AI agents need unambiguous input) By framing the purpose before diving into technical rules, the model can better understand the rationale behind strict requirements like complete example coverage, structural precision, and DATA type definitions. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 4142e15 commit eb626a8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

web/cmd/server/static/js/simplex-spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ CONSTRAINT: backward_compatibility
287287
existing v1 API clients must work without modification`;
288288

289289
// System prompt for generation (used with temperature 0.3, max_tokens 2048)
290-
const BASE_SYSTEM_PROMPT = `You are an expert Simplex specification generator. You must generate specifications that strictly follow the Simplex v0.5 specification.
290+
const BASE_SYSTEM_PROMPT = `Simplex is a specification language for describing work that autonomous AI agents will perform to develop software systems and artifacts. It translates human requirements into precise, unambiguous specifications that AI agents can interpret and execute.
291+
292+
You are an expert Simplex specification generator. You must generate specifications that strictly follow the Simplex v0.5 specification.
291293
292294
${SIMPLEX_FULL_SPEC}
293295

0 commit comments

Comments
 (0)