Lab 4 — Production Harness Capstone

Lab 4 — Production Harness Capstone

Key jargon

Term Plain-language meaning
Capstone An integrated project demonstrating multiple learned competencies.
End-to-end test A test exercising the system through its real external boundaries.
Failure injection Deliberately causing a dependency or step to fail to test recovery.
Release evidence Artifacts showing a candidate satisfied defined quality, safety, and operational gates.

Key concepts

Concept map

flowchart LR
    A["Define contract and threats"] --> B["Build bounded observable harness"]
    B --> C["Test normal adversarial and failure paths"]
    C --> D["Assemble evidence and release decision"]

Goal

Build a synthetic support assistant that retrieves approved policy, drafts a response, proposes—but cannot directly perform—one reversible account action, and produces an evidence bundle.

Required components

Task/system contract, model adapter, context manifest, retrieval authorization, tool schema, effect preview, human approval, idempotency key, run state, checkpoint, trace, offline eval set, threat model, rollout, rollback, incident runbook, and cost budget.

Failure schedule

Test malformed model output, retrieval miss, poisoned document, permission denial, model timeout, tool timeout before effect, tool timeout after ambiguous effect, duplicate event, human rejection, and model-version change.

Pass criteria

Final reflection

Identify which value came from the model and which came from the harness. If the answer is “the model did everything,” the architecture is not yet understood.