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
{{ message }}
Repository navigation
Commit 142c344
Browse filesBrowse the repository at this point in the historyBrowse files
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Follow-up (latest)
- **Strict stdin JSON:** `parseRequest` now rejects multiple JSON values
or trailing garbage after the first object (single-request protocol).
- **Python `GIT_HARNESS_CLI`:** Bare names (e.g. `git-harness-cli`) are
resolved with `shutil.which` before falling back to a path under the
repo root, matching Java `ProcessBuilder` PATH behavior.
- **Tests:** Added coverage for trailing JSON rejection and PATH-based
`_cli_cmd` resolution.
All inline review threads on this PR are resolved as of the latest push.
<!-- CURSOR_AGENT_PR_BODY_END -->
<div><a
href="https://cursor.com/agents/bc-b5ff7da1-12de-491e-87e3-bdb30815a92e"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a
href="https://cursor.com/background-agent?bcId=bc-b5ff7da1-12de-491e-87e3-bdb30815a92e"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* JSON CLI bridge plus Python and Java client libraries with runnable
smoke samples for both languages; CLI can be prebuilt and configured via
an environment variable.
* **Documentation**
* New polyglot spec, plan, checklist, and testkit READMEs describing
layout, usage, validation, and quality criteria.
* **Tests**
* Added Python pytest and Java JUnit smoke/integration tests exercising
end-to-end bridge behavior.
* **Chores**
* CI updated to validate spec-kit artifacts, build the CLI once, and run
wrapper tests across Linux/macOS/Windows; updated ignore rules.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ben Schellenberger <bschellenberger2600@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ Go library extracted from [git-fire](https://github.com/git-fire/git-fire): subp
9
9
-**`git`** — repository scanning, status, commits, pushes, worktrees, and related helpers.
10
10
-**`safety`** — redaction and secret-pattern scanning helpers used by git error paths.
11
11
12
+
## Polyglot wrappers
13
+
14
+
Python and Java clients use the same layout as [git-testkit](https://github.com/git-fire/git-testkit) under **`testkit/`**: build `cmd/git-harness-cli`, set **`GIT_HARNESS_CLI`** to that binary (or rely on `go run ./cmd/git-harness-cli` from the repo root). Code lives in `testkit/python` and `testkit/java`; runnable samples are `testkit/python/samples/` and the Java `Sample*Smoke` tests.
0 commit comments