Commit graph

467 commits

Author SHA1 Message Date
gpt-engineer-app[bot]
7c541f3459 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-30 17:57:46 +00:00
gpt-engineer-app[bot]
9d0e839508 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-30 17:57:38 +00:00
gpt-engineer-app[bot]
f1ee80093a Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-30 17:57:25 +00:00
gpt-engineer-app[bot]
517cd3d0ad Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-30 17:57:14 +00:00
gpt-engineer-app[bot]
cca95ded5a Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-30 17:57:05 +00:00
gpt-engineer-app[bot]
597b8a0215 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-30 17:56:55 +00:00
Felipe Domingues
792aa697b5
fix: sanitize cronjob names from agent (#10) 2026-05-30 12:30:21 -03:00
Felipe Domingues
e08e40f62b
fix: backfill runtime api server key (#9) 2026-05-29 07:23:13 -03:00
Felipe Domingues
c626c555db
fix: clean runtime docs and deterministic hydration (#8) 2026-05-29 07:22:49 -03:00
Felipe Domingues
6b3943807c
fix: type-check all edge functions in ci (#7) 2026-05-28 20:33:24 -03:00
gpt-engineer-app[bot]
871b3f809a Lovable update
Aplicar o PR #6 / commit 723c52b do repositório domfelipe/mika-agent-assist.

Objetivo:

Endurecer o onboarding/reconexão do bot Telegram sem executar testes manuais agora.

Tarefas:

1. Publicar o frontend atualizado, pois `BotFatherWizard.tsx` relaxa o regex local do token para ficar igual ao backend.

2. Redeployar as edge functions:

   - validate-telegram-bot

   - provision-agent

3. Não alterar secrets, Railway manualmente, planos, dados de clientes ou migrações.

4. Não executar teste manual no Telegram agora.

Validações pós-deploy:

- Confirmar que `validate-telegram-bot` deployou sem erro.

- Confirmar que `provision-agent` deployou sem erro.

- Confirmar que `provision-agent` aceita `mode: "telegram_reconnect"` apenas quando o agent está `active` e tem `railway_service_id`.

- Confirmar que esse modo atualiza somente variáveis Telegram no Railway (`TELEGRAM_BOT_TOKEN`, e se houver chat_id, `TELEGRAM_ALLOWED_USERS` / `TELEGRAM_HOME_CHANNEL`) e não reescreve `HERMES_SOUL_OVERRIDE`, modelo, STT/TTS ou demais configs.

- Healthcheck server-to-server com secret inválido:

  POST /functions/v1/provision-agent com X-Internal-Secret inválido deve retornar 401 unauthorized.

X-Lovable-Edit-ID: edt-0af37ff4-aded-497c-9092-e2127a0fd6cd
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 23:07:46 +00:00
gpt-engineer-app[bot]
d641378479 Work in progress 2026-05-28 23:06:41 +00:00
Felipe Domingues
f2b3cb219a
fix: harden telegram bot reconnection (#6) 2026-05-28 20:05:14 -03:00
gpt-engineer-app[bot]
e3d9ae7857 Hardened default skills rule
X-Lovable-Edit-ID: edt-8a68725d-39d9-4a7e-8597-2be996850cee
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 22:23:23 +00:00
gpt-engineer-app[bot]
f466ebf082 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 22:22:53 +00:00
Felipe Domingues
55d105777e
fix: harden default skill quota (#5) 2026-05-28 19:21:11 -03:00
gpt-engineer-app[bot]
2782e0d182 Applied default skills hardening
X-Lovable-Edit-ID: edt-6d6c0346-b8bc-44ea-a630-43a989a99ad8
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:59:43 +00:00
gpt-engineer-app[bot]
447f961382 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:59:11 +00:00
gpt-engineer-app[bot]
59aafca923 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:58:53 +00:00
gpt-engineer-app[bot]
53ff827d3d Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:58:07 +00:00
gpt-engineer-app[bot]
284e697801 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:57:59 +00:00
gpt-engineer-app[bot]
eaede6fd15 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:57:47 +00:00
gpt-engineer-app[bot]
f1a613b4fe Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:57:39 +00:00
gpt-engineer-app[bot]
f3308f362a Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:57:27 +00:00
gpt-engineer-app[bot]
922a652c7e Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:57:15 +00:00
gpt-engineer-app[bot]
9d9ca17ee7 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:57:04 +00:00
gpt-engineer-app[bot]
2fe5d4a33e Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:56:41 +00:00
gpt-engineer-app[bot]
b687ad9b72 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:56:27 +00:00
gpt-engineer-app[bot]
c0d18506f8 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:56:14 +00:00
gpt-engineer-app[bot]
20ccf1e9c5 Work in progress 2026-05-28 21:55:15 +00:00
Felipe Domingues
861416e506
fix: harden integration oauth flow (#3) 2026-05-28 18:53:21 -03:00
gpt-engineer-app[bot]
39e597906b Corrigiu hardening OAuth
X-Lovable-Edit-ID: edt-861b50d2-e4ce-4732-9e34-af896909cd73
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:01:56 +00:00
gpt-engineer-app[bot]
5fcd1ba144 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:01:29 +00:00
gpt-engineer-app[bot]
929e641792 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 21:01:21 +00:00
gpt-engineer-app[bot]
eaf69d5de9 Work in progress 2026-05-28 21:00:28 +00:00
Felipe Domingues
9acb125890 fix: restore railway deploy service id type 2026-05-28 16:38:37 -03:00
gpt-engineer-app[bot]
6d02fb8241 Aplicou deploy from source
X-Lovable-Edit-ID: edt-c10eea25-1ec4-4454-9999-027ae742327c
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:28:01 +00:00
gpt-engineer-app[bot]
e4dc4f8788 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:27:38 +00:00
gpt-engineer-app[bot]
8ac3926fcc Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:27:30 +00:00
gpt-engineer-app[bot]
25612b8f29 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:27:23 +00:00
gpt-engineer-app[bot]
adf93d0937 Added runtime backfill function
X-Lovable-Edit-ID: edt-28745d84-d4fd-4e7c-be73-1bf8118371e2
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:08:00 +00:00
gpt-engineer-app[bot]
bc8ea671ad Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:07:25 +00:00
gpt-engineer-app[bot]
00d6d57c2f Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:07:13 +00:00
gpt-engineer-app[bot]
a0d1cf9c2b Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:06:44 +00:00
gpt-engineer-app[bot]
cc1347fbd5 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:06:25 +00:00
gpt-engineer-app[bot]
7c19bf0fc4 Atualizou Hermes runtime secret
X-Lovable-Edit-ID: edt-0d4a1028-fa89-4a4d-90f0-ce96f219b60a
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:02:28 +00:00
gpt-engineer-app[bot]
ece8beae67 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:02:26 +00:00
gpt-engineer-app[bot]
ddac76bec8 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 19:02:18 +00:00
gpt-engineer-app[bot]
e337a6f229 Migrou agentes cron
X-Lovable-Edit-ID: edt-1d3546b1-1aca-4faf-89dd-c6d10cdd2471
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 12:46:48 +00:00
gpt-engineer-app[bot]
c6b67e98b8 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-05-28 12:46:33 +00:00