Lesson objective

Add a constraint block and a required cross-check block to a reusable plant prompt, and refine the prompt by tracing each observed failure to the block that should have prevented it.

Plain-language explanation

Why this matters now

The source block says what the model may use. The parameter block says what the model must not assume. This lesson adds the last two blocks: what the model must not produce, and what it must report about its own output. It then covers how a plant improves a reusable prompt over time without turning it into a pile of patches.

The stakes are shaped by where output goes. A draft that stays a draft harms nobody. A draft that is copied into a controlled record, a customer email or a machine setting becomes an action.

A question to sit with

A reusable nonconformance-description prompt has been patched six times. Each patch added a sentence after a bad output. Nobody can now say which sentence fixed which problem, and the seventh bad output looks like the first. What went wrong with how the prompt was improved?

What goes wrong

Constraints that describe style but not limits. "Be accurate and professional" constrains nothing a reviewer can check.

No ban on decision language. Without an explicit constraint, drafts drift into "acceptable as is", "released for shipment" or "root cause confirmed."

Cross-checks left to the reviewer alone. The model is never asked to list what it used, what it could not find, or where the documents disagreed, so the reviewer starts from a blank page.

Treating the model's self-report as verification. A cross-check list is a map for the reviewer, not proof. The model can mis-report its own citations.

Patching instead of refining. Each failure adds a sentence to the end of the prompt. Sentences contradict each other, and nobody knows which one matters.

Refining on one example. A change that fixes the output on one part may break it on another.

The practical answer

The constraint block. Constraints are limits a reviewer can check with a yes or no. These are this programme's recommendation for plant drafting.

# Constraint What the reviewer checks
C1 Use only documents in the source block Every value cites a register identifier
C2 Write NOT STATED where the documents are silent No uncited value appears
C3 Do not choose between conflicting documents; list the conflict Conflicts are listed, not resolved
C4 Write no disposition, release, approval, signature block or conformance statement None of that wording appears
C5 Do not state a cause as established; describe what the documents record Cause language is descriptive
C6 Do not convert, round or supply limits Every limit cites a document
C7 Do not mention any other customer, part or project Nothing outside the task appears
C8 Do not give safety clearance or restart instructions None appears; any such need is flagged

The cross-check block. After the draft, the model must produce three lists. These are aids for the reviewer.

List What the model reports What the reviewer does with it
X1 Value map Every number, part number, revision and clause in the draft, with its citation Checks each at the cited location
X2 Gaps Every place it wrote NOT STATED, and what document would answer it Sends each gap to the document owner
X3 Conflicts Every disagreement between documents, with both citations Sends each to the engineer or quality authority

The output block. State the format: headings, table columns, length, and a fixed header line reading "DRAFT FOR REVIEW. NOT FOR ISSUE." The header protects the reader downstream.

Putting the blocks in order. A complete reusable plant prompt, in this programme's architecture, runs:

  1. Task and audience: one or two sentences.
  2. Source block (Lesson 1).
  3. Parameter block (Lesson 2).
  4. Constraint block.
  5. Output block.
  6. Cross-check block.

Refining: trace, do not patch. When a reviewer finds a bad output, ask which block should have prevented it.

Failure seen Block to examine Typical fix
Value with no source Source block, C1, C2 Supply the missing extract, or strengthen the NOT STATED rule
Wrong unit or invented limit Parameter block, C6 Correct the unit or tolerance basis line
Decision wording C4, output block Add the specific wording to C4's list; restate the header
Wrong customer's wording Parameter line 3, C7 Start a new session; tighten C7
Conflict silently resolved Precedence rule, C3 Restate the rule; require X3 even when empty
Missing gap report Cross-check block Require "none found" rather than silence

Rules for a refinement.

  • Change one block at a time and record what changed and why.
  • Rerun the changed prompt on a small set of past tasks whose correct output a person already confirmed, not only on the task that failed.
  • Keep the old version until the new one passes.
  • If a failure keeps returning after two refinements, stop and ask whether the task belongs inside the AI capability boundary at all.

Module 03 turns these rules into the plant's prompt library: ownership, version numbers, test sets and retest triggers.

The screen does not move. A refined prompt still starts with the screen statement. Law / rule (United States, federal; 15 CFR 734.13): a release of technology to a foreign person in the United States can be a deemed export, and whether a licence is needed depends on classification and destination; that is decided by the person your company names for export questions, before any document enters the source block. Law / rule (18 U.S.C. 1839): trade-secret protection rests on reasonable measures the owner actually applied; a refinement that widens what the prompt supplies widens what must be screened.

