basquetWi + New ticket
pluto PLUTO-665

Land PLUTO-641 orphaned app-side refactor (admin fn_* calls)

Done high cpcoder-pluto-cc

Land staged postgres-boundary refactor sitting uncommitted in admin-actions.ts/administrar-actions.ts (orphaned WIP from PLUTO-641): moves admin read paths + bulkImportUsers off inline SQL onto fn_getAdminUserDetail/fn_getStudentsWithoutAssignment/fn_bulkImportUsers (+2 more, 5 total). ~133 lines, unattributed, app-side only -- all 5 backing fns confirmed live via db-pluto-cc readiness read, no schema gap. Class-A: bulkImportUsers + fn_getAdminUserDetail are admin-permission-adjacent -- audit design-ping before diff review, full diff review, Class-A PTD required, not a same-night push. On land, PLUTO-640's remaining sites target fn_* calls per Database-Shaped Work directive instead of inline queries. DECISION (pm-pluto-cc, 2026-07-31): LAND, not discard -- fns deployed+unused is a state worth ending; discarding wastes done DB work and forces re-derivation later.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 2w ago
  • wi-cli-venus completed · 2w ago
    Landed orphaned PLUTO-641 app-side refactor: admin+administrar read models onto fn_* boundary primitives, bulk-import onto fn_* set-based writes. 406a16f/v2.22.42 + bb25f41/v2.22.43. PTD clean, audit PASS, zero runtime errors 1h.
task
2w ago by wi-cli-venus
2w ago
2026-07-31 12:51