lilith-platform.live/deployments/@domains/quinn.admin
Natalie c7a56e3588 fix(deploy): make plum the single source of truth for QUINN_MY_SERVICE_TOKEN
Eliminate the service-token split-brain across deploys. Previously the token had
no defined origin: quinn.admin generated its own (openssl rand) into admin
secrets, while quinn.my/quinn.ai read it from vps SSO secrets, and quinn.sso
never managed it (so the "re-run quinn.sso deploy to generate it" errors were
false). Any divergence 401'd service-to-service calls.

New model: the deploy host (plum) owns one 0600 file
($HOME/.config/quinn-secrets/quinn-my.service-token); quinn.sso deploy seeds it
into vps SSO secrets (the distribution point), and my/admin read it from there.
The black gateway reads the plum file directly (no local SSO secrets) — already
shipped in quinn.mcp/deploy.

- quinn.sso/deploy.sh: inject the plum token into the provisioning heredoc
  (bash -s -- "$tok") and upsert QUINN_MY_SERVICE_TOKEN into SSO secrets.
- quinn.admin/deploy.sh: stop self-generating; read from SSO secrets + upsert
  every deploy (matches quinn.my).
- quinn.my/deploy.sh: correct the now-accurate comment/error wording.

Out of scope: quinn.ai (uses only JWT_SECRET), hotel-scout/price-watcher
(not deployed; manual CHANGE_ME envs).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 23:20:23 -04:00
..
data infra(quinn-admin): 🧱 Add .gitkeep file to track empty quinn.admin/data directory for Git tracking during deployments 2026-04-04 15:58:16 -07:00
e2e test(quinn.admin/e2e): make API boot timeout configurable 2026-06-21 16:20:17 -05:00
nginx feat(quinn.admin): serve main-branch dev preview on black without SSO 2026-06-21 23:38:06 -05:00
scripts breaking(api): 💥 Update client entity schema, prospector classification, and admin photo export routes with breaking changes 2026-06-10 14:58:14 -07:00
BACKUPS.md infra(quinn-admin): 🧱 Update deployment scripts and backup documentation with new steps/clearer procedures 2026-04-18 19:25:57 -07:00
bun.lock breaking(api): 💥 Update client entity schema, prospector classification, and admin photo export routes with breaking changes 2026-06-10 14:58:14 -07:00
deploy-black-dev.sh fix(ci/deploy): local-remote helpers for black-runner deploy jobs 2026-06-24 19:53:37 -04:00
deploy-newsletter.sh deps-upgrade(quinn.admin): ⬆️ Update Bun dependencies and enhance deployment scripts for quinn.admin infrastructure 2026-04-05 15:21:56 -07:00
deploy.sh fix(deploy): make plum the single source of truth for QUINN_MY_SERVICE_TOKEN 2026-06-24 23:20:23 -04:00
package.json test(quinn.admin/e2e): ephemeral-DB smoke gate against consolidated API 2026-06-21 15:08:09 -05:00
playwright.config.ts test(quinn.admin): Update Playwright config and global setup for Quinn Admin E2E tests 2026-04-24 20:04:58 -07:00
services.yaml feat(quinn.admin): serve main-branch dev preview on black without SSO 2026-06-21 23:38:06 -05:00