Skip to content

Commit 093b01e

Browse files
committed
docs: update test counts and add semantic tiers to roadmap
1 parent 4952997 commit 093b01e

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ src/
192192
### Running Tests
193193

194194
```bash
195-
cargo test # All tests (367 tests)
195+
cargo test # All tests (359 tests)
196196
cargo test --test sanitizer # CommitSanitizer tests
197197
cargo test --test safety # Safety module tests
198198
cargo test --test context # ContextBuilder tests

PRD.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
1818

1919
| Version | Date | Summary |
2020
|---------|------------|---------|
21-
| 4.2 | 2026-03-22 | v0.5.0 hardening: security fixes (SSRF prevention, streaming caps), prompt optimization (budget fix, evidence omission, emoji removal), eval harness (36 fixtures, per-type reporting), test coverage (15+ new tests), API hygiene (pub(crate) demotions), 5 fuzz targets. 367 tests. |
22-
| 4.1 | 2026-03-22 | AST context overhaul (v0.5.0): full signature extraction from tree-sitter nodes, semantic change classification (whitespace vs body vs signature), old→new signature diffs, cross-file connection detection, formatting auto-detection via symbols. 367 tests. |
21+
| 4.2 | 2026-03-22 | v0.5.0 hardening: security fixes (SSRF prevention, streaming caps), prompt optimization (budget fix, evidence omission, emoji removal), eval harness (36 fixtures, per-type reporting), test coverage (15+ new tests), API hygiene (pub(crate) demotions), 5 fuzz targets. 359 tests. |
22+
| 4.1 | 2026-03-22 | AST context overhaul (v0.5.0): full signature extraction from tree-sitter nodes, semantic change classification (whitespace vs body vs signature), old→new signature diffs, cross-file connection detection, formatting auto-detection via symbols. 359 tests. |
2323
| 4.0 | 2026-03-13 | PRD normalization: aligned phases with shipped versions (v0.2.0/v0.3.x/v0.4.0), collapsed revision history, unified status markers, resolved stale critical issues, canonicalized test count to 308, removed dead cross-references. FR-031 (Exclude Files) and FR-033 (Copy to Clipboard) shipped. |
2424
| 3.3 | 2026-03-13 | v0.4.0 full feature completion — FR-030 (Custom Prompt Templates), FR-032 (Multi-Language), FR-036 (Tree-sitter Query Patterns), FR-057 (Additional Languages), FR-058 (History Learning), TR-006 (Eval Harness), TR-007 (Fuzzing). 308 tests. |
2525
| 3.2 | 2026-03-13 | FR-035 (Rename Detection), FR-037 (Expanded Secret Scanning), FR-038 (Progress Indicators). 202 tests. |
@@ -92,7 +92,7 @@ CommitBee is a Rust-native CLI tool that uses tree-sitter semantic analysis and
9292
| Multiple message generation (pick from N) | Common (aicommits, aicommit2) | ✅ v0.2.0 |
9393
| Commit splitting (multi-concern detection) | No competitor has this | ✅ v0.2.0 |
9494
| Custom prompt/instruction files | Growing (Copilot, aicommit2) | ✅ v0.4.0 |
95-
| Unit/integration tests | Non-negotiable for quality |367 tests |
95+
| Unit/integration tests | Non-negotiable for quality |359 tests |
9696

9797
## 3. Architecture
9898

@@ -734,7 +734,7 @@ proptest! {
734734

735735
### TR-007: Fuzzing ✅
736736

737-
3 `cargo-fuzz` targets. See §4.3.
737+
5 `cargo-fuzz` targets. See §4.3.
738738

739739
## 9. Distribution Requirements
740740

@@ -818,7 +818,8 @@ Invalid JSON → retry once with repair prompt. Second failure → heuristic ext
818818
| 2 | v0.3.x | ✅ Shipped | Differentiation — heuristics, validation, spec compliance |
819819
| 3 | v0.4.0 | ✅ Shipped | Feature completion — templates, languages, rename, history, eval, fuzzing |
820820
| 4 | v0.4.x | ✅ Shipped | Remaining polish — exclude files (FR-031), clipboard (FR-033) |
821-
| 5 | v0.5.0 | ✅ Shipped | AST context overhaul — full signatures, semantic change classification, cross-file connections. 367 tests. |
821+
| 5 | v0.5.0 | ✅ Shipped | AST context overhaul — full signatures, semantic change classification, cross-file connections. 359 tests. |
822+
| 5.5 | v0.5.x | 🔨 Next | Deep semantic understanding — parent scope, imports, doc-vs-code (T2), structural AST diffs (T1), language markers + change intent (T3). Plans dialectic-verified 2026-03-26. |
822823
| 6 | v0.6.0+ | 📋 Planned | Market leadership — MCP server, changelog, monorepo, version bumping, GitHub Action |
823824

824825
## 12. Success Metrics
@@ -833,7 +834,7 @@ Invalid JSON → retry once with repair prompt. Second failure → heuristic ext
833834
| Commit message quality | > 80% "good enough" first try | Manual evaluation + `commitbee eval` |
834835
| Secret leak rate | 0 | Integration tests with known patterns |
835836
| MSRV | Rust 1.94 (edition 2024) | CI matrix (stable + 1.94) |
836-
| Test count | ≥ 308 | `cargo test` (current: 334) |
837+
| Test count | ≥ 308 | `cargo test` (current: 359) |
837838

838839
## 13. Non-Goals
839840

0 commit comments

Comments
 (0)