Phase 3 part 5: the next keywords

Candidates a site has no page for, from Search Console searches it ranks
weakly for, the profile's keywords and customers' problems, the signals'
search lines, and competitors' sitemaps; each checked against our own
pages. Buyer searches first. On request, Claude's web search reads the
live top 3 and types each result (big brand, marketplace, forum, small
site), and keywords are ranked by who has to be beaten. Pick, dismiss or
bring back. Schema 16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 08:11:27 -07:00
co-authored by Claude Opus 5.5
parent 438192faba
commit c0a5ddf77f
13 changed files with 846 additions and 2 deletions
+20
View File
@@ -447,6 +447,26 @@ CREATE TABLE seo_changes (
);
CREATE INDEX seo_changes_by_site ON seo_changes (site, id);
CREATE INDEX seo_changes_by_status ON seo_changes (status);
`,
// 16: the next keywords: searches a site has no page for.
`
CREATE TABLE seo_keywords (
id INTEGER PRIMARY KEY,
site TEXT NOT NULL,
keyword TEXT NOT NULL,
intent TEXT NOT NULL DEFAULT 'info', -- buyer, info
sources TEXT NOT NULL DEFAULT '[]', -- where it came from
impressions INTEGER NOT NULL DEFAULT 0, -- Search Console, 90 days
position REAL NOT NULL DEFAULT 0,
shown_on TEXT NOT NULL DEFAULT '',
status TEXT NOT NULL DEFAULT 'new', -- new, picked, dismissed
top TEXT NOT NULL DEFAULT '[]', -- the live top results, when read
top_at TEXT,
searches INTEGER NOT NULL DEFAULT 0, -- web searches used
created_at TEXT NOT NULL,
picked_at TEXT,
UNIQUE (site, keyword)
);
`,
}