Skip to content

Commit 685263e

Browse files
committed
chore(release): 2.8.1
Fixes the S3358 nested-ternary regression in the new `worktrees unlock` command (worktrees_cmd.py), which is a gated file and kept the release commit red, and re-cuts the release as 2.8.1. Content is otherwise the intended 2.8.0 (Codex OAuth fix, worktree GC reliability, the unlock command, and the security cleanup); 2.8.0 was never tagged.
1 parent 7794192 commit 685263e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v2.8.0
1+
# v2.8.1
22

33
Released 2026-06-25.
44

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "bernstein"
7-
version = "2.8.0"
7+
version = "2.8.1"
88
description = "Audit-grade multi-agent orchestration for CLI coding agents (Claude Code, Codex, Gemini CLI, and 40 more): HMAC-chained audit log, signed agent cards, per-artefact lineage, air-gap deploy. The orchestrator your compliance team will sign off on."
99
readme = "README.md"
1010
requires-python = ">=3.12"

src/bernstein/cli/commands/worktrees_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ def unlock_cmd(workdir: Path, force: bool, as_json: bool) -> None:
693693
age = status.get("age_seconds")
694694
age_str = f"{int(age)}s" if isinstance(age, (int, float)) else "unknown age"
695695
owner = f"pid {pid}" if pid else "an unknown process"
696-
liveness = "alive" if alive else ("not running" if alive is False else "liveness unknown")
696+
liveness = {True: "alive", False: "not running", None: "liveness unknown"}[alive]
697697

698698
if as_json:
699699
click.echo(json.dumps({**status, "removed": removed}, default=str))

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)