A post going around X this week put it in one line: marketing does not want to learn your Claude harness just to update a form or a landing page on a vibe-coded site. That matches what I see once a generated marketing site has been live for a month. The headline is still the one the model chose. The Studio plan is still $49. The only person who can change either is the person with the repo.
A September 2026 NBER working paper by Demirer, Musolff and Yang measured a similar gap at a much larger scale. Across more than 500,000 GitHub developers, autonomous coding agents raised weekly commits by about 240 percent. That gain fell to 80 percent for the number of projects worked on, and to 30 percent for actual releases. In four software marketplaces they found a sharp increase in new apps and no increase in total usage. The paper is a working paper, not a peer-reviewed journal article, but the pattern is the one I keep running into on marketing sites: we can generate a page in an afternoon, and then the business facts are stuck in the source.
So I wanted a way to see that clearly. I wrote the kind of marketing site a coding agent produces when you ask for "a site for an invoicing tool for independent workshops, with pricing, testimonials and a contact section." Then I wrote a short scanner, fact_lock.py, that looks for prices, emails, phone numbers, postal addresses and sentence-length copy, and says whether each one lives in a component (it needs a deploy) or in a content file (it does not). I ran it, moved the facts into content/site.json, and ran it again. All the numbers below come from those two runs.
It doesn't matter whether the site came from Cursor, Claude Code or an AI website builder. If a price or an email is in a React component, this applies.
The product is fictional. It's called Kiln Invoice, and it sells invoicing to ceramic studios and small trades. The repo looks like a typical generated marketing site: a handful of React components and no CMS.
Pricing.jsx is the example everyone recognizes. The plan names and the prices are in the component.
// Excerpt from the fixture. Deliberately typical of generated marketing pages.
export function Pricing() {
return (
<section id="pricing">
<h2>Simple plans for independent workshops</h2>
<div className="grid">
<article>
<h3>Starter</h3>
<p className="price">$19/mo</p>
{/* features, signup link */}
</article>
<article>
<h3>Studio</h3>
<p className="price">$49/mo</p>
</article>
<article>
<h3>Workshop</h3>
<p className="price">$129/mo</p>
</article>
</div>
</section>
);
}
The rest of the site is the same idea. Hero.jsx repeats $19/mo in the fine print. Footer.jsx holds the street address, two email addresses and a phone number, including the tel: href. Contact.jsx repeats hello@kilninvoice.example. Testimonials and feature blurbs are string literals and JSX text. There is no content/ directory.
If marketing wants Studio to be $59 next Tuesday, someone has to open Pricing.jsx, find both the card and the hero line, open a pull request, wait for a review, and deploy. That's a CMS. It's just a very expensive one.
fact_lock.py walks a directory, skips node_modules, dist and the usual build folders, and looks through JS, TS, JSX, HTML and, when they sit in a content directory, JSON and Markdown. For each match it records the file, the line, and whether the path counts as content (content/, cms/, copy/, src/content, and a few obvious cousins) or as source.
It looks for:
| Kind | What it matches |
|---|---|
| price | $19/mo ,$19 ,19/month ,USD 19 |
| ordinary address patterns, minus a few tool defaults | |
| phone | +1 (555) 017-4420 and compacttel: hrefs |
| address | a number plus a street word ( Street ,Ave ,Road , …) |
| quote | quoted strings and JSX/HTML text nodes of blurb length |
It will miss a price built from an expression, a number with no currency marker, and a CMS it does not know about. That's fine. The point is not a perfect audit. The point is to make the locked facts visible in one pass.
fact_lock.py (about 240 lines)
#!/usr/bin/env python3
"""fact_lock.py — find business facts locked in website source.
Usage:
python3 fact_lock.py <directory> [--json out.json]
Scans JS/TS/JSX/TSX/HTML (and JSON/MD under the tree) for prices, emails,
phones, postal addresses and testimonial-length quotes. Facts that live only
in a content directory (content/, cms/, copy/, data/content, src/content,
src/copy) are counted as editable. Facts in component or page source are
counted as locked — they need a code change, a review, and a deploy.
Skips node_modules, .git, dist, build, coverage, and this script itself.
"""
from __future__ import annotations
import json, os, re, sys
from collections import defaultdict
from pathlib import Path
CODE_EXT = {".js", ".jsx", ".ts", ".tsx", ".mjs", ".cjs", ".html", ".vue", ".svelte", ".astro"}
CONTENT_EXT = {".json", ".md", ".mdx", ".yml", ".yaml", ".toml"}
SKIP_DIRS = {"node_modules", ".git", "dist", "build", "coverage", ".next", "out", "target"}
CONTENT_DIR_PARTS = {"content", "cms", "copy"}
CONTENT_DIR_PREFIXES = (("data", "content"), ("src", "content"), ("src", "copy"), ("data", "copy"))
PRICE_RE = re.compile(
r"""(?<![\w])(?:
\$\s?\d{1,4}(?:[,.]\d{2})?(?:\s*/\s*(?:mo|month|yr|year|wk|week))?
| \d{1,4}\s*/\s*(?:mo|month|yr|year)
| (?:USD|EUR|GBP)\s*\$?\s*\d{1,4}(?:[,.]\d{2})?
)(?!\w)""",
re.I | re.X,
)
EMAIL_RE = re.compile(r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b")
PHONE_RE = re.compile(
r"""(?<![\w])(?:
\+\d{1,3}[\s.-]?\(?\d{2,4}\)?[\s.-]?\d{3,4}[\s.-]?\d{4}
| \(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}
)(?!\w)""",
re.X,
)
ADDRESS_RE = re.compile(
r"\b\d{1,5}\s+[A-Z][A-Za-z0-9.'-]+(?:\s+[A-Z][A-Za-z0-9.'-]+){0,3}"
r"\s+(?:Street|St|Avenue|Ave|Road|Rd|Boulevard|Blvd|Lane|Ln|Drive|Dr|Way|Court|Ct)\b",
re.I,
)
QUOTE_RE = re.compile(r'(?<!\\)["“]([^"“”]{40,240})["”]')
JSX_TEXT_RE = re.compile(r">\s*([^<>{}]{40,240}?)\s*<")
EMAIL_SKIP = re.compile(r"(?:@sentry\.|@webpack\.|@babel/|noreply@localhost)", re.I)
CATEGORIES = ("price", "email", "phone", "address", "quote") # quote includes JSX text nodes
def is_skipped_dir(name: str) -> bool:
return name in SKIP_DIRS or name.startswith(".")
def is_content_path(path: Path, root: Path) -> bool:
rel = path.relative_to(root)
parts = [p.lower() for p in rel.parts[:-1]]
if any(p in CONTENT_DIR_PARTS for p in parts):
return True
for i in range(len(parts) - 1):
if tuple(parts[i : i + 2]) in CONTENT_DIR_PREFIXES:
return True
return False
def iter_files(root: Path):
for dirpath, dirnames, filenames in os.walk(root):
dirnames[:] = [d for d in dirnames if not is_skipped_dir(d)]
for name in filenames:
p = Path(dirpath) / name
if p.suffix.lower() in CODE_EXT or p.suffix.lower() in CONTENT_EXT:
yield p
def line_of(text: str, index: int) -> int:
return text.count("\n", 0, index) + 1
def snippet(text: str, start: int, end: int, width: int = 72) -> str:
line_start = text.rfind("\n", 0, start) + 1
line_end = text.find("\n", end)
if line_end == -1:
line_end = len(text)
s = text[line_start:line_end].strip()
s = re.sub(r"\s+", " ", s)
if len(s) > width:
s = s[: width - 1] + "…"
return s
def collect_facts(path: Path, root: Path) -> list[dict]:
try:
text = path.read_text(encoding="utf-8")
except (UnicodeDecodeError, OSError):
return []
rel = str(path.relative_to(root))
content = is_content_path(path, root) or path.suffix.lower() in {".md", ".mdx"} and is_content_path(path, root)
if path.suffix.lower() in CONTENT_EXT and not is_content_path(path, root):
if path.name in {"package.json", "package-lock.json", "pnpm-lock.yaml", "yarn.lock", "tsconfig.json"}:
return []
facts = []
def add(kind: str, raw: str, start: int, end: int):
raw = re.sub(r"\s+", " ", raw.strip())
if not raw:
return
facts.append(
{
"kind": kind,
"value": raw,
"file": rel,
"line": line_of(text, start),
"locked": not is_content_path(path, root),
"snippet": snippet(text, start, end),
}
)
for m in PRICE_RE.finditer(text):
add("price", m.group(0), m.start(), m.end())
for m in EMAIL_RE.finditer(text):
if EMAIL_SKIP.search(m.group(0)):
continue
add("email", m.group(0), m.start(), m.end())
for m in PHONE_RE.finditer(text):
add("phone", m.group(0), m.start(), m.end())
for m in ADDRESS_RE.finditer(text):
add("address", m.group(0), m.start(), m.end())
for m in QUOTE_RE.finditer(text):
q = m.group(1).strip()
if q.startswith(".") or q.startswith("/") or q.startswith("http"):
continue
if q.count(" ") < 6: # testimonials are sentences
continue
if re.search(r"[{};=<>]|function |import |const |className", q):
continue
add("quote", q, m.start(), m.end())
for m in JSX_TEXT_RE.finditer(text):
q = re.sub(r"\s+", " ", m.group(1).strip())
if q.count(" ") < 6:
continue
already = any(f["kind"] == "quote" and f["line"] == line_of(text, m.start()) and q[:40] in f["value"] for f in facts)
if already:
continue
add("quote", q, m.start(), m.end())
return facts
def report(root: Path, facts: list[dict]) -> str:
locked = [f for f in facts if f["locked"]]
editable = [f for f in facts if not f["locked"]]
lines = []
lines.append(f"fact-lock scanned {root}")
files = sorted({f["file"] for f in facts})
lines.append(f"files with facts: {len(files)}")
lines.append("")
def block(title: str, rows: list[dict]):
lines.append(f"{title}")
if not rows:
lines.append(" (none)")
lines.append("")
return
by = defaultdict(list)
for r in rows:
by[r["kind"]].append(r)
for kind in CATEGORIES:
items = by.get(kind, [])
lines.append(f" {kind:8} {len(items)}")
for item in items:
val = item["value"]
if len(val) > 56:
val = val[:55] + "…"
lines.append(f" {item['file']}:{item['line']:<4} {val}")
lines.append("")
block("LOCKED in component / page source (needs a deploy)", locked)
block("EDITABLE in a content file (no component change)", editable)
n_lock, n_edit = len(locked), len(editable)
total = n_lock + n_edit
pct = (100 * n_lock // total) if total else 0
lines.append("SUMMARY")
lines.append(f" locked {n_lock}")
lines.append(f" editable {n_edit}")
lines.append(f" lock rate {pct}% of {total} business facts")
if n_lock == 0 and n_edit:
lines.append(" edit path: change a content file, then publish")
elif n_lock and not n_edit:
lines.append(" edit path: open the repo, edit a component, commit, review, deploy")
elif n_lock and n_edit:
lines.append(" edit path: mixed — some facts still require a deploy")
else:
lines.append(" edit path: no business facts found")
return "\n".join(lines) + "\n"
def main(argv: list[str]) -> int:
if len(argv) < 2 or argv[1] in {"-h", "--help"}:
print(__doc__.strip(), file=sys.stderr)
return 2
root = Path(argv[1]).resolve()
if not root.is_dir():
print(f"not a directory: {root}", file=sys.stderr)
return 2
json_out = None
if "--json" in argv:
i = argv.index("--json")
json_out = argv[i + 1] if i + 1 < len(argv) else None
facts = []
for path in iter_files(root):
facts.extend(collect_facts(path, root))
text = report(root, facts).replace(str(root), sys.argv[1].rstrip('/'))
sys.stdout.write(text)
if json_out:
Path(json_out).write_text(
json.dumps({"root": str(root), "facts": facts}, indent=2) + "\n",
encoding="utf-8",
)
return 0
if __name__ == "__main__":
raise SystemExit(main(sys.argv))
bash
$ python3 fact_lock.py fixtures/before
fact-lock scanned fixtures/before
files with facts: 6
LOCKED in component / page source (needs a deploy)
price 4
src/components/Pricing.jsx:8 $19/mo
src/components/Pricing.jsx:18 $49/mo
src/components/Pricing.jsx:28 $129/mo
src/components/Hero.jsx:11 $19/mo
email 4
src/components/Contact.jsx:6 hello@kilninvoice.example
src/components/Footer.jsx:6 hello@kilninvoice.example
src/components/Footer.jsx:6 hello@kilninvoice.example
src/components/Footer.jsx:10 support@kilninvoice.example
phone 2
src/components/Footer.jsx:8 +15550174420
src/components/Footer.jsx:8 +1 (555) 017-4420
address 1
src/components/Footer.jsx:4 414 Clay Street
quote 12
src/components/Testimonials.jsx:4 We used to write estimates in a notebook and then retyp…
src/components/Testimonials.jsx:9 The deposit link is what I send after a studio visit. C…
src/components/Testimonials.jsx:14 I switched from a generic invoice tool because the PDFs…
src/components/Contact.jsx:5 Book a 20-minute walkthrough or write to hello@kilninvo…
src/components/Features.jsx:3 Estimates that turn into invoices in one click
src/components/Features.jsx:5 Payment reminders that go out on a schedule you set
src/components/Features.jsx:6 A client list you can search by job, not just by name
src/components/Features.jsx:10 Built for how workshops actually get paid
src/components/Footer.jsx:4 Kiln Invoice, 414 Clay Street, Portland, OR 97214
src/components/Footer.jsx:10 Questions? Email support@kilninvoice.example. We answer…
src/components/Hero.jsx:5 Invoices that look like your work, not a bank statement.
src/components/Hero.jsx:6 Kiln Invoice helps ceramic studios, woodshops and small…
EDITABLE in a content file (no component change)
(none)
SUMMARY
locked 23
editable 0
lock rate 100% of 23 business facts
edit path: open the repo, edit a component, commit, review, deploy
23 business facts, all locked. Lock rate 100 percent. The edit path the scanner printed was: "open the repo, edit a component, commit, review, deploy."
A few things worth looking at in the list:
$19/mo appears twice, once in Pricing.jsx and once in Hero.jsx. A price change that only edits the card will leave the hero wrong.hello@kilninvoice.example appears three times: twice on one line of the footer (the mailto: and the visible label) and once in the contact section.+1 (555) 017-4420 and as the tel:+15550174420 href. Those can drift apart.
None of this is a surprise if you have ever opened a generated site. The value of the scan is that it takes a few seconds and leaves a list you can hand to the person who thought "just change the price."
The problem is not that React can't render a price. The problem is who is allowed to type the new number.
A non-engineer cannot safely edit Pricing.jsx. A well-meaning engineer who is not on the original project can, and still ship a typo in the hero, or update the visible phone and leave the tel: href alone. A coding agent can do the edit if you paste the repo into a harness, which is how a lot of teams now run these sites. That is the situation the X post was about. Claude for marketing is useful for drafts and checks. It is a poor substitute for a file that a person can edit without opening a component.
There is also a cost in time. A price change that should take a minute becomes a pull request. If the site is a weekend project, the pull request waits until the next weekend. Meanwhile the old price is live, or the new price is live on one page and not the other.
This is one of the quieter reasons generated sites stall after launch. The first version ships because generating it is cheap. The second version is late because every factual change is a code change. Keeping SEO and content moving after launch depends on being able to change a page without waiting for a deploy window.
I did not add a CMS. I added one JSON file and pointed the components at it.
content/site.json holds the hero, the plans, the quotes, the emails and the phone. A component now looks like this:
import site from "../../content/site.json";
export function Pricing() {
return (
<section id="pricing">
<h2>{site.pricing.heading}</h2>
<div className="grid">
{site.pricing.plans.map((plan) => (
<article key={plan.name}>
<h3>{plan.name}</h3>
<p className="price">{plan.price}</p>
<ul>
{plan.features.map((f) => <li key={f}>{f}</li>)}
</ul>
<a href={plan.href}>Choose {plan.name}</a>
</article>
))}
</div>
</section>
);
}
The hero fine print reads site.hero.fine, so $19/mo has one source. The footer reads site.footer.email and site.footer.phone. I ran the same scanner on the new tree.
$ python3 fact_lock.py fixtures/after
fact-lock scanned fixtures/after
files with facts: 1
LOCKED in component / page source (needs a deploy)
(none)
EDITABLE in a content file (no component change)
price 4
content/site.json:8 $19/mo
content/site.json:24 $19/mo
content/site.json:34 $49/mo
content/site.json:44 $129/mo
email 4
content/site.json:76 hello@kilninvoice.example
content/site.json:80 hello@kilninvoice.example
content/site.json:81 support@kilninvoice.example
content/site.json:84 support@kilninvoice.example
phone 2
content/site.json:82 +1 (555) 017-4420
content/site.json:83 +15550174420
address 1
content/site.json:79 414 Clay Street
quote 11
content/site.json:5 Invoices that look like your work, not a bank statement.
content/site.json:6 Kiln Invoice helps ceramic studios, woodshops and small…
content/site.json:11 Built for how workshops actually get paid
content/site.json:13 Estimates that turn into invoices in one click
content/site.json:15 Payment reminders that go out on a schedule you set
content/site.json:16 A client list you can search by job, not just by name
content/site.json:58 We used to write estimates in a notebook and then retyp…
content/site.json:63 The deposit link is what I send after a studio visit. C…
content/site.json:68 I switched from a generic invoice tool because the PDFs…
content/site.json:76 Book a 20-minute walkthrough or write to hello@kilninvo…
content/site.json:84 Questions? Email support@kilninvoice.example. We answer…
SUMMARY
locked 0
editable 22
lock rate 0% of 22 business facts
edit path: change a content file, then publish
0 facts locked in component source. 22 facts in content/site.json. Lock rate 0 percent. The edit path: "change a content file, then publish."
The after count is 22, not 23, because the before fixture had a single JSX line that assembled the product name and the address ("Kiln Invoice, 414 Clay Street, Portland, OR 97214"). After the move, those are two fields, and the assembled line is no longer a literal. The hard facts — four prices, four emails, two phone forms, one street address — are a one-to-one match.
This is not a full CMS. There is still a publish step. The difference is that the publish step does not require someone to touch a component, and a price cannot exist in two literals that disagree.
If I were handed a vibe-coded marketing site tomorrow, I would run this scan before I pointed a domain at it, and I would treat anything in the locked column as work:
tel: hrefs and If you already have a CMS, the scanner should come back quiet on the components. If it does not, you have facts that bypassed the CMS.
A site built with an AI website builder still has to pass this test. The builder is doing the right kind of work if marketing can change a price or a paragraph without opening a component, and if the same change can flow into the pages you already published. Generating the first version is the cheap part. Being able to edit the facts later is the part that decides whether the site stays accurate.
If a non-engineer will change a fact this quarter, it should not live in a component. Run the scanner on your own tree. If the lock rate is 100 percent, you do not have a CMS. You have a repo, and you are the only person who can update the site.