Adjust approach based on feedback and results
Learning objectives
By the end of this topic, you should be able to:
- Apply a targeted correction to the demonstrated cause.
- Retest the original defect and related requirements.
- Verify recovery in the actual output or destination and stop ineffective retries.
Repair the cause at the correct stage
If a requirement was overlooked, identify it and request a targeted repair. If evidence is missing, fix retrieval. If complexity exceeds a useful single interaction, split at a verifiable intermediate result. Change models only when a capability limitation is plausible and the improvement can be evaluated. A bad result alone gives you no reason to switch models or expand the prompt.
In the description-discernment loop, describe the task, evaluate the result against the criteria and refine the instructions or output using what the review found. Check the next result against the criteria again. When uncertain about the cause, vary one major factor at a time so the result is interpretable. This does not prevent fixing several already established defects together. Preserve acceptance criteria and representative inputs while diagnosing.
Worked example: four completed teams, one unresolved dependency
An invented weekly sheet lists Alder, Birch, Cedar and Elm as complete, and Fir as waiting for access. A summary says all five completed onboarding. The supported aggregate is 4/5 = 80%, with Fir's access dependency unresolved.
| Observed evidence | Diagnosed failure | Justified repair |
|---|---|---|
| Retrieved sheet is last week's version | Source/version | Obtain the approved current sheet; rebuild dependent extraction and summary |
| Current sheet says waiting, but extracted table says complete | Extraction | Correct Fir's extracted status and dependent counts/text |
| Extracted table is correct, but summary says all complete | Narrative overgeneralization | Keep the verified retrieval and checked table. Correct the summary and check each aggregate against that table. |
These are alternative observations, not mandatory stages of every incident. A suitable corrected summary is: "Four of five teams have completed onboarding (80%). Fir is waiting for access." Adding "ready to close" would introduce an unsupported conclusion. Adding only "please verify" would leave the original error in place.
Test representative cases and preserve the improvement
Check the repaired case plus normal, ambiguous and exception cases for recurring work. A completeness fix can create excessive length or omit another condition. Save the improved instruction only after validation and record its limits.
If quality remains unacceptable, use the established human workflow or escalate with the reproducible evidence. Do not regenerate until one result happens to agree with the desired conclusion.
Verify actual recovery
A corrected JSON output must parse and fit the expected schema. An artifact must render and perform the required interaction. For a sent message, check the actual recipient and obtain confirmation from the sending system. A model's statement of success is not equivalent to the result being present.
Repeating a request cannot grant missing access or authority. Refer unresolved issues or consequential decisions to a person with the required expertise or authority. For an access failure, ask the resource owner or use an authorized, verified fallback.
Summary
Apply a cause-specific repair, check dependent conclusions and representative cases, and verify the real result. Stop retries that do not change the unresolved dependency.
