You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,38 @@
5
5
- Added `clawpatch ci` to initialize, map, review, write a report, and append a GitHub Actions step summary in one CI-friendly command.
6
6
- Added `clawpatch open-pr --patch <id>` to turn an applied patch attempt into an explicit GitHub pull request.
7
7
- Added review prompt provenance and budget accounting for included files, omitted files, prompt bytes, and approximate tokens.
8
+
- Added retries for transient acpx JSON review failures via `--prompt-retries` and `CLAWPATCH_REVIEW_RETRIES`, thanks @coletebou.
8
9
- Hardened review ingestion so provider findings must cite included files with valid line ranges and matching evidence quotes.
10
+
- Fixed provider review to preserve valid sibling findings when per-finding schema or evidence validation fails, recording drops in `run.errors` as non-fatal `schema-drop` or `validation-drop` entries, thanks @coletebou.
- Added `total` and `results` aliases on `clawpatch report --json` output while keeping the legacy `findings` count, thanks @coletebou.
9
13
- Fixed `clawpatch open-pr` so repositories without default-branch metadata use a dedicated patch branch and let GitHub choose the PR base.
10
14
- Fixed `clawpatch open-pr` retries to push the recorded patch commit instead of any later local branch tip.
11
15
- Fixed first-time `clawpatch open-pr` branch creation to start from the recorded patch base.
12
16
- Fixed command execution so providers that exit before reading stdin do not surface benign `EPIPE` errors.
13
17
- Fixed `clawpatch ci --since` empty-review output so it reports `reviewed: 0`.
14
-
- Fixed acpx provider error reporting by reading the terminal `result.stopReason` envelope and surfacing non-`end_turn` reasons as typed `ClawpatchError` codes (`agent-cancelled`, `agent-refused`, `agent-truncated`) instead of opaque `malformed-output`.
18
+
- Fixed formatter configuration so `oxfmt` uses two-space indentation consistently across platforms.
19
+
- Added generic package-less monorepo app-root mapping for Node/Next projects under roots such as `apps/*` and `packages/*` when positive source or framework signals are present.
20
+
- Added Maven project mapping for root, nested, and multi-module Java/Kotlin projects with Spring role slices, Maven validation defaults, and `pom.xml` detection, thanks @julianshess.
21
+
- Added a release-prep checklist for auditing changelog, package metadata, and dry-run package contents without publishing.
22
+
- Improved bounded source grouping so large flat directories split repeated filename families like command, plugin, doctor, and runtime files into more coherent review slices.
23
+
- Fixed acpx provider error reporting by reading the terminal `result.stopReason` envelope and surfacing non-`end_turn` reasons as typed `ClawpatchError` codes (`agent-cancelled`, `agent-refused`, `agent-truncated`) instead of opaque `malformed-output`, thanks @coletebou.
15
24
- Improved OpenCode malformed JSON diagnostics with output length, event kinds, and a bounded preview, thanks @rohitjavvadi.
25
+
- Fixed finding signatures so equivalent evidence remains stable across re-reviews, thanks @rohitjavvadi.
26
+
- Fixed provider exit-code classification for stdout-only authentication and quota failures, thanks @rohitjavvadi.
27
+
- Improved Node route mapping to preserve literal Express and Hono mount prefixes, thanks @rohitjavvadi.
- Fixed Express route mapping for aliased Router imports that follow block comment banners, thanks @rohitjavvadi.
33
+
- Fixed Laravel route mapping to include array-style `Route::group` prefixes, thanks @rohitjavvadi.
34
+
- Fixed Fastify route-object mapping to emit static method arrays while ignoring dynamic entries, thanks @rohitjavvadi.
35
+
- Fixed Fastify plugin callback route mapping for typed parameters and plugin aliases, thanks @rohitjavvadi.
36
+
- Fixed FastAPI route mapping to include static `APIRouter(prefix=...)` values, thanks @AsishKumarDalal.
37
+
- Added `--include-dirty` to review, CI, and revalidation file filters for auditing uncommitted worktree changes, thanks @AsishKumarDalal.
17
38
- Fixed Bun package-manager detection to recognize the text `bun.lock` lockfile, thanks @austinm911.
39
+
- Fixed review-output schema to tolerate optional `reproduction` and `minimumFixScope` fields and zero-valued evidence line numbers (normalized to `null`), recovering 4 of 28 zod issue patterns observed in run `20260517T190759-3c9e9e` (78 errors over 1000 features) that previously dropped whole-feature output instead of the affected finding.
- JVM semantic roles from Java and Kotlin code evidence such as annotations,
69
74
imports, interfaces, inheritance, supertypes, and method signatures
70
75
- Kotlin Android semantic roles for UI entrypoints, ViewModels, data
@@ -161,6 +166,28 @@ Useful flags:
161
166
162
167
Unknown flags fail fast.
163
168
169
+
### `report --json` shape
170
+
171
+
`clawpatch report --json` returns:
172
+
173
+
```json
174
+
{
175
+
"total": 12,
176
+
"items": [
177
+
/* finding summaries */
178
+
],
179
+
"results": [
180
+
/* alias for items */
181
+
],
182
+
"findings": 12,
183
+
"output": "/path/or/null"
184
+
}
185
+
```
186
+
187
+
-`total` and `items` are the canonical keys.
188
+
-`results` is an alias for `items` with the same array for parity with `{count, results}` consumers.
189
+
-`findings: <number>` is kept for backwards compatibility but is **deprecated**. Note that in `--json` output `findings` is a _count_, not the array — use `items` (or `results`) for the array. The next breaking release (v0.4) will drop `findings: <number>` and `results`, landing on `{ total, items, output }`.
0 commit comments