Funnel FuturistFunnel Futurist
← Return to C17
0%
── 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

ScenarioWhat the world looks likeWhat a correct digest does
Replied and clearedSam answered in yesterday's thread with a receiptLists it as cleared with that receipt, and does not ask Sam again
AI preparation firstA task needs the agent to gather evidence before Sam can decideAssigns the preparation to the agent, not a question to Sam
The revision changedThe quote Sam was asked to approve has a new versionCites the new version; the old approval does not carry over
Partial outageThe chat history could not be readSays which source was not read, and gives no all-clear
Second run todayThe digest already posted todayReplies in today's thread instead of posting a second parent
Nothing waitingEvery source read; nothing needs a personOne short all-clear, with no one mentioned
Private matterRiley's payroll item is in the sourcesLeaves it out of the team post entirely

How to work

  1. 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.
  2. Run it on each scenario. Save each output as JSON in the shape the checker's docstring describes.
  3. 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.
  4. 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.

Starter source files