Awesome Testing

Agent lesson 03 · Construct the working set

Which evidence belongs in the next model call—and under whose authority?

Shared teaching scenario · fictional product data

Research three laptops under €900, verify current evidence, and write laptop-comparison.md. Do not purchase anything or contact a vendor.

01 · Smallest useful mechanism

Context is a constructed working set, not everything the system knows.

At every turn, the runtime assembles instructions, user intent, relevant history, tool descriptions, retrieved evidence, and current state. Selection and compression are engineering decisions. Omitting a decisive fact can make the model fail; including untrusted or stale material without provenance can make it fail confidently.

The harness decides what evidence enters each model call, in what order, under which authority, and within which budget.

02 · Experiment

Test the prediction

Deterministic browser simulation

The construct the working set experiment uses inspectable, repeatable teaching data. It does not claim to be a live agent trajectory.

Loading the experiment…

03 · Production-minded practice

Prove the mechanism under failure

Use your own stack or a contained mock environment. Do not point failure drills at real accounts, people, or irreversible services.

  1. Build

    Build a context manifest that labels each segment by source, authority, freshness, token cost, and reason for inclusion.

  2. Break it on purpose

    Add an expired price and a retailer sentence that tells the agent to ignore the budget and buy immediately.

  3. Evidence of completion

    The packet refreshes or excludes stale evidence, keeps retailer text at data authority, and restores the user’s budget and no-purchase constraint on the next turn.

Your learning artifact

Write the argument you would defend

Stored only in this browser. No account required; course reset does not delete it.

04 · Check your understanding

What does a larger context window solve by itself?

Optional referenceDeep dive / reference chapterOpen the complete essay, diagrams, mathematics, exercises, glossary, and sources when you want more depth.

Next: Context is temporary. The next lesson separates instructions, run state, durable memory, and external sources of truth.