---
title: Rename the trade domain's deferred identifier clusters
type: task
status: draft
description: >-
  Three naming clusters the trade review surface deliberately deferred: the camelCase trade wire
  format, the four spellings of the trade id column, and the shadowed draft local in the lineage
  walker.
base_uri: user:task/league/rename-trade-domain-identifiers.md
created_at: '2026-08-03T19:46:58.216Z'
entity_id: 316cca81-ddcf-4e69-b994-d8b8d043d7c2
owner_identity_uri: █████████████████████████
priority: Low
public_read: true
relations:
  - follows [[████████████████████-█████████████-█████-██████-██████████]]
  - relates [[user:task/league/add-trade-analysis-record-and-odds-deltas.md]]
  - relates [[user:task/league/add-trade-analysis-position-rank-delta.md]]
  - relates [[user:task/league/add-trade-analysis-per-player-context.md]]
tags:
  - user:tag/league-xo-football.md
updated_at: '2026-08-03T19:54:42.062Z'
visibility_analyzed_at: '2026-11-05T23:50:02.191Z'
---

# Rename the trade domain's deferred identifier clusters

Three naming clusters `██████████████████████████████████████` deliberately left alone. None of them forced a workaround on that surface, and each is independently shippable.

## Clusters

### The camelCase wire format

`proposingTeamPlayers` and siblings, 218 occurrences across five files. Blast radius is entirely the `/trade` proposal page. The review surface shares no fields with it, which is why it was deferrable.

Overlaps with `add-trade-analysis-record-and-odds-deltas`, `add-trade-analysis-position-rank-delta` and `add-trade-analysis-per-player-context` — all three extend the same proposal page and touch the same selectors. Sequence against them rather than racing.

### The four spellings of the trade id column

`trades.uid`, `tradeid` on four tables, `trade_uid` on two. All escape the conformance ratchet: `is_bare_shorthand` at `db/tools/audit-schema-conformance.mjs:191` skips names over five characters. This is a schema change and needs the apply/export/sweep one-commit recipe.

### The shadowed `draft` local

In `libs-server/roster-asset-lineage/`, colliding with the real `draft` table queried in the same files. The two files carry 89 matching lines, not the 18 first estimated, and verifying the change needs a full lineage rebuild.

## Notes

Re-scope each cluster before starting — all three counts were taken 2026-08-03 and the proposal-page tasks may have moved the first one.
