From a00603632c2e5f4799658d38a634e8c04b27ffcd Mon Sep 17 00:00:00 2001 From: CH <340279802+connabyss@users.noreply.github.com> Date: Fri, 4 Dec 2026 17:22:47 +0000 Subject: [PATCH] chore(release): Bite 1.0.12 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0175Q8iDskrPEL7Z81ZZMC5j --- CHANGELOG.md | 19 +++++++++++++++++++ README.md | 2 +- SECURITY.md | 4 ++-- bot/welcome.py | 2 +- pyproject.toml | 2 +- server.json | 4 ++-- 6 files changed, 26 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ff52fe..db32c2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,25 @@ What changed in each Bite release, newest first. Numbers link to the pull request on github.com/connabyss/bite. Install or update: `pipx install --force bite-check --pip-args="--no-cache-dir"`. +## 1.0.12 (2026-12-04) + +A security release: it closes ways past the paid step's command filter and keeps odd test names out of the +shell. Thanks to [@Beehtrix](https://github.com/Beehtrix) for two pull requests (#313, #314). + +- The paid step's command filter no longer lets through `find . -de"lete"`, `find . -"delete"`, `sort "-o" x`, + `"find" . -delete`, `'sort' -o out` or `find . -name x";" -o -delete`: the shell reads each one as the + dangerous command, and now the filter does too. A path too long for the OS is refused instead of crashing the + filter (#321). +- A failing pytest test whose name holds shell characters (`test_x[$(id)]`, a quote, a `%`) no longer goes into + the rerun or `--deselect` command, where the shell could run it: Bite reruns the whole suite instead. Test + names with spaces are read whole, and the pytest summary is read in one pass, so a very long line can't stall + it (#323). +- In a repo with no commits yet, Bite says so plainly instead of "0 commits changed code in all 0 commits" (#313). +- A mistyped subcommand (`bite liv`) gets a "Did you mean bite live?" hint (#314). +- An Atheris fuzzer now checks the command filter, the worker's file access and the rerun command, CI fails + under 80% statement coverage, and new docs cover governance, the roadmap, the architecture and the security + design (#321, #323). + ## 1.0.11 (2026-12-03) A small release about two quiet mistakes: a code file skipped because a test's name happened to contain it, and diff --git a/README.md b/README.md index 34b6da1..ad5831c 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ jobs: # install what your tests need here, e.g. for Python: - uses: actions/setup-python@v7 - run: python -m pip install pytest -r requirements.txt - - uses: connabyss/bite@v1.0.11 + - uses: connabyss/bite@v1.0.12 ``` **The paid step (optional).** With your own Anthropic API key, Bite writes one small test of a commit's exact diff --git a/SECURITY.md b/SECURITY.md index e8eaf3d..0c5d289 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -33,11 +33,11 @@ make a Sigstore attestation for each file, so there is no private signing key to ``` python -m pip install pypi-attestations -python -m pypi_attestations verify pypi --repository https://github.com/connabyss/bite bite_check-1.0.11-py3-none-any.whl +python -m pypi_attestations verify pypi --repository https://github.com/connabyss/bite bite_check-1.0.12-py3-none-any.whl ``` Pass the path of your own file (here, a wheel in the current folder): a file changed after it was published -fails. Writing `pypi:bite_check-1.0.11-py3-none-any.whl` instead checks the copy on PyPI without a download. What +fails. Writing `pypi:bite_check-1.0.12-py3-none-any.whl` instead checks the copy on PyPI without a download. What a pass proves: the file is the one published to PyPI by a GitHub Actions run in connabyss/bite. It doesn't prove which workflow in the repo built it, or that the code in it is free of bugs. diff --git a/bot/welcome.py b/bot/welcome.py index d945999..e42dcff 100644 --- a/bot/welcome.py +++ b/bot/welcome.py @@ -23,7 +23,7 @@ APP_LOGIN = "bite-check[bot]" MARK = "" HOME = "connabyss/bite" -VERSION = "v1.0.11" +VERSION = "v1.0.12" # An install on many repos at once (say "All repositories" on a big account) gets no issues at all, so the bot never # floods anyone. They can install it again on the repos they want. MAX_REPOS = 10 diff --git a/pyproject.toml b/pyproject.toml index 83456fd..6d18923 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "bite-check" -version = "1.0.11" +version = "1.0.12" description = "Checks whether the \"fixed\" in your coding agent's recent commits is actually true." readme = "README.md" license = "MIT" diff --git a/server.json b/server.json index e8ab146..d892a7f 100644 --- a/server.json +++ b/server.json @@ -8,13 +8,13 @@ "source": "github" }, "websiteUrl": "https://github.com/connabyss/bite", - "version": "1.0.11", + "version": "1.0.12", "packages": [ { "registryType": "pypi", "registryBaseUrl": "https://pypi.org", "identifier": "bite-check", - "version": "1.0.11", + "version": "1.0.12", "runtimeHint": "uvx", "transport": { "type": "stdio"