── OPTIONAL READING · AIOS DEEP OPERATOR CERTIFICATION ──
Exercise: the morning digest that tells the truth
About 2 min read
Kettle Lane Bike Repair is fictional. Every morning an AI digest tells its people what is waiting on them: Sam, the owner; Riley, who runs operations; and the AI agent that does the routine work.
Your job is to write the prompt for that digest, run it against each scenario below, and save what it produces as a small JSON document. `digest_contract.py` checks each digest against the recurring-agent contract in the prompting standard. A digest passes when `check(world, digest)` returns an empty list.
The seven scenarios
| Scenario | What the world looks like | What a correct digest does |
|---|---|---|
| Replied and cleared | Sam answered in yesterday's thread with a receipt | Lists it as cleared with that receipt, and does not ask Sam again |
| AI preparation first | A task needs the agent to gather evidence before Sam can decide | Assigns the preparation to the agent, not a question to Sam |
| The revision changed | The quote Sam was asked to approve has a new version | Cites the new version; the old approval does not carry over |
| Partial outage | The chat history could not be read | Says which source was not read, and gives no all-clear |
| Second run today | The digest already posted today | Replies in today's thread instead of posting a second parent |
| Nothing waiting | Every source read; nothing needs a person | One short all-clear, with no one mentioned |
| Private matter | Riley's payroll item is in the sources | Leaves it out of the team post entirely |
How to work
- Write the prompt at the right altitude: the outcome, the authority rules, the output shape and how to report what it could not read. Leave out step-by-step scripts.
- Run it on each scenario. Save each output as JSON in the shape the checker's docstring describes.
- Run the checker. When it fails, ask yourself whether the prompt was missing a criterion (too little guidance) or was fighting the model with rules (too much), and change the prompt rather than the output.
- Keep a short note of which prompt change fixed which failure. That note is your evidence.
The repository's tests show one passing digest and a failing version for each scenario, so you can see exactly what each rule catches.