Skip to content

Commit 74d99fa

Browse files
chore(release): v0.1.96-rc.1 [skip ci]
1 parent 491460d commit 74d99fa

6 files changed

Lines changed: 29 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
66

77
<!-- changelog:entries -->
88

9+
## [0.1.96-rc.1] - 2026-06-29
10+
11+
12+
### Added
13+
14+
- Feat(sdk): ReasonerFailed exception so a reasoner can report failure with result (#697)
15+
16+
The async execution handler records an execution as `succeeded` whenever the
17+
reasoner returns a value — it never inspects the result. A reasoner whose own
18+
payload says `success: False` (e.g. a build that completed zero issues and
19+
merged nothing) therefore surfaces as green, which is easy to act on
20+
incorrectly.
21+
22+
Add `ReasonerFailed`, raised inside a reasoner to report that the work ran but
23+
failed. The handler maps it to `status="failed"` while still posting the
24+
structured `result`, so the control plane (which stores the result payload
25+
regardless of terminal status) keeps the rich outcome — debt, DAG state, any
26+
PR opened — instead of just a bare error string. error_details is carried
27+
through the existing generic path.
28+
29+
Refs Agent-Field/SWE-AF#82 (Gap 2, SDK half).
30+
31+
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> (491460d)
32+
933
## [0.1.95] - 2026-06-27
1034

1135
## [0.1.95-rc.3] - 2026-06-27

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.95
1+
0.1.96-rc.1

control-plane/internal/templates/go/go.mod.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module {{.GoModule}}
22

33
go 1.23
44

5-
require github.com/Agent-Field/agentfield/sdk/go v0.1.95
5+
require github.com/Agent-Field/agentfield/sdk/go v0.1.96-rc.1

sdk/python/agentfield/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,4 @@
179179
"reasoner",
180180
]
181181

182-
__version__ = "0.1.95"
182+
__version__ = "0.1.96-rc.1"

sdk/python/pyproject.toml

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

sdk/typescript/package.json

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)