What changed, and why it matters
This commit adds a documentation file (CLAUDE.md) that gives instructions to an AI coding assistant about how to work with the project. It does not change any program code, build scripts, tests, or configuration that could affect security.
No security action needed. Treat as a normal documentation/process commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff creates a single new markdown file, CLAUDE.md, containing guidance for Claude Code: references to CONTRIBUTING.md/README.md/ARCH.md, instructions to run tests via ./ci/ci-tests.sh, use cargo +1.75.0 fmt –all, avoid new dependencies, disclose AI use in commits, and include license headers in new .rs files. No executable code, dependencies, CI definitions, or cryptographic logic are modified.
Changed components
Inspect captured patch +17 / −0
diff --git a/CLAUDE.md b/CLAUDE.md
new file mode 100644
index 0000000..611322c
--- /dev/null
+++ b/CLAUDE.md
@@ -0,0 +1,17 @@
+# CLAUDE.md
+
+This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
+
+See [CONTRIBUTING.md](CONTRIBUTING.md) for build commands, testing, code style, and development workflow.
+
+## Workspace Structure
+
+See [README.md](README.md) for the workspace layout and [ARCH.md](ARCH.md) for some additional remark regarding important parts of LDK's architecture.
+
+## Development Rules
+
+- Always ensure tests pass before committing. To this end, you should run the test suite via `./ci/ci-tests.sh`.
+- Run `cargo +1.75.0 fmt --all` after every code change
+- 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.
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.