Phase 3 part 6: briefs and pages

A brief for a search (a new page) or a page (a rewrite) starts from what
Search Console shows the page for, reads the live top 5 with Claude's web
search (unread results marked, never guessed), and gives the title,
description, H1, angle, sections, questions, internal links to pages we
have, and the questions only the owner can answer. The page is drafted
around those answers, with no invented tests, prices or customers; every
sentence claiming an experience must be confirmed before a pull request
adds or rewrites the page, checked with a Hugo build. Merged pages are
followed to the live site. Schema 17.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 08:18:49 -07:00
co-authored by Claude Opus 5.5
parent c0a5ddf77f
commit 68c224f51b
19 changed files with 1440 additions and 22 deletions
+27
View File
@@ -905,6 +905,33 @@ into `main`.
tried", "in our test") for the user to confirm.
- Pages can be tagged with a buying signal (Phase 2's campaign tags), so
landing pages count on its scorecard.
- **Built 2026-11-22** (schema 17: `seo_briefs`):
- **The brief.** `Writer.NewBrief` handles a picked search (a new
page) or an existing page (a rewrite; the search defaults to its
biggest). It reads the page and its 90-day Search Console searches,
then makes one Claude research call (at most 5 web searches). That
call returns the finding, the top 5 (each with what it promises,
what it lacks, and whether it was read), and the plan: title,
description, H1, angle, sections, questions, internal links (kept
only when they point to our pages), needs, and "ask", the questions
only the owner can answer. A result not among the pages searched
is marked unread.
- **The page.** `WritePage` refuses until every question is answered.
It drafts Markdown from the brief and the answers (plus the
current text for a rewrite), with experience only from the
answers and "not tested" said plainly. `Claims` flags sentences
like "we tested…", "in our test" or "after two months".
- **The pull request.** `ApplyBrief` needs every flagged claim
confirmed. It writes a new content file (YAML front matter: title,
description, date), or for a rewrite replaces the body and sets
title and description. It checks with a Hugo build that the page
exists, then pushes `supermarket/page-<id>` and opens a pull
request listing the confirmed claims and what's still to add by
hand.
- **Following up.** `RefreshBriefs` follows the merge, then the live
page. Entry points: a pick on Next keywords, *Push* on What ranks,
and SEO → Briefs and pages.
- Tagging a page with a signal is left for Phase 5's pages.
7. **Bing and IndexNow:**
- Bing Webmaster's API, for Bing's queries and crawl problems.
- IndexNow on every merge.