mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 08:24:20 +01:00
* chore(identity): one name — Cato The retired name and a personal contact address were still in the repo, including in the documents where a name is load-bearing. - "Mao Nakamoto" -> "Cato" across 18 files: README, CLAUDE.md, two blog posts, config, support page, tests, and legal/ (PRIVACY_POLICY, TERMS_OF_SERVICE, IP_ASSIGNMENT_MEMO plus the legal-content.ts that renders them). - mao@orangecat.ch -> hello@orangecat.ch in 12 files. The old address is the GDPR Data Controller contact and the ToS operator contact, so it could not simply be deleted; hello@ is already published on the public FAQ, which makes it a route known to work rather than a guess. A role address is also the better answer here than any personal one. - Test fixtures using a real first name -> Cato. **Deliberately NOT swept: the legacy handles `butaeff` and `georgy.butaev`.** A first pass replaced them and had to be reverted. They are production data, not name mentions: `.mailmap` uses them to map historical commits onto the canonical identity, and the mention/lnurl tests carry comments stating those handles are real rows. Renaming the references does not rename the rows — it points code at handles that do not exist and turns true comments into false ones. Retiring them is a data migration, not a find-and-replace. Also reverted from that first pass: an edit to an applied migration's comment. Migrations are immutable once applied, and rewriting a bug report to name a handle that was never involved would have falsified the record. The example in username-history.ts is now a neutral `legacy+handle` instead. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe * chore(identity): the mailmap was rewriting Cato back into the retired name Missed by the sweep in the previous commit, which globbed *.md/*.mdx/*.ts/*.tsx — and .mailmap has no extension. The effect was worse than a stale file. The raw commit author was already correct after the git config fix, and the mailmap converted it back on display: raw: Cato <41178744+catomean@users.noreply.github.com> mailmapped: Mao Nakamoto <41178744+catomean@users.noreply.github.com> Every new commit would have kept arriving as Cato and kept being shown as the old name, which is the least debuggable version of this problem — the config is right, the commit is right, and the output is wrong. Canonical name is now Cato, and a name+email rule was added for commits authored as "G": those carry the canonical email already, so the email-only rules cannot reach them. Verified over the last 400 commits: 322 Cato, 78 dependabot, nothing else. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe * fix(identity): the rename notice legitimately names the OLD handle CI caught the sweep breaking a correct test, in exactly the way the butaeff handles would have been broken had they not been reverted. services/cat/handlers/context.ts builds the notice as `…and ${oldUsername}@orangecat.ch still reaches you.` The address is derived from the handle the user is renaming AWAY from — that is the whole point of the sentence, which promises their old Lightning address keeps working. The sweep rewrote the test's expectation to hello@ and left the source producing the old-handle address, so a correct implementation began failing a now-incorrect assertion. Fixed by neutralising the fixture rather than the assertion: the old handle is now 'oldhandle', so the test asserts oldhandle@orangecat.ch and no retired name appears. The behaviour under test is unchanged. The rule this keeps proving: a literal that REFERS to the old identity is data, not a stale reference, and a find-and-replace cannot tell the two apart. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>