Repository navigation
refactor: one sentence per plural - #95
Merged
Merged
Conversation
Four sentences were spelled twice, arithmetic and all: the commits a session holds, in the two places `git.ts` counts them; the blocking findings, in the bucket rule and in the stamp rule that says the same thing about the same number; the repositories a sweep swept, beside the helper that already exists for that irregular plural; and the rule between two columns, which `row.ts` already exports. `count` stays in `cli/table.ts`. The layer that could be reached from all three is `terms/`, and ADR 0006 says a term carries no branch and is a word the glossary names. Pluralisation is neither, so each sentence is closed where it is said instead. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four sentences are spelled twice, arithmetic and all. Two of them are a rule read from both ends —
dw-mc statusanddw-mc stampsay the same thing about the same number, andgit.tscounts the same commits before a session is cut and before one is taken away — which is the hazardsrc/domain/bucket.ts:67already names: a sentence matched from the other side of the tool is a rule that breaks on a reword.What changes
src/adapters/git.ts— onecommits(n), said before a session is cut and before one is taken away.src/domain/bucket.ts—blockedByis exported for the reasonunansweredis, andsrc/domain/stamp.tssays it rather than spelling it again.src/cli/sweep.ts— calls therepositories(n)it already has instead of writing the irregular plural out a second time.src/cli/findings.ts— importsrulefromsrc/cli/row.ts, asstatus.tsandpick.tsdo.Test plan
pnpm check— pass (51 files, 695 tests)src/adapters/git.test.ts,src/cli/uninstall.test.ts,src/domain/stamp.test.ts,src/domain/bucket.test.tsandsrc/cli/status.test.tspin.Risk
None on disk. If a sentence were wrong, the tests that read it back would say so, and they are unchanged.
Closes #84
🤖 Generated with Claude Code