Skip to content

Commit e36501c

Browse files
authored
Merge pull request #106 from protocol-security/release/0.21.1
Bump 0.21.1 -- post-process exit-code propagation
2 parents f82eeef + 3e37172 commit e36501c

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## Unreleased
44

5+
## 0.21.1 — 2026-06-08
6+
7+
- **Fix: `post-process` propagates the container's exit code.**
8+
`cmd_post_process` harvests unconditionally (best-effort recovery
9+
of a crashed agent's in-flight commits) but now returns the
10+
post-process container's exit code, so CI workflows and daemons
11+
can gate publishing on it. A clean run still returns `0`;
12+
previously the failure was swallowed whenever harvest succeeded.
13+
514
## 0.21.0 — 2026-05-26
615

716
- **Feature: interactive agent containers for human-guided work.**

USAGE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,12 @@ many consecutive sessions with no commits before the
456456
post-processor exits. When omitted it inherits the top-level
457457
`max_idle` (default: `3`).
458458

459+
`./launch.sh post-process` (and `wait` when it triggers
460+
post-processing) exits with the post-process container's exit
461+
code. Harvest still runs first, so a crashed agent's in-flight
462+
commits are recovered locally, but a non-zero exit lets CI or
463+
daemons refuse to publish partial state.
464+
459465
## Context modes
460466

461467
Motivated by [Evaluating AGENTS.md](https://arxiv.org/abs/2602.11988)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.21.0
1+
0.21.1

0 commit comments

Comments
 (0)