What changed, and why it matters
This commit only edits a project documentation file (CLAUDE.md) that gives coding guidelines for AI assistants. It changes wording about when to run code formatting and adds a guideline about writing self-contained comments. No program code, build scripts, tests, or security-relevant configuration were modified.
No security action needed. This is a routine documentation update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is limited to CLAUDE.md, a non-executable markdown file. It rephrases an instruction to run cargo +1.75.0 fmt --all before committing and adds a comment-style guideline. There are no changes to Rust source, dependencies, CI, cryptography, networking, or any runtime logic.
Changed components
CLAUDE.md (documentation only)Inspect captured patch +5 / −1
diff --git a/CLAUDE.md b/CLAUDE.md
index f87bc66..15dd458 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -15,7 +15,11 @@ See [README.md](README.md) for the workspace layout and [ARCH.md](ARCH.md) for s
of the full task you might prompt the user whether they want you to run the
full CI tests via `./ci/ci-tests.sh`. Note however that this script will run
for a very long time, so please don't timeout when you do.
-- Run `cargo +1.75.0 fmt --all` after every code change
+- Run `cargo +1.75.0 fmt --all` before committing code changes. If rust 1.75.0 is
+ not installed, skip this step.
- Never add new dependencies unless explicitly requested
- Please always disclose the use of any AI tools in commit messages and PR descriptions using a `Co-Authored-By:` line.
- When adding new `.rs` files, please ensure to always add the licensing header as found, e.g., in `lightning/src/lib.rs` and other files.
+- When adding comments, do not refer to internal logic in other modules, instead
+ make sure comments make sense in the context they're in without needing other
+ context.
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.