Skip to content

chore: normalize prose + comments to devflow style (no em-dash/arrow/ellipsis)#43

Merged
Shu-Wan merged 1 commit into
mainfrom
chore/devflow-style-sweep
Jul 17, 2026
Merged

chore: normalize prose + comments to devflow style (no em-dash/arrow/ellipsis)#43
Shu-Wan merged 1 commit into
mainfrom
chore/devflow-style-sweep

Conversation

@Shu-Wan

@Shu-Wan Shu-Wan commented Jul 16, 2026

Copy link
Copy Markdown
Owner

What

Repo-wide sweep bringing prose and comments in line with the devflow style guide, converting the three unicode punctuation marks the repo used that the guide forbids:

from to
(em-dash) - (spaced hyphen)
(unicode arrow) ->
(ellipsis) ...

No code behavior change — 44 files, 472 insertions / 472 deletions (line-for-line punctuation only).

Stacked on #42 (the job jump fix / 1.0.2). Base is fix/jump-nested-cpu-bind so this diff is style-only; GitHub will retarget it to main once #42 merges. Not a release — docs/comments only, no version bump.

Scope guardrails (docs + comments only, never behavior)

The sweep was deliberately conservative so it can't change what the CLI does or break a test:

  • Markdown — prose converted; fenced code blocks preserved verbatim. They're literal command/output examples, and references/cheatsheet.md is embedded into solx cheatsheet, so touching code-block interiors would change CLI output.
  • Rust / YAML / shell — only full-line comments converted. String literals, CLI message text ("dry-run — would run:", NOT_SOL_MESSAGE, …), echo/printf/sed output, and evals/*.json data are left untouched (verified: every non-comment mark is a string/output/value).
  • Three soft-wrapped em-dash continuations that would have rendered as stray Markdown bullets (a landing at column 0) were rewrapped inline.

Verification

  • cargo test: 104 unit + 40 integration pass · cargo clippy -D warnings clean · cargo fmt --check clean.
  • A scope check confirms 0 in-scope marks remain outside code blocks / strings; everything left is an intentionally-preserved code-block example, string literal, or output line.

Deliberately left (out of this sweep's declared scope)

  • Marks inside fenced code-block comments (e.g. # the fast queue — good, low → prefer) — ~40 occurrences, preserved because they're literal examples and cheatsheet.md feeds solx cheatsheet. Happy to convert these in a follow-up if you want them normalized too (it would change solx cheatsheet output).
  • The (U+2212 minus) in Gres − GresUsed — a math minus, outside the three-mark scope.
  • CLI-facing string literals — converting them would change output and rewrite test assertions.

🤖 Generated with Claude Code

…ellipsis)

Repo-wide sweep converting the three unicode punctuation marks that
diverge from the devflow style guide:
  em-dash        -> ' - ' (spaced hyphen)
  unicode arrow  -> '->'
  ellipsis       -> '...'

Scope guardrails (docs + comments only, never behavior):
  * Markdown: prose converted; fenced code blocks preserved verbatim
    (literal examples, and cheatsheet.md is embedded in `solx cheatsheet`).
  * Rust / YAML / shell: only full-line comments converted; string
    literals, CLI output, echo/printf, and JSON data left untouched.
  * Three soft-wrapped em-dash continuations that would have rendered as
    stray Markdown bullets were rewrapped inline.

No code behavior change: `cargo test` (104 unit + 40 integration), clippy,
and fmt all still pass. Docs/comments only, so no version bump.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Shu-Wan
Shu-Wan force-pushed the chore/devflow-style-sweep branch from 9741640 to 8c218ee Compare July 17, 2026 00:16
@Shu-Wan
Shu-Wan changed the base branch from fix/jump-nested-cpu-bind to main July 17, 2026 00:16
@Shu-Wan
Shu-Wan merged commit 8ea8b47 into main Jul 17, 2026
1 check passed
Shu-Wan added a commit that referenced this pull request Jul 17, 2026
…rule (#44)

Follow-up to #43 (docs + code comments). Converts the remaining em-dash /
ellipsis marks in the CLI's own output strings and their test assertions,
so the CLI speaks devflow style too: side.rs, jobs.rs, keep.rs, the
config.rs starter config, and the matching cli.rs stderr assertions.

The unicode round-trip test fixture in output.rs (json!("café — ok...")) is
left as-is - the em-dash there is the test subject.

Also documents in DEVELOPMENT.md that a CLI-only release (skill guidance
unchanged) does not need the skill evals re-run - the crate test suite plus
an L3 CLI smoke is the gate. Cosmetic output only, so no version bump.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Shu-Wan added a commit that referenced this pull request Jul 17, 2026
Completes the devflow mark sweep (#43, #44). #43 preserved fenced code
blocks verbatim; this converts the em-dash / arrow / ellipsis marks in
their `#` comment/annotation portions only - never command text (every
changed line is a shell comment). 41 marks across 9 docs.

`references/cheatsheet.md` is embedded in `solx cheatsheet`, so its output
now shows `->` in those annotations. The committed `docs/cheatsheet.pdf` is
unaffected: only arrows changed there, and `build-cheatsheet.sh` already
rewrites the arrow to `->` for the PDF.

Docs only, no version bump. `cargo test` 104+40 green (incl. the cheatsheet
needle test).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Shu-Wan
Shu-Wan deleted the chore/devflow-style-sweep branch July 17, 2026 00:35
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