lilith-platform.live/deployments/@domains/quinn.api
Natalie a496f08b79 fix: ensure MAC_SYNC_* in quinn-api secrets for cockpit_send (and other mac-sync send paths)
- Add idempotent append in quinn.api/deploy.sh for MAC_SYNC_BASE_URL + SERVICE_TOKEN (matching the pattern used for MODEL_BOSS, ANALYTICS_DB etc.). Old secrets.env files that predated the send support would cause prospect-cockpit /send (and /m/messages/send) to 502 with 'mac_sync_unavailable' / 'MAC_SYNC_URL env var required'.
- Explicitly pass the same MAC_SYNC_* in scripts/run/dev.sh dev:api so local dev quinn.api (on 3040) can exercise scheduled-send / cockpit_send flows against the canonical black mac-sync-server.
- Live hotfix: appended the lines to /etc/quinn-api/secrets.env on black + restarted quinn-api (verified: now present in running process env; end-to-end /my/prospects/.../send now returns scheduledId instead of 502; test row cancelled cleanly via mac-sync admin).

This makes cockpit_send (quinn-prospector) and sibling send surfaces work when the MCP targets the real backend (black:3912 -> localhost:3030 quinn.api).

Refs the exact error from the report.
2026-06-22 01:25:16 -05:00
..
nginx
scripts feat(quinn.www): 🚀 Activate track-B photo origin (black:8081) + reconcile edge 2026-05-31 18:35:23 -06:00
systemd feat(api): black prospector SDK fallback when apricot model-boss is down 2026-06-19 18:59:15 -05:00
.env.example chore(quinn.api): 🔧 Update required env vars in .env.example for quinn.api deployment 2026-06-08 03:19:15 -07:00
deploy.sh fix: ensure MAC_SYNC_* in quinn-api secrets for cockpit_send (and other mac-sync send paths) 2026-06-22 01:25:16 -05:00