Phase 0: turn Supermarket into a Dockerized local web app

Replace the old Go TUI with a web app (port 8470) that runs in a
container as a CoreDesktop sibling:

- cmd/supermarket server with htmx web UI: dashboard, company profile,
  inventory (partners/competitors), AI and credential settings, and a
  Core & Hermes page
- SQLite storage and a secrets store under ~/.local/share/supermarket
- AI providers (Anthropic, OpenAI-compatible) behind one interface
- MCP server and a Hermes bridge to the Federated Core MCP hub
- Import of the old Coremarketing TUI's state
- install.sh / update.sh / lib.sh, Dockerfile, compose.yaml, the
  bin/supermarket launcher and hermes/setup.sh

Posting is not wired back up yet; that comes in Phase 1. See PLAN.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 08:38:09 -07:00
co-authored by Claude Opus 5.5
parent 4d304cd65b
commit d039484a4a
68 changed files with 6288 additions and 2914 deletions
+10 -5
View File
@@ -1,11 +1,16 @@
# Real credentials live here — copy config.example.yaml instead
# Supermarket keeps all its data outside the repository, in
# ~/.local/share/supermarket. These guard against copies landing here.
config.yaml
# Runtime data written next to the config file
secrets.json
mcp-token
compose.env
*.db
*.db-shm
*.db-wal
state.json
posts.json
dismissed.json
coremarketing.log
*.log
# Build output
/coremarketing
/supermarket