Studio hour·60 minutes

Studio Hour: Agent Failure Trace

Turn one failed tool-using run into an inspectable trace, root cause, and regression case.

Scenario

An agent retries a write tool after a timeout and may duplicate an external side effect. The trace must show where the safety contract failed.

You will demonstrate

  • Represent state transitions.
  • Enforce a side-effect boundary.
  • Write a deterministic regression case.

Project evidence

Show the work, not a checked box.

Each response is stored in this browser as you type. Include metrics, test output, or a decision rationale wherever the deliverable asks for it.

1

Publish the failure trace

Record state, tool, validated arguments, outcome, retry decision, approval state, and terminal result for each step.

Required evidence: A compact trace plus root cause, correction, and regression assertion.

0/80 minimum characters

Runnable Python lab

Block a duplicate side effect

Use an idempotency key to ensure a repeated request is not sent twice.

Project defense

What should happen before retrying a timed-out external write?

Rubric self-review

Rate the evidence, not your effort: 0 missing, 1 weak, 2 adequate, 3 strong. All criteria must be reviewed, but a low honest score does not get hidden.

The trace makes the unsafe transition reproducible and ties the correction to a test.

Useful references

Project completion gate

Completion is controlled by stored evidence, deterministic tests, a decision defense, rubric review, and the artifact when required.

Evidence pendingCode pendingDefense pendingRubric pending

Optional cloud portfolio

Submit evidence across devices.

An account is required. Submit only when the local completion gate passes. AI review is advisory and separate from deterministic completion.

Account settings