diffowl 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -109,7 +109,9 @@ diffowl review --base --format json
109
109
  diffowl review --base --fail-on-findings
110
110
  ```
111
111
 
112
- Branch review uses the merge base through `HEAD`, matching the committed diff in a pull request. It does not include staged or unstaged changes.
112
+ Commit review compares the selected commit with its first parent. For a merge commit, this means the changes the merge introduced to its first-parent branch. It is not the pull-request diff.
113
+
114
+ Branch review uses the merge base through `HEAD`, matching the committed diff in a pull request. Use `--base` for pull-request coverage. Neither mode includes staged or unstaged changes.
113
115
 
114
116
  ## Work with findings
115
117
 
@@ -172,15 +174,12 @@ diffowl agent-hook install --client claude
172
174
 
173
175
  ## Configuration
174
176
 
175
- Project review policy lives in `.diffowl.yml`. Backend and model selection stay in the shared, gitignored `.diffowl/preferences.yml`. Linked worktrees use the same preference file.
177
+ Project review policy lives in `.diffowl.yml`. Backend, model, and model-specific reasoning choices stay in the shared, gitignored `.diffowl/preferences.yml`. Linked worktrees use the same preference file.
176
178
 
177
179
  ```yaml
178
180
  context:
179
181
  depth: default
180
182
 
181
- reasoning:
182
- effort: auto
183
-
184
183
  gate:
185
184
  fail_on_findings: false
186
185
 
@@ -212,9 +211,21 @@ diffowl backend --reset
212
211
  diffowl model
213
212
  diffowl model provider/model
214
213
  diffowl model --reset
214
+
215
+ diffowl reasoning
216
+ diffowl reasoning thinking
217
+ diffowl reasoning --reset
215
218
  ```
216
219
 
217
- Each backend keeps its own model choice. Switching backends does not erase the other model. A legacy preference containing only `model: provider/model` still selects OpenCode.
220
+ Reasoning names are backend-native identifiers, not a shared DiffOwl scale. A model might advertise `low` and `high`, `thinking`, only one value, or no selectable value. An absent preference means the backend default; DiffOwl never translates one backend's names into another's. Changing a model clears its old reasoning preference so a stale value cannot carry over. Use `diffowl review --reasoning <variant>` for a one-review override.
221
+
222
+ When an explicit `max` selection is paired with a timeout of 300 seconds or less, DiffOwl warns before starting provider work. It does not lower the reasoning effort or extend the deadline automatically. Increase `timeout` in `.diffowl.yml` when a quality-first review should be allowed to run longer.
223
+
224
+ When model metadata rejects a variant, DiffOwl uses the backend default and
225
+ prints the model's advertised choices. If the model advertises no selectable
226
+ variants, the warning says so explicitly.
227
+
228
+ Each backend keeps its own model choice. Switching backends does not erase the other model. A legacy preference containing only `model: provider/model` still selects OpenCode. Legacy `.diffowl.yml` `reasoning.effort` values remain readable for migration and produce an exact cleanup warning; DiffOwl no longer writes them to project config.
218
229
 
219
230
  Configuration is deep-merged with defaults, so the file only needs the settings your repository changes.
220
231
 
@@ -222,7 +233,7 @@ Configuration is deep-merged with defaults, so the file only needs the settings
222
233
 
223
234
  ```text
224
235
  .diffowl.yml # Committed project policy
225
- .diffowl/preferences.yml # Gitignored backend and model choices
236
+ .diffowl/preferences.yml # Gitignored backend, model, and reasoning choices
226
237
  .diffowl/state.db # Authoritative findings backlog
227
238
  .diffowl/reviews/review-<timestamp>.md # Immutable review snapshot
228
239
  .diffowl/reviews/latest.md # Copy of the newest report
@@ -239,6 +250,7 @@ Linked Git worktrees share the durable backlog and review reports from the prima
239
250
  | `diffowl review` | Run a review |
240
251
  | `diffowl backend` | Inspect or change the local review backend |
241
252
  | `diffowl model` | View or change the selected model |
253
+ | `diffowl reasoning` | View or change model-specific reasoning |
242
254
  | `diffowl findings` | Inspect and update durable findings |
243
255
  | `diffowl hook` | Manage the post-commit hook |
244
256
  | `diffowl agent-hook` | Manage supported agent client hooks |