Phase 8 part 4: where to win a link

Supermarket looks at each Inventory partner's pages that list providers,
hosts or partners (from their sitemap and home page) and keeps the ones
that list others but not the site; once a month by itself, or on
request. On request (up to 4 web searches), the AI finds lists of
alternatives to a competitor, and each page is read to keep the ones
that name others but not the company. Each opportunity can be marked
asked, won or dismissed; it's marked won when a link from its site shows
up. SEO → Links lists them; open ones join What to write next. Nothing
is sent: asking is the user's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 11:09:03 -07:00
co-authored by Claude Opus 5.5
parent 2fd3e43293
commit c3246bdb67
10 changed files with 597 additions and 2 deletions
+17
View File
@@ -654,6 +654,23 @@ CREATE TABLE backlinks (
note TEXT NOT NULL DEFAULT '',
UNIQUE (site, source_url, target)
);
`,
// 28: places a link could be won: partners' provider pages, lists of
// alternatives to a competitor.
`
CREATE TABLE link_opportunities (
id INTEGER PRIMARY KEY,
site TEXT NOT NULL, -- the website's URL, from the profile
kind TEXT NOT NULL, -- partner, alternatives
about TEXT NOT NULL DEFAULT '', -- the partner or competitor, by name
page_url TEXT NOT NULL,
title TEXT NOT NULL DEFAULT '',
note TEXT NOT NULL DEFAULT '', -- why it's an opportunity
status TEXT NOT NULL DEFAULT 'open', -- open, asked, won, listed, dismissed
found_at TEXT NOT NULL,
updated_at TEXT NOT NULL,
UNIQUE (site, page_url)
);
`,
}