Repository navigation
fix(cli): no em dashes in CLI and rule messages, with a guard test #2211 - #2217
Merged
Merged
Conversation
Signed-off-by: Nik Cubrilovic <[email protected]>
…nges #2211 Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
boat/no-em-dashes-2211
branch
from
November 21, 2026 22:14
964ad02 to
b41524c
Compare
nc9
marked this pull request as ready for review
November 21, 2026 22:34
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.
Closes #2211
Replaces em dashes (U+2014) in every user-facing string under apps/cli/src and packages/*/src with a colon, comma or parentheses (incl. ax/markdown-response, ax/token-weight, credentials/auth messages). Functional uses (title-separator regexes, entity table, synthetic fixture titles) are spelled as the escape sequence. Adds apps/cli/tests/no-em-dash.test.ts, which transpiles each source file (dropping comments) and fails on any literal em dash. Golden finding-messages and affected tests updated. The report null placeholder is now '-'.
Acceptance:
Gates: apps/cli format:check, lint, typecheck pass; typecheck in changed packages pass; synthetic-site format/lint pass. Suites via scripts/test-suites.ts: cli 4649 pass/0 fail, rules 12607/0, audit-engine 2394/0, rest 3932/0, report 1414/0, crawler 1181/0 (before the final test-only edits, which were re-run by path). changelog check OK.
Skill change needed: no.