Phase 3 part 2: the morning check and the Monday report

The morning check compares the last 7 days of final Search Console data
with the 7 before, by page and by search, and lists only moves past the
thresholds (editable). Each move is explained from the data: the search
whose clicks changed, and whether a position change is real or a change
in the mix of searches. Missing rows are "no data", not zero. The Monday
report has three numbers with where the change came from, the 3 pages
that moved most, and "Waiting for your yes"; it's written each Monday,
kept, and optionally emailed through the outreach mailbox. Schema 13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 07:23:23 -07:00
co-authored by Claude Opus 5.5
parent 5ea620a091
commit 68ff18690b
17 changed files with 1058 additions and 32 deletions
+21
View File
@@ -726,6 +726,7 @@ into `main`.
- Settings → Search engines: keys, the redirect URI, Connect, and the
property for each website, saved in the profile.
- SEO → What ranks, with a sync twice a day.
Committed as 5ea620a.
2. **Morning check and Monday report (jobs 6 and 7)**, computed in code.
- **Morning check:** the last 7 final days against the 7 before, by
page and by query. It reports only moves past the thresholds (default:
@@ -743,6 +744,26 @@ into `main`.
3. A list called "Waiting for your yes", with at most 3 changes.
- Kept as history, so reports can be compared. Optionally emailed to
the user through the Core's mail server.
- **Built 2026-11-22** (schema 13: `seo_reports`):
- `seo.MorningCheck` compares the last 7 final days with the 7
before, for pages and for searches. Pages that vanished show as
"no data". New ones count once they reach the impressions
threshold.
- A page's move is explained by the search whose clicks changed most,
and a like-for-like position: the searches it had both weeks,
weighted by this week's impressions. When that's under half the
move, the cause is the mix of searches. The search whose
impressions changed most is named.
- `seo.Weekly` writes the three numbers and a sentence on where the
change came from: rank and click rate, or visibility, plus "one
week is not a trend" under 200 clicks. It adds the 3 pages that
moved most, with causes. "Waiting for your yes" holds job 1's
*Push* pages until part 4 brings exact changes.
- Written on Mondays (or when the last report is over a week old),
stored, and optionally emailed through the outreach mailbox
(`outreach.SendToSelf`).
- The thresholds and the email option are under Settings → Search
engines; the pages are SEO → Morning check and Monday report.
3. **Technical audit, weighted by traffic, plus AI visibility.**
- A crawler (within the site's sitemap and links, polite, robots.txt
honoured) checks each page's: