Skip to content

chore: remove history from comments - #83

Merged
Tarquinen merged 1 commit into
devfrom
chore-comment-history
Nov 15, 2026
Merged

Tarquinen merged 1 commit into
devfrom
chore-comment-history

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Removes history from code comments: people's names, dates, calls and call logs, design rounds and options, tickets and QA ids, and commit hashes. Some examples are "Victor (Oct 23):", "Nov 1 call:", "From a call log:", "Kit's bug", "Sol finding 5", "(round 4, H)", "(D-31 B)", "(p229)", "(QA D-01)" and "(wisp b55d486)". #77 missed these. AGENTS.md's Comments rule says this history belongs in commits and PRs.

When a comment also said something true about the current code, that part stays as one short line. When the rest only restated the code or the test name, the whole comment is gone. Framework names (UIKit's, CryptoKit's), the "call log" feature, format examples ("abc1234", "Mon, Oct 5"), P-256, and the b/549552303 Compose workaround stay. User-facing text, test data and assertions are unchanged.

Comments only. A script checks every changed .kt file: the code is identical once comments are stripped, every changed line is a comment or blank, and there are no stray blank lines. 71 files, 254 comment lines removed, 171 rewritten back in (net −83). scripts/check.sh passes. There's no UI change, so there's no media.

Skipped because open PRs touch them. These still have history and need a later pass:

Removes comments, or the parts of them, that name people, dates, calls,
call logs, design rounds, tickets, QA ids and commit hashes, such as
"Victor (Oct 23):", "From a call log:", "Kit's bug", "Sol finding 5",
"round 4, H", "(D-31 B)", "(p229)" and "(QA D-01)". That history belongs in
commit messages and PR descriptions (AGENTS.md, Comments). Where a comment
also said something true of the current code, that part stays in a line;
where it only restated the code or the test name, the comment is gone.

Comments only: a script checks that every .kt file is identical once
comments are stripped, that every changed line is a comment or blank, and
that no stray blank lines are left. scripts/check.sh passes.
@Tarquinen
Tarquinen merged commit 0d36873 into dev Nov 15, 2026
1 check passed
@Tarquinen Tarquinen mentioned this pull request Nov 15, 2026

This branch was previously deployed

1 inactive deployment
release — 18280423 Deployed Nov 15, 2026 by Tarquinen via check #253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant