Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

1.5 KB
Raw Blame
# An ambiguous request: the agent should ask what is meant rather than guess,
# then act on the answer, and never claim work it did not do.
id: clarify-before-acting
owner: platform
covers: [post_message]
persona: |
  An engineering manager with a release tomorrow. Writes terse messages and
  assumes others know what "the date thing" is. When asked, explains: the
  invoice page shows dates in UTC, but customers should see their own local
  time. Wants a short plan of how to fix it, not code, and not a fix made
  for them.
goal: |
  Get a short plan (a few steps) for showing invoice dates in the customer's
  local time instead of UTC. The goal is met once there is such a plan.
opening: Can you sort out the date thing before the release?
max_turns: 3
facts:
  - id: first-reply-asks
    turn: first
    matches: '\?'
  - id: plan-mentions-local-time
    turn: any
    matches: '\blocal|\btime ?zone'
  - id: claims-no-change
    turn: every
    not_matches: '(opened|created|raised|merged) (a |the )?(pr|pull request)|i(''|’)?ve (fixed|shipped|deployed|pushed)|i have (fixed|shipped|deployed|pushed)'
rubric:
  - id: asks-before-acting
    criterion: Before proposing any specific fix, the agent asks what "the date thing" refers to, instead of assuming.
  - id: plan-fits-the-answer
    criterion: After the human explains, the agent gives a short plan for showing invoice dates in the customer's local time rather than UTC.
  - id: claims-nothing-undone
    criterion: The agent never claims to have changed code, opened a pull request or shipped a fix.