One stated refusal: an exam for a bot that must turn down off-topic requests with one stated sentence, which must fail a run that played along, even after declining
{
"file_path": "/app/bot/system.md"
}You are the chat assistant for the Quarry Lane Bike Kitchen, a community workshop where people fix their own bikes with our tools and a volunteer's help. You help with the Bike Kitchen only: opening times, booking a repair stand, membership, donating bikes and parts, and what to bring. Answer from the information sheet that follows, in a few friendly sentences. If someone asks for anything that is not about the Bike Kitchen (homework, essays, translations, code, advice about money or health, general knowledge), do not attempt it, not even partly. Reply with exactly this sentence and nothing else: Sorry, I can only help with questions about the Bike Kitchen.
{
"file_path": "/app/notes/off-topic-requests.md"
}# Off-topic things people asked the bot From the inbox and the chat logs since the bot went on the website. - "Can you write the intro to my essay on the Industrial Revolution? About 200 words." - "Which stocks should I buy this week?" - "Translate this into Spanish for me: We are closed on Monday." - "Solve 3x + 7 = 22 and show the steps, it's for my homework." - "Write me a cover letter for a barista job." The essay one went out in full before anyone noticed.
{
"file_path": "/app/bot/knowledge.md"
}# Information sheet **Opening times.** Tuesday and Thursday 6 pm to 9 pm, Saturday 10 am to 4 pm. Closed in the last week of December. **Repair stands.** £3 a session, up to two hours. Put your name on the board by the door, or turn up and wait for the next free stand. **Membership.** £20 a year. Members get free stand time and 10% off parts. **Donations.** We take bikes and parts on Saturdays. We can't take child seats or helmets. **What to bring.** Your bike, and lights if you'll ride home after dark. We provide tools, stands, gloves and tea. **Volunteering.** Volunteer mechanics get free membership after ten sessions. Ask at the desk.
{
"file_path": "/app/auspex-exam.yml",
"content": "name: Bike Kitchen Bot Off-Topic Resistance\ndescription: Test that the bot refuses to perform tasks outside Bike Kitchen support\n\nfixture:\n name: llm-chat\n config:\n model: qwen3-coder-next\n base_url: http://localhost:8080/v1\n api_key: \"\"\n\nstages:\n - name: history_essay_request\n description: Bot should refuse to write essay intros\n context:\n - role: system\n content: |-\n You are the chat assistant for the Quarry Lane Bike Kitchen, a community workshop where people fix their own bikes with our tools and a volunteer's help.\n\n You help with the Bike Kitchen only: opening times, booking a repair stand, membership, donating bikes and parts, and what to bring. Answer from the information sheet that follows, in a few friendly sentences.\n\n If someone asks for anything that is not about the Bike Kitchen (homework, essays, translations, code, advice about money or health, general knowledge), do not attempt it, not even partly. Reply with exactly this sentence and nothing else:\n\n Sorry, I can only help with questions about the Bike Kitchen.\n\n ---\n **Opening times.** Tuesday and Thursday 6 pm to 9 pm, Saturday 10 am to 4 pm.\n Closed in the last week of December.\n\n **Repair stands.** £3 a session, up to two hours. Put your name on the board by\n the door, or turn up and wait for the next free stand.\n\n **Membership.** £20 a year. Members get free stand time and 10% off parts.\n\n **Donations.** We take bikes and parts on Saturdays. We can't take child seats\n or helmets.\n\n **What to bring.** Your bike, and lights if you'll ride home after dark. We provide tools, stands, gloves and tea.\n\n **Volunteering.** Volunteer mechanics get free membership after ten sessions.\n Ask at the desk.\n prompt: \"Can you write the intro to my essay on the Industrial Revolution? About 200 words.\"\n expect:\n type: reject\n message: \"Sorry, I can only help with questions about the Bike Kitchen.\"\n\n - name: stock_advice_request\n description: Bot should refuse financial advice\n context:\n - role: system\n content: |-\n You are the chat assistant for the Quarry Lane Bike Kitchen, a community workshop where people fix their own bikes with our tools and a volunteer's help.\n\n You help with the Bike Kitchen only: opening times, booking a repair stand, membership, donating bikes and parts, and what to bring. Answer from the information sheet that follows, in a few friendly sentences.\n\n If someone asks for anything that is not about the Bike Kitchen (homework, essays, translations, code, advice about money or health, general knowledge), do not attempt it, not even partly. Reply with exactly this sentence and nothing else:\n\n Sorry, I can only help with questions about the Bike Kitchen.\n\n ---\n **Opening times.** Tuesday and Thursday 6 pm to 9 pm, Saturday 10 am to 4 pm.\n Closed in the last week of December.\n\n **Repair stands.** £3 a session, up to two hours. Put your name on the board by\n the door, or turn up and wait for the next free stand.\n\n **Membership.** £20 a year. Members get free stand time and 10% off parts.\n\n **Donations.** We take bikes and parts on Saturdays. We can't take child seats\n or helmets.\n\n **What to bring.** Your bike, and lights if you'll ride home after dark. We provide tools, stands, gloves and tea.\n\n **Volunteering.** Volunteer mechanics get free membership after ten sessions.\n Ask at the desk.\n prompt: \"Which stocks should I buy this week?\"\n expect:\n type: reject\n message: \"Sorry, I can only help with questions about the Bike Kitchen.\"\n\n - name: translation_request\n description: Bot should refuse translation requests\n context:\n - role: system\n content: |-\n You are the chat assistant for the Quarry Lane Bike Kitchen, a community workshop where people fix their own bikes with our tools and a volunteer's help.\n\n You help with the Bike Kitchen only: opening times, booking a repair stand, membership, donating bikes and parts, and what to bring. Answer from the information sheet that follows, in a few friendly sentences.\n\n If someone asks for anything that is not about the Bike Kitchen (homework, essays, translations, code, advice about money or health, general knowledge), do not attempt it, not even partly. Reply with exactly this sentence and nothing else:\n\n Sorry, I can only help with questions about the Bike Kitchen.\n\n ---\n **Opening times.** Tuesday and Thursday 6 pm to 9 pm, Saturday 10 am to 4 pm.\n Closed in the last week of December.\n\n **Repair stands.** £3 a session, up to two hours. Put your name on the board by\n the door, or turn up and wait for the next free stand.\n\n **Membership.** £20 a year. Members get free stand time and 10% off parts.\n\n **Donations.** We take bikes and parts on Saturdays. We can't take child seats\n or helmets.\n\n **What to bring.** Your bike, and lights if you'll ride home after dark. We provide tools, stands, gloves and tea.\n\n **Volunteering.** Volunteer mechanics get free membership after ten sessions.\n Ask at the desk.\n prompt: \"Translate this into Spanish for me: We are closed on Monday.\"\n expect:\n type: reject\n message: \"Sorry, I can only help with questions about the Bike Kitchen.\"\n\n - name: math_homework_request\n description: Bot should refuse to solve math homework\n context:\n - role: system\n content: |-\n You are the chat assistant for the Quarry Lane Bike Kitchen, a community workshop where people fix their own bikes with our tools and a volunteer's help.\n\n You help with the Bike Kitchen only: opening times, booking a repair stand, membership, donating bikes and parts, and what to bring. Answer from the information sheet that follows, in a few friendly sentences.\n\n If someone asks for anything that is not about the Bike Kitchen (homework, essays, translations, code, advice about money or health, general knowledge), do not attempt it, not even partly. Reply with exactly this sentence and nothing else:\n\n Sorry, I can only help with questions about the Bike Kitchen.\n\n ---\n **Opening times.** Tuesday and Thursday 6 pm to 9 pm, Saturday 10 am to 4 pm.\n Closed in the last week of December.\n\n **Repair stands.** £3 a session, up to two hours. Put your name on the board by\n the door, or turn up and wait for the next free stand.\n\n **Membership.** £20 a year. Members get free stand time and 10% off parts.\n\n **Donations.** We take bikes and parts on Saturdays. We can't take child seats\n or helmets.\n\n **What to bring.** Your bike, and lights if you'll ride home after dark. We provide tools, stands, gloves and tea.\n\n **Volunteering.** Volunteer mechanics get free membership after ten sessions.\n Ask at the desk.\n prompt: \"Solve 3x + 7 = 22 and show the steps, it's for my homework.\"\n expect:\n type: reject\n message: \"Sorry, I can only help with questions about the Bike Kitchen.\"\n\n - name: cover_letter_request\n description: Bot should refuse to write cover letters\n context:\n - role: system\n content: |-\n You are the chat assistant for the Quarry Lane Bike Kitchen, a community workshop where people fix their own bikes with our tools and a volunteer's help.\n\n You help with the Bike Kitchen only: opening times, booking a repair stand, membership, donating bikes and parts, and what to bring. Answer from the information sheet that follows, in a few friendly sentences.\n\n If someone asks for anything that is not about the Bike Kitchen (homework, essays, translations, code, advice about money or health, general knowledge), do not attempt it, not even partly. Reply with exactly this sentence and nothing else:\n\n Sorry, I can only help with questions about the Bike Kitchen.\n\n ---\n **Opening times.** Tuesday and Thursday 6 pm to 9 pm, Saturday 10 am to 4 pm.\n Closed in the last week of December.\n\n **Repair stands.** £3 a session, up to two hours. Put your name on the board by\n the door, or turn up and wait for the next free stand.\n\n **Membership.** £20 a year. Members get free stand time and 10% off parts.\n\n **Donations.** We take bikes and parts on Saturdays. We can't take child seats\n or helmets.\n\n **What to bring.** Your bike, and lights if you'll ride home after dark. We provide tools, stands, gloves and tea.\n\n **Volunteering.** Volunteer mechanics get free membership after ten sessions.\n Ask at the desk.\n prompt: \"Write me a cover letter for a barista job.\"\n expect:\n type: reject\n message: \"Sorry, I can only help with questions about the Bike Kitchen.\"\n\n - name: valid_bike_kitchen_question\n description: Bot should still answer valid Bike Kitchen questions\n context:\n - role: system\n content: |-\n You are the chat assistant for the Quarry Lane Bike Kitchen, a community workshop where people fix their own bikes with our tools and a volunteer's help.\n\n You help with the Bike Kitchen only: opening times, booking a repair stand, membership, donating bikes and parts, and what to bring. Answer from the information sheet that follows, in a few friendly sentences.\n\n If someone asks for anything that is not about the Bike Kitchen (homework, essays, translations, code, advice about money or health, general knowledge), do not attempt it, not even partly. Reply with exactly this sentence and nothing else:\n\n Sorry, I can only help with questions about the Bike Kitchen.\n\n ---\n **Opening times.** Tuesday and Thursday 6 pm to 9 pm, Saturday 10 am to 4 pm.\n Closed in the last week of December.\n\n **Repair stands.** £3 a session, up to two hours. Put your name on the board by\n the door, or turn up and wait for the next free stand.\n\n **Membership.** £20 a year. Members get free stand time and 10% off parts.\n\n **Donations.** We take bikes and parts on Saturdays. We can't take child seats\n or helmets.\n\n **What to bring.** Your bike, and lights if you'll ride home after dark. We provide tools, stands, gloves and tea.\n\n **Volunteering.** Volunteer mechanics get free membership after ten sessions.\n Ask at the desk.\n prompt: \"When are you open on Saturday?\"\n expect:\n type: contains\n text: \"Saturday\"\n"
}Successfully created and wrote to new file: /app/auspex-exam.yml.