Skip to content

Appendices: working templates and glossary

Copy-ready templates for task contracts, repository maps, failure logs and reviews.

⏱ 5 minChapter 18 / 18

Templates created for this report. Adapt them to the size and consequences of the task; fields that don’t help a decision can be removed.

AAppendix A

Task contract for agents

Copy it into your next delegated task. Every field exists to remove an ambiguity that would otherwise be guessed.

task-contract.txt
Problem and user:  What need or failure should be resolved? For whom? Expected result:  What observable behavior should exist upon completion? Reliable context:  Which files, documents, contracts, and examples should guide the work?  Which version or initial state is in use? Invariants:  What must remain true, including under failure? Scope:  What may change? Which decision or access requires another owner? Evidence:  How will behavior, integration, and consequences be verified?  Which risks require specific cases? Execution:  What resources are available? What is the budget and stopping condition?  How will progress be recorded and the task resumed? Completion:  Deliver the change, evidence tied to the version, limits, and open items.

BAppendix B

Contents of a short repository map

What a short orientation file should cover. The map should point to the details — replicating content across files creates more places to maintain and reconcile.

01

Purpose

What the system does and which users it serves.

02

Navigation

Where the relevant modules, contracts, and decisions live.

03

Setup

How to get a reproducible environment with appropriate data.

04

Execution and validation

Real, maintained commands to start, test, and investigate.

05

Limits

Dependency rules, security, and sensitive changes.

06

Evidence

How to record results and identify the validated version.

07

Continuity

Where task state, decisions, and known problems are kept.

CAppendix C

Failure and flow improvement log

Turn each recurring failure into a verified improvement of the workflow.

failure-log.txt
Task and configuration:Observed symptom:Reproducible evidence:Expected result: Investigated cause:  requirement / context / environment / tool / model / verification / other Chosen intervention:  minimal change that addresses the cause Validation of the intervention:  case that used to fail; current result; conditions verified Shared knowledge:  test, tool, document, or procedure changed Follow-up:  owner; recurrence signal; condition for revising or removing the rule

DAppendix D

Evidence-driven review of a delivery

Use these questions to locate gaps, adjusting the depth to the change. Your ticks are saved in this browser.

0 / 10

EAppendix E

Brief glossary

The vocabulary of the course.

Guess the meaning, then flip the card.

Read the full section of the original reportThe complete, unabridged text — with every source and nuance.

The templates below were created for this report. Adapt them to the size and consequences of the task; fields that don't help a decision can be removed.

Appendix A — Task contract for agents

Problem and user:
  What need or failure should be resolved? For whom?

Expected result:
  What observable behavior should exist upon completion?

Reliable context:
  Which files, documents, contracts, and examples should guide the work?
  Which version or initial state is in use?

Invariants:
  What must remain true, including under failure?

Scope:
  What may change? Which decision or access requires another owner?

Evidence:
  How will behavior, integration, and consequences be verified?
  Which risks require specific cases?

Execution:
  What resources are available? What is the budget and stopping condition?
  How will progress be recorded and the task resumed?

Completion:
  Deliver the change, evidence tied to the version, limits, and open items.

Appendix B — Contents of a short repository map

InformationExpected content
PurposeWhat the system does and which users it serves.
NavigationWhere the relevant modules, contracts, and decisions live.
SetupHow to get a reproducible environment with appropriate data.
Execution and validationReal, maintained commands to start, test, and investigate.
LimitsDependency rules, security, and sensitive changes.
EvidenceHow to record results and identify the validated version.
ContinuityWhere task state, decisions, and known problems are kept.

The map should point to the details. Replicating all the content across several files creates more places to maintain and reconcile.

Appendix C — Failure and flow improvement log

Task and configuration:
Observed symptom:
Reproducible evidence:
Expected result:

Investigated cause:
  requirement / context / environment / tool / model / verification / other

Chosen intervention:
  minimal change that addresses the cause

Validation of the intervention:
  case that used to fail; current result; conditions verified

Shared knowledge:
  test, tool, document, or procedure changed

Follow-up:
  owner; recurrence signal; condition for revising or removing the rule

Appendix D — Evidence-driven review of a delivery

Use these questions to locate gaps, adjusting the depth to the change:

  • Does the result solve the agreed problem?
  • Are the domain decisions explicit?
  • Does the change preserve the relevant contracts and invariants?
  • Was the evidence produced on the version that will be merged or deployed?
  • Does the verification exercise the important risks, including failures and concurrency where applicable?
  • Are there relevant differences between the test environment and the environment of use?
  • Do the access, dependencies, and external effects correspond to the authorized scope?
  • Will the behavior be observable, and is there a recovery path?
  • Does the final record distinguish verified facts, hypotheses, and open items?
  • Should any discovery improve the next work cycle?

Appendix E — Brief glossary

TermMeaning in this report
AgentA system that uses a model and tools to progress through the steps of a task.
HarnessInfrastructure that organizes execution, tools, state, and interaction with the model.
Context engineeringOrganizing the information the agent needs throughout the work.
SkillA reusable procedure with instructions and, when needed, resources and scripts.
EvalA structured evaluation of an AI system's behavior on defined tasks.
OracleA criterion or mechanism that makes it possible to judge whether a result is correct.
InvariantA property that must remain true under the system's defined conditions.
IdempotencyA contracted property that allows an operation to be repeated without adding the unwanted effect.
OutboxA transactional record of events to be published later.
Prompt injectionAn attempt to make received content improperly redirect the agent's behavior.
SandboxAn environment with limits imposed on execution and access to resources.
MCPModel Context Protocol, used to integrate AI applications with tools and context sources.
CI/CDAutomation of integration, validation, and delivery or deployment of changes.
ObservabilityThe ability to investigate a system's behavior through signals and runtime evidence.
ToilRepetitive operational work that can be reduced through engineering improvements.