Skip to content

lints: adopt the canonical workspace lints block - #2

Merged
h4x0r merged 1 commit into
mainfrom
lints/canonical-lints
Aug 5, 2026
Merged

lints: adopt the canonical workspace lints block#2
h4x0r merged 1 commit into
mainfrom
lints/canonical-lints

Conversation

@h4x0r

@h4x0r h4x0r commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

lints: adopt the canonical workspace lints block

forensic-hashdb had no clippy lints table anywhere - not at the workspace
root, not in any member. It now carries the canonical recipe
(CLAUDE.core.md "Rust Lint Posture") with the ADR-0012 untrusted-input
superset:

unsafe_code = "forbid"
correctness / suspicious = "deny"
unwrap_used / expect_used = "deny"
all + pedantic = "warn", with the canonical cast_* allows

Nothing lit up: zero findings across the workspace, in production code
and tests alike. This is a pure config change that makes the existing
posture enforced rather than incidental.

Gate: cargo build --workspace --all-targets, cargo test --workspace,
cargo clippy --workspace --all-targets -- -D warnings, cargo fmt --check

  • all clean, no code changes required.

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com

🤖 Generated with Claude Code

forensic-hashdb had no clippy lints table anywhere - not at the workspace
root, not in any member. It now carries the canonical recipe
(CLAUDE.core.md "Rust Lint Posture") with the ADR-0012 untrusted-input
superset:

  unsafe_code = "forbid"
  correctness / suspicious = "deny"
  unwrap_used / expect_used = "deny"
  all + pedantic = "warn", with the canonical cast_* allows

Nothing lit up: zero findings across the workspace, in production code
and tests alike. This is a pure config change that makes the existing
posture enforced rather than incidental.

Gate: cargo build --workspace --all-targets, cargo test --workspace,
cargo clippy --workspace --all-targets -- -D warnings, cargo fmt --check
- all clean, no code changes required.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@h4x0r
h4x0r marked this pull request as ready for review August 5, 2026 20:27
@h4x0r
h4x0r merged commit e411260 into main Aug 5, 2026
16 checks passed
@h4x0r
h4x0r deleted the lints/canonical-lints branch August 9, 2026 15:28
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