Skip to content

Dev#20

Merged
akosidencio merged 3 commits intomainfrom
dev
Apr 13, 2026
Merged

Dev#20
akosidencio merged 3 commits intomainfrom
dev

Conversation

@akosidencio
Copy link
Copy Markdown
Contributor

Description

Summary of the changes and the problem they solve.

Closes # (issue)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring / cleanup

Requirements addressed

  • Implements / closes:

Testing

  • cargo test --workspace passes
  • cargo clippy --all-targets -- -D warnings passes
  • cargo fmt --check passes
  • Manual CLI test: diffmind --branch main runs without error
  • Manual CLI test: diffmind --stdin --format json produces valid JSON

Checklist

  • Code compiles with zero warnings (cargo build)
  • Logic is covered by a unit test where feasible
  • Public API or CLI flags documented in README if changed
  • REQUIREMENTS.md acceptance criteria checked off if applicable

Dennis P added 3 commits April 13, 2026 21:48
…tions

- Stream findings to terminal as each diff chunk completes instead of
  waiting for all chunks to finish; deterministic rule findings appear
  instantly before model inference begins
- Reviewer now always returns what looks good (positives) and optional
  suggestions alongside findings, even when no issues are detected
- Add Metal + Accelerate support for Apple Silicon via candle target-specific
  deps; auto-detects GPU on macOS, falls back to CPU with Accelerate BLAS
- Add --device flag (auto/cpu/metal) to override inference device
- Fix core-engine Cargo.toml: move platform-agnostic deps out of macOS
  target block so they resolve correctly on all platforms
- Update candle deps to 0.10.2 with objc2-metal 0.3.2 lock
- Expand roadmap with daemon mode, git hooks, SARIF, auto-fix, and
  fine-tuned model concepts
- Add No changes detected. Nothing to analyze. subcommand — generates a structured PR title,
  summary bullets, and test plan from the branch diff using the local model;
  supports --branch, --last, --stdin, and --ticket for requirements context
- Add No changes detected. Nothing to analyze. subcommand — suggests a conventional commit message
  from staged changes (git diff --cached); --apply runs git commit automatically
- Add PrDescription and CommitSuggestion output types to core-engine
- Add get_staged_diff() to git.rs; errors clearly when nothing is staged
- Update README with usage examples and mark roadmap items complete
…ndards

Teams can now define regex rules that run before the AI model — zero
inference cost, instant results, same severity/CI-gate as model findings.

- Add CustomRule type to core-engine with pattern, message, severity,
  category, and optional file glob filter
- Add detect_custom_rule_violations() — runs rules against added lines
  in the diff, respects file filters, pre-compiles regex patterns
- Add with_custom_rules() builder on ReviewAnalyzer; rules are streamed
  alongside deterministic findings before LLM chunks start
- Add rules.rs module to CLI with load_custom_rules() that reads and
  parses .diffmind/rules.toml, printing rule count in the header
- Add regex dep to core-engine, toml dep to CLI and workspace
- Document rules format with full coding standards example in README
@akosidencio akosidencio merged commit 4a3fb13 into main Apr 13, 2026
20 checks passed
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