From c466b61f9cc190e8308ff17e7c3dd615c5819e3f Mon Sep 17 00:00:00 2001 From: elkaix Date: Sat, 18 Jul 2026 15:45:27 -0400 Subject: [PATCH] chore(release): prepare 0.60.0 Bump version 0.59.0 -> 0.60.0 across pyproject.toml, uv.lock, README, docs, and installer references. Consume Unreleased into a new 0.60.0 (2026-07-18) CHANGELOG section (leaf subagent prompt profile, typed coding-artifact contract, ImplementAndJudge chain module, verified post-update smoke check, and non-interrupting staged auto-updates) and sync docs/en/release-notes/changelog.md. Add 0.60.0 entry to docs/en/release-notes/breaking-changes.md (no breaking changes). --- CHANGELOG.md | 4 +++ README.md | 44 +++++++++++------------ docs/en/guides/getting-started.md | 2 +- docs/en/release-notes/breaking-changes.md | 4 +++ docs/en/release-notes/changelog.md | 41 +++++++++++++++++++++ packages/linux-installer/README.md | 24 ++++++------- pyproject.toml | 2 +- uv.lock | 2 +- 8 files changed, 86 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18208b83..8dd30f17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ GitHub Releases page; `0.8.0` is the new starting line. ## Unreleased +## 0.60.0 (2026-07-18) + - **Leaf subagent prompt profile.** All 12 built-in subagent roles (implementer, coder, verifier, judge, explore, plan, planner, scout, review, code-reviewer, security-reviewer, debugger) now render a dedicated `system_leaf.md` prompt @@ -52,6 +54,8 @@ GitHub Releases page; `0.8.0` is the new starting line. (`true` → `download`, `false` → `notify`); `pythinker info` now reports the mode string, and `/update auto` accepts the new mode names. +Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.60.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest). + ## 0.59.0 (2026-07-17) - **Reviewer subagents now receive deterministic Git scopes.** Structured automatic, diff --git a/README.md b/README.md index 2bc28e75..bba6870e 100644 --- a/README.md +++ b/README.md @@ -50,13 +50,13 @@ It speaks the [**Agent Client Protocol (ACP)**](https://github.com/agentclientpr --- -## 🆕 What's New in 0.59.0 +## 🆕 What's New in 0.60.0 -- **Explicit Z.AI compatibility routes.** Independent Z.AI Coding Plan and API login routes now use separate credentials, endpoints, model identities, catalog refresh, logout, and usage/rate-limit state, with immutable compatibility profiles keeping request-format quirks behind the chat-provider boundary. -- **Streamed tool calls are correlated safely.** Interleaved argument chunks stay attached to their indexed calls, malformed or truncated call streams stop before tool execution, and failed attempts are not retried after output has already been shown. -- **Deterministic reviewer scopes and supervised tool batches.** Reviewer subagents receive fully resolved Git commit anchors with invalid or empty scopes rejected explicitly, and tool execution runs through a supervised batch engine with ordered results, bounded cancellation, and fail-closed new batches until cleanup drains. +- **Leaner leaf subagent prompts.** All 12 built-in subagent roles now render a dedicated `system_leaf.md` prompt from shared Jinja partials instead of the full root system prompt, dropping root-only orchestration prose from every spawn (implementer prompt: ~7,270 → ~4,240 words) while keeping the root render byte-identical. +- **Typed, fail-closed coding-artifact handoff.** The `` contract is now rendered and extracted from a single `CodingArtifact` schema — exactly one end-of-message block, duplicate/undeclared keys rejected, and malformed artifacts surfaced distinctly to the judge instead of passing through as valid. +- **Auto-updates never interrupt a running session.** Updates are downloaded and staged with a verified manifest and applied before the next session (or at clean exit) instead of force-closing the active session mid-run; `auto_update` becomes a policy enum (`off`, `notify`, `download`, `apply_on_exit`) with legacy booleans still accepted, and the post-update smoke check verifies the upgraded binary and version. -Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.59.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest). +Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.60.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest). --- @@ -162,7 +162,7 @@ matches your OS — no Python, Node, or `uv` prerequisite. | Platform | Recommended install | Artifact source | |---|---|---| -| **🪟 Windows** | `irm https://pythinker.com/install.ps1 \| iex` | `PythinkerSetup-0.59.0.exe` from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) | +| **🪟 Windows** | `irm https://pythinker.com/install.ps1 \| iex` | `PythinkerSetup-0.60.0.exe` from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) | | **macOS / Linux** | `curl -fsSL https://pythinker.com/install.sh \| bash` | native tarball from [Releases](https://github.com/Pythoughts-labs/pythinker-code/releases/latest) | | **macOS — Homebrew** | `brew install Pythoughts-labs/pythinker/pythinker-code` | auto-published Homebrew tap | | **🐳 Docker** | `docker run --rm -it ghcr.io/pythoughts-labs/pythinker-code` | GHCR multi-arch image | @@ -190,7 +190,7 @@ pythinker # start the interactive TUI ### 🪟 Windows — native installer -`PythinkerSetup-0.59.0.exe` is an Inno Setup wizard. Release builds are signed +`PythinkerSetup-0.60.0.exe` is an Inno Setup wizard. Release builds are signed when Authenticode secrets are configured in CI; otherwise the installer ships unsigned. Installs per-user into `%LOCALAPPDATA%\Programs\Pythinker`, registers `pythinker` on your user PATH (`HKCU\Environment`), broadcasts @@ -202,13 +202,13 @@ irm https://pythinker.com/install.ps1 | iex # Or manually download the installer + checksum from the Releases page, # verify with Get-FileHash, then run: -.\PythinkerSetup-0.59.0.exe +.\PythinkerSetup-0.60.0.exe # Open a fresh PowerShell pythinker --version ``` -**Per-machine install** (IT-managed boxes): `.\PythinkerSetup-0.59.0.exe /ALLUSERS` +**Per-machine install** (IT-managed boxes): `.\PythinkerSetup-0.60.0.exe /ALLUSERS` installs to `%ProgramFiles%\Pythinker` and writes PATH to HKLM (requires admin). **Upgrade:** `pythinker update` from inside the running app — it downloads @@ -266,26 +266,26 @@ attached to every GitHub Release. ```sh # Debian / Ubuntu (x86_64) -sudo dpkg -i pythinker-code_0.59.0_amd64.deb +sudo dpkg -i pythinker-code_0.60.0_amd64.deb sudo apt-get install -f # only if dpkg reports missing deps # Debian / Ubuntu (ARM64) -sudo dpkg -i pythinker-code_0.59.0_arm64.deb +sudo dpkg -i pythinker-code_0.60.0_arm64.deb # Fedora / RHEL / openSUSE (x86_64) -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code-0.59.0.x86_64.rpm -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code-0.59.0.x86_64.rpm.sha256 -sha256sum -c pythinker-code-0.59.0.x86_64.rpm.sha256 +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code-0.60.0.x86_64.rpm +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code-0.60.0.x86_64.rpm.sha256 +sha256sum -c pythinker-code-0.60.0.x86_64.rpm.sha256 # Fedora / RHEL: -sudo dnf install ./pythinker-code-0.59.0.x86_64.rpm +sudo dnf install ./pythinker-code-0.60.0.x86_64.rpm # openSUSE: -sudo zypper install ./pythinker-code-0.59.0.x86_64.rpm +sudo zypper install ./pythinker-code-0.60.0.x86_64.rpm # Fedora / RHEL (aarch64) -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code-0.59.0.aarch64.rpm -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code-0.59.0.aarch64.rpm.sha256 -sha256sum -c pythinker-code-0.59.0.aarch64.rpm.sha256 -sudo dnf install ./pythinker-code-0.59.0.aarch64.rpm +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code-0.60.0.aarch64.rpm +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code-0.60.0.aarch64.rpm.sha256 +sha256sum -c pythinker-code-0.60.0.aarch64.rpm.sha256 +sudo dnf install ./pythinker-code-0.60.0.aarch64.rpm ``` Both packages drop a small `/usr/bin/pythinker` launcher that execs the real @@ -294,8 +294,8 @@ binary under `/usr/lib/pythinker/`, so your `$PATH` stays tidy. **Verify before install:** ```sh -sha256sum -c pythinker-code_0.59.0_amd64.deb.sha256 # Debian/Ubuntu -sha256sum -c pythinker-code-0.59.0.x86_64.rpm.sha256 # Fedora/RHEL +sha256sum -c pythinker-code_0.60.0_amd64.deb.sha256 # Debian/Ubuntu +sha256sum -c pythinker-code-0.60.0.x86_64.rpm.sha256 # Fedora/RHEL ``` **Upgrade:** download the new `.deb`/`.rpm` from Releases and `dpkg -i` / diff --git a/docs/en/guides/getting-started.md b/docs/en/guides/getting-started.md index 28ce68ef..5e330769 100644 --- a/docs/en/guides/getting-started.md +++ b/docs/en/guides/getting-started.md @@ -44,7 +44,7 @@ On Windows, run the PowerShell bootstrap. It downloads the native installer, ver irm https://pythinker.com/install.ps1 | iex ``` -You can also download `PythinkerSetup-0.59.0.exe` manually from the [latest release](https://github.com/Pythoughts-labs/pythinker-code/releases/latest). +You can also download `PythinkerSetup-0.60.0.exe` manually from the [latest release](https://github.com/Pythoughts-labs/pythinker-code/releases/latest). Verify the installation: diff --git a/docs/en/release-notes/breaking-changes.md b/docs/en/release-notes/breaking-changes.md index 1e17459b..58cb1359 100644 --- a/docs/en/release-notes/breaking-changes.md +++ b/docs/en/release-notes/breaking-changes.md @@ -4,6 +4,10 @@ This page documents breaking changes in Pythinker Code releases and provides mig ## Unreleased +## 0.60.0 (2026-07-18) + +No breaking changes. This release is compatible with 0.59.0 user configuration, native installs, and session data. + ## 0.59.0 (2026-07-17) No breaking changes. This release is compatible with 0.58.0 user configuration, native installs, and session data. diff --git a/docs/en/release-notes/changelog.md b/docs/en/release-notes/changelog.md index 9c635d0f..3e134e89 100644 --- a/docs/en/release-notes/changelog.md +++ b/docs/en/release-notes/changelog.md @@ -17,6 +17,47 @@ GitHub Releases page; `0.8.0` is the new starting line. ## Unreleased +## 0.60.0 (2026-07-18) + +- **Leaf subagent prompt profile.** All 12 built-in subagent roles (implementer, + coder, verifier, judge, explore, plan, planner, scout, review, code-reviewer, + security-reviewer, debugger) now render a dedicated `system_leaf.md` prompt + composed from shared Jinja partials instead of the full root system prompt, + dropping root-only orchestration/playbook prose from every spawn (implementer + prompt: ~7,270 → ~4,240 words). The root prompt render is byte-identical to + before; the shared sections now live once in `agents/default/partials/`. +- **Typed coding-artifact contract.** `pythinker_code.utils.artifacts` is the + single source of truth for the `` handoff: the prompt block + is rendered from the `CodingArtifact` schema (injected into writer roles via + the leaf template), and extraction is strict and fail-closed — exactly one + end-of-message block, duplicate and undeclared JSON keys rejected, typed + present/missing/malformed results. The `ImplementAndJudge` chain now surfaces + malformed artifacts distinctly to the judge and in its result instead of + passing them through as if valid, and the verifier's artifact receipt + cross-checks `files_changed` against `git diff`. +- **ImplementAndJudge chain extracted to its own module.** + `tools/agent/implement_judge.py` now owns the chain; the full previous import + surface of `pythinker_code.tools.agent` is preserved via re-exports. +- **Post-update smoke check now verifies the upgraded binary and version.** On + Homebrew installs the smoke check exercised the still-running old keg via + `sys.executable`, so it could report "passed" with the pre-upgrade version; + it now targets the brew `opt`-linked launcher and fails (as + `VERIFICATION_FAILED`) when the reported version does not match the update + target. The persistent "restart to apply" notice is also derived from the + recorded update status alone, so dismissing a version's install prompt no + longer hides the restart notice after that version is installed. +- **Updates never interrupt a running session.** On Windows, the background + auto-updater previously launched the installer mid-session, force-closing the + active Pythinker session. Updates are now downloaded and staged with a verified + manifest, surfaced as a "restart to apply" notice, and applied before the next + session starts (or at clean exit with the new `apply_on_exit` policy). The + `auto_update` config becomes a policy enum — `off`, `notify`, `download` + (default), `apply_on_exit` — with legacy booleans still accepted + (`true` → `download`, `false` → `notify`); `pythinker info` now reports the + mode string, and `/update auto` accepts the new mode names. + +Upgrade with `pythinker update`, `pip install --upgrade pythinker-code==0.60.0`, or use the native installer for your platform from the [Releases page](https://github.com/Pythoughts-labs/pythinker-code/releases/latest). + ## 0.59.0 (2026-07-17) - **Reviewer subagents now receive deterministic Git scopes.** Structured automatic, diff --git a/packages/linux-installer/README.md b/packages/linux-installer/README.md index f5944ab9..e9045be2 100644 --- a/packages/linux-installer/README.md +++ b/packages/linux-installer/README.md @@ -8,19 +8,19 @@ End-user install from the current GitHub Release: ```sh # Debian / Ubuntu -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code_0.59.0_amd64.deb -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code_0.59.0_amd64.deb.sha256 -sha256sum -c pythinker-code_0.59.0_amd64.deb.sha256 -sudo dpkg -i pythinker-code_0.59.0_amd64.deb +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code_0.60.0_amd64.deb +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code_0.60.0_amd64.deb.sha256 +sha256sum -c pythinker-code_0.60.0_amd64.deb.sha256 +sudo dpkg -i pythinker-code_0.60.0_amd64.deb sudo apt-get install -f # only needed if dependencies fail to resolve # Fedora / RHEL / openSUSE -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code-0.59.0.x86_64.rpm -curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.59.0/pythinker-code-0.59.0.x86_64.rpm.sha256 -sha256sum -c pythinker-code-0.59.0.x86_64.rpm.sha256 -sudo dnf install ./pythinker-code-0.59.0.x86_64.rpm +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code-0.60.0.x86_64.rpm +curl -LO https://github.com/Pythoughts-labs/pythinker-code/releases/download/v0.60.0/pythinker-code-0.60.0.x86_64.rpm.sha256 +sha256sum -c pythinker-code-0.60.0.x86_64.rpm.sha256 +sudo dnf install ./pythinker-code-0.60.0.x86_64.rpm # or, on openSUSE: -sudo zypper install ./pythinker-code-0.59.0.x86_64.rpm +sudo zypper install ./pythinker-code-0.60.0.x86_64.rpm ``` The package drops a single executable at `/usr/bin/pythinker` and a license @@ -36,13 +36,13 @@ file at `/usr/share/doc/pythinker-code/LICENSE`. ## Build ```sh -bash packages/linux-installer/build.sh 0.59.0 +bash packages/linux-installer/build.sh 0.60.0 ``` Outputs to `dist/`: -- `pythinker-code_0.59.0_amd64.deb` -- `pythinker-code-0.59.0.x86_64.rpm` +- `pythinker-code_0.60.0_amd64.deb` +- `pythinker-code-0.60.0.x86_64.rpm` The portable tarball used by `scripts/install-native.sh` is published by the existing `release-pythinker-cli.yml` workflow under the cargo-dist diff --git a/pyproject.toml b/pyproject.toml index c551decf..6362adec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pythinker-code" -version = "0.59.0" +version = "0.60.0" description = "Pythinker — an agentic CLI developed by Pythoughts-labs." readme = "README.md" requires-python = ">=3.12" diff --git a/uv.lock b/uv.lock index a99eca78..fbdbc802 100644 --- a/uv.lock +++ b/uv.lock @@ -2527,7 +2527,7 @@ wheels = [ [[package]] name = "pythinker-code" -version = "0.59.0" +version = "0.60.0" source = { editable = "." } dependencies = [ { name = "agent-client-protocol" },