Skip to content

chore: release v0.25.0 - #154

Merged
xxchan merged 1 commit into
mainfrom
chore/release-v0.25.0
Oct 6, 2026
Merged

xxchan merged 1 commit into
mainfrom
chore/release-v0.25.0

Conversation

@xxchan

@xxchan xxchan commented Oct 6, 2026

Copy link
Copy Markdown
Member

Release OAR and CLI 0.25.0 with the validated SDK updates from #152. This PR changes only the two package version fields.

Cursor hosts must upgrade their own @cursor/sdk to exactly 1.0.36; the CLI installs the matching SDK itself. Pi's workspace resolution is 1.0.4, with published ranges remaining ^1.0.2. Session interfaces are unchanged. Compatibility evidence and migration requirements.

Validation: local pnpm run check and pnpm run build passed. All 13 checks passed on #152's final head. After this version PR passes CI and merges, tag its exact squash commit as v0.25.0 to trigger npm trusted publishing.

@xxchan
xxchan merged commit a800aa0 into main Oct 6, 2026
13 checks passed
@xxchan
xxchan deleted the chore/release-v0.25.0 branch October 6, 2026 09:52
stamp-build Bot added a commit that referenced this pull request Nov 2, 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_d307153f63a50948b3a4d14fea7ed3b6"><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 -->

Hosts restoring changed Claude/Codex prompt options need native
compaction before the next input. Add optional
`Runtime.manualCompaction` and `Session.compact()` for Claude, Codex and
Pi SDK/RPC, with typed completed/rejected/failed/aborted/unconfirmed
results tied to native evidence. This is task #154's first PR; the
remaining candidates stay undeclared until their separate control and
correlation regressions.

- All four entries require idle sessions. Claude checks a same-process
builtin command catalog with no non-builtin `compact` entry, then
matches command, boundary and result identities. Codex associates the
native `contextCompaction` item and its turn, and refuses observed
active goals or queued inputs. Pi uses exclusive manual start/end facts.
Automatic, child, stale and unrelated completions cannot settle the
control.
- An already aborted signal returns `rejected / aborted` without sending
native work. `timeoutMs: 0` still dispatches. After dispatch, timeout or
signal stops waiting only: the native operation keeps its slot, late
records remain observable, and queue entries wait for native settlement.
Claude drains one queued input per turn and reserves it before its
native receipt, so a later prompt cannot overtake it. Pi RPC compact has
no ordinary 30-second transport deadline.
- `abort()` uses the native cancellation control once its target exists.
Claude's queued cancellation is `aborted`; after native execution
starts, Claude reports `compact_result=failed`, so compact returns
`failed / native_failed` independently of the ordinary turn's
OAR-aborted outcome. Codex/Pi retain their native aborted result. An
interrupt for native unstarted input is written before arrivals held
during cancellation observation are drained. Disposal or process exit
returns unconfirmed without inventing a compaction terminal or writing a
late rejection.
- Returned reasons use the same credential redactor as records.
`AgentStatus.compaction` exposes only `requestId` and `started?`; the
exported `StatusState` checkpoint retains native turn/span correlation.
Incremental consumers must persist the entire checkpoint with its
cursor, including `TaskState.status` and `SessionView.statusState`. The
exported `statusValue` extracts only the display value and cannot
replace a resumable checkpoint. Pi's idle state retains the preceding
turn outcome.
- The native resume regression changes system/append options, completes
compaction, and inspects the next provider request for the new markers.
Repeating Claude 2.1.316 initialize three times preserves settings,
permission mode, system/append prompt and tool catalog, with one
SessionStart hook and one MCP initialization. This is version-specific
Linux evidence; the separate source-read/dispatch window remains
non-atomic. Codex local compaction is tested; ChatGPT-login remote
compaction remains source-only.

Public record change: `turn_ended.inputId?` and ordered `inputIds?`
separately copy `result.user_message_uuid` and `user_message_uuids`
through the common stream-json projection. They appear in public events
and `Frame.body.events`, including ordinary non-compacting turns; raw
frames are unchanged. Claude's two queued native messages report the
latter singular UUID and both plural UUIDs. The earlier
prompt-plus-steer fixture names the original prompt, so OAR infers no
first/last rule. Qwen 0.26.5 and Qoder 1.1.81 report neither field, and
their result `uuid` is not substituted. Hosts should settle every entry
in `inputIds` when present. OAR's own interrupt fallback retains its
separate `carries` and `mergedInputIds` provenance. Eleven existing
snapshots add only 30 identity fields verified against their raw
results; both additions are documented in the spec and release-note
draft.

Validation: the revised implementation passes the full check (3,049
tests and 18 mock behaviors), build, clean packed-consumer type exports,
all 14 behavior backends, and full native suites: Claude 2.1.316 (80),
Codex 0.166.0 (62), Pi SDK 1.4.0 (97), Pi RPC 1.4.0 (95). The
manual-compaction file contributes 33 native controls. Review
regressions cover queued cancellation without process kill, separate
queue turns, late provenance replies, conflicting command catalogs,
goal-turn misattribution, pre-aborted signals, reason redaction,
synthetic-terminal absence and checkpoint replay. Pi project fixtures
clear and restore inherited `PI_PACKAGE_DIR`; their 20 cases also pass
with this managed host's conflicting value present. After rebasing onto
current main, the full check, build and clean packed-consumer validation
pass again, as do all three Pi behavior backends and the full Pi SDK
1.5.0 (97) and Pi RPC 1.5.0 (95) vendor suites. The new
capability-inventory test uses the Durable 1.4.0 model-catalog alias
introduced by the security update. The final cancellation-order revision
passes all 14 behavior backends and full Claude 2.1.316 (80), Qwen
0.26.5 (18) and Qoder 1.1.81 (9) vendor suites. Six independent
mutations are caught, including the public Codex abort-before-item gate
and the Claude result-frame reference. Packed-consumer validation checks
both exports of the checkpoint type and its display helper.
Windows/macOS validation awaits CI on the revised head.

[Evidence, reproductions and release-note
draft](https://github.com/botiverse/oar/blob/ce0e3b9f495c501d15c5e218a5bd5a6f24c7d54c/experiments/manual-compaction-2026-11-02.md).
No release/version bump or workflow change.

---------

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.

2 participants