Fixes from the second Supermarket run: database versions, health host

The rerun found Supermarket needs PostgreSQL 18 while the Core runs 17.6,
which nothing had shown. The skill now gives the version and says to
check the app's; coreapp status shows the Core's PostgreSQL/MariaDB
version. Deploy's health check sends the app's Host, as traefik does; a
same-version deploy says so. The skill covers making the owner at
startup, building settings in the app's config loader, and checking mail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 18:50:23 -07:00
co-authored by Claude Opus 5.5
parent dca8837487
commit b178b6964e
5 changed files with 78 additions and 13 deletions
+23
View File
@@ -425,6 +425,29 @@ Steps:
to it
- [ ] David: sign in to a `coreapp new --sso` app as admin in a
browser ("the app's admin")
- Run again 2026-12-03 with the updated skill, from a fresh clone (run
1's Supermarket removed from the Core; commit a7777e6 in the new
clone). It followed the new guidance unprompted: `CORE_DOMAIN` for
Core behaviour, `CORE_ADMIN_EMAIL` made owner at startup and on each
Core sign-in, `coreapp signin /signin` pressing the button. It found
what run 1 missed: Supermarket needs PostgreSQL 18 (`LIKE` with its
case-insensitive ICU collation) and the Core's is 17.6, so run 1's
app would have failed on its first search; run 2 used the app's
SQLite in `/data`. Fixed: the skill gives PostgreSQL's version and
says to check the app's before choosing, with a newer server under
"Not available yet" (SQLite in `/data` where the app has it);
`coreapp status` shows the Core's PostgreSQL/MariaDB version;
deploy's health check sends the app's `Host` (an app refusing
unknown hosts passed on a 421 before); a same-version deploy says
"(0.1.0 again, in a new container)"; the skill covers making the
owner at startup, building differently shaped settings in the
app's config loader, and checking mail (no inbox: logs, and the
user)
- [ ] David: what ordinary Core accounts get in an app (run 2 let
any Core account join as a member who can view every module)
- [ ] PostgreSQL 18 on the Core (Federated's), or a minimum version
in coreapp.toml that the installer checks, so an app refuses to
install on an older Core instead of failing later
- [ ] David: the agent's changes, for Supermarket's own repository
(and a login CSRF it noticed in the app's sign-in: its OIDC state
isn't tied to a browser cookie)