Skip to content

docs: an accepted input may be handed back by a later drop - #244

Merged
xxchan merged 1 commit into
mainfrom
docs/accepted-vs-dropped
Oct 8, 2026
Merged

xxchan merged 1 commit into
mainfrom
docs/accepted-vs-dropped

Conversation

@xxchan

@xxchan xxchan commented Oct 8, 2026

Copy link
Copy Markdown
Member

The accepted response for prompt, steer and queue said "do not resubmit" with no exception, and conversation.md repeated it. Since 0.43.0 (#241), a later input_dropped or the dropped state at exit hands the input back to the caller. This states the exception where the rule is written. Raft's OarHost acks on steered and asked how a later drop fits.

🤖 Generated with Claude Code

The accepted response for prompt, steer and queue said "do not
resubmit" without exception. Since 0.43.0 a later input_dropped (or the
dropped state at exit) hands the input back, so say so where the rule is
stated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit e953b43 into main Oct 8, 2026
13 checks passed
@xxchan
xxchan deleted the docs/accepted-vs-dropped branch October 8, 2026 10:35
@xxchan xxchan mentioned this pull request Oct 8, 2026
xxchan added a commit that referenced this pull request Oct 8, 2026
Release OAR and CLI 0.44.0. This PR changes only the two package version
fields.

**Hosts that use cursor: bump `@cursor/sdk` to exactly 1.0.37.** OAR's
peer dependency is an exact pin and moves from 1.0.36 to 1.0.37 (#246).
The CLI ships with 1.0.37.

**Behavior change: pi cancellation** (#246)
- pi's bundled SDK is now `@earendil-works/pi-coding-agent` ^1.1.0 (was
^1.0.2), which reports cancellation natively in `agent_settled.aborted`.
- `abort()` now goes through the SDK's complete `AgentSession.abort()`
path (retries, compaction and branch summaries included); it is still
answered `accepted` at once.
- A pi turn's `aborted` outcome now comes from pi's own flag, not from
OAR's abort request. A turn that a pi extension cancels is now
`aborted`; it used to read `completed`. An error from the SDK's abort is
recorded as a `pi/abort_rejected` frame.
- Sessions written by pi 1.0.4 resume on 1.1.0 with their id, model and
history.

**Docs and tests**
- The `accepted` response for prompt, steer and queue now states its
exception: a later `input_dropped` or `dropped` hands the input back to
the caller (#244).
- `SessionOptions.disallowedTools`: a model that calls a denied tool
anyway gets the runtime's refusal (claude, pi, codex, antigravity),
pinned by vendor tests; a resume that omits the list lifts the
restriction except on antigravity, which keeps its saved filter (#245).
- cursor: SDK 1.0.37 still keeps the 24-hour background-shell timer
(cursor.md).

Validation: all 13 checks passed on #246's final head (`8efd9c2`),
#245's (`463bb36`) and #244's (`9f54237`), and each merged tree equals
its CI tree. The 1.0.37 check covers the cursor login stand-in and
adapter regressions; no real cursor session was run on 1.0.37
(experiments/runtime-version-checks/2026-10-08.md). After this PR passes
CI and merges, tag its exact squash commit as `v0.44.0` to trigger npm
trusted publishing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: exe.dev user <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
stamp-build Bot added a commit that referenced this pull request Nov 16, 2026
<!-- stamp:review:v1 -->
<sup><img
src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp"
width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_a1376023374e19f5e2cbcae1f0ee2069"><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 -->

Codex accepts queue submissions after an interrupted turn but does not
run them until a later prompt completes. Refuse those submissions with
`no_active_turn` and guidance to use `prompt`, using native root
lifecycle signals. Normal completion keeps native automatic queue
startup, and `deliver()` preserves the refusal when a stale status sends
it through steer then queue.

Native Codex 0.169.0 with aimock confirmed the distinction and ordering;
the reproducible probe and selected evidence are included. Regression
tests cover native completion/interruption, recovery, child-thread
isolation, and stale delivery. Full checks passed: 4,434 unit tests and
18 mock behavior cases; native Codex behavior 16 passed / 3 capability
skips; both new vendor cases passed.

This addresses task #244. The separate late tool-completion status fix
remains in #838.

Co-authored-by: Otter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant