Skip to content

Commit 7d00c9a

Browse files
committed
docs: fix config defaults and stale references in CLAUDE.md
- temperature: 0.7 → 0.3 (matches actual default) - timeout_secs: 30 → 300 (matches actual default) - DISCUSSION_HUNK_LEVEL_SPLITTING.md → GitHub Discussion #2 - Add missing test files: languages, history, template
1 parent 9792256 commit 7d00c9a

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ ollama_host = "http://localhost:11434"
6767
max_diff_lines = 500
6868
max_file_lines = 100
6969
max_context_chars = 24000
70-
temperature = 0.7
70+
temperature = 0.3
7171
num_predict = 256
72-
timeout_secs = 30
72+
timeout_secs = 300
7373
think = false
7474
rename_threshold = 70
7575
learn_from_history = false
@@ -140,7 +140,7 @@ src/
140140
- **PRD & Roadmap**: `PRD.md`
141141
- **Conventional Commits spec anchoring**: `.claude/plans/PLAN_CONVENTIONAL_COMMITS_SPEC.md`
142142
- **v0.3.0 enhancement plan**: `.claude/plans/PLAN_V030_ENHANCEMENTS.md`
143-
- **Hunk-level splitting discussion**: `DISCUSSION_HUNK_LEVEL_SPLITTING.md`
143+
- **Hunk-level splitting discussion**: [GitHub Discussion #2](https://github.com/Sephyi/commitbee/discussions/2)
144144

145145
## Project Skills
146146

@@ -190,6 +190,9 @@ cargo test --test safety # Safety module tests
190190
cargo test --test context # ContextBuilder tests
191191
cargo test --test commit_type # CommitType tests
192192
cargo test --test integration # LLM provider integration tests (wiremock)
193+
cargo test --test languages # Language-specific tree-sitter tests
194+
cargo test --test history # Commit history style learning tests
195+
cargo test --test template # Custom prompt template tests
193196
cargo test -- --nocapture # Show println output
194197
```
195198

@@ -286,7 +289,7 @@ Common mistake: calling a new safeguard/check `fix` — if there was no bug, it'
286289

287290
### Known Issues
288291

289-
- **Non-atomic split commits**: The split flow uses `unstage_all → stage_files → commit` per group with no rollback. If an intermediate commit fails, earlier commits remain. Documented via TOCTOU comment in `app.rs`. Future improvement: index snapshot with full rollback (see `DISCUSSION_HUNK_LEVEL_SPLITTING.md`).
292+
- **Non-atomic split commits**: The split flow uses `unstage_all → stage_files → commit` per group with no rollback. If an intermediate commit fails, earlier commits remain. Documented via TOCTOU comment in `app.rs`. Future improvement: index snapshot with full rollback (see [GitHub Discussion #2](https://github.com/Sephyi/commitbee/discussions/2)).
290293
- **No streaming during split generation**: When commit splitting generates per-group messages, LLM output is not streamed to the terminal (tokens are consumed silently). Single-commit generation streams normally. Low priority — split generation is fast since each sub-prompt is smaller.
291294
- **Thinking model output**: Models with thinking enabled prepend `<think>...</think>` blocks before their JSON response. The sanitizer strips both `<think>` and `<thought>` blocks (closed and unclosed) during parsing. The `think` config option (default: `false`) controls whether Ollama's thinking separation is used. The default model `qwen3.5:4b` does not use thinking mode and works well with the default `num_predict: 256`.
292295
- **No think-then-compress**: Explicit `<thought>` prompting is not used — small models (<10B) exhaust their token budget on analysis instead of JSON output. The pre-computed EVIDENCE/CONSTRAINTS/SYMBOLS sections serve this role. Revisit for 70B+/cloud APIs.

0 commit comments

Comments
 (0)