lilith-platform.live/scripts
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
..
run 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
cluster-health.sh feat(prospector-quinn): Introduce AI prospecting tools (heat scoring, reply generation) and Quinn-AI gateway integration, alongside frontend UI updates, backend API refactoring, and infrastructure enhancements for edge-purge and proxy services. 2026-06-10 20:40:01 -07:00
prospector-black-claude-setup.sh fix(scripts): prospector-black-claude-setup verify step token quoting 2026-06-19 21:08:45 -05:00
prospector-health.sh chore(ci): typecheck-all.sh self-reports failing packages 2026-06-19 05:05:39 -05:00
quinn-admin-to-quinn-pg-migrate.ts
sqlite-to-pg-migrate.ts