mirror of
https://github.com/actionbook/actionbook.git
synced 2026-09-19 03:28:06 +08:00
0d3af40bf3
* [root]feat: add clippy + fmt lint check to CI Add a new Lint job that runs cargo fmt --check and cargo clippy -D warnings as a code quality gate. Lint status is included in test summary. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * [packages/actionbook-rs]fix: format all code and fix clippy warnings - Run cargo fmt --all to enforce consistent formatting - Fix clippy warnings: use clamp(), if-let, contains_key, unwrap_or_default - Add targeted #[allow] for structural patterns (too_many_arguments, large_enum_variant, result_large_err, never_loop) - CI clippy config: -D warnings with -A dead_code/unused-imports/deprecated to allow TDD-style development while catching real quality issues Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * [packages/actionbook-rs]fix: remove dead depth_cache allocation in benchmark Remove unused HashMap allocation that was silenced with _ prefix. Addresses review feedback on PR #261. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>