try of qwen.allotment

revised-prompt

wrong

Two prompts compared: an exam comparing two versions of a bot's system prompt, which must make the prompt the one thing its two configurations differ in and catch the version that answers wrong

Made
28 Nov 2026, 22:38 UTC
Model
qwen3-coder-next
Steps
13
Tool calls
16
Friction
1 flagged step
Tokens read
219k
Time
2m 39s
Address
agent-onboarding/try/20261128-2234-4y1s/revised-prompt
diff --git a/AUSPEX_README.md b/AUSPEX_README.md
new file mode 100644
index 0000000..c24ba5e
--- /dev/null
+++ b/AUSPEX_README.md
@@ -0,0 +1,71 @@
+# Auspex Exam for Allotment Bot Prompt Comparison
+
+This directory contains an Auspex exam to compare the old vs new system prompts for the Millbeck Allotment Society help bot.
+
+## Files
+
+- `auspex.yaml` - The main Auspex exam configuration
+- `auspex-reference.yaml` - Reference answers for verification
+- `bot/test-draft.sh` - Simple test script to run the draft prompt against all questions
+
+## How to Run
+
+### Prerequisites
+
+1. Start your llama-server with the `qwen3-coder-next` model:
+   ```bash
+   # Your llama-server command here, pointing to qwen3-coder-next
+   # The server should be accessible at http://localhost:8080/v1
+   ```
+
+### Option 1: Using Auspex CLI (recommended)
+
+```bash
+auspex run auspex.yaml
+```
+
+### Option 2: Manual Test Script
+
+If you don't have Auspex available or want a quick manual test:
+
+```bash
+# Ensure your llama-server is running at http://localhost:8080
+# Then run:
+./bot/test-draft.sh
+```
+
+### Option 3: One-off Question Test
+
+Test any question with either prompt:
+
+```bash
+# Test with current (old) prompt:
+./bot/chat.sh "How much is the rent on a half plot?"
+
+# Test with draft (new) prompt:
+BOT_PROMPT=./bot/system-draft.md ./bot/chat.sh "How much is the rent on a half plot?"
+```
+
+## What the Exam Tests
+
+The exam runs all 5 questions from the questions log against both prompts:
+
+1. How much is the rent on a half plot?
+2. How long is the waiting list at the moment?
+3. When am I allowed to have a bonfire?
+4. I've lost my gate key. How much is a new one?
+5. What's the biggest shed I can put up?
+
+It then compares:
+- **Accuracy**: Both answers should be factually correct per the handbook
+- **Conciseness**: Answers should be brief
+- **Tone**: 
+  - Baseline: Professional and helpful (old prompt)
+  - Candidate: Warm, chatty, and friendly with "You're Millie" persona (new prompt)
+
+## Expected Differences
+
+The new prompt (`system-draft.md`) is designed to be:
+- Shorter and friendlier
+- More conversational ("You're Millie, the cheerful helper")
+- Less formal while maintaining accuracy
diff --git a/auspex-reference.yaml b/auspex-reference.yaml
new file mode 100644
index 0000000..cd7b9f8
--- /dev/null
+++ b/auspex-reference.yaml
@@ -0,0 +1,28 @@
+# Reference answers for Auspex exam
+# These are the expected correct answers based on the handbook
+
+scenarios:
+  - name: rent_half_plot
+    expected:
+      - "Rent is £38 a year for a half plot."
+      - "A half plot is 125 square metres and rent is £38 a year, due on 1 October."
+
+  - name: waiting_list_length
+    expected:
+      - "The waiting list is currently 14 months for a half plot and 2 years for a full plot."
+      - "Waiting list is 14 months for a half plot and 2 years for a full plot."
+
+  - name: bonfire_rules
+    expected:
+      - "Bonfires are allowed only in November, and only for dry woody waste."
+      - "Only in November, and only for dry woody waste. Never leave a bonfire unattended."
+
+  - name: lost_key
+    expected:
+      - "A replacement key costs £15."
+      - "Each plot holder gets one gate key. A replacement key costs £15."
+
+  - name: shed_size
+    expected:
+      - "A shed may be at most 6 ft by 4 ft, and no taller than 7 ft."
+      - "6 ft by 4 ft, no taller than 7 ft."
diff --git a/auspex.yaml b/auspex.yaml
new file mode 100644
index 0000000..ef5194e
--- /dev/null
+++ b/auspex.yaml
@@ -0,0 +1,79 @@
+name: allotment-bot-prompt-compare
+description: Compare the old vs new system prompts for the Millbeck Allotment Society help bot
+author: system
+
+environment:
+  BOT_ENDPOINT: http://localhost:8080/v1
+  BOT_MODEL: qwen3-coder-next
+  BOT_PROMPT: /app/bot/system.md
+
+fixtures:
+  - name: questions
+    type: list
+    path: /app/docs/questions-log.md
+
+  - name: handbook
+    type: text
+    path: /app/bot/knowledge.md
+
+stages:
+  - name: baseline
+    description: Test with the current (old) system prompt
+    environment:
+      BOT_PROMPT: /app/bot/system.md
+    verify:
+      type: rubric
+      reference: /app/bot/knowledge.md
+      criteria:
+        - name: accuracy
+          description: Answer must be factually correct according to the handbook
+        - name: conciseness
+          description: Answer should be brief (2-3 sentences)
+        - name: tone
+          description: Professional and helpful tone
+
+  - name: candidate
+    description: Test with the new (draft) system prompt
+    environment:
+      BOT_PROMPT: /app/bot/system-draft.md
+    verify:
+      type: rubric
+      reference: /app/bot/knowledge.md
+      criteria:
+        - name: accuracy
+          description: Answer must be factually correct according to handbook
+        - name: conciseness
+          description: Answer should be brief
+        - name: tone
+          description: Warm, chatty, and friendly tone ("You're Millie")
+
+  - name: comparison
+    description: Compare responses from both prompts side-by-side
+    verify:
+      type: side-by-side
+
+scenarios:
+  - name: rent_half_plot
+    description: How much is the rent on a half plot?
+    fixture: questions
+    extract: "How much is the rent on a half plot?"
+
+  - name: waiting_list_length
+    description: How long is the waiting list at the moment?
+    fixture: questions
+    extract: "How long is the waiting list at the moment?"
+
+  - name: bonfire_rules
+    description: When am I allowed to have a bonfire?
+    fixture: questions
+    extract: "When am I allowed to have a bonfire?"
+
+  - name: lost_key
+    description: I've lost my gate key. How much is a new one?
+    fixture: questions
+    extract: "I've lost my gate key. How much is a new one?"
+
+  - name: shed_size
+    description: What's the biggest shed I can put up?
+    fixture: questions
+    extract: "What's the biggest shed I can put up?"
diff --git a/bot/test-draft.sh b/bot/test-draft.sh
new file mode 100755
index 0000000..2e44016
--- /dev/null
+++ b/bot/test-draft.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+# Test the draft system prompt against questions log
+# Usage: bot/test-draft.sh
+set -euo pipefail
+here=$(dirname "$0")
+endpoint=${BOT_ENDPOINT:-http://localhost:8080/v1}
+model=${BOT_MODEL:-qwen3-coder-next}
+questions=$here/../docs/questions-log.md
+
+# Extract just the questions (lines starting with "- ")
+grep -E '^- ' "$questions" | sed 's/^- //' | while IFS= read -r question; do
+  echo "=== Question: $question ==="
+  BOT_PROMPT=$here/system-draft.md BOT_ENDPOINT="$endpoint" BOT_MODEL="$model" $here/chat.sh "$question"
+  echo ""
+done