PLAN and TEST: Phase 7 built, and its checks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 07:25:32 -07:00
co-authored by Claude Opus 5.5
parent fdfbcd3d3d
commit e0e74af86c
2 changed files with 192 additions and 137 deletions
+15
View File
@@ -1588,6 +1588,21 @@ Not tried for real: it waits on LinkedIn approving the page app.
### Phase 7: What to write next, from what converts ### Phase 7: What to write next, from what converts
**Built 2026-11-24** on branch `phase7`, a commit per part (e987108,
77f6e1e, 855615a, 5705a9b, fdfbcd3). Notes from building it:
- Federated's Plausible has visits by entry page for about 30 days, so the
90-day figures cover what's there.
- The suggested sign-ups were the two `/signup` links people clicked
(enterprise. and cloud.federated.computer); no page reaches the flags
yet.
- The landing pages for Education, Distributed teams and SaaS costs top
the list: their signals had 134, 30 and 14 replies in 90 days.
- Replies are read without the quoted message and "Sent from…" lines (an
"Outlook" suggestion came from signatures before that).
- No section is suggested yet: the questions and comparisons people search
("what is headscale", "gitea vs github") land on the app pages, which
are Markdown, not sections.
**Planned 2026-11-24**, after comparing SEO with ChatSEO (which drafts **Planned 2026-11-24**, after comparing SEO with ChatSEO (which drafts
whole pages from Search Console alone). Supermarket already suggests whole pages from Search Console alone). Supermarket already suggests
title changes (Changes), rewrites (What ranks → brief), new keywords title changes (Changes), rewrites (What ranks → brief), new keywords
+177 -137
View File
@@ -5,41 +5,43 @@ each part works and feels right. Tick a box when the step behaves as
described. Where it doesn't, write down what you saw next to it (the page, described. Where it doesn't, write down what you saw next to it (the page,
what you clicked, the message shown) and bring it back as a fix. what you clicked, the message shown) and bring it back as a fix.
Items marked **(costs)** spend money or credits: Anthropic web searches, Items marked **(costs)** spend money or credits: AI calls (writing pages,
Hunter.io credits, or real posts and emails that people will see. Items web searches), Hunter.io credits. Items marked **(real)** do something
marked **(real)** do something outside the app that can't be undone. outside the app that people can see or that can't simply be undone: posts
Leave them for last, or skip them. and emails, pushes and pull requests on your Gitea, restores. Leave them
for last, or skip them. Before a session, make a backup:
`supermarket backup "before testing"`.
Throughout, also notice: Throughout, also notice:
- [ ] Every page loads without an error, in both light and dark mode - [x] Every page loads without an error, in both light and dark mode
(follows the system setting). (follows the system setting).
- [ ] The sidebar shows where you are, and the Review and Outreach counts - [x] The sidebar shows where you are, and the Posts, Review and Outreach
match what's on those pages. counts match what's on those pages.
- [ ] After every Save or action, a short message confirms it at the top of - [ ] After every Save or action, a short message confirms it at the top of
the page. A failure says what went wrong in plain words. the page. A failure says what went wrong in plain words.
- [ ] Slow buttons (fetching, writing, searching, sending) change their - [ ] Slow buttons (fetching, writing, searching, sending) change their
label while they work and can't be clicked twice. label while they work and can't be clicked twice.
- [ ] On a narrow window, the menu button opens and closes the sidebar. - [x] On a narrow window, the menu button opens and closes the sidebar.
- [ ] Press `/` anywhere: the search box takes focus. - [x] Press `/` anywhere: the search box takes focus.
## 1. Install, launch and the command ## 1. Install, launch and the command
- [ ] `supermarket status` says it's running, with the version. - [x] `supermarket status` says it's running, with the version.
- [ ] `supermarket` (or the Supermarket icon in the app grid) opens the app - [ ] `supermarket` (or the Supermarket icon in the app grid) opens the app
in the browser. in the browser.
- [ ] `supermarket stop`, then `supermarket start`: the app stops, then comes - [x] `supermarket stop`, then `supermarket start`: the app stops, then comes
back with the same data. back with the same data.
- [ ] `supermarket logs` follows the log; Ctrl-C ends it. - [x] `supermarket logs` follows the log; Ctrl-C ends it.
- [ ] `supermarket data` prints `~/.local/share/supermarket`. - [x] `supermarket data` prints `~/.local/share/supermarket`.
- [ ] After a reboot, the app is running again without you starting it. - [ ] After a reboot, the app is running again without you starting it.
- [ ] Opening the app from another machine on the network fails: it only - [x] Opening the app from another machine on the network fails: it only
answers at localhost. answers at localhost.
## 2. Overview ## 2. Overview
- [ ] The overview lists the modules. Content and Prospects open; SEO, - [x] The overview lists the five modules (Content, Prospects, SEO,
Metrics and Sites are marked as later phases. Metrics, Sites), each opening its own pages.
- [ ] Its Setup list (AI, social accounts, Core, Hermes and so on) matches - [ ] Its Setup list (AI, social accounts, Core, Hermes and so on) matches
what you've set up, and each missing step links to where to do it. what you've set up, and each missing step links to where to do it.
@@ -55,22 +57,22 @@ Throughout, also notice:
- [ ] With the AI set up, *Draft from website* fills in the profile from - [ ] With the AI set up, *Draft from website* fills in the profile from
your site. Review every field before saving. your site. Review every field before saving.
- [ ] Name, description, positioning, voice, words to avoid, products, - [x] Name, description, positioning, voice, words to avoid, products,
targets (industries, sizes, roles, regions, problems, buying targets (industries, sizes, roles, regions, problems, buying
signals), websites and accounts all save and show again on reload. signals), websites and accounts all save and show again on reload.
- [ ] Removing a product or website and saving removes it. - [ ] Removing a product or website and saving removes it.
### Social accounts ### Social accounts
- [ ] Each network shows whether its keys are saved, without showing them. - [x] Each network shows whether its keys are saved, without showing them.
- [ ] *Connect* for X and for LinkedIn signs you in and comes back saying - [ ] *Connect* for X and for LinkedIn signs you in and comes back saying
it's connected. X's callback must be `127.0.0.1`, not `localhost`. it's connected. X's callback must be `127.0.0.1`, not `localhost`.
- [ ] LinkedIn shows when its 60-day sign-in runs out. - [x] LinkedIn shows when its 60-day sign-in runs out.
- [ ] Removing a key (the *remove* box, then Save) removes it. - [ ] Removing a key (the *remove* box, then Save) removes it.
### LinkedIn page ### LinkedIn page
- [ ] Settings → Social accounts has a *LinkedIn page* card with its own - [x] Settings → Social accounts has a *LinkedIn page* card with its own
redirect URL (…/auth/linkedin-page/callback). redirect URL (…/auth/linkedin-page/callback).
- [ ] Once LinkedIn approves the page app (Community Management API), save - [ ] Once LinkedIn approves the page app (Community Management API), save
its client ID and secret and *Connect LinkedIn page*: the pages you its client ID and secret and *Connect LinkedIn page*: the pages you
@@ -80,32 +82,32 @@ Throughout, also notice:
- [ ] Choose "New LinkedIn drafts post as: The company page": new LinkedIn - [ ] Choose "New LinkedIn drafts post as: The company page": new LinkedIn
drafts in Posts show *Post as: <the page>*; switch one to *You* and drafts in Posts show *Post as: <the page>*; switch one to *You* and
save. save.
- [ ] Publish a draft as the page: it appears on the company page, not your - [ ] **(real)** Publish a draft as the page: it appears on the company
profile; one as you still goes to your profile. page, not your profile; one as you still goes to your profile.
- [ ] Two weeks before the page sign-in expires, the Overview and Posts - [ ] Two weeks before the page sign-in expires, the Overview and Posts
remind you. remind you.
### Core & Hermes ### Core & Hermes
- [ ] It shows your Core's domain, email and name from `core.conf`. - [x] It shows your Core's domain, email and name from `core.conf`.
- [ ] The service checks (Nextcloud, EspoCRM and others) show which answer. - [x] The service checks (Nextcloud, EspoCRM and others) show which answer.
- [ ] The Hermes section shows whether the bridge is set up, when Hermes - [x] The Hermes section shows whether the bridge is set up, when Hermes
last checked in, and how to repair it (`supermarket hermes`). last checked in, and how to repair it (`supermarket hermes`).
### Lead sources ### Lead sources
- [ ] origami.chat and explee.com keys save. *Test* says the key works; - [x] origami.chat and explee.com keys save. *Test* says the key works;
for origami.chat it also shows what its API sends. for origami.chat it also shows what its API sends.
- [ ] The Hunter.io key saves, and *Test* shows your plan and the credits - [x] The Hunter.io key saves, and *Test* shows your plan and the credits
left (free). left (free).
- [ ] Ticking departments and seniority, and choosing how many people a - [x] Ticking departments and seniority, and choosing how many people a
company, saves and shows again on reload. company, saves and shows again on reload.
### Email ### Email
- [ ] The suggested mail server is `mail.` plus your Core's domain, and - [x] The suggested mail server is `mail.` plus your Core's domain, and
the From address is your Core email. the From address is your Core email.
- [ ] Saving hours that end before they start is refused with a message. - [x] Saving hours that end before they start is refused with a message.
- [ ] After saving the password, *Check the settings* shows a green line - [ ] After saving the password, *Check the settings* shows a green line
for sending and for reading replies, and your domain's SPF, DKIM for sending and for reading replies, and your domain's SPF, DKIM
and DMARC records. Note any red lines. and DMARC records. Note any red lines.
@@ -114,41 +116,40 @@ Throughout, also notice:
### AI ### AI
- [ ] It shows which key is used: Hermes' shared key, or one saved here. - [x] It shows which key is used: Hermes' shared key, or one saved here.
- [ ] *Test* gets an answer from the model. - [x] *Test* gets an answer from the model.
- [ ] A different model per task (profile, content, prospects, outreach) - [ ] A different model per task (profile, content, prospects, outreach)
saves and is used. saves and is used.
- [ ] With an OpenAI-compatible server, *List its models* lists them. - [ ] With an OpenAI-compatible server, *List its models* lists them.
### Backups ### Backups
- [ ] Settings → Backups lists the backups, newest first, with when, why - [x] Settings → Backups lists the backups, newest first, with when, why
(by you, daily, before an update, before a restore, an older copy), (by you, daily, before an update, before a restore, an older copy),
size and schema. size and schema.
- [ ] *Back up now* with a note adds one at the top, named with the note. - [x] *Back up now* with a note adds one at the top, named with the note.
- [ ] *Download* saves a file that opens with `sqlite3` (`.tables` lists - [x] *Download* saves a file that opens with `sqlite3` (`.tables` lists
Supermarket's tables); there's no `secrets.json` content in it. Supermarket's tables); there's no `secrets.json` content in it.
- [ ] *Delete* asks first, then removes it from the list and the folder. - [x] *Delete* asks first, then removes it from the list and the folder.
- [ ] A daily backup appears once a day while the app runs, never twice - [ ] A daily backup appears once a day while the app runs, never twice on
on one day; after more than a week, older dailies thin out to one a one day; after more than a week, older dailies thin out to one a week.
week.
- [ ] Updating Supermarket to a version with a database change makes a - [ ] Updating Supermarket to a version with a database change makes a
"Before an update" backup first. "Before an update" backup first.
- [ ] `supermarket backup "a note"` and `supermarket backups` work from a - [ ] `supermarket backup "a note"` and `supermarket backups` work from a
terminal; with the app stopped they say to start it. terminal; with the app stopped they say to start it.
- [ ] The old `app.db.pre-*` files are gone from the data folder and listed - [ ] The old `app.db.pre-*` files are gone from the data folder and listed
as "An older copy". as "An older copy".
- [ ] *Restore* on a backup asks first; then the page says it's restarting - [ ] **(real)** *Restore* on a backup asks first; then the page says it's
and reloads by itself within about ten seconds, showing "Restored restarting and reloads by itself within about ten seconds, showing
from …" and the backup of what was there before. Data made after the "Restored from …" and the backup of what was there before. Data made
backup is gone; data from before it is back. after the backup is gone; data from before it is back.
- [ ] A backup from a newer Supermarket (a higher schema) has no *Restore* - [ ] A backup from a newer Supermarket (a higher schema) has no *Restore*
button; `supermarket restore` refuses it with a reason. button; `supermarket restore` refuses it with a reason.
- [ ] *Upload* a downloaded `.db`: it's checked and listed ("uploaded …"); - [x] *Upload* a downloaded `.db`: it's checked and listed ("uploaded …");
a file that isn't a Supermarket database is refused. a file that isn't a Supermarket database is refused.
- [ ] `supermarket restore <name>` (a name from `supermarket backups`) and - [ ] **(real)** `supermarket restore <name>` (a name from `supermarket
`supermarket restore ~/Downloads/<file>.db` both work and restart the backups`) and `supermarket restore ~/Downloads/<file>.db` both work
app. and restart the app.
- [ ] `supermarket backup --with-secrets` makes a `.tar.gz` in the backups - [ ] `supermarket backup --with-secrets` makes a `.tar.gz` in the backups
folder (only you can read it) and warns about it; on another computer folder (only you can read it) and warns about it; on another computer
`supermarket restore <file>.tar.gz` brings back the data and the keys `supermarket restore <file>.tar.gz` brings back the data and the keys
@@ -156,12 +157,12 @@ Throughout, also notice:
## 4. Inventory ## 4. Inventory
- [ ] Add a partner and a competitor by hand, with websites, feeds, X - [x] Add a partner and a competitor by hand, with websites, feeds, X
handle and mention policy. They save and show in the list. handle and mention policy. They save and show in the list.
- [ ] With the AI set up, *Fill in the empty boxes* on an entry drafts the - [ ] With the AI set up, *Fill in the empty boxes* on an entry drafts the
rest from its website. rest from its website.
- [ ] Edit and delete an entry. - [x] Edit and delete an entry.
- [ ] *Export*, then *Import* the file again: nothing is duplicated. - [x] *Export*, then *Import* the file again: nothing is duplicated.
## 5. Content ## 5. Content
@@ -169,14 +170,14 @@ Throughout, also notice:
- [ ] *Fetch* on an inventory entry finds new items from its feeds and - [ ] *Fetch* on an inventory entry finds new items from its feeds and
sitemap, and the list shows when it was last checked. sitemap, and the list shows when it was last checked.
- [ ] Items can be dismissed and restored. - [x] Items can be dismissed and restored.
- [ ] Your own products (`/content/own`) show your sites' and feeds' new - [ ] Your own products (`/content/own`) show your sites' and feeds' new
pages. pages.
### Drafting and posts ### Drafting and posts
- [ ] Select one or more items, choose channels (X, LinkedIn, Reddit) and - [ ] **(costs)** Select one or more items, choose channels (X, LinkedIn,
*Write drafts*. Drafts appear in Posts. Reddit) and *Write drafts*. Drafts appear in Posts.
- [ ] Each draft follows the profile's voice, avoids the listed words, - [ ] Each draft follows the profile's voice, avoids the listed words,
and makes no claims beyond the source. The X draft fits the and makes no claims beyond the source. The X draft fits the
character limit; the live counter agrees. character limit; the live counter agrees.
@@ -203,24 +204,24 @@ Throughout, also notice:
### Signals ### Signals
- [ ] The scorecard lists each signal with counts for Found, Contacted, - [x] The scorecard lists each signal with counts for Found, Contacted,
Replied, Interested, Booked, Visited, Signed up and Paid, and the Replied, Interested, Booked, Visited, Signed up and Paid, and the
share of contacted at each step. share of contacted at each step.
- [ ] The period and channel filters change the numbers. - [x] The period and channel filters change the numbers.
- [ ] *New signal*: name, status, hypothesis, how to spot it, angle, - [x] *New signal*: name, status, hypothesis, how to spot it, angle,
campaign tag. The tag is made from the name if left empty. campaign tag. The tag is made from the name if left empty.
- [ ] A signal's page shows its funnel by channel, its campaigns and its - [ ] A signal's page shows its funnel by channel, its campaigns and its
latest steps. latest steps.
- [ ] Under Campaigns, assigning an origami.chat or explee.com campaign to - [ ] Under Campaigns, assigning an origami.chat or explee.com campaign to
a signal moves its numbers to that signal. a signal moves its numbers to that signal.
- [ ] *Import now* for each tool brings in new results and says so. Running - [x] *Import now* for each tool brings in new results and says so. Running
it twice adds nothing new. it twice adds nothing new.
- [ ] Deleting a signal asks first; its prospects and results stay, - [x] Deleting a signal asks first; its prospects and results stay,
without a signal. without a signal.
### Finding companies (discovery) ### Finding companies (discovery)
- [ ] Without "How to spot it", the Claude search asks you to fill it in. - [x] Without "How to spot it", the Claude search asks you to fill it in.
- [ ] **(costs)** *Search the web now*: the run shows "searching…" and - [ ] **(costs)** *Search the web now*: the run shows "searching…" and
updates by itself. When done, it lists how many companies were added, updates by itself. When done, it lists how many companies were added,
how many were left out and why, and how many web searches it used. how many were left out and why, and how many web searches it used.
@@ -228,25 +229,27 @@ Throughout, also notice:
link to the page that shows the signal. link to the page that shows the signal.
- [ ] **(costs, first 10 free)** *Search explee.com now* with an explee.com - [ ] **(costs, first 10 free)** *Search explee.com now* with an explee.com
description adds only strong matches. description adds only strong matches.
- [ ] Setting *Search automatically* to every 7 days saves. A retired signal - [x] Setting *Search automatically* to every 7 days saves. A retired signal
doesn't run. doesn't run.
### Review ### Review
- [ ] The New, Accepted and Set aside tabs show their counts, and the - [x] The New, Accepted and Set aside tabs show their counts, and the
signal filter narrows them. signal filter narrows them.
- [ ] *Add a prospect* with a company and a person: both appear in New. - [ ] *Add a prospect* with a company and a person: both appear in New.
Adding the same email again doesn't make a duplicate. Adding the same email again doesn't make a duplicate.
- [ ] A prospect that matches a record already in the CRM shows a warning. - [ ] A prospect that matches a record already in the CRM shows a warning.
- [ ] Changing a prospect's signal moves it under that signal on the - [x] Changing a prospect's signal moves it under that signal on the
scorecard. scorecard.
- [ ] *Record an outcome* (e.g. Replied by email, or Paid with an amount) - [x] *Record an outcome* (e.g. Replied by email, or Paid with an amount)
shows on the prospect and on the scorecard; *remove* takes it back. shows on the prospect and on the scorecard; *remove* takes it back.
- [ ] *Set aside*, then *Reconsider*, moves it back and forth. - [x] *Set aside*, then *Reconsider*, moves it back and forth.
- [ ] *Accept* a company: it moves to Accepted as "waiting for Hermes", and - [ ] *Accept* a company: it moves to Accepted as "waiting for Hermes", and
appears on the CRM queue page. appears on the CRM queue page.
- [ ] Accepting a person without a last name explains that EspoCRM needs one. - [ ] Accepting a person with only a first name queues the Lead with that
- [ ] *Suppress* a domain or an address: its new prospects move to Set aside. name as its last name (EspoCRM needs one); a person with no name at
all is refused with a message saying EspoCRM needs a last name.
- [x] *Suppress* a domain or an address: its new prospects move to Set aside.
### Hunter.io ### Hunter.io
@@ -261,10 +264,10 @@ Throughout, also notice:
### Suppression list ### Suppression list
- [ ] Add an email and a domain with a reason; both show in the list. - [x] Add an email and a domain with a reason; both show in the list.
- [ ] Prospects at that address or domain can't be added or accepted, and - [ ] Prospects at that address or domain can't be added or accepted, and
emails to them are refused. emails to them are refused.
- [ ] Removing an entry takes it off the list. - [x] Removing an entry takes it off the list.
### Outreach ### Outreach
@@ -296,13 +299,13 @@ Throughout, also notice:
### CRM queue (EspoCRM through Hermes) ### CRM queue (EspoCRM through Hermes)
- [ ] The page lists queued, done and failed actions, and when Hermes last - [x] The page lists queued, done and failed actions, and when Hermes last
checked in. checked in.
- [ ] *Send a test Lead*, then run the job (the `hermes cron run …` command - [ ] *Send a test Lead*, then run the job (the `hermes cron run …` command
shown on the page): the Lead appears in EspoCRM and the action shows shown on the page): the Lead appears in EspoCRM and the action shows
as done. as done.
- [ ] A failed action shows the error, and *Retry* queues it again. - [ ] A failed action shows the error, and *Retry* queues it again.
- [ ] If EspoCRM can't be reached, the hint says whether the problem is - [x] If EspoCRM can't be reached, the hint says whether the problem is
on the Core's side or Supermarket's. on the Core's side or Supermarket's.
### Website & sales (the end of the funnel) ### Website & sales (the end of the funnel)
@@ -310,16 +313,16 @@ Throughout, also notice:
- [ ] On Content, *For a buying signal* lists your signals. Posts written - [ ] On Content, *For a buying signal* lists your signals. Posts written
for one speak to its situation, and when published their links carry for one speak to its situation, and when published their links carry
`utm_campaign=` the signal's tag. `utm_campaign=` the signal's tag.
- [ ] A signal's page lists the posts written for it, and your websites' - [x] A signal's page lists the posts written for it, and your websites'
addresses tagged with its campaign; *Copy* copies one. addresses tagged with its campaign; *Copy* copies one.
- [ ] Under Settings → Website & sales, Plausible's address is your Core's, - [x] Under Settings → Website & sales, Plausible's address is your Core's,
and the sites listed are your websites' domains. and the sites listed are your websites' domains.
- [ ] With a Plausible Stats API key saved, *Test* shows each site's - [x] With a Plausible Stats API key saved, *Test* shows each site's
visitors in the last 30 days, and *Import now* says how many visitors visitors in the last 30 days, and *Import now* says how many visitors
came on tagged links. came on tagged links.
- [ ] Open a tagged link yourself; the next day (or after *Import now* the - [ ] Open a tagged link yourself; the next day (or after *Import now* the
day after), the signal shows a Visited step for that channel. day after), the signal shows a Visited step for that channel.
- [ ] With a restricted Stripe key saved, *Test* says it can read checkouts - [x] With a restricted Stripe key saved, *Test* says it can read checkouts
and invoices, and whether it's live or test mode. *Sync now* lists and invoices, and whether it's live or test mode. *Sync now* lists
sign-ups and payments, and the customers table fills in. sign-ups and payments, and the customers table fills in.
- [ ] A payment from a prospect's email shows as Paid, with the amount, on - [ ] A payment from a prospect's email shows as Paid, with the amount, on
@@ -389,7 +392,7 @@ Throughout, also notice:
### Changes and pull requests ### Changes and pull requests
- [ ] Under Settings → Search engines, Gitea's address is your Core's; with a - [x] Under Settings → Search engines, Gitea's address is your Core's; with a
token saved, *Test* says the token works and that the website's token saved, *Test* says the token works and that the website's
repository (from the profile) is reachable with push rights. repository (from the profile) is reachable with push rights.
- [ ] SEO → Changes: *Propose changes* writes at most 3, each with the page, - [ ] SEO → Changes: *Propose changes* writes at most 3, each with the page,
@@ -420,7 +423,7 @@ Throughout, also notice:
- [ ] **(costs, up to 3 web searches)** *Read the live top 3* shows three - [ ] **(costs, up to 3 web searches)** *Read the live top 3* shows three
results with what kind of site each is; check them in a private results with what kind of site each is; check them in a private
browser window. A winnable keyword moves up. browser window. A winnable keyword moves up.
- [ ] *Pick this one*, *Dismiss* and *Bring back* move a keyword between the - [x] *Pick this one*, *Dismiss* and *Bring back* move a keyword between the
lists. lists.
### Briefs and pages ### Briefs and pages
@@ -434,7 +437,8 @@ Throughout, also notice:
- [ ] *Write the page* refuses until every question is answered. - [ ] *Write the page* refuses until every question is answered.
- [ ] The drafted page uses your answers, invents no test, price or customer, - [ ] The drafted page uses your answers, invents no test, price or customer,
and says "not tested" where you did. and says "not tested" where you did.
- [ ] Every sentence claiming an experience is listed; *Open a pull request* - [ ] **(real)** Every sentence claiming an experience is listed; *Open a
pull request*
refuses until each is ticked (or removed from the page and saved). refuses until each is ticked (or removed from the page and saved).
- [ ] **(real)** The pull request adds the page (or rewrites the existing one) - [ ] **(real)** The pull request adds the page (or rewrites the existing one)
with its title and description, and says what's still to add by hand. with its title and description, and says what's still to add by hand.
@@ -478,23 +482,23 @@ Throughout, also notice:
- [ ] Metrics shows MRR today, close to Stripe's own MRR figure (Billing → - [ ] Metrics shows MRR today, close to Stripe's own MRR figure (Billing →
Overview). Small differences come from how each counts prorations and Overview). Small differences come from how each counts prorations and
open invoices. open invoices.
- [ ] The month-by-month table's net change adds up: new + expansion + - [x] The month-by-month table's net change adds up: new + expansion +
reactivation − contraction − churn. reactivation − contraction − churn.
- [ ] Open a month: each customer's move is listed with the MRR before - [ ] Open a month: each customer's move is listed with the MRR before
and after; check two of them against the customer in Stripe. and after; check two of them against the customer in Stripe.
- [ ] If billing moved to Stripe partway through, the suggestion to count - [ ] If billing moved to Stripe partway through, the suggestion to count
from that month appears; *Count from …* makes those customers the from that month appears; *Count from …* makes those customers the
starting base, and the suggestion goes away. starting base, and the suggestion goes away.
- [ ] Cohorts start at 100% in their first month. - [x] Cohorts start at 100% in their first month.
### Spend and CAC ### Spend and CAC
- [ ] Metrics → Spend and CAC: origami.chat and explee.com campaign spend - [ ] Metrics → Spend and CAC: origami.chat and explee.com campaign spend
appears in the log on its own (the first time, all of it in the appears in the log on its own (the first time, all of it in the
current month, with a note). current month, with a note).
- [ ] *Add* logs an amount for a month and channel; a bad amount or month - [ ] *Add* logs an amount for a month and channel; a bad amount or month is
is refused. refused.
- [ ] Pasting CSV rows imports them; one bad row imports nothing and names - [x] Pasting CSV rows imports them; one bad row imports nothing and names
the row. the row.
- [ ] CAC for a month is its spend over its new customers (as counted on - [ ] CAC for a month is its spend over its new customers (as counted on
MRR and NRR); months without spend say so instead of showing $0. MRR and NRR); months without spend say so instead of showing $0.
@@ -503,15 +507,14 @@ Throughout, also notice:
### CLV and cohorts ### CLV and cohorts
- [ ] Metrics → CLV and cohorts shows CLV with what it rests on: average - [x] Metrics → CLV and cohorts shows CLV with what it rests on: average per
per customer, gross margin (it changes when you set product customer, gross margin (it changes when you set product margins),
margins), monthly churn and lifetime. Check: CLV = average × margin × monthly churn and lifetime. Check: CLV = average × margin × lifetime.
lifetime.
- [ ] With spend logged, CAC over 12 months and CLV:CAC appear. - [ ] With spend logged, CAC over 12 months and CLV:CAC appear.
- [ ] Revenue by cohort: pick one customer who started alone in a month and - [ ] Revenue by cohort: pick one customer who started alone in a month and
compare the row with what they paid in Stripe, less refunds. A compare the row with what they paid in Stripe, less refunds. A
cohort whose refunds exceed its payments shows a negative amount. cohort whose refunds exceed its payments shows a negative amount.
- [ ] *Gross profit* shows the same table after margin. - [x] *Gross profit* shows the same table after margin.
### Downloads and publishing ### Downloads and publishing
@@ -519,7 +522,7 @@ Throughout, also notice:
spreadsheet, with the same numbers as the page. spreadsheet, with the same numbers as the page.
- [ ] The MRR and NRR page shows churn, CLV, CAC and CLV:CAC above the - [ ] The MRR and NRR page shows churn, CLV, CAC and CLV:CAC above the
chart. chart.
- [ ] Metrics → Publish: choosing what to show and *Save and preview* - [x] Metrics → Publish: choosing what to show and *Save and preview*
changes the preview; no customer is named anywhere in it. changes the preview; no customer is named anywhere in it.
- [ ] **(real)** *Open a pull request* adds the page (or updates it) on the - [ ] **(real)** *Open a pull request* adds the page (or updates it) on the
site's repository, checked with a build; after merging, it's live at site's repository, checked with a build; after merging, it's live at
@@ -527,7 +530,7 @@ Throughout, also notice:
### Customers and the CRM ### Customers and the CRM
- [ ] Before Hermes has copied the CRM, Metrics → Customers and the CRM says - [x] Before Hermes has copied the CRM, Metrics → Customers and the CRM says
no Accounts are copied, and lists every customer with billing. no Accounts are copied, and lists every customer with billing.
- [ ] Once Accounts are copied (after the CRM bridge works), customers are - [ ] Once Accounts are copied (after the CRM bridge works), customers are
matched by stored ID, email or domain; check a few against EspoCRM. matched by stored ID, email or domain; check a few against EspoCRM.
@@ -538,13 +541,13 @@ Throughout, also notice:
- [ ] *add to the CRM* on a paying customer queues an Account on the CRM - [ ] *add to the CRM* on a paying customer queues an Account on the CRM
queue; once Hermes adds it, the customer shows as matched. queue; once Hermes adds it, the customer shows as matched.
## 8a. Sites ## 9. Sites
### Sections and pages ### Sections and pages
- [ ] With no website in the profile, Sites says to add one; with a website - [ ] With no website in the profile, Sites says to add one; with a website
but no Hugo repository, it says to set one. but no Hugo repository, it says to set one.
- [ ] *Read the repository* (needs the Gitea token) shows the website, its - [x] *Read the repository* (needs the Gitea token) shows the website, its
repository and branch, and "Read from the repository just now". repository and branch, and "Read from the repository just now".
- [ ] The latest commits on the published branch match Gitea's. - [ ] The latest commits on the published branch match Gitea's.
- [ ] Section types match `layouts/partials/sections/` (helpers like head, - [ ] Section types match `layouts/partials/sections/` (helpers like head,
@@ -559,11 +562,11 @@ Throughout, also notice:
### Previews ### Previews
- [ ] Sites → Previews lists the repository's branches, the published one - [x] Sites → Previews lists the repository's branches, the published one
first and marked *published*, each with its latest commit. first and marked *published*, each with its latest commit.
- [ ] *Build preview* on the published branch says "Built just now"; - [ ] *Build preview* on the published branch says "Built just now";
*Open preview* opens the site in a new tab, looking like the live one. *Open preview* opens the site in a new tab, looking like the live one.
- [ ] Links in the preview (menus, buttons, images) stay under - [x] Links in the preview (menus, buttons, images) stay under
`/preview/…`; none lead to Supermarket's own pages. `/preview/…`; none lead to Supermarket's own pages.
- [ ] A branch with a draft page (e.g. a Supermarket pull request) shows the - [ ] A branch with a draft page (e.g. a Supermarket pull request) shows the
draft in its preview. draft in its preview.
@@ -572,16 +575,18 @@ Throughout, also notice:
- [ ] A branch that doesn't build shows Hugo's error, and the last good - [ ] A branch that doesn't build shows Hugo's error, and the last good
preview still opens. preview still opens.
- [ ] *Delete* removes the preview; its address then says there's none. - [ ] *Delete* removes the preview; its address then says there's none.
- [ ] Plausible doesn't count visits to a preview. - [x] Plausible doesn't count visits to a preview.
### New pages ### New pages
- [ ] Sites → New pages offers the five kinds, and lists your products, - [x] Sites → New pages offers the eight kinds (landing, product,
competitors (from the Inventory), buying signals and SEO briefs for alternative, comparison, blog, home, about, contact), and lists your
new pages. products, competitors (from the Inventory), buying signals and SEO
- [ ] *Build the page* for a landing page takes a minute or two and opens briefs for new pages.
the page: a title under 60 characters, a description, an address - [ ] **(costs)** *Build the page* for a landing page takes a minute or two
like the site's others, and sections made only of the site's types. and opens the page: a title under 60 characters, a description, an
address like the site's others, and sections made only of the site's
types.
- [ ] Compare the YAML with a real page on the site: same field names, - [ ] Compare the YAML with a real page on the site: same field names,
same shapes (CTAs with label, url, style). same shapes (CTAs with label, url, style).
- [ ] Nothing in it is invented: no customers, quotes, numbers or prices - [ ] Nothing in it is invented: no customers, quotes, numbers or prices
@@ -595,22 +600,24 @@ Throughout, also notice:
names it, and *Push and preview* refuses until it's fixed. names it, and *Push and preview* refuses until it's fixed.
- [ ] A link to a page that doesn't exist, or a field the type doesn't use, - [ ] A link to a page that doesn't exist, or a field the type doesn't use,
shows under "To look at". shows under "To look at".
- [ ] *Write it again* with new notes keeps your edits as its starting - [ ] **(costs)** *Write it again* with new notes keeps your edits as its
point and changes what the notes ask. starting point and changes what the notes ask.
- [ ] *Push and preview* puts it on `supermarket/site-page-<n>` on Gitea - [ ] **(real)** *Push and preview* puts it on `supermarket/site-page-<n>`
(no pull request) and opens a preview that looks like the site. on Gitea (no pull request) and opens a preview that looks like the
site.
- [ ] Sentences claiming experience must be ticked before *Open a pull - [ ] Sentences claiming experience must be ticked before *Open a pull
request*; the pull request lists them, the to-dos and the build check. request*; the pull request lists them, the to-dos and the build check.
- [ ] After merging on Gitea, the page shows *merged* and can't be edited. - [ ] After merging on Gitea, the page shows *merged, not live yet*, then
*live* once the site has deployed, and can't be edited any more.
- [ ] *Delete* forgets it here; the branch and pull request stay on Gitea. - [ ] *Delete* forgets it here; the branch and pull request stay on Gitea.
### Landing pages per signal ### Landing pages per signal
- [ ] A signal's page has a *Landing pages* section; with none, it says so - [ ] **(costs)** A signal's page has a *Landing pages* section; with none,
and offers *Build a landing page for it*, which opens the new page it says so and offers *Build a landing page for it*, which opens the
with the signal set. new page with the signal set.
- [ ] Once its pull request is merged on Gitea, the signal's page shows it - [ ] Once its pull request is merged and deployed, the signal's page shows
as merged, with its live address and its visitors over 30 days (match it as live, with its live address and its visitors over 30 days (match
them against Plausible's page report). them against Plausible's page report).
- [ ] The scorecard shows "1 page" (or more) next to the signal. - [ ] The scorecard shows "1 page" (or more) next to the signal.
- [ ] *Duplicate as a variant* makes variant B at the original's address - [ ] *Duplicate as a variant* makes variant B at the original's address
@@ -619,10 +626,10 @@ Throughout, also notice:
- [ ] With notes ("a shorter page, price in the hero"), the variant is - [ ] With notes ("a shorter page, price in the hero"), the variant is
rewritten to match; without, it's an exact copy to edit. rewritten to match; without, it's an exact copy to edit.
- [ ] *Close the pull request* closes it on Gitea without merging. - [ ] *Close the pull request* closes it on Gitea without merging.
- [ ] *Remove from the site* opens a pull request that deletes only that - [ ] **(real)** *Remove from the site* opens a pull request that deletes
page's file; merged, the page shows *removed* and the scorecard only that page's file; merged, the page shows *removed* and the
stops counting it. Closing that pull request instead puts it back to scorecard stops counting it. Closing that pull request instead puts it
*merged*. back to *merged*.
### Publishing ### Publishing
@@ -645,28 +652,29 @@ Throughout, also notice:
### Lead forms ### Lead forms
- [ ] Sites → Lead forms says how the forms send today (an email), and - [x] Sites → Lead forms says how the forms send today (an email), and
lists the pages with a form (/churches/, /partners/, /saas-savings/). lists the pages with a form (/churches/, /partners/, /saas-savings/).
- [ ] Following the steps, create a Lead Capture in EspoCRM with the - [ ] Following the steps, create a Lead Capture in EspoCRM with the
payload fields listed; paste its API URL and *Save and test*: it payload fields listed; paste its API URL and *Save and test*: it
says the site may post to it, and no Lead appears in EspoCRM. says the site may post to it, and no Lead appears in EspoCRM.
- [ ] A wrong address (not …/api/v1/LeadCapture/…) is refused. - [x] A wrong address (not …/api/v1/LeadCapture/…) is refused.
- [ ] *Open the pull request*: on Gitea it changes `hugo.toml`, the form - [ ] **(real)** *Open the pull request*: on Gitea it changes `hugo.toml`,
section and adds `static/js/supermarket-leads.js`; preview it under the form section and adds `static/js/supermarket-leads.js`; preview it
Sites → Previews. under Sites → Previews.
- [ ] After merging, send a form on the live site from a link tagged with a - [ ] **(real)** After merging, send a form on the live site from a link
signal (`?utm_campaign=<signal>`): EspoCRM gets a Lead with the name tagged with a signal (`?utm_campaign=<signal>`): EspoCRM gets a Lead
split, the email and organization, and the form, page and campaign with the name split, the email and organization, and the form, page
in its description. The page says "Connected". and campaign in its description. The page says "Connected".
- [ ] With a `Lead` goal added in Plausible, the next day's import counts - [ ] With a `Lead` goal added in Plausible, the next day's import counts
it as *interested* on the signal; Lead forms lists it. it as *interested* on the signal; Lead forms lists it.
### A new site ### A new site
- [ ] Create an empty repository in Gitea (no README). On Sites → New site, - [ ] **(real)** Create an empty repository in Gitea (no README). On
Sites → New site,
fill in the repository, address, name, tagline, email, colors, font; fill in the repository, address, name, tagline, email, colors, font;
*Start the site*. *Start the site*.
- [ ] A repository that isn't empty, a non-https address or a bad color is - [x] A repository that isn't empty, a non-https address or a bad color is
refused with a reason, and nothing is pushed. refused with a reason, and nothing is pushed.
- [ ] On Gitea, the repository has one commit: `themes/supermarket/`, - [ ] On Gitea, the repository has one commit: `themes/supermarket/`,
`hugo.toml` with your brand, `content/_index.md`, a README. `hugo.toml` with your brand, `content/_index.md`, a README.
@@ -674,9 +682,11 @@ Throughout, also notice:
a *First pages* card and the theme's 13 section types. a *First pages* card and the theme's 13 section types.
- [ ] Sites → Previews → build `main`: the starter home page shows in your - [ ] Sites → Previews → build `main`: the starter home page shows in your
colors and font, with your name (or logo) in the top bar. colors and font, with your name (or logo) in the top bar.
- [ ] *Contact page* writes a page with a form; open its pull request, - [ ] **(costs, real)** *Contact page* writes a page with a form; open its
preview it: Contact appears in the top menu. *About page* likewise. pull request, preview it: Contact appears in the top menu. *About
- [ ] *Home page* replaces the starter home page (its file, at /). page* likewise.
- [ ] **(costs, real)** *Home page* replaces the starter home page (its
file, at /).
- [ ] Connect the contact form under Lead forms: the pull request only sets - [ ] Connect the contact form under Lead forms: the pull request only sets
the Lead Capture address (the theme's form is ready). the Lead Capture address (the theme's form is ready).
- [ ] After adding your Gitea deploy hook and merging, the site is live at - [ ] After adding your Gitea deploy hook and merging, the site is live at
@@ -689,22 +699,52 @@ Throughout, also notice:
again: the Theme card names it as changed by hand, and the update's again: the Theme card names it as changed by hand, and the update's
pull request says it will be replaced. pull request says it will be replaced.
## 9. Search ### What converts, and what to write next (Phase 7)
- [ ] Settings → Website & sales → *What counts as a sign-up* lists the
links visitors clicked in the last 30 days, with the sign-up, trial
and checkout ones ticked. Untick one, add your own pattern, save: the
pages' numbers are read again with it.
- [ ] What ranks, the audit and Sites show *Visits* and *Sign-ups* next to
each page; compare one page with Plausible's entry pages (90 days,
the goal filtered to those links).
- [ ] Push pages say how many more sign-ups each would bring, and on whose
rate (its own, or the site's); they're ordered by it.
- [ ] A page with 100+ visits and no sign-up is flagged *traffic, no
sign-ups*; one that converts well but Google hardly shows is flagged
*converts, hardly found*.
- [ ] SEO → What to write next lists at most 10, each with its reason in
numbers. *Set up its landing page* opens New pages with the kind and
the signal chosen; *Propose new wording* writes a change; *Not now*
hides one for 90 days.
- [ ] An app named in two or more replies (not in a signature or a quoted
message) with no page of its own is suggested as a product page, or
an alternative page for something your customers leave.
- [ ] **(costs)** Sites → Sections and pages → *Add a section* on a page:
choose a type and where; the section is written from the page and
its searches, nothing invented, claims to confirm.
- [ ] **(real)** Its pull request changes only that page's file: the new
section in its place, everything else as it was.
## 10. Search
- [ ] Searching for an inventory entry, a fetched item, a post, a prospect - [ ] Searching for an inventory entry, a fetched item, a post, a prospect
(company or person) or a signal finds it, with a link to where it is. (company or person) or a signal finds it, with a link to where it is.
## 10. Agents (MCP) ## 11. Agents (MCP)
- [ ] `supermarket token` prints a token. - [x] `supermarket token` prints a token.
- [ ] Claude Code (`claude mcp list`) shows Supermarket connected, and can - [ ] Claude Code (`claude mcp list`) shows Supermarket connected, and can
list prospects or the CRM queue through it. read the company profile, the inventory and the CRM queue through it
(`profile_get`, `inventory_list`, `crm_pending_actions`).
- [ ] Hermes uses the Supermarket and Core MCP tools in its CRM job. - [ ] Hermes uses the Supermarket and Core MCP tools in its CRM job.
## 11. Data and safety ## 12. Data and safety
- [ ] `~/.local/share/supermarket/secrets.json` is readable only by you - [x] `~/.local/share/supermarket/secrets.json` is readable only by you
(`ls -l`), and no key is ever shown in the app after saving. (`ls -l`), and no key is ever shown in the app after saving.
- [ ] Before a change to the database schema, a backup was made (the - [ ] Before an update that changes the database, Settings → Backups shows
`app.db.pre-*` files), and the app starts on the new schema without a "Before an update" backup, and the app starts on the new schema
losing data. without losing data.
- [x] Backups hold no keys: open one with `sqlite3` and look for a token
you've saved (e.g. `.dump` and search); it isn't there.