Files
supermarket/TEST.md
T
davidandClaude Opus 5.5 7da7c5fd9c Phase 6 part 5, step 3: theme updates by pull request
The theme carries a MANIFEST of its files' SHA-256s. A site's Theme card
shows its copy's version against Supermarket's and any files changed by
hand; Update the theme opens a pull request that writes new and changed
files, removes retired ones, rebuilds, and lists what it replaces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:30:48 -07:00

35 KiB
Raw Blame History

Supermarket: a checklist for testing by hand

Work through this in the app at http://localhost:8470 to confirm that 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, what you clicked, the message shown) and bring it back as a fix.

Items marked (costs) spend money or credits: Anthropic web searches, Hunter.io credits, or real posts and emails that people will see. Items marked (real) do something outside the app that can't be undone. Leave them for last, or skip them.

Throughout, also notice:

  • Every page loads without an error, in both light and dark mode (follows the system setting).
  • The sidebar shows where you are, and the Review and Outreach counts match what's on those pages.
  • 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.
  • Slow buttons (fetching, writing, searching, sending) change their label while they work and can't be clicked twice.
  • On a narrow window, the menu button opens and closes the sidebar.
  • Press / anywhere: the search box takes focus.

1. Install, launch and the command

  • supermarket status says it's running, with the version.
  • supermarket (or the Supermarket icon in the app grid) opens the app in the browser.
  • supermarket stop, then supermarket start: the app stops, then comes back with the same data.
  • supermarket logs follows the log; Ctrl-C ends it.
  • supermarket data prints ~/.local/share/supermarket.
  • After a reboot, the app is running again without you starting it.
  • Opening the app from another machine on the network fails: it only answers at localhost.

