Skip to content

Commit 5cbbb8e

Browse files
brannnclaude
andcommitted
Add optional landmarks guidance to planner system prompt
Teaches the model when to include agent coordination primitives like READS, WRITES, TRIGGERS, HANDOFF, etc. when specs describe multi-agent workflows, event-driven patterns, or shared memory coordination. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent f7b0b24 commit 5cbbb8e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,15 @@ const BASE_SYSTEM_PROMPT = `Generate Simplex v0.5 specifications. Follow this st
303303
- Every branch needs an example
304304
- Always end ERRORS with: "any unhandled condition → fail with descriptive message"
305305
306+
**Optional landmarks (inside FUNCTION, use when spec requires):**
307+
- READS: Shared memory this function consumes (multi-agent coordination)
308+
- WRITES: Shared memory this function produces (multi-agent coordination)
309+
- TRIGGERS: Conditions for when agents should execute this work
310+
- NOT_ALLOWED: Implementation boundaries and forbidden actions
311+
- HANDOFF: What passes to next agent/stage on success/failure
312+
- UNCERTAIN: Conditions for signaling low confidence to coordinating agents
313+
- DETERMINISM: Output variance requirements (strict/structural/semantic)
314+
306315
**EXAMPLES:**
307316
308317
Minimal spec:

0 commit comments

Comments
 (0)