Sub topic 2
Where and How to Place Approval Gates
Assume you know basic prompting, content workflows, and simple Python. An approval gate is a rule that prevents the workflow from moving forward until a qualified person makes a decision.
Place gates at irreversible points
Put a gate before an action that is costly, public, or difficult to undo. A useful pipeline is:
Do not treat “the model produced text” as approval. A human should approve the final wording after revisions. Publishing should verify that the text still matches the approved version.
import hashlib
def digest(text):
return hashlib.sha256(text.encode("utf-8")).hexdigest()
approved_text = "Use a second reviewer for high-risk claims."
approved_digest = digest(approved_text)
current_text = approved_text
can_publish = digest(current_text) == approved_digest
print(can_publish)If current_text changes after approval, the check returns False. The item must return to review.
Assign reviewers and separate duties
The author should not be the only approver. Separation of duties means assigning different responsibilities to different people. For example:
| Role | Responsibility |
|---|---|
| Author or model operator | Creates and revises the draft |
| Subject reviewer | Checks factual and technical accuracy |
| Policy or legal reviewer | Checks regulated, safety, or brand requirements |
| Publisher | Releases the approved version |
A reviewer needs the authority and knowledge required for the decision. For high-risk content, require two independent approvers and exclude the author from the approval count.
> callout warning > An approval gate is weak if the same person writes, reviews, and publishes without an independent check.
Run automated checks first
Automated checks should catch mechanical problems before human review. Check required sections, banned phrases, missing citations, formatting, and unresolved TODO markers. These checks support judgment; they do not replace it.
Review against a rubric
Give reviewers written criteria instead of asking whether the draft “looks good.” A rubric can ask:
- Are claims supported by the listed sources?
- Is the wording suitable for the stated audience?
- Does the draft follow safety, legal, and brand constraints?
- Are examples accurate and complete?
- Does the final text match the submitted version?
Record each decision, reviewer, timestamp, version hash, and requested change. This audit trail makes the gate observable and discourages rubber-stamping.
Exercise
Why should publishing verify the approved text's hash?
Show answer
To prevent an edited or unreviewed version from being published accidentally.