docs(cli,skills): finish the no-em-dash sweep in user-facing copy

Closed
HA
3mo ago
+50-50

What & why

#6425 codified AGENTS.md rule 12 (no em dashes in user-facing copy, code comments exempt) and cleaned the settings docs. This finishes the sweep in the other scopes the rule names: CLI output strings, skill docs, and the docs site.

27 lines across 16 files, all prose punctuation. No behavior change.

Left alone deliberately

  • Code comments. The rule exempts them, so they are untouched.
  • The bare "—" empty-value placeholder in table output (tasks get, tasks list, workspaces get, automations format, automations logs). That is a glyph standing in for "no value", not prose: swapping it for a comma would print a stray comma in the cell.

How I tested it

  • biome check clean, bun run typecheck 38/38 tasks, bun test packages/cli/src 101 passing.
  • Confirmed no prose em dash remains in .agents/skills, apps/docs/content, apps/marketing/content, or non-comment CLI strings.
  • Checked that no test asserts on the changed substrings. The closest is resolve-org.test.ts, which matches /Multiple organizations/ (the prefix), so it is unaffected.

Checklist

  • PR title follows conventional commits (type(scope): subject)
  • bun run lint and bun run typecheck pass
  • "Allow edits from maintainers" is checked on fork PRs

Summary by cubic

Finishes the no–em-dash sweep in user-facing copy across the CLI, skills, and docs to comply with AGENTS.md rule 12. No functional change; user-visible strings now use periods, colons, parentheses, or semicolons instead of em dashes to avoid comma splices.

  • Scope: CLI strings and option descriptions in packages/cli, skills in .agents/skills, and docs in apps/docs (including copy added since the rebase).
  • Message tweaks: CDP URL warning is two sentences ("Treat it as a secret."); OAuth callback reads "State mismatch (possible CSRF)"; health/registration and start logs use periods/semicolons/parentheses; org-resolution error now says "Multiple organizations: pass --org …"; import-login Keychain error is split into two sentences and drops a stray space.
  • Docs: browser/computer/usage and CLI reference split clauses previously joined by an em dash; option descriptions use parentheses for trailing clarifications.
  • Exceptions kept: code comments; the bare "—" empty-value placeholder in table output; the ${browserName} — ${profileName} label separator in import-login; upstream's own punctuation in decide/SKILL.md.
  • Validation: lint and typecheck pass; CLI tests pass; no tests assert on modified substrings.

Summary by CodeRabbit

  • Documentation

    • Improved readability and consistency across browser, computer-control, CLI, skills, usage, and account documentation.
    • Clarified computer-control safety guidance and machine-control access.
  • Bug Fixes

    • Improved authentication error messaging by identifying potential CSRF issues.
    • Clarified browser login import and multiple-organization error messages.
  • Style

    • Standardized punctuation and wording across CLI descriptions, warnings, status messages, and command output.