2. Overview

  • The overview lists the modules. Content and Prospects open; SEO, Metrics and Sites are marked as later phases.

  • 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.

  • In the sidebar, each module (Content, Prospects, SEO, Metrics, Sites) has a chevron that folds or unfolds its pages. The module you're in is always unfolded; the others stay as you left them, across pages and restarts of the browser. A folded module shows its pages' counts added up (e.g. Prospects' Review and Outreach).

3. Settings

Profile

  • With the AI set up, Draft from website fills in the profile from your site. Review every field before saving.
  • Name, description, positioning, voice, words to avoid, products, targets (industries, sizes, roles, regions, problems, buying signals), websites and accounts all save and show again on reload.
  • Removing a product or website and saving removes it.

Social accounts

  • Each network shows whether its keys are saved, without showing them.
  • 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.
  • LinkedIn shows when its 60-day sign-in runs out.
  • Removing a key (the remove box, then Save) removes it.

LinkedIn page

  • Settings → Social accounts has a LinkedIn page card with its own redirect URL (…/auth/linkedin-page/callback).
  • Once LinkedIn approves the page app (Community Management API), save its client ID and secret and Connect LinkedIn page: the pages you administer are listed (the only one is chosen).
  • If they aren't listed (a permission missing), type the page's number from linkedin.com/company//admin and save.
  • Choose "New LinkedIn drafts post as: The company page": new LinkedIn drafts in Posts show Post as: ; switch one to You and save.
  • Publish a draft as the page: it appears on the company page, not your profile; one as you still goes to your profile.
  • Two weeks before the page sign-in expires, the Overview and Posts remind you.

Core & Hermes

  • It shows your Core's domain, email and name from core.conf.
  • The service checks (Nextcloud, EspoCRM and others) show which answer.
  • The Hermes section shows whether the bridge is set up, when Hermes last checked in, and how to repair it (supermarket hermes).

Lead sources

  • origami.chat and explee.com keys save. Test says the key works; for origami.chat it also shows what its API sends.
  • The Hunter.io key saves, and Test shows your plan and the credits left (free).
  • Ticking departments and seniority, and choosing how many people a company, saves and shows again on reload.

Email

  • The suggested mail server is mail. plus your Core's domain, and the From address is your Core email.
  • Saving hours that end before they start is refused with a message.
  • After saving the password, Check the settings shows a green line for sending and for reading replies, and your domain's SPF, DKIM and DMARC records. Note any red lines.
  • (real) Send a test email arrives in your inbox, from the right name, with the signature under it.

AI

  • It shows which key is used: Hermes' shared key, or one saved here.
  • Test gets an answer from the model.
  • A different model per task (profile, content, prospects, outreach) saves and is used.
  • With an OpenAI-compatible server, List its models lists them.

Backups

  • Settings → Backups lists the backups, newest first, with when, why (by you, daily, before an update, before a restore, an older copy), size and schema.
  • 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 Supermarket's tables); there's no secrets.json content in it.
  • 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 on one day; after more than a week, older dailies thin out to one a week.
  • Updating Supermarket to a version with a database change makes a "Before an update" backup first.
  • supermarket backup "a note" and supermarket backups work from a terminal; with the app stopped they say to start it.
  • The old app.db.pre-* files are gone from the data folder and listed as "An older copy".
  • Restore on a backup asks first; then the page says it's restarting and reloads by itself within about ten seconds, showing "Restored from …" and the backup of what was there before. Data made after the backup is gone; data from before it is back.
  • A backup from a newer Supermarket (a higher schema) has no Restore button; supermarket restore refuses it with a reason.
  • Upload a downloaded .db: it's checked and listed ("uploaded …"); a file that isn't a Supermarket database is refused.
  • supermarket restore <name> (a name from supermarket backups) and supermarket restore ~/Downloads/<file>.db both work and restart the app.
  • supermarket backup --with-secrets makes a .tar.gz in the backups 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 (Settings show them as saved).

4. Inventory

  • Add a partner and a competitor by hand, with websites, feeds, X 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 rest from its website.
  • Edit and delete an entry.
  • Export, then Import the file again: nothing is duplicated.

5. Content

Sources

  • Fetch on an inventory entry finds new items from its feeds and sitemap, and the list shows when it was last checked.
  • Items can be dismissed and restored.
  • Your own products (/content/own) show your sites' and feeds' new pages.

Drafting and posts

  • Select one or more items, choose channels (X, LinkedIn, Reddit) and Write drafts. Drafts appear in Posts.
  • Each draft follows the profile's voice, avoids the listed words, and makes no claims beyond the source. The X draft fits the character limit; the live counter agrees.
  • A competitor set to "category only" is never named.
  • Editing a draft and saving keeps the edit.
  • Links to your own sites get UTM tags when published; other links don't.
  • For Reddit, choosing a subreddit shows its rules, and the draft respects them.

Publishing

  • (real) Publish on an X draft posts it, and it moves to Published with a link to the post.
  • (real) The same for LinkedIn.
  • Reddit: Open in Reddit opens the submit page filled in; Mark as posted moves it to Published.
  • Schedule a draft for a few minutes ahead: it shows under Scheduled, and goes out at that time (in your local time zone).
  • Unschedule puts it back in Posts.
  • A failed publish says why and keeps the draft.

6. Prospects

Signals

  • The scorecard lists each signal with counts for Found, Contacted, Replied, Interested, Booked, Visited, Signed up and Paid, and the share of contacted at each step.
  • The period and channel filters change the numbers.
  • New signal: name, status, hypothesis, how to spot it, angle, 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 latest steps.
  • Under Campaigns, assigning an origami.chat or explee.com campaign to a signal moves its numbers to that signal.
  • Import now for each tool brings in new results and says so. Running it twice adds nothing new.
  • Deleting a signal asks first; its prospects and results stay, without a signal.

Finding companies (discovery)

  • Without "How to spot it", the Claude search asks you to fill it in.
  • (costs) Search the web now: the run shows "searching…" and 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.
  • Each company it added is in Review, tagged with the signal, with a link to the page that shows the signal.
  • (costs, first 10 free) Search explee.com now with an explee.com description adds only strong matches.
  • Setting Search automatically to every 7 days saves. A retired signal doesn't run.

Review

  • The New, Accepted and Set aside tabs show their counts, and the signal filter narrows them.
  • Add a prospect with a company and a person: both appear in New. Adding the same email again doesn't make a duplicate.
  • 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 scorecard.
  • 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.
  • Set aside, then Reconsider, moves it back and forth.
  • Accept a company: it moves to Accepted as "waiting for Hermes", and appears on the CRM queue page.
  • Accepting a person without a last name explains that EspoCRM needs one.
  • Suppress a domain or an address: its new prospects move to Set aside.

Hunter.io

  • (costs, 1 credit when it finds someone) Find people at <domain> adds people under the company, with title, address and confidence, and the card says what it found and the credits used.
  • (costs) Find their email on a person with a name and company fills in the address, or says none was found (free).
  • (costs, ½ credit each) Verify the address, and Verify with Hunter.io for all, mark each address verified, risky, bounces or couldn't be verified.

Suppression list

  • 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 emails to them are refused.
  • Removing an entry takes it off the list.

Outreach

  • Write an email on a person in Review opens Outreach at the new draft. It greets them by first name, gives a reason that matches their signal and company, and invents nothing.
  • Editing the subject and text and Save keeps them.
  • Write a LinkedIn message: the counter shows the length; Copy copies it; Open their profile opens LinkedIn in a new tab.
  • (real) Send it on LinkedIn, then Mark as sent: it moves to Sent and counts as Contacted (LinkedIn) on the scorecard. They replied records a reply and counts as Replied.
  • Queue to send: it moves to Queued. The status line shows how many went out today and whether sending is paused (outside your hours).
  • Back to drafts takes it out of the queue.
  • (real) Queue an email to an address of your own (add yourself as a prospect) and Send now. It arrives with your signature and the opt-out line, a copy is in your Sent folder, and it counts as Contacted (email).
  • (real) Reply to that email. After Check for replies (or within 10 minutes) it shows under Replies with the start of your reply, and counts as Replied.
  • (real) Reply "stop" to another test email: the address goes on the suppression list.
  • Queuing a second email to the same address within two weeks is refused with the date of the first.
  • With more queued than the daily limit, the rest wait for the next day.
  • Draft for several accepted people writes up to 5 drafts.

CRM queue (EspoCRM through Hermes)

  • The page lists queued, done and failed actions, and when Hermes last checked in.
  • 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 as done.
  • A failed action shows the error, and Retry queues it again.
  • If EspoCRM can't be reached, the hint says whether the problem is on the Core's side or Supermarket's.

Website & sales (the end of the funnel)

  • On Content, For a buying signal lists your signals. Posts written for one speak to its situation, and when published their links carry utm_campaign= the signal's tag.
  • A signal's page lists the posts written for it, and your websites' addresses tagged with its campaign; Copy copies one.
  • Under Settings → Website & sales, Plausible's address is your Core's, and the sites listed are your websites' domains.
  • 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 came on tagged links.
  • Open a tagged link yourself; the next day (or after Import now the day after), the signal shows a Visited step for that channel.
  • 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 sign-ups and payments, and the customers table fills in.
  • A payment from a prospect's email shows as Paid, with the amount, on that prospect's signal, and the revenue on the scorecard.
  • (real) A purchase through the shopping cart from a tagged link counts for that signal (once the cart passes the tags to Stripe).
  • With Cal.com's sending address saved under Settings → Email, a booking made through your Cal.com link shows as Booked for the person who booked (after the next inbox read). A cancellation doesn't count.

7. SEO

Search Console and what already ranks

  • Under Settings → Search engines, after saving the Google OAuth client ID and secret, Connect Search Console opens Google's sign-in and comes back saying it's connected, with your account's email.
  • Each website from the profile has a list of your Search Console properties; choosing one and saving keeps it.
  • Sync now reads the data (the first time can take a minute) and shows when it synced and the last day of data.
  • SEO → What ranks shows the last 90 days: compare clicks, impressions and position with Search Console's own Performance report for the same dates. They should match.
  • The best pages and the "shown a lot, hardly clicked" searches match Search Console's Pages and Queries tabs.
  • Each page under Push really sits on page one with few clicks, and the search it names is the one it's shown for most.
  • With several websites, the tabs switch between them.

Morning check and Monday report

  • SEO → Morning check names the two weeks it compares, and its totals match Search Console's Performance report for those dates.
  • Only moves past the thresholds are listed; with nothing past them it says "Nothing real moved". Changing the thresholds under Settings → Search engines changes the list.
  • For a page whose average position jumped, the explanation says whether it really moved on its searches or Google showed it for a different mix; check one against Search Console's Queries tab for that page.
  • A search that disappeared says "no data", not 0.
  • SEO → Monday report: Write it now writes this week's report: the three numbers with the sentence under them, the 3 pages that moved most, and "Waiting for your yes" (at most 3).
  • Earlier reports are listed and open.
  • (real) With Email me the Monday report on and email set up, the report arrives on Monday morning.

Audit

  • SEO → Audit: Audit now shows "auditing…" and the page updates by itself when done (a few minutes).
  • The number of pages read is close to your site's real number of pages (up to 300).
  • Open three issues on different pages and check them on the live page (view source): the title length, a missing description, a broken link, a redirect.
  • With Search Console connected, issues on pages with traffic come first, with their clicks and impressions.
  • "Its title doesn't say what people search" names a search that really is the page's biggest one in Search Console.
  • AI visibility: what it says about robots.txt matches your robots.txt file, and llms.txt is found if you have one.
  • The severity boxes filter the issues.
  • With Also check the speed, the 5 busiest pages get Core Web Vitals.

Changes and pull requests

  • 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 repository (from the profile) is reachable with push rights.
  • SEO → Changes: Propose changes writes at most 3, each with the page, the reason with its numbers, the current and the new wording, and the length in characters and pixels.
  • The new titles say what the page offers, lead with what people search, and claim nothing the page doesn't support ("verified", "best", a year).
  • Save the wording keeps your edit; No moves it to Done as declined.
  • (real) Yes shows "making the pull request…", then a link to a pull request on Gitea. In it, only the page's front matter changed, and the note says the Hugo build checked it.
  • Nothing changed on the published branch until you merge.
  • (real) After you merge and the site deploys, the change shows as merged, then live (within half an hour).
  • A few days later, the change shows the page's numbers before and after.
  • The Monday report's "Waiting for your yes" lists the proposals.

Next keywords

  • SEO → Next keywords: Look for keywords lists candidates, each saying where it came from; buyer searches come first and are marked.
  • None of them is something a page of yours already covers (check two against your site).
  • With competitors (and their websites) in the Inventory, some candidates come from their sitemaps.
  • (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 browser window. A winnable keyword moves up.
  • Pick this one, Dismiss and Bring back move a keyword between the lists.

Briefs and pages

  • (costs, up to 5 web searches) On a picked keyword, Write the brief opens a brief: the live top results (with any it couldn't read marked), the title, description, H1, angle, sections, questions, internal links to pages you really have, and questions only you can answer.
  • For a rewrite (from Push on What ranks, or a page address), the brief starts with what the page is really shown for.
  • Write the page refuses until every question is answered.
  • The drafted page uses your answers, invents no test, price or customer, and says "not tested" where you did.
  • Every sentence claiming an experience is listed; Open a pull request refuses until each is ticked (or removed from the page and saved).
  • (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.
  • (real) After you merge it and the site deploys, the brief shows as live.

Search engines

  • SEO → Search engines shows the sitemaps Search Console has (compare with Search Console → Indexing → Sitemaps).
  • (real) Open the pull request (under "Set the site up") opens a pull request adding the IndexNow key file and a robots.txt naming the sitemap, and turning the sitemap on if the config turned it off; its note says the build produced all three.
  • After it's merged and deployed, the IndexNow key shows as served, and Submit the home page now is accepted.
  • A change or page that goes live afterwards appears in the IndexNow list on its own (within half an hour).
  • With a Bing Webmaster API key saved, Bing's weekly numbers, searches and crawl issues appear.

8. Metrics

Stripe sync

  • With the Stripe key's read access widened (Customers, Invoices, Credit notes, Charges and Refunds, Events), Metrics → Sync now reads your whole history the first time and says so.
  • The counts of customers, invoices, credit notes and refunds match Stripe's dashboard (draft invoices aren't counted).
  • A later Sync now applies only the changes since the last one; a payment or refund made in Stripe shows up within the hour.
  • The currencies listed are the ones you bill in.
  • Gross margin by product lists your Stripe products by name, with what each billed over the last 12 months (compare one with Stripe's reports). Setting a margin and saving keeps it; an empty box shows the default.

MRR, movements and NRR

  • Metrics shows MRR today, close to Stripe's own MRR figure (Billing → Overview). Small differences come from how each counts prorations and open invoices.
  • The month-by-month table's net change adds up: new + expansion + reactivation − contraction − churn.
  • Open a month: each customer's move is listed with the MRR before and after; check two of them against the customer in Stripe.
  • If billing moved to Stripe partway through, the suggestion to count from that month appears; Count from … makes those customers the starting base, and the suggestion goes away.
  • Cohorts start at 100% in their first month.

Spend and CAC

  • 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 current month, with a note).
  • Add logs an amount for a month and channel; a bad amount or month is refused.
  • Pasting CSV rows imports them; one bad row imports nothing and names the row.
  • 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.
  • By channel: a customer who first replied to an outreach email counts under Email; customers with no step before paying count as unknown.

CLV and cohorts

  • Metrics → CLV and cohorts shows CLV with what it rests on: average per customer, gross margin (it changes when you set product margins), monthly churn and lifetime. Check: CLV = average × margin × lifetime.
  • With spend logged, CAC over 12 months and CLV:CAC appear.
  • 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 cohort whose refunds exceed its payments shows a negative amount.
  • Gross profit shows the same table after margin.

Downloads and publishing

  • Each Metrics table's Download as CSV gives a file that opens in a spreadsheet, with the same numbers as the page.
  • The MRR and NRR page shows churn, CLV, CAC and CLV:CAC above the chart.
  • Metrics → Publish: choosing what to show and Save and preview changes the preview; no customer is named anywhere in it.
  • (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 the address chosen.

Customers and the CRM

  • Before Hermes has copied the CRM, Metrics → Customers and the CRM says no Accounts are copied, and lists every customer with billing.
  • Once Accounts are copied (after the CRM bridge works), customers are matched by stored ID, email or domain; check a few against EspoCRM. Gmail-style addresses never match by domain.
  • Where several Accounts fit, they're listed; choosing one by name and Match keeps it, and automatic undoes it.
  • not in the CRM moves a customer out of the "to fix" list.
  • add to the CRM on a paying customer queues an Account on the CRM queue; once Hermes adds it, the customer shows as matched.

8a. Sites

Sections and pages

  • With no website in the profile, Sites says to add one; with a website but no Hugo repository, it says to set one.
  • Read the repository (needs the Gitea token) shows the website, its repository and branch, and "Read from the repository just now".
  • The latest commits on the published branch match Gitea's.
  • Section types match layouts/partials/sections/ (helpers like head, ctas and wrapper aren't listed as types). Open a few: the README's description, the fields in use, and the example match the site.
  • A type no page uses says "not used yet"; a type a page uses with no layout says "no layout".
  • Pages built from sections list their section types in order; their addresses open the live page. Markdown pages are under "other pages".
  • With the Gitea server unreachable, Read it again says the read failed and still shows the last good copy.

Previews

  • Sites → Previews lists the repository's branches, the published one first and marked published, each with its latest commit.
  • Build preview on the published branch says "Built just now"; Open preview opens the site in a new tab, looking like the live one.
  • Links in the preview (menus, buttons, images) stay under /preview/…; none lead to Supermarket's own pages.
  • A branch with a draft page (e.g. a Supermarket pull request) shows the draft in its preview.
  • After new commits on a branch, Read it again on Sections and pages makes the preview say the branch has moved on; Build again fixes it.
  • A branch that doesn't build shows Hugo's error, and the last good preview still opens.
  • Delete removes the preview; its address then says there's none.
  • Plausible doesn't count visits to a preview.

New pages

  • Sites → New pages offers the five kinds, and lists your products, competitors (from the Inventory), buying signals and SEO briefs for new pages.
  • Build the page for a landing page takes a minute or two 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, same shapes (CTAs with label, url, style).
  • Nothing in it is invented: no customers, quotes, numbers or prices you didn't give it. What it couldn't know is listed under "Still to add or check by hand".
  • An alternative or comparison page needs a competitor, and says only what the Inventory says about them.
  • Built from a signal, its links to the site carry utm_campaign=<the signal>&utm_medium=landing.
  • Change a section's type to one the site lacks and Save: the error 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, shows under "To look at".
  • Write it again with new notes keeps your edits as its starting point and changes what the notes ask.
  • Push and preview puts it on supermarket/site-page-<n> on Gitea (no pull request) and opens a preview that looks like the site.
  • Sentences claiming experience must be ticked before Open a pull 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.
  • Delete forgets it here; the branch and pull request stay on Gitea.

Landing pages per signal

  • A signal's page has a Landing pages section; with none, it says so and offers Build a landing page for it, which opens the new page with the signal set.
  • Once its pull request is merged on Gitea, the signal's page shows it as merged, with its live address and its visitors over 30 days (match them against Plausible's page report).
  • The scorecard shows "1 page" (or more) next to the signal.
  • Duplicate as a variant makes variant B at the original's address plus -b; the original is marked A. Its links carry utm_content=<its address>; the original's don't change.
  • With notes ("a shorter page, price in the hero"), the variant is rewritten to match; without, it's an exact copy to edit.
  • Close the pull request closes it on Gitea without merging.
  • Remove from the site opens a pull request that deletes only that page's file; merged, the page shows removed and the scorecard stops counting it. Closing that pull request instead puts it back to merged.

Publishing

  • Right after merging a page's pull request, its page (and Sites → Publishing) shows merged, not live yet with what the last check found (e.g. "it answers 404").
  • Once the deploy has run, the page shows live, "On the live site since…", and its live address; Check the live site now gets there without waiting.
  • If the title on the live site differs, it still shows live, with a note giving the title the site shows.
  • If the deploy doesn't run, after two hours the page says to check the deploy hook.
  • After a removal is merged and deployed, the page shows removed and "Off the live site since…".
  • Sites → Publishing lists recent merged pull requests with who opened them (Supermarket or a person); Supermarket's link to their pages.
  • A page that went live, or was removed, shows up in SEO → Search engines' IndexNow log (when IndexNow is set up).

Lead forms

  • Sites → Lead forms says how the forms send today (an email), and lists the pages with a form (/churches/, /partners/, /saas-savings/).
  • Following the steps, create a Lead Capture in EspoCRM with the 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.
  • A wrong address (not …/api/v1/LeadCapture/…) is refused.
  • Open the pull request: on Gitea it changes hugo.toml, the form section and adds static/js/supermarket-leads.js; preview it under Sites → Previews.
  • After merging, send a form on the live site from a link tagged with a signal (?utm_campaign=<signal>): EspoCRM gets a Lead with the name split, the email and organization, and the form, page and campaign in its description. The page says "Connected".
  • With a Lead goal added in Plausible, the next day's import counts it as interested on the signal; Lead forms lists it.

A new site

  • Create an empty repository in Gitea (no README). On Sites → New site, fill in the repository, address, name, tagline, email, colors, font; Start the site.
  • A repository that isn't empty, a non-https address or a bad color is refused with a reason, and nothing is pushed.
  • On Gitea, the repository has one commit: themes/supermarket/, hugo.toml with your brand, content/_index.md, a README.
  • The site appears in Settings → Profile's websites and on Sites, with a First pages card and the theme's 13 section types.
  • Sites → Previews → build main: the starter home page shows in your colors and font, with your name (or logo) in the top bar.
  • Contact page writes a page with a form; open its pull request, preview it: Contact appears in the top menu. About page likewise.
  • Home page replaces the starter home page (its file, at /).
  • Connect the contact form under Lead forms: the pull request only sets the Lead Capture address (the theme's form is ready).
  • After adding your Gitea deploy hook and merging, the site is live at its address, and Publishing confirms each page.
  • A site made with the theme shows a Theme card: "version 1: the latest". After a Supermarket update with a newer theme, it offers Update the theme; the pull request lists the changed, added and removed files and builds.
  • Edit a file under themes/supermarket/ by hand and read the site again: the Theme card names it as changed by hand, and the update's pull request says it will be replaced.
  • 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.

10. Agents (MCP)

  • supermarket token prints a token.
  • Claude Code (claude mcp list) shows Supermarket connected, and can list prospects or the CRM queue through it.
  • Hermes uses the Supermarket and Core MCP tools in its CRM job.

11. Data and safety

  • ~/.local/share/supermarket/secrets.json is readable only by you (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 app.db.pre-* files), and the app starts on the new schema without losing data.