Commit graph

2 commits

Author SHA1 Message Date
Cursor Agent
3171cddd68
fix(core): RPC jsonb payload, Liquibase splits, worker needs_badge
- Pass JS objects to postgres jsonb params in callCoreFn (not JSON.stringify)
- Use splitStatements:false on RPC function changesets for Liquibase
- Fix needs_badge default in _worker_normalize when field is omitted
- Add scripts/crud-smoke-test.sh for API CRUD verification
- Fix findExistingWorker return type in main.ts

Co-authored-by: alberto.martinez <alberto.martinez@mrdev.mx>
2026-09-04 01:20:49 +00:00
Cursor Agent
17936ce777
Add PostgreSQL RPC functions for workers domain
Port worker list/get/create/update, pipeline, assign/unassign, find-existing,
refresh-pipeline, and checklist-raw from api/main.ts and api/db.ts with
Spanish RPC envelopes, IMSS flag helpers, and panels_core_app grants.

Co-authored-by: alberto.martinez <alberto.martinez@mrdev.mx>
2026-09-03 23:52:05 +00:00