Repository navigation
Conversation
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.
Brings every comment in the repo in line with a less-is-more rule set, and codifies it in a root
AGENTS.md(withCLAUDE.mdsymlinked to it). Comments and whitespace only: no functional change.Rules applied
///line for the caller.@file/@briefare gone, and@param/@returnstay only where they add something the signature doesn't.ControlCommand::Delaykeep-last rule, theSinkRecoverylocking rule, theMAX_STATIC_DELAY_MSupstream clamp, the reusable-workflowbash -e/pipefail note, and "spell every matrix key on every leg".Scale
Comment lines across
src/,tests/,scripts/,.github/workflows/andCMakeLists.txtdrop from 9371 to 3528. Packaging comments drop from 218 to 60.Verification
mainafterg++ -fpreprocessedcomment stripping.#lines and theget_started_linux.sh --helpusage block are unchanged.NOLINT,clang-format/shellcheckdirectives, shebangs and#errormessages are unchanged.scripts/smoke_test.shpasses all checks, shellcheck is clean, and the workflow YAML parses.ctestpasses 426 of 428. The two failures (ARelativeControlSocketIsMadeAbsoluteUnderZ,AConfiguredControlSocketIsAbsolutizedUnderDaemonize) come from the long worktree path this was built in: the absolutized socket path exceedssun_path's 107 bytes. They are unrelated to this change.Note on clang-format
mainisn't clang-format clean: 30 files fail under every clang-format from 17 to 23. A full reformat would also reorder includes and wrap the#errorline, so clang-format was applied to changed lines only. No file has more clang-format differences than it does onmain.