Repository navigation
Gentle Shell v5.1.0 is a minor release that adds read-only setup diagnostics and the optional Controlled Engineering profile mode against over-engineering, keeps authorized work moving instead of ending the turn early, improves project-aware Desktop behavior, and pins Gentle AI v5.1.0. The npm package remains gentle-pi.
Provenance
- Previous stable:
v5.0.0→be74d44cec564fae3c9cc66f392d1396fd432fe8 - Release target:
v5.1.0→f8424d1315437883e9ab565e922cc603a1844f15 - Release validation: Run 45978320108 published
gentle-pi@5.1.0with npm provenance. The installer job succeeded. Once 5.1.0 was visible as npmlatest, the distribution build and frozen-install checks passed on Linux, macOS and Windows on the second attempt of the same run. Only failed jobs were retried; the package was not republished. - Pinned Gentle AI:
v5.1.0(d64b1c1baa22cf34d3a8da29050d57103a07cf6a); the provider bundle advances from 1.6.0 in the previous stable to 1.7.0.
What's new
Inspect setup without changing it
The launcher supports machine-readable version output and a read-only setup check. Desktop can read MCP, Pi settings and Claude bridge configuration, and its feed can identify commands supported over RPC.
Included work: #3546, #3547, #3548.
Controlled Engineering, an optional profile mode against over-engineering
Every profile can now turn on Controlled Engineering, off by default. It adds one ## Controlled Engineering section to the system prompt with authoring rules against unrequested machinery, for implementations and fixes alike: work the way the project already works, name the evidence for each thing built and the smallest root-cause change, and treat every new state, flag, retry, lock or schema as something that needs a requirement. Toggle it in /gentle:profiles with c and save it with s; while it is on, the Orchestrator row shows · controlled. The primary session in organic mode, gentle-ai-worker and jd-fix-agent receive the writer rules, gentle-ai-verify receives the verifier rules, and explore and review agents never receive it.
The behaviour it targets is model-dependent and was reported constantly with OpenAI models, so it is opt-in per profile instead of a shared prompt change for every model. In a paired A/B on openai-codex/gpt-6.2-sol at medium effort (68 valid cells), every hidden check passed with the option off and on, and the option on wrote fewer source lines where there was room to inflate: 49 to 53 against 58 to 62 on a vague feature, and 4 to 7 against 7 to 15 on a one-line bug. On real cases from the project's history, judged blind, the mean over-engineering score was 2.33 with the option on against 2.83 off. Limits of that evidence: n=3 per arm, one model, one judge; the option lowers the degree of over-engineering, not the direction of the solution.
Included work: #3566.
Workspace boundaries
Path tools ask before they reach outside the session worktree, so the intended scope of work stays explicit. A failed consent dialog does not count as permission to access a path outside the session worktree.
Gentle AI v5.1.0 pin
Packaged installs and double-click installers use the verified upstream stable instead of the earlier 5.0.0 runtime. See Pinned runtime for the distribution and contract details.
Included work: #3588 (issue #3587).
What was fixed
Authorized work keeps moving across turns
The primary agent could end its turn while a runnable, already-authorized step remained, and the human had to prompt again ("continue"); it kept happening with GPT-family models on both the openai and openai-codex providers. The instructions had no single rule for when a turn may end: one sentence asked to continue, while several prohibitions written for narrow cases read as general "after a failure, stop and report" rules. The guidance now runs authorized, runnable work before reporting and distinguishes an obstacle from a real stop or a wait with a wake event. The ordinary writer correction count is replaced with evidence-based progress, runtime notices state automatic wake events, and explicit limits are retained. The report came from real sessions (7 premature endings confirmed by hand for gpt-6.2-astra in 14 days); the Astra comparison delivered 9/9 on each pin and did not reproduce the reported stop, so no benchmark improvement in live model adherence is claimed.
Included work: #3540 (issue #3524), consuming the guidance from gentle-ai#6280.
Review timeouts and Desktop session handling
Shell settles a native STATUS timeout even if the child still owns its pipes, and a timed-out reviewer slot remains eligible for a provider-directed reoffer. In Desktop, new tabs use the displayed project's directory and liveness depends on a process listing that actually answered.
Included work: #3557, #3558, #3574, #3579.
Pinned runtime
Gentle AI v5.1.0 uses the github.com/gentleman-programming/gentle-ai/v5 module. Darwin and Linux installs check the pinned archive and binary SHA-256 for each supported architecture. Windows builds the exact Go tag through the SumDB-verified source path. The published provider contract is 1.7.0; separately, the released binary advertises gentle-ai.review-integration.capabilities/v2.6, protocol 2.6. There is no new negotiated v2.7 identity.
Breaking changes
No breaking changes are declared for v5.1.0. The npm package name and stable runtime module path are unchanged. External path access may now require confirmation.
Upgrade
pi install npm:gentle-pi@5.1.0Restart Pi, then run gentle-ai sync so the managed orchestrator assets match the pinned runtime.
Numbers
84 non-merge commits, 54 merged pull requests, and 12 unique GitHub PR authors since v5.0.0.
Verification
-
On macOS arm64, the focused installer regression suite passed 457 tests (39 skipped). The full suite was not green locally: the isolated run had 11,978 passes, 4 failures and 96 skips. Five affected cases passed separately on both base and candidate; two failed on both with the macOS
/tmpalias. All 10 hosted PR checks passed, including Ubuntu and Windows tests and installer checks on macOS, Ubuntu and Windows. -
Verified 303 package resources and 69 byte-pinned contract artifacts. Typecheck reported zero diagnostics. Runtime generation matched all 26 generated modules.
-
The packed runner installed
gentle-pi 5.1.0with the published Gentle AI5.1.0;npm pack --dry-runpassed. -
High-risk native review
review-46a8b84ab172fb7awas approved: zero blocking findings and one informational advisory about recording capability negotiation in a persistent test. Independent checks validated all four pairs of archive/executable digests, the Windows module checksum, and actual capabilities decoding. -
The downloaded macOS, Windows and Linux installer archives passed their published SHA-256 checks. All three declare Shell 5.1.0 and pin Gentle AI 5.1.0.
Install
pi install npm:gentle-pi@5.1.0Package: https://www.npmjs.com/package/gentle-pi
Full changelog: v5.0.0...v5.1.0