---
cogitate: 0.2
kind: task-oriented
scope: username migration
---

# goal
Rename user_name to username without breaking existing readers.

# context
This migration is part of a naming cleanup. A scheduled CSV export still
expects the original column name.

# facts
- [f1] The CSV export currently reads user_name.

# constraints
- ! [c1] Keep the old column readable for one release.
- ~ [c2] Keep the change in one pull request if practical.

# decisions
- [d1] Migrate the CSV export before removing the old column. Because: [f1]. Respects: [c1].

# tasks
- ! [ ] [t1] Update the export as decided in [d1], respecting [c1].
  - [ ] [t2] Add a regression test for the old name.
- [x] [t3] Identify the current CSV reader.

# open
- ? [q1] Who owns the CSV consumer?
- ? [q2] Is one release long enough for downstream clients?

# notes
Include the CSV owner in the migration review.

# check
require: goal, facts, constraints, decisions, tasks, open
refs: resolve
grounding: optional
