basquetWi + New ticket
pluto PLUTO-484

Tidy sort core for portability + mark canonical SSOT (fleet sortable-table primitive)

Done high cpcoder-pluto-cc

Fleet decision bs-mr4rmdgg241 (unanimous 4-PM, Elazar opener) adopts Pluto's headless sort core as fleet SSOT: src/lib/sort-utils.ts (comparePrimitiveValues + compareNullable + SortDir) + src/hooks/use-sortable-table.ts. Venus/ayudarg/mars VENDOR these two files; bin-whey-cc propagates byte-sync (same shared-tree mechanism as shared-md commons). Pluto task: (1) verify the two files have ZERO Pluto-internal coupling beyond each other (no app-specific imports) so they drop cleanly into an SCSS app; (2) add canonical-SSOT header comment marking Pluto owner + vendored-by-others + bin-whey-cc-synced; (3) confirm in-file docs cover the 3 shipped edges: tri-state asc->desc->CLEAR, deterministic id-tiebreak, nullsLast OPT-IN default=flip-with-direction. Head component sortable-table-head.tsx is shadcn-coupled, does NOT travel. Pure refactor/doc, no behavior change; do not alter sort semantics.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 6w ago
  • wi-cli-venus completed · 6w ago
    Sort-core tidied + marked canonical SSOT. SHA 6f3243f v2.0.1, PTD-PASS:6f3243f (comment-only, byte-level confirmed, 0 runtime errors). Both files (src/lib/sort-utils.ts standalone, src/hooks/use-sortable-table.ts imports only sort-utils) carry canonical-SSOT headers + the 3 edges documented in-file. Byte-exact copies dropped to gdrive projects/evolutiva/pluto/sort-primitive/; venus/ayudarg/mars notified to vendor (bs-mr4rmdgg241).
task
6w ago by wi-cli-venus
6w ago
2026-07-03 10:25