Releases: openclaw/clawpatch
Releases · openclaw/clawpatch
v0.4.0
- Added
clawpatch cito initialize, map, review, write a report, and append a GitHub Actions step summary in one CI-friendly command. - Added
clawpatch open-pr --patch <id>to turn an applied patch attempt into an explicit GitHub pull request. - Added a
claudeprovider for routing map, review, fix, and revalidate through the local Claude Code CLI in print mode, thanks @aurokin. - Added an experimental
cursorprovider for local Cursor Agent CLI review workflows behind explicit opt-in gates, thanks @aurokin. - Added review prompt provenance and budget accounting for included files, omitted files, prompt bytes, and approximate tokens.
- Added retries for transient acpx JSON review failures via
--prompt-retriesandCLAWPATCH_REVIEW_RETRIES, thanks @coletebou. - Hardened review ingestion so provider findings must cite included files with valid line ranges and matching evidence quotes.
- Fixed provider review to preserve valid sibling findings when per-finding schema or evidence validation fails, recording drops in
run.errorsas non-fatalschema-droporvalidation-dropentries, thanks @coletebou. - Improved provider schema validation failures so
run.errors[].messageshows compact one-line Zod issue summaries, thanks @coletebou. - Added
totalandresultsaliases onclawpatch report --jsonoutput while keeping the legacyfindingscount, thanks @coletebou. - Fixed
clawpatch open-prso repositories without default-branch metadata use a dedicated patch branch and let GitHub choose the PR base. - Fixed
clawpatch open-prretries to push the recorded patch commit instead of any later local branch tip. - Fixed first-time
clawpatch open-prbranch creation to start from the recorded patch base. - Fixed command execution so providers that exit before reading stdin do not surface benign
EPIPEerrors. - Fixed
clawpatch ci --sinceempty-review output so it reportsreviewed: 0. - Fixed formatter configuration so
oxfmtuses two-space indentation consistently across platforms. - Added generic package-less monorepo app-root mapping for Node/Next projects under roots such as
apps/*andpackages/*when positive source or framework signals are present. - Added Maven project mapping for root, nested, and multi-module Java/Kotlin projects with Spring role slices, Maven validation defaults, and
pom.xmldetection, thanks @julianshess. - Added a release-prep checklist for auditing changelog, package metadata, and dry-run package contents without publishing.
- Improved bounded source grouping so large flat directories split repeated filename families like command, plugin, doctor, and runtime files into more coherent review slices.
- Fixed acpx provider error reporting by reading the terminal
result.stopReasonenvelope and surfacing non-end_turnreasons as typedClawpatchErrorcodes (agent-cancelled,agent-refused,agent-truncated) instead of opaquemalformed-output, thanks @coletebou. - Added website crawler artifacts and a static smoke check for metadata, anchors, and social-card dimensions, thanks @zack-dev-cm.
- Improved OpenCode malformed JSON diagnostics with output length, event kinds, and a bounded preview, thanks @rohitjavvadi.
- Fixed finding signatures so equivalent evidence remains stable across re-reviews, thanks @rohitjavvadi.
- Fixed provider exit-code classification for stdout-only authentication and quota failures, thanks @rohitjavvadi.
- Improved Node route mapping to preserve literal Express and Hono mount prefixes, thanks @rohitjavvadi.
- Improved Flask route mapping to preserve static blueprint URL prefixes, thanks @rohitjavvadi.
- Improved Django route mapping to preserve literal
include()route prefixes, thanks @rohitjavvadi. - Added conservative Rails route mapping for literal root and HTTP verb routes, thanks @rohitjavvadi.
- Fixed heuristic feature mapping to honor configured path include/exclude filters, thanks @schedawg74.
- Fixed Express route mapping for aliased Router imports that follow block comment banners, thanks @rohitjavvadi.
- Fixed Laravel route mapping to include array-style
Route::groupprefixes, thanks @rohitjavvadi. - Fixed Fastify route-object mapping to emit static method arrays while ignoring dynamic entries, thanks @rohitjavvadi.
- Fixed Fastify plugin callback route mapping for typed parameters and plugin aliases, thanks @rohitjavvadi.
- Fixed FastAPI route mapping to include static
APIRouter(prefix=...)values, thanks @AsishKumarDalal. - Added
--include-dirtyto review, CI, and revalidation file filters for auditing uncommitted worktree changes, thanks @AsishKumarDalal. - Fixed Bun package-manager detection to recognize the text
bun.locklockfile, thanks @austinm911. - Fixed review-output schema to tolerate optional
reproductionandminimumFixScopefields and zero-valued evidence line numbers (normalized tonull), recovering 4 of 28 zod issue patterns observed in run20260517T190759-3c9e9e(78 errors over 1000 features) that previously dropped whole-feature output instead of the affected finding. - Changed
clawpatch review --jobsandclawpatch ci --jobsdefaults from a fixed10tofloor(cpuCores / 2)clamped to[1, 10], thanks @coletebou. - Added
clawpatch review --rate-limit-per-minute <n>(alsoCLAWPATCH_RPM) to cap how many provider calls may start within any rolling 60s window across jobs, thanks @coletebou.
Release proof:
- npm: https://www.npmjs.com/package/clawpatch/v/0.4.0
- tarball: https://registry.npmjs.org/clawpatch/-/clawpatch-0.4.0.tgz
- integrity: sha512-ylvMucavrdSPixd5gzkd312pNBj/TX2r4gcFCOAteRPVkoiKJm99ZdGrM0hJzJGsz7E9bRnKyKTt0LVd1OnW7Q==
- release commit: cdd58ac
- CI: https://github.com/openclaw/clawpatch/actions/runs/26283615092
- CodeQL: https://github.com/openclaw/clawpatch/actions/runs/26283615019
- local proof: pnpm typecheck && pnpm lint && pnpm format:check && pnpm test && pnpm build && pnpm pack:smoke && npm pack --dry-run --json --ignore-scripts
v0.3.0
npm
- npm: https://www.npmjs.com/package/clawpatch/v/0.3.0
- tarball: https://registry.npmjs.org/clawpatch/-/clawpatch-0.3.0.tgz
- integrity: sha512-0agguxFaXNy7dhFc2rMrjRQmbNOgxuO0ipcGWvifX58rPsQf2XJwqD/Yn7aIABAmeeW4zz8tQXwGXrfv/gnSng==
Proof
- CI: https://github.com/openclaw/clawpatch/actions/runs/26015012418
- CodeQL: https://github.com/openclaw/clawpatch/actions/runs/26015012400
- Local: pnpm typecheck && pnpm lint && pnpm format:check && pnpm test && pnpm build && pnpm pack:smoke
Changes
- Added a
piprovider for routing review, fix, revalidate, and agent map through the pi coding agent in non-interactive print mode, thanks @danielmarbach. - Added deslopify review mode and ranked maintainability/performance report clusters for repeated cleanup patterns, thanks @mbelinky.
- Fixed
clawpatch review --sinceto review all touched features by default instead of silently applying the normal single-feature limit. - Added
--skip-git-repo-checkfor Codex-backed map, review, fix, and revalidate commands so initialized non-Git roots can run Codex, thanks @im-zayan. - Added explicit Codex reasoning effort selection via
--reasoning-effort,CLAWPATCH_REASONING_EFFORT, and provider config, withdoctorreporting the active setting. - Added
CLAWPATCH_CODEX_SANDBOXfor overriding Codex provider sandbox mode when the host already provides isolation, thanks @IAMSamuelRodda. - Added
clawpatch review --prompt-fileto append extra reviewer guidance from a file or stdin, thanks @dpdanpittman. - Added
clawpatch review --export-tribunal-ledgerto emit review findings as JSONL for downstream ledger ingestion, thanks @dpdanpittman. - Added deterministic Express, Fastify, and Hono route mapping for Node projects, thanks @rohitjavvadi.
- Fixed Express route mapping to recognize aliased Router factories from imports, CommonJS destructuring, and direct assignments, thanks @rohitjavvadi.
- Added conservative Django
urls.pyroute mapping forpath,re_path, and legacyurldeclarations, thanks @rohitjavvadi. - Added first-pass Elixir Mix/Phoenix mapping for project metadata, contexts, Phoenix web slices, runtime config, Ecto migrations, project scripts, ExUnit tests, and Mix validation defaults, thanks @tears-mysthrala.
- Improved Kotlin JVM and Android semantic role mapping for Gradle projects, including Android plugin aliases, local type handling, comment/string parsing, and role fallback edges, thanks @mrmans0n.
- Added C#/.NET detection, conservative
dotnet build/dotnet testdefaults, ASP.NET Core route mapping, C#/F#/Visual Basic source groups, and .NET test-project mapping including TUnit, thanks @SimonGuldager with ideas from @danielmarbach. - Fixed .NET mapping to avoid including
NuGet.configin review context and to reject stale or commented solution project entries when choosing validation defaults. - Improved Node workspace mapping with richer package overview features, generic extension package context, semantic large-source splits, and stricter generated/build ownership hygiene.
- Fixed agent mapper inventory to honor Git ignored files, nested worktrees, and configured include/exclude filters, thanks @amiable-dev.
- Fixed provider commands with relative
--rootpaths by canonicalizing explicit roots before invoking Codex or other providers. - Improved Codex provider failures for missing Responses API write scope with direct credential and scope guidance.
- Improved
clawpatch fixhandoff context and patch-attempt changed-file auditing for dirty-worktree fixes. - Fixed docs search matching, empty-state display, and mobile sidebar navigation, thanks @cloudsolutiongmbh.
clawpatch 0.2.0
npm
- Version: https://www.npmjs.com/package/clawpatch/v/0.2.0
- Tarball: https://registry.npmjs.org/clawpatch/-/clawpatch-0.2.0.tgz
- Integrity: sha512-+WxItf6VGQ4Y6AY/Y+r8RWt8Mq574MtlNrfIrRXRzQN4uIqNJlOB4+jlJexZeWnUT2EEwQACiGy/Tso/xOQBBA==
- Dist tag: latest
- Published: 2026-05-17T06:38:32.027Z
CI
- CI: https://github.com/openclaw/clawpatch/actions/runs/25983601977
- CodeQL: https://github.com/openclaw/clawpatch/actions/runs/25983602004
- Commit: 4f6ac92
Changes
- Added the
acpxprovider for routing review, fix, and revalidate through ACP-compatible coding agents, thanks @mvanhorn. - Added an OpenCode CLI provider for review, fix, revalidate, and doctor flows, thanks @Ashwinhegde19.
- Added a Grok CLI provider for review, fix, revalidate, and doctor flows, thanks @ebastos.
- Added
clawpatch map --source auto|agentto invoke the configured provider as a read-only agent mapper when deterministic mapping is too shallow. - Fixed agent mapping so provider-derived slices augment deterministic slices instead of retiring useful heuristic coverage on large repos.
- Fixed ACPX provider calls so stalled child agents time out instead of hanging indefinitely.
- Improved
clawpatch mapprogress output and Rust mapping latency by reporting mapper activity on stderr and avoiding repeated Rust test discovery walks, thanks @optozorax. - Added
--since <ref>onclawpatch reviewandclawpatch revalidateto restrict runs to features whose owned or context files changed since the given git ref, thanks @mvanhorn. - Improved Node/TypeScript mapping for large workspaces by splitting package source trees into bounded review groups with package-local tests.
- Added generic nested SwiftPM, Apple/Xcode, and Gradle/Android app mapping.
- Added React Router and React component mapping, thanks @moritzscheele.
- Added Next.js route mapping for
src/appandsrc/pageslayouts, thanks @obatried. - Added Laravel/PHP feature mapping for routes, controllers, form requests, Artisan commands, jobs, services, models, migrations, seeders, Composer scripts, and PHP tests, thanks @Jonathanm10.
- Added Ruby and Rails feature mapping while excluding legacy Rails secrets from reviewable config, thanks @inertia186.
- Added FastAPI route feature mapping and kept root/web Python project detection in sync.
- Added Flask route feature mapping for Python projects, including
web/source roots, common root entry files, non-list method literals, and Python framework detection. - Added first-pass Python mapping for project metadata, console scripts, source groups, pytest suites, and conservative validation defaults, thanks @xiamx.
- Improved Python mapping for
setup.cfg/setup.pyproject metadata and console scripts, plusblack --check .format defaults. - Added Kotlin semantic role mapping for Gradle projects, including Android UI, ViewModel, data, external client, dependency injection, and server-side role slices, thanks @mrmans0n.
- Added JVM semantic role mapping from Java annotations, imports, inheritance, interfaces, and method signatures.
- Detected Java/Kotlin language and default Gradle build/test commands for root Gradle projects.
- Added generic C/C++ feature mapping for standalone
main()files, CMakeadd_executable/add_librarytargets, and autotoolsbin_PROGRAMS/lib_LTLIBRARIEStargets, thanks @iliaal. - Added Turborepo task metadata mapping for workspace-aware feature validation commands.
- Added selected package script mapping for Node workspace packages.
- Added progress output for
clawpatch revalidate, thanks @twidtwid. - Fixed overlapping
clawpatch reviewruns so feature claims use atomic lock files and can be recovered withclean-locks, thanks @rohitjavvadi. - Fixed
clawpatch fixso feature-specific validation commands run during dry-run previews and applied fix validation, thanks @rohitjavvadi. - Fixed Codex provider parsing for Markdown-wrapped JSON output with trailing prose, thanks @pranaysuyash.
- Fixed Codex provider execution on Windows paths with spaces and npm
.cmdshims, thanks @1berto. - Fixed Ruby/Rails project detection so
gems.rbuses Bundler commands and Rails JavaScript roots avoid duplicate Node feature queues. - Added security ownership, CodeQL, Dependabot, dependency review, and a private disclosure policy for repository automation and package integrity, plus fixed the first CodeQL mapper sanitizer finding.
- Updated development, GitHub Actions, and Node type dependencies, made dependency review skip cleanly when the GitHub API is unavailable, and fixed CodeQL ReDoS findings in Laravel route parsing.
clawpatch 0.1.0
clawpatch 0.1.0
Automated code review that lands fixes.
Changelog
- Added the initial strict TypeScript
clawpatchCLI scaffold withinit,map,status,review,report,fix,revalidate,doctor, andclean-locks. - Added feature-centered state, Codex CLI provider integration, strict provider schemas, tests, docs, and a static website draft.
- Added SwiftPM and Rust/Cargo project detection, default commands, and deterministic feature mapping.
- Improved Go package mapping, review progress, parallel review jobs, report filtering, finding triage, and file/line evidence output.
- Added finding queue commands, triage history, bulk revalidation filters, and stricter review evidence/test-analysis fields.
- Fixed unsupported command-specific flags being accepted and ignored by commands that do not implement them.
- Fixed value-taking CLI flags so a following option token is reported as a missing value instead of consumed.
- Fixed packaging and lint wiring so npm packs rebuild
dist/andpnpm lintloadsoxlint.jsonwithout warning noise. - Fixed package bin mapping so generated
dist/buildentries prefer matching TypeScript source files. - Changed the npm package name to
clawpatchfor the public registry release.
npm
- Package: https://www.npmjs.com/package/clawpatch/v/0.1.0
- Registry tarball: https://registry.npmjs.org/clawpatch/-/clawpatch-0.1.0.tgz
- Integrity:
sha512-ddCqaDTinpuwx3bckCeq4/dYOdB/R5u75CSr9zerUOlVc3TuJUpWNy07E7EZOetheojn67gJ67q/yTmlc+STfw== - Dist tag:
latest -> 0.1.0
Proof
pnpm -s format:check && pnpm -s lint && pnpm -s typecheck && pnpm -s test && pnpm -s buildpnpm pack --pack-destination /tmp/...producedclawpatch@0.1.0withbin=dist/cli.js.npm view clawpatch@0.1.0 name version dist-tags.latest dist.tarball dist.integrity time --json