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>
This commit is contained in:
2026-11-22 15:30:48 -07:00
co-authored by Claude Opus 5.5
parent 2a605ac265
commit 7da7c5fd9c
9 changed files with 384 additions and 6 deletions
+7
View File
@@ -681,6 +681,13 @@ Throughout, also notice:
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.
## 9. Search