Skip to content

style: remove em dashes from Windows node copy - #1037

Merged
shanselman merged 10 commits into
mainfrom
no-emdashes
Jul 21, 2026
Merged

shanselman merged 10 commits into
mainfrom
no-emdashes

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Remove em dashes from prose rendered to users in the Windows tray, setup flow, chat, user-visible CLI/status surfaces, and localized resources.
  • Use context-appropriate sentences, colons, and semicolons; no mechanical hyphen replacements.
  • Retain the standalone em dash used as an unavailable-value or status placeholder.
  • Preserve implementation comments, diagnostics records, logger output, MCP/agent documentation, and internal service text.
  • Add an AGENTS.md rule prohibiting em dashes in user-facing prose while allowing the standalone status placeholder.

Validation

  • Passed: git diff origin/main...HEAD --check.
  • Passed: review confirmed 0 generated em dash-to-hyphen substitutions and 0 changed diagnostic records or logger calls.
  • Not verified / blocked: ./build.ps1, dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore, and dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore. This macOS host has no pwsh or dotnet; Crabbox is also unavailable, so native Windows validation cannot run here.
  • Not verified / blocked: structured autoreview refused to create a bundle because its secret detector matched ordinary token-related copy in the diff.

Real behavior proof

  • Current-head source review confirms the remaining changes are limited to user-facing app prose and resources; standalone unavailable-value status placeholders retain their em dash.
  • Visible WinUI proof is blocked by the unavailable native Windows runner described above.

Review notes

  • Rebased on origin/main and resolved conflicts by preserving the current-main behavior, then applying only the scoped copy changes.

@shanselman
shanselman merged commit 01bacff into main Jul 21, 2026
14 of 15 checks passed
@shanselman
shanselman deleted the no-emdashes branch July 21, 2026 00:15
shanselman added a commit that referenced this pull request Jul 21, 2026
Translate the two Dutch format resources that became identical to English when PR #1037 removed their em dashes.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 030f7786-998a-4635-b527-efe5518ce00c
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.

2 participants