Remember this

  • Constraints are limits a reviewer can check with a yes or no; "be accurate" is not one.
  • Ban disposition, release, approval, signature, conformance and restart wording explicitly.
  • Require a value map, a gap list and a conflict list, and treat them as a map for checking, never as the check.
  • Refine by tracing each failure to a block, change one block at a time, and test on confirmed past tasks.
  • A refined prompt still starts with the screen.

Manufacturing example

Marlin Gear & Spline is a fictional gear manufacturer. The quality engineer, Nadia Ferrante, owns a reusable prompt for drafting nonconformance descriptions. Over a month the reviewer, quality manager Kwame Asante, returns three drafts. The first says a lot of gears is "acceptable for use as is." The second states "root cause: operator error," which no document records. The third gives a runout value with no citation. Nadia traces each failure instead of patching. The first is a C4 failure: the constraint banned "release" and "approval" but not "acceptable as is", so she adds that wording to C4 and restates the output header. The second is a C5 failure: she rewrites C5 to require descriptive language about what the inspection record and the operator log say. The third is a source-block failure: the inspection record extract had been left out, so the model wrote a value from the operator's email. She adds the inspection record to the standard source list and strengthens C2. She changes one block per version, 1.3 to 1.4 to 1.5 to 1.6, recording each change. Before releasing 1.6 she reruns it on eight past nonconformances whose descriptions Kwame had already confirmed. Seven drafts pass his check; the eighth reports "none found" for conflicts where two documents disagreed. She adds a line requiring X3 to compare the inspection record with the traveller, reruns, and all eight pass. Kwame approves version 1.6 for use, and Nadia keeps version 1.5 on file until 1.6 has run cleanly for a month.

Responsible-use warning

Do not improve a reusable prompt by adding a sentence after every bad output. Patches contradict each other, and the prompt becomes impossible to review. Trace each failure to the block that should have stopped it, change one block at a time, and test on past tasks a person already confirmed. Never treat the model's value map or gap list as verification: it is a map for the reviewer, and it can be wrong in exactly the way the draft is wrong.

Human-review requirement

The reviewer who owns the output, usually the quality or manufacturing engineer, uses the cross-check lists to locate every value, then checks each at its cited document. They confirm no disposition, release, approval, cause or restart wording survived, send every gap to the document owner and every conflict to the engineer or quality authority, and approve or return the draft. The prompt owner records each refinement, the test set used and the result, and the quality manager approves a refined prompt before it replaces the old one.

Practical exercise

Use a fictional plant, prompt and documents only.

  1. Choose a recurring drafting task and write a one-line task and audience statement.
  2. Write a constraint block of at least six checkable constraints for it, including a ban on decision wording specific to that task.
  3. Write the three-list cross-check block.
  4. Write the output block, including the draft header line.
  5. Assemble the full prompt in the six-part order from this lesson, using a fictional source block and parameter block.
  6. Invent three bad outputs from this prompt, each with a different failure.
  7. For each, name the block that should have prevented it and write the specific fix.
  8. Write version notes for three successive refinements, one block per version.
  9. Describe a test set of at least six fictional past tasks whose correct output was confirmed, and how you would record pass or fail.
  10. For each of your fictional test tasks, write what a pass looks like in one line, so a second reviewer would reach the same result.
  11. Write the stop rule you would apply if the same failure returned after two refinements, and who you would ask whether the task belongs with AI at all.
  12. Write the note asking the quality manager to approve the refined version, naming the test set, the results and the version it replaces. Record everything in your workbook.

Knowledge check

  1. What makes a good constraint in a plant prompt?

    Answer guidance: It is a limit a reviewer can check with a yes or no, such as banning release wording or requiring a citation on every value, rather than a style wish such as "be accurate."

  2. What three lists does the cross-check block require, and how should the reviewer treat them?

    Answer guidance: A value map, a gap list and a conflict list. The reviewer uses them to locate items and then checks each document, because the lists themselves can be wrong.

  3. What is the difference between patching and refining a reusable prompt?

    Answer guidance: Patching adds a sentence after each bad output. Refining traces the failure to the block that should have prevented it, changes one block at a time, and tests on confirmed past tasks.

  4. According to the OWASP 2026 project leads, why does misinformation matter more than voters ranked it?

    Answer guidance: Because when fluent, confident output drives a decision or a tool call, a wrong answer turns into a wrong action, and the incident record placed it near the top.

Sources and further reading