Repository navigation
chore: release v0.29.0 - #168
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
stamp-build Bot
added a commit
that referenced
this pull request
Nov 5, 2026
<!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_aae192914f0a2ddced59d68cf5f97163"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Adds opt-in `SessionOptions.endTurnProcessesOnAbort` for Codex (task #168, Raft's #oar-raft:3a629875 item 1). Codex's `turn/interrupt` can leave a detached child and a yielded command running, so pressing Stop leaves the build going. Otter's native probe showed `thread/backgroundTerminals/terminate` and `clean` do not reach a setsid child and miss the launch window, and that `clean` also ends earlier work, so this does not use them. How it works: a process-table read starts before each `turn/start` without delaying it, and another is taken before `turn/interrupt`. After `turn/completed` reports that turn `interrupted`, OAR ends the difference, with a start-identity check before any signal. It spares: - the app-server and everything in its process group (Codex's own `git` helpers, and the native binary behind the npm launcher) - everything below an older process outside that group, so stdio MCP servers, their workers (including detached ones) and earlier background commands survive OAR would rather not kill than kill wrongly. If either read fails or is unfinished, or the turn was not started by `prompt`, nothing is ended and the reason is recorded. **Record:** a `cleanup` response on the abort request, after the turn's end. `SessionCleanup` `completed` and `failed` gain optional `signalled` (kills actually sent, not proof of exit), so `failed` can mean some were sent when others were refused. A host that needs the processes gone waits for this response, not the turn end. **Other runtimes** refuse the option, and so does shared placement. **Windows** accepts it but ends nothing, recording why: with no process groups it cannot tell these processes apart. A vendor control that does not skip on Windows checks this; its first native run is this PR's CI. Evidence on Linux x64, Codex 0.163.0 and 0.166.0, local provider (the vendor tests pass 6 of 6 on both): - a foreground command's setsid child and a yielded command with its child are gone - the MCP server, the earlier background command, and workers both fork during the aborted turn survive - the next prompt completes, and a prompt sent from the old turn's end frame keeps its own baseline - with the option off, the processes survive as before The vendor test also asserts the process-group shape it relies on, so a Codex change turns it red. Guards were reverted one at a time and tests went red. `CI=1 pnpm run check` passed on this change before pushing. Limits (in `docs/runtimes/codex.md`): a command started between the snapshot and the interrupt landing is missed. A launcher that gave the native binary its own group would make OAR end nothing. macOS has not been run natively, and Windows has only a unit test. Resume with the option was not exercised natively. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Cindy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release OAR and CLI 0.29.0. This PR changes only the two package version fields.
New
ToolAction.paths(feat(observe): ToolAction.paths names every file a read or edit call involves #167, closes classifyTool: codex fileChange yields no file path (its input is the changes array) #166): onread_fileandedit_file, every file path the call involves, in the runtime's order, each once; absent when the input names none.detailis its first entry.fileChange: each change'spath, and a rename's target right after its source. Codex fileChange calls previously had nodetail; nowdetailis the first changed path, sooar runprints[Editing file] <path>for them.Read/Edit/Write/NotebookEditand the pi, opencode and cursor read and write tools: the one path the call names (NotebookEditnow hasnotebook_pathas itsdetailtoo).lstools (pi, cursor) give the listed directory.kindstaysedit_filefor afileChangethat adds, updates and deletes at once.Validation: all 13 checks passed on #167's final head (
ab273f5), with a new real codex 0.160.1fileChangereplay fixture. After this PR passes CI and merges, tag its exact squash commit asv0.29.0to trigger npm trusted publishing.🤖 Generated with Claude Code