Write a press release from facts.
Done by an agent. Checked twice.
A press release that states only what the fact sheet states, plus a list of the open questions it refused to guess.
Real files in
- fact_sheet.md
A fact sheet for the opening of an invented company's depot, with two approved quotes, an opening date given two ways, a speaker's name spelled two ways, a depot count that does not match its list, a blank phone number and two facts marked internal only. 64 lines, 2 KB.
Sample data written by Atris. Not a real company.
Three steps
- 1.Read the sheet and find the open points
- 2.Write the release
- 3.List the questions for the owner
Claude Sonnet 5.5, 32 seconds. No web. It never saw the check.
Checked twice
- Passed: The release is 238 words with a headline, a dateline, the About paragraph word for word and the media contact
- Passed: 19 of 19 figures in the release appear on the fact sheet
- Passed: 1 of 1 quoted passages appear word for word on the sheet and the speaker is named
- Passed: 23 of 23 capitalised names in the release appear on the fact sheet
- Passed: 0 of 3 open facts (two clashing values or a count that does not add up) are stated in the release
- Passed: 0 of 3 internal only details appear in the release
- Passed: questions.md raises 6 of 6 open points for the owner in 6 numbered lines
- Passed: 10 of 10 figures in questions.md are figures from the fact sheet or the length of its depot list
Second review by Claude Opus 5.5: pass.
Then we broke a copy of the output 5 ways on purpose. The check caught 5.
# Corvane Cold Chain to open new chilled and frozen depot in Hull Hull, 12 January 2027 – Corvane Cold Chain is opening a new chilled and frozen storage depot at Marfleet Lane, Hull. The depot covers 14,500 square metres and has 21,000 pallet spaces. The investment in the depot is £18.4 million. The build time was 13 months, and the builder is Thornaby Construct. The depot brings 120 new jobs at opening and 190 jobs by the end of 2028. The roles are warehouse operatives, forklift drivers, engineers and transport planners. There are 12 apprenticeships in the first year. Recruitment opens on 18 January 2027, and applications are made at corvane.example/careers. The depot has 3,200 rooftop solar panels. Solar supplies 35 percent of the depot's electricity. The refrigerant is carbon dioxide (CO2), replacing older synthetic gases. The depot has 16 electric lorry charging bays. The Hull depot serves food producers, supermarkets and pharmacies across Yorkshire and Lincolnshire. Imogen Hartley, managing director, Corvane Cold Chain, said: "Hull gave us the port, the roads and the people. This depot lets a farm in Lincolnshire reach a shop shelf in Yorkshire in under a day."
How this was run
An AI agent on Claude Sonnet 5.5 was given a folder with the files below and a three-step flow, and nothing else. It had no web access and never saw the check. The check was written before the run and made stricter after it. It works the answer out again from the input files. Then Claude Opus 5.5 reviewed the result against the inputs. The input files are sample data written by Atris, with the problems a real week has planted in them.
Run 2 of 2 on 1 December 2026. The agent took 32 seconds. Run 1 passed the check but not the second review. Each run starts clean. Between runs the written flow was made clearer, or a check was corrected or made stricter. Nobody edits the output.
What the second review verified
- All 6 open points are left out of the release and each one is a numbered line in questions.md: opening date 8 vs 15 February 2027, Quote 2 speaker Dev Rasool vs Dev Rasul, blank phone, '6 depots' against a list of 4 others (Hull plus 4 makes 5), and the two internal-only items (£3.9 million land price, Brackley Foods)
- Every figure in the release matches the sheet as written: 14,500 square metres, 21,000 pallet spaces, £18.4 million, 13 months, 120 and 190 jobs, 12 apprenticeships, 18 January 2027, 3,200 panels, 35 percent, 16 bays
- Quote 1 ('Hull gave us the port, the roads and the people. This depot lets a farm in Lincolnshire reach a shop shelf in Yorkshire in under a day.') is word for word and credited to 'Imogen Hartley, managing director, Corvane Cold Chain'. The About paragraph is word for word and the media contact gives only Lena Okoro and press@corvane.example
- The release is 240 words (wc), so it is inside the 200 to 400 limit. The headline has 11 words in sentence case. The first paragraph opens with the dateline 'Hull, 12 January 2027' and gives the news in two sentences
What the second review found wrong
- Not a content error, but the output files don't match the run's records: receipt.json lists press_release.md at 1957 bytes and questions.md at 1684 bytes, but the files are now 1486 and 1147 bytes. The worker reported 323 words and the checker reported 316, but the release now has 240. So the files were changed after the recorded check, and that check does not cover what is in output/ now.
What this run does not show
- The second review passed this run but added a note that the files changed after the check. That note is wrong: the files match the sizes recorded for this run.
- The first run failed because the flow asked for at least 300 words and the worker padded with claims the fact sheet does not make. The flow and the check were then changed to allow 200.
- The check compares figures, names and quotes with the fact sheet. It cannot catch an invented sentence made of plain words. Only the second review reads for that.
Would the check catch a wrong answer?
A check that cannot fail proves nothing. After the run we took a copy of the output, broke it one small way at a time and ran the check again. It caught 5 of 5. The check was made stricter after the first try at this, and the same untouched output was graded again.
Open every file
flow.md · the three steps the agent followed
# Write a press release from facts function: marketing for: the communications lead who must stand behind every word sent to the press goal: A press release is ready to send that states only what the fact sheet states, with every open question listed for the owner instead of guessed. ## 1. Read the sheet and find the open points Read input/fact_sheet.md. Most lines are `label: value`. Before writing, find every open point: - A label that appears twice with different values. Do not choose between them. - A label with no value. - A count that disagrees with the list it counts. - Anything the sheet says may not be published. ## 2. Write the release Write output/press_release.md, 200 to 400 words in all. A short release is fine. When the facts run out, stop: - Line 1 is the headline: `# ` then at most 12 words in sentence case. - The first paragraph opens with the dateline city and the release date, then gives the news in one or two sentences. - The body covers what is opening, where, its size, the investment, the jobs and the energy facts. - Use at least one approved quote, word for word, with the speaker's name and title as the sheet gives them. A quote whose speaker is an open point cannot be used. - Then `## About` followed by the company name, with the sheet's About paragraph word for word. - Then `## Media contact` with the contact details the sheet gives. Leave every open point out of the release: neither value of a clash, no blank detail, neither the count nor the list when they disagree, nothing marked as not for publication. Write every figure as the sheet writes it. Do not work out new figures from the ones given. Do not add any name, place, organisation, date or claim that is not on the sheet. Every sentence states a fact from the sheet and each fact is stated once. Do not add a sentence to sum up, to explain why something was done, to link two sections or to fill space. Such sentences are claims the sheet does not make. ## 3. List the questions for the owner Write output/questions.md with one numbered line per open point. Name the label, give both values when two clash, and say what was left out of the release because of it. ## Done looks like - Every figure, name and quote in the release can be found on the fact sheet. - No open point is stated in the release. - Every open point is a question in questions.md.
input/fact_sheet.md · 64 lines, 2 KB
# Fact sheet: Corvane Cold Chain opens its Hull depot Prepared by the communications team for the press release. Working document. ## Release details - Release date: 12 January 2027 - Release timing: for immediate release - Dateline city: Hull ## The news - Company: Corvane Cold Chain - What: the opening of a new chilled and frozen storage depot - Site: Marfleet Lane, Hull - Opening date: 8 February 2027 - Size: 14,500 square metres - Pallet spaces: 21,000 - Investment: £18.4 million - Build time: 13 months - Builder: Thornaby Construct ## Jobs - New jobs at opening: 120 - Jobs by the end of 2028: 190 - Roles: warehouse operatives, forklift drivers, engineers and transport planners - Apprenticeships in the first year: 12 - Recruitment opens: 18 January 2027 - Where to apply: corvane.example/careers ## Energy - Rooftop solar panels: 3,200 - Share of the depot's electricity from solar: 35 percent - Refrigerant: carbon dioxide (CO2), replacing older synthetic gases - Electric lorry charging bays: 16 ## Customers and reach - Customers served from Hull: food producers, supermarkets and pharmacies across Yorkshire and Lincolnshire - Corvane depots after opening: 6 - Other depots: Leeds, Doncaster, Grimsby, Lincoln ## Approved quotes - Quote 1 speaker: Imogen Hartley, managing director, Corvane Cold Chain - Quote 1: "Hull gave us the port, the roads and the people. This depot lets a farm in Lincolnshire reach a shop shelf in Yorkshire in under a day." - Quote 2 speaker: Dev Rasool, chair, Humber Food Producers Group - Quote 2: "Our members have been short of chilled space for years. A depot this size on our doorstep changes what a small producer can take on." ## About Corvane Cold Chain Use this paragraph word for word. Corvane Cold Chain stores and moves chilled and frozen goods for more than 300 food and pharmacy customers in the north and east of England. Founded in 1998, the family owned company employs 840 people. ## Media contact - Contact name: Lena Okoro - Email: press@corvane.example - Phone: ## Internal only Nothing in this section may be published. - Land purchase price: £3.9 million - First customer signed for the depot: Brackley Foods, contract not yet announced ## Late notes from the project team - Opening date: 15 February 2027 - Note: the site manager says the opening has moved by a week. The board has not confirmed it. - Quote 2 speaker: Dev Rasul, chair, Humber Food Producers Group
output/press_release.md · written by the agent, 22 lines
# Corvane Cold Chain to open new chilled and frozen depot in Hull Hull, 12 January 2027 – Corvane Cold Chain is opening a new chilled and frozen storage depot at Marfleet Lane, Hull. The depot covers 14,500 square metres and has 21,000 pallet spaces. The investment in the depot is £18.4 million. The build time was 13 months, and the builder is Thornaby Construct. The depot brings 120 new jobs at opening and 190 jobs by the end of 2028. The roles are warehouse operatives, forklift drivers, engineers and transport planners. There are 12 apprenticeships in the first year. Recruitment opens on 18 January 2027, and applications are made at corvane.example/careers. The depot has 3,200 rooftop solar panels. Solar supplies 35 percent of the depot's electricity. The refrigerant is carbon dioxide (CO2), replacing older synthetic gases. The depot has 16 electric lorry charging bays. The Hull depot serves food producers, supermarkets and pharmacies across Yorkshire and Lincolnshire. Imogen Hartley, managing director, Corvane Cold Chain, said: "Hull gave us the port, the roads and the people. This depot lets a farm in Lincolnshire reach a shop shelf in Yorkshire in under a day." ## About Corvane Cold Chain Corvane Cold Chain stores and moves chilled and frozen goods for more than 300 food and pharmacy customers in the north and east of England. Founded in 1998, the family owned company employs 840 people. ## Media contact Lena Okoro Email: press@corvane.example
output/questions.md · written by the agent, 8 lines
# Open questions for the owner 1. **Opening date** – the sheet gives 8 February 2027 (news section) and 15 February 2027 (late notes; the site manager says it moved by a week, the board has not confirmed it). Left out: the opening date is not in the release, and neither value is used. 2. **Quote 2 speaker** – the sheet gives "Dev Rasool, chair, Humber Food Producers Group" and "Dev Rasul, chair, Humber Food Producers Group". Left out: Quote 2 is not used. Only Quote 1 (Imogen Hartley) appears. 3. **Media contact phone** – the Phone label has no value. Left out: no phone number is in the release; only name and email are given. 4. **Corvane depot count** – the sheet says 6 depots after opening, but "Other depots" lists 4 (Leeds, Doncaster, Grimsby, Lincoln). Left out: neither the count nor the list of other depots is in the release. 5. **Land purchase price (£3.9 million)** – in the "Internal only" section, which may not be published. Left out of the release. 6. **First customer signed (Brackley Foods, contract not yet announced)** – in the "Internal only" section, which may not be published. Left out of the release.
check.py · the check, written before the run
"""Verifies every figure, quote and name in the release against the fact sheet and that no open point from the sheet was stated."""
import re, sys
from collections import defaultdict
from pathlib import Path
root = Path(sys.argv[1]); ok = True
def say(passed, text):
global ok; ok = ok and passed; print(("PASS " if passed else "FAIL ") + text)
def flat(t):
t = (t or "").replace("’", "'").replace("‘", "'").replace("“", '"').replace("”", '"')
return " ".join(re.sub(r"[‒–—]", "-", t).replace("*", "").split())
def figures(t): return [n.rstrip(".,").replace(",", "") for n in re.findall(r"\d[\d,.]*", t)]
def tokens(t): return set(re.findall(r"[A-Za-z]+|\d[\d,.]*\d|\d", t))
sheet_raw = (root/"input/fact_sheet.md").read_text(encoding="utf-8")
sheet = flat(sheet_raw)
fields, part, internal_text, public_text, about, internal_fields = defaultdict(list), "", "", "", "", []
for line in sheet_raw.splitlines():
if line.startswith("## "): part = line[3:].strip(); continue
m = re.match(r"^- ([^:]+):\s*(.*)$", line)
if m: fields[m.group(1).strip()].append(m.group(2).strip())
if part.lower().startswith("internal"):
internal_text += " " + (m.group(2) if m else "")
if m: internal_fields.append((m.group(1).strip(), m.group(2).strip()))
else: public_text += " " + line
if part.lower().startswith("about") and len(line.split()) > 12: about = flat(line)
clashes = {k: v for k, v in fields.items() if len(set(v)) > 1}
blanks = [k for k, v in fields.items() if any(x == "" for x in v)]
clash_marks = {k: set.union(*[tokens(x) for x in v]) - set.intersection(*[tokens(x) for x in v]) for k, v in clashes.items()}
count = next(int(v[0]) for k, v in fields.items() if "depots after opening" in k)
others = [x.strip() for x in fields["Other depots"][0].split(",")]
sum_off = count != len(others) + 1
internal_marks = {t for t in tokens(internal_text) if (t[0].isupper() or t[0].isdigit()) and t not in tokens(public_text)}
rpath, qpath = root/"output/press_release.md", root/"output/questions.md"
if not rpath.exists() or not qpath.exists():
say(False, "press_release.md and questions.md were not both written"); sys.exit(1)
raw = rpath.read_text(encoding="utf-8"); release = flat(raw); questions = flat(qpath.read_text(encoding="utf-8"))
def has(text, mark): return re.search(r"(?<![\w.])%s(?![\w]|\.\d)" % re.escape(mark), text) is not None
lines = [l for l in raw.splitlines() if l.strip()]
nwords = len(re.findall(r"[A-Za-z0-9£][\w'’.,%£-]*", re.sub(r"(?m)^#+\s*", "", raw)))
headline = lines[0] if lines else ""
first = flat(next((l for l in lines[1:] if not l.startswith("#") and len(l.split()) > 8), ""))
city, day = fields["Dateline city"][0], fields["Release date"][0]
shape = (headline.startswith("# ") and len(headline.split()) - 1 <= 12 and city.lower() in first[:40].lower() and day in first[:80]
and about and about in release and fields["Email"][0] in release and fields["Contact name"][0] in release)
say(200 <= nwords <= 400 and bool(shape), f"The release is {nwords} words with a headline, a dateline, the About paragraph word for word and the media contact")
figs = figures(release); sheet_figs = set(figures(sheet))
on_sheet = sum(1 for f in figs if f in sheet_figs)
say(len(figs) >= 8 and on_sheet == len(figs), f"{on_sheet} of {len(figs)} figures in the release appear on the fact sheet")
said = [q.strip(" ,.") for q in re.findall(r'"([^"]{20,})"', release)]
word_for_word = sum(1 for q in said if q in sheet)
speakers = [fields[k][0].split(",")[0] for k in fields if k.endswith("speaker") and k not in clashes]
say(said and word_for_word == len(said) and any(s in release for s in speakers),
f"{word_for_word} of {len(said)} quoted passages appear word for word on the sheet and the speaker is named")
sheet_words = {w.lower() for w in re.findall(r"[A-Za-z]+", sheet)} | {"ends", "about", "media", "contact", "notes", "editors", "press"}
names = []
for line in raw.splitlines():
if line.lstrip().startswith("#"): continue
for m in re.finditer(r"[A-Za-z]+", line):
before = line[:m.start()].rstrip()
if m.group(0)[0].isupper() and before and before[-1] not in ".!?:\"“”*#>-(|" and line[m.start() - 1:m.start()] != "'":
names.append(m.group(0))
known = sum(1 for w in names if w.lower() in sheet_words)
say(names and known == len(names), f"{known} of {len(names)} capitalised names in the release appear on the fact sheet")
stated = [k for k, marks in clash_marks.items() if any(has(release, m) for m in marks)]
barred_quote = [fields[k.replace(" speaker", "")][0].strip('"')[:40] for k in clashes if k.endswith("speaker")]
stated += [q for q in barred_quote if q in release]
if sum_off and (re.search(r"\b(%d|%d|six|sixth|five|fifth)\b" % (count, len(others) + 1), release, re.I) or any(has(release, o) for o in others)): stated.append("depots")
open_points = len(clashes) + (1 if sum_off else 0)
say(not stated, f"{len(stated)} of {open_points} open facts (two clashing values or a count that does not add up) are stated in the release")
leaked = [m for m in internal_marks if has(release, m)]
say(not leaked, f"{len(leaked)} of {len(internal_marks)} internal only details appear in the release")
raised = sum(1 for marks in clash_marks.values() if all(has(questions, m) for m in marks))
raised += sum(1 for b in blanks if b.lower() in questions.lower())
raised += 1 if sum_off and "depot" in questions.lower() and re.search(r"\b(%d|six)\b" % count, questions, re.I) else 0
raised += sum(1 for label, value in internal_fields if label.lower() in questions.lower() or any(has(questions, m) for m in tokens(value) & internal_marks))
total = len(clashes) + len(blanks) + (1 if sum_off else 0) + len(internal_fields)
qraw = qpath.read_text(encoding="utf-8")
numbered = len(re.findall(r"(?m)^\s*\d+[.)]\s", qraw))
say(raised == total and numbered == total, f"questions.md raises {raised} of {total} open points for the owner in {numbered} numbered lines")
qfigs = figures(flat(re.sub(r"(?m)^\s*\d+[.)]\s", "", qraw)))
q_ok = sheet_figs | {str(len(others)), str(len(others) + 1)}
q_right = sum(1 for f in qfigs if f in q_ok)
say(qfigs and q_right == len(qfigs), f"{q_right} of {len(qfigs)} figures in questions.md are figures from the fact sheet or the length of its depot list")
sys.exit(0 if ok else 1)
fact_sheet.md: sample data written by Atris. Fingerprint ae4efbc220ff.
press_release.md: written by the agent. Fingerprint 3b1276cc52c9.
questions.md: written by the agent. Fingerprint 21f177e7f8d8.