/adlc:adlc-step4-validate-agent-behavior [Agent Harness Brief or prototype traces]from adlc
Turn a harness into behavioral evals, failure probes, evidence thresholds, and a validation decision before deployment.
Ships in adlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn an agent harness into a Validation Pack: eval cases, expected behavior, failure probes, thresholds, trace review, and a decision record. This stage prevents a compelling demo from being mistaken for readiness.
The Product Manager job here is to make "works" mean something. An agent can sound fluent, satisfy a stakeholder in a demo, and still fail the cases that matter. Validation turns expectations into reviewable evidence and names what would route the work backward.
Use this skill after a harness exists and before deployment planning. Use it when stakeholders ask whether the agent "works."
Do not use it to bless a launch when the harness lacks fixtures or traces. Route backward to Stage 3.
Building the agent happens between Stage 3 and Stage 4, usually by the build team working from the approved harness brief. This skill has two uses. Before results exist, it produces a validation plan: cases, probes, and thresholds, with every result marked Unknown. After results exist, it reviews them against the thresholds set in the plan. Say which use applies at the start.
Use the Agent Harness Brief, fixtures, run outputs, traces, expected behavior, known failure modes, policies, and decision thresholds. When the harness brief names variants, run a bake-off.
Anything supplied with the invocation, attachments, or earlier conversation counts as context already given. Do not ask the user to repeat it.
If the harness lacks stable fixtures or trace capture, route backward to Stage 3. Do not validate a memory of a good demo.
Example invocation: Use $adlc-step4-validate-agent-behavior with this harness brief and these trace samples.
Technical terms used here are defined in the ADLC Glossary.
Behavioral eval - A repeatable check of what the agent does under a scenario. It is about behavior, not vibes.
Violation signal: The result says "looks good" without a scenario, expectation, or pass condition.
Failure probe - A scenario designed to expose unacceptable behavior. It makes risk concrete.
Violation signal: The eval set contains only happy paths.
Threshold - The evidence bar required for the next decision. A threshold makes confidence discussable.
Violation signal: Passing means "most examples seemed fine" with no bar defined before review.
Trace review - Inspection of inputs, context, tool calls, outputs, and handoffs. It explains why behavior occurred.
Violation signal: The team reviews only final answers and cannot see the path.
Regression anchor - A case that should keep passing as prompts, tools, models, or policies change.
Violation signal: Changes are celebrated without checking whether earlier safe behavior broke.
Decision threshold - The bar that determines whether the next lifecycle step is allowed. It must be named before reviewing results.
Violation signal: The team lowers the bar after seeing that the agent missed an important case.
Follow Guided Context Capture.
Begin with: "We will run ADLC Stage 4 and produce a Validation Pack. I will preserve the harness, ask no more than seven context questions, and stop before deployment planning. Choose 1. Guided, 2. Context dump, or 3. Best guess."
Offer Guided, Context dump, and Best guess modes. Use an Adaptive Decision Ladder at the validation gate. Anything supplied earlier must be reused.
If the Product Manager wants to build cases as short stories about one person, offer the Minimum Viable Narrative canvas, one per scenario type, to answer these same questions. Thresholds and hard stops are still set before results, and a prototype reaction session never counts toward the aggregate.
In Guided mode, ask one at a time and skip answered questions:
Validation Q1/7 - What decision will the validation evidence support: revise, pilot, deploy, reduce autonomy, or stop?Validation Q2/7 - Which fixture cases represent ordinary success?Validation Q3/7 - Which failure probes represent unacceptable behavior?Validation Q4/7 - What pass condition applies to each case?Validation Q5/7 - What threshold must be met before deployment planning?Validation Q6/7 - Which traces or review surfaces are available?Validation Q7/7 - Which failures should route backward regardless of aggregate score?In Context dump mode, extract Cases / Expected behavior / Failure probes / Thresholds / Trace evidence / Gaps. In Best guess mode, draft the validation pack and mark any missing results as Unknown rather than pretending evidence exists.
When a folder is set, save as stage-4-validation-plan.md before results and stage-4-validation-pack.md with results, following Saving Artifacts.
The pack must be good enough for Stage 5 to decide deployment scope without inventing readiness evidence. If a deployment plan would need to guess unresolved failures, Stage 4 is not complete.
Mark as recommended the option the evidence supports, and list it first. When the artifact is weak, that is a revise, route-back, or stop option, not approval.
Stop with an Adaptive Decision Ladder:
Approve deployment planning (Recommended when thresholds pass) - validation evidence is sufficient for a governed pilot or rollout plan.
When no results exist yet, recommend instead: Approve the validation plan and return with results - the cases, probes, and thresholds are agreed before anyone sees results.
When a bake-off ran, recommend instead: Approve deployment planning for the chosen variant - name the variant, the rule that chose it, and each eliminated variant with the hard stop that removed it.Revise the eval set - useful when evidence is too thin or missing important probes.Route back to Stage 3 - needed when harness traces, fixtures, or review surfaces are insufficient.Route back to Stage 2 - needed when failures reveal a system boundary or authority problem.Stop the effort - appropriate when unacceptable behavior is persistent or ungovernable.Other (specify).Record the decision and the evidence behind it. Do not continue into deployment planning unless asked.
Label claims as Fact, Inference, Assumption, or Unknown. Do not invent eval results, pass rates, trace evidence, policy review, or user outcome data.
Use template.md. See examples/worked-example.md and examples/weak-example.md.
For hands-on practice writing scenarios, labeling responses, and setting thresholds, use Productside's Evals for Product Managers kit. Its scenario files are a practical way to write the good-answer rules, known failure modes, and decision rule this stage needs.
This skill draws on the ADLC findings, Productside's synthesis of published guidance on agent development. The findings link to the original sources; full citations are in the bibliography.
| Key concept | Findings guide | Where |
|---|---|---|
| Behavioral eval | evaluation.md | points 1 and 5, evals as acceptance criteria; grade the outcome and the path |
| Failure probe | evaluation.md | points 3 and 9, error analysis before metrics; adaptive safety evaluation; governance.md, point 6, attacks through content |
| Threshold | evaluation.md | point 6, run repeated trials and report rates |
| Trace review | feedback.md | points 2 and 4, read real failures then count them; score the path |
| Regression anchor | evaluation.md | point 8, separate a regression set from a capability set; feedback.md, point 3 |
| Decision threshold | evaluation.md | points 4 and 10, calibrate graders; predefined, repeated testing |
The findings label claims Fact, Inference, Hypothesis, or Unknown. This skill uses Assumption where the findings say Hypothesis. Much of the published guidance is vendor or practitioner opinion; treat it as Inference unless the findings mark it Fact.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub deanpeters/adlc-skills-productcamprtp26 --plugin adlc11 skills in this plugin
/adlc-step1-frame-intentFrame an agent idea as a clear intent brief with autonomy, success, non-goals, and stop boundaries before design begins./adlc-step2-design-agent-systemMap an approved agent intent into actors, tools, context, memory, permissions, handoffs, and control boundaries./adlc-step3-generate-agent-harnessConvert an approved system map into an inspectable agent harness plan with prompts, tools, traces, fixtures, and review surfaces./adlc-step5-deploy-with-governancePrepare a governed deployment plan with launch gates, oversight, rollback, incident response, and authority to stop./adlc-step6-observe-and-improveReview live agent traces, incidents, feedback, drift, and outcomes to decide whether to continue, change, rollback, or retire./adlc-util-agent-strategy-canvasSum up an agent intent as nine boxes, three each for problem, solution, and value, then decide pivot, punt, or pursue before system design.