iachat/db
Rodribm10 c512e3e5f6
Some checks failed
Build and Push to GHCR (multi-arch) / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Build and Push to GHCR (multi-arch) / build (linux/arm64, ubuntu-22.04-arm) (push) Has been cancelled
Build and Push to GHCR (multi-arch) / merge (push) Has been cancelled
chore(prompts): split prod snapshot from staging from target
Reorganized db/seed_prompts/ into three clear bins:

  _prod_snapshot/   — 16 prompts pulled from iachat_production
                      (4 Jasmines + 12 scenarios). Read-only baseline.

  _staging_current/ — 6 prompts active in iachat-v2 right now
                      (Jasmine + 5 scenarios, including
                      outras_unidades and Reclamacoes_Ouvidoria
                      which were created on this branch).

  target/           — empty for now. Source of truth: the seed
                      migration only writes from here. Files we
                      review and approve land here, then deploy
                      pushes them to prod.

Updated the seed migration to walk target/ and to support both
generic scenarios (apply to every unit) and unit-scoped scenarios
(file prefixed with assistant slug, only that unit). Empty files
are skipped — useful for staged rollouts.

This guarantees no prompt ships to prod by accident: only what
ends up in target/ is applied.
2026-04-22 11:31:42 -03:00
..
migrate chore(prompts): split prod snapshot from staging from target 2026-04-22 11:31:42 -03:00
seed_prompts chore(prompts): split prod snapshot from staging from target 2026-04-22 11:31:42 -03:00
seeds chore(lifecycle): add demo seed script for manual pipeline testing 2026-04-15 09:31:11 -03:00
schema.rb feat(retention): version the Jasmine + Daniela prompts as seed files 2026-04-22 11:00:06 -03:00
seeds.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30