Skip to content

chore: release v0.16.0 - #97

Merged
xxchan merged 1 commit into
mainfrom
release/v0.16.0
Oct 3, 2026
Merged

xxchan merged 1 commit into
mainfrom
release/v0.16.0

Conversation

@xxchan

@xxchan xxchan commented Oct 3, 2026

Copy link
Copy Markdown
Member

Minor release, version bump only.

🤖 Generated with Claude Code

Minor release: #96 runs cursor through the official @cursor/sdk (breaking
for cursor: earlier cursor-agent sessions cannot be resumed, cursor signs in
with CURSOR_API_KEY or Cursor.auth.login(), no cursor update check), and #95
adds the `wait` ToolActionKind for codex sleep. Version bump only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit df5cdd9 into main Oct 3, 2026
12 checks passed
@xxchan
xxchan deleted the release/v0.16.0 branch October 3, 2026 10:57
stamp-build Bot added a commit that referenced this pull request Oct 30, 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_233eea9b5b9cd4ef1694b6d2cf98eebc"><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 -->

The first three-platform sharing run failed on equivalent path spellings
and malformed Windows fixture commands, and skipped resource collection
after observation failures. Normalize both cwd paths while retaining
their raw values, use PowerShell's call operator for
Antigravity/OpenCode, and target Qoder's identified daemon root for
crash injection instead of a transient first child.

Record native request/condition waits, setup failures, and Qoder
fault-to-exit/turn-settlement times. Increase only the manual Windows
probe budgets. Collect resources after successful installation even when
observations fail, preserving both failures and artifacts. Runtime
defaults, child attribution rules and sharing admission remain
unchanged.

Validation: all six pinned native observation programs passed locally on
Linux with synthetic configuration and local model responses; both
active Qoder turns settled about 69 ms after the injected crash. Codex,
ACP/Kimi and Qoder resource programs passed two-session collection smoke
runs. Unit regressions cover filesystem aliases, wrong-directory
rejection and persisted setup-timeout evidence; the literal PowerShell
argument round trip requires Windows CI. The full local check passes.
Corrected Windows/macOS native evidence and ten-session resource
measurements still require the manual main-branch workflow, which Cindy
owns.

[First-run diagnosis and evidence
limits](https://github.com/botiverse/oar/blob/081d1663242cd73027cd3f82cada7abaa1f3a285/experiments/sharing/portability-2026-10-30.md).
Follow-up for tasks #102 and #103; Windows installation timeout risks
also recorded under task #97.

Co-authored-by: Otter <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 30, 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_69721218ee4bcdaced6b9352a0f2cd99"><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 -->

Windows timeout failures can lose the final artifact without showing
whether the sampler entered or returned from `Process.Kill(true)`. This
adds per-process and aggregate handle counts to resource samples,
includes the aggregate in the existing live checkpoints, and writes
timestamped timeout/termination checkpoints to both the job log and
JSONL.

The checkpoints identify the launched PID before termination, the call
returning or throwing, and the result of the existing five-second
root-process exit wait. Missing handle counts remain unknown. A returned
termination call or an exited root is not evidence that every descendant
exited; a stopped log can also mean the sampler or CIM query blocked. No
native timeout, sampling interval, command, concurrency or termination
operation changes. Diagnostic output still excludes command lines,
executable paths and environment values.

Windows regressions check handle counts and original exit/output
preservation, plus checkpoint order and matching live-log/JSONL evidence
for command timeout and a blocked test worker. The complete local check
passes on Linux; Windows-native cases skip there and require the PR's
Windows CI. The investigation report documents what each checkpoint
establishes.

This is the separate task #97 diagnostics follow-up requested after PR
#539's Windows Pi RPC cancellation. It does not establish the
cancellation's cause or alter that PR.

Co-authored-by: Otter <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 30, 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_ac3ca404b6029546d4ee9c6494f1b09a"><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 -->

A Windows Pi RPC vendor run reported all 85 tests passed but exited 1
because the diagnostic reporter threw `EPERM` while replacing
`active-tests.json` ([retained
run](https://github.com/botiverse/oar/actions/runs/40996187546/job/123869751452)).
The reporter now retries a busy rename three times with 20 ms between
attempts. Exhaustion records `diagnostic_write_failed` with the
operation, error code and attempt count. Directory, log, snapshot and
fallback-output errors are contained so diagnostic I/O does not become
an unhandled test-run error; subsequent events can recover.

The regressions cover temporary and persistent replacement failures,
other diagnostic writes and a closed output pipe. On Windows, a real
file handle prevents replacement while a nested Vitest run executes:
both a passing case and an intentional assertion failure must keep their
original exit codes and recorded results.

Validation: `CI=1 pnpm run check` passed (2,516 tests and 18 mock
behavior checks). All 85 native Pi RPC vendor tests passed with
diagnostics enabled after removing this managed runner's inherited
`PI_PACKAGE_DIR` override. The initial run is retained separately: 14
cases read the host's 1.0.56 package metadata instead of bundled Pi
1.4.0. Windows file-lock regressions await CI.

Task #97. The five investigation runs did not reproduce the earlier
25-minute cancellation; this fixes the observed reporter failure,
without attributing the file lock to a particular process.

The first Windows CI run confirmed the real file lock and successful
child test, but the outer regression incorrectly expected exitCode 0.
The existing runExecutable contract returns ok=true and exitCode=null on
success. The revision checks ok, the documented exitCode, and absence of
failure diagnostics; it retains the file-lock, case outcome, and EPERM
assertions. Full local check passed again. Windows validation of this
revision is pending.

---------

Co-authored-by: Otter <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 30, 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_3dd8b04ccc82e063671c93b204cfab1b"><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 -->

The Windows CI monitor called `Process.Kill(true)` synchronously after a
case or command deadline. If that call did not return, the monitor could
not exit and reach the artifact upload step.

Run termination on a background worker and bound the total termination
wait to ten seconds. A returned call retains a root-exit observation of
up to five seconds within the remaining budget; a nonreturning or thrown
call records its own checkpoint. All timeout paths flush the final
`stage_exit` record and exit 124 without joining the worker, disposing
the shared process, or taking another CIM sample. Normal commands retain
their native exit codes and inherited output. Exit 124 does not claim
that every descendant stopped; residual cleanup belongs to the runner.

The actual termination helper has real-child regressions for native
termination, a never-returning call, an exception, and a slow returned
call whose target remains alive. They observe root `exit` separately
from pipe `close`, enforce the total budget, retain evidence in both
sinks and clean up the synthetic targets. The existing command and
blocked-worker assertions remain, with the final stage checkpoint now
also checked in stdout.

Validation and evidence:
- `CI=1 pnpm run check` with PowerShell 7.6.9 enabled: 2,523 tests,
including the four actual-helper cases, and 18 mock behavior cases
passed.
- Two Windows investigation runs are preserved in
`experiments/windows-handles/README.md`, with repeatable scripts. The
second run passed: inherited handles delayed the next step 5533 ms
versus 488 ms with files; injected nonreturning termination waited 10005
ms and the root exited 124 another 99 ms after its checkpoint while the
target and pipes were still alive.
- The first collector's failure is retained: it awaited `close`, so it
could not determine whether the root was still alive. The second
collector records `exit` and `close` independently.
- The investigation workflow replacement is excluded from this PR.
Normal CI configuration, command concurrency, test assertions and native
deadlines are unchanged. Windows integration confirmation will come from
this PR's checks.

This is task #97. The old 25-minute cancellations remain unexplained;
this change bounds one monitor operation and improves evidence retention
without claiming a causal fix or guaranteed upload if the runner itself
fails. Product probe diagnostics are separate in PR #552.

Co-authored-by: Otter <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 30, 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_65b99a4b416975f23efa881cded72241"><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 -->

A fresh Windows runner exceeded five seconds before applying CPU load:
an empty PowerShell command took 6.819 s, and the first CIM query timed
out even after four empty commands. Later CPU-loaded queries finished
within 1.39 s. An empty-shell warmup alone therefore does not establish
that CIM is ready.

Vitest global setup and all six sharing-evidence entry points now
perform one real CIM read before their existing test or measurement
windows. Preparation has a 60 s limit, records total/query duration and
native failure details, and fails if the observer's creation identity is
missing. It discards the table; later reads and assertions still use
their existing bounds and fail normally. Product code is unchanged.

The experiment script, both runs' selected measurements and
interpretation are retained in experiments/windows-cim. The temporary
investigation workflow is excluded. The report distinguishes the
observed first-use delay from an unproved cause of the terminated CIM
query and the separate Pi RPC cancellations.

Validation: CI=1 pnpm run check passed on Linux (2,533 tests and 18 mock
behavior cases). Six preparation regressions cover non-Windows no-op,
success, timeout, missing observer/identity and malformed output. Native
Windows execution remains for this PR's CI. After merge, Cindy will
rerun Qoder Windows resource evidence; this change does not itself fill
that evidence gap.

Evidence: https://github.com/botiverse/oar/actions/runs/41065624954 and
https://github.com/botiverse/oar/actions/runs/41067396304. Task #97.

Co-authored-by: Otter <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 30, 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_c56a73aaee2f35efed13400c20a589cb"><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 -->

A one-shot CLI probe can time out after its root process has already
exited because a descendant still holds stdout or stderr. The previous
diagnostic did not distinguish that case from a root that had not
emitted `exit`.

Capture the root's observed exit time, elapsed duration, code and
signal, plus whether `close` has arrived, when the deadline fires and
before cleanup. Preserve that snapshot in the failure cause and readable
error. Return semantics, default and explicit deadlines, cancellation,
pipe draining and process cleanup are unchanged. This adds evidence for
task #97; it does not identify the cause of historical CLI timeouts.

Validation:
- `CI=1 pnpm run check`: 2,520 tests and 18 mock behavior cases passed.
- All 14 shared behavior backends passed in three bounded-concurrency
batches, using the pinned native versions and local scripted providers
or native replay.
- Real descendant-held-pipe regressions failed on the missing
observations before the fix, then passed. They distinguish an
already-exited root from a still-running root, preserve the pre-cleanup
snapshot, and retain the original settlement and cleanup assertions.
- The version-probe error snapshot verifies both the readable message
and structured cause. Normal exits, native errors and cancellation
retain their prior diagnostics.

The separate Windows handle experiment is recorded in task #97 ([run
41030609576](https://github.com/botiverse/oar/actions/runs/41030609576));
the CI monitor change is a separate pull request. This change belongs
after 0.79.0.

Co-authored-by: Otter <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 30, 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_7422ed315407b1495eaf54ec4647df86"><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 -->

Windows Pi RPC vendor jobs can end at the job limit while their logs
remain unavailable. The jobs API then identifies only the whole vendor
suite. Split that existing job into four named steps so its status and
timestamps identify the last reported group: RPC-specific files, native
Pi files, MCP files and the remaining shared files.

Every vendor file belongs to exactly one group, including future files.
Each step starts Vitest with the existing worker settings, writes
separate diagnostics/resource files, and continues after an ordinary
earlier group failure while the job remains red. The external case
ceiling stays 180 seconds; each command gets five minutes inside a
six-minute step, and the job retains its 20-minute ceiling. Assertions,
native request deadlines and the 35 required checks remain unchanged.
This changes cross-file scheduling and does not claim a causal fix for a
hang.

The report and read-only collector retain all 148 CI workflows created
October 28 through October 30 at 15:55Z, including every rerun attempt.
There were 101 completed routine standalone vendor attempts: 86 success,
five failure and ten job-limit cancellations (9.9%); pull requests alone
were 8/69 (11.6%). One administrative cancellation, one still-running
job and five manual reproduction attempts are separate. Earlier combined
jobs are outside this denominator. All ten cancellations leave the same
unsplit vendor step in progress; no failing file or VM failure is
established.

Per Cindy's task #97 decision, keep this job in PR CI and require all
checks green. Rerun only this job after a cancellation. Reassess after
three post-split cancellations or November 6, whichever comes first:
investigate a recurring group, or consider main-push observations if
failures remain dispersed and unexplained. Moving the gate requires that
later decision.

Validation:

- Full check passed: 2,567 tests and 18 mock behavior cases.
- Compared Vitest collection before/after partitioning: all 77 files
selected once and the same 85 enabled cases. Native Pi groups on Linux
passed 25/34/6/20 cases, totaling 85 passed and 248 skipped. The local
probe removes the embedding host's PI_PACKAGE_DIR so native version
metadata uses the pinned dependency.
- Actual PowerShell wrapper smoke preserved exit codes 0 and 37,
group-specific paths and quoted filenames. Windows execution of the four
steps is covered by this PR's CI.
- Collector smoke retained both attempts of a real rerun; all
inventory/API errors abort rather than publishing partial counts.

Co-authored-by: Otter <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 30, 2026
…targets (#560)

<!-- 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_eedd50e88f2245951f025c5487db9dbe"><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 -->

The updated sharing evidence exposed two probe limits: loaded Windows
process queries exceeded the product's five-second budget, and Codex
0.166.0 on POSIX replaces its launcher with the native executable, so
selecting the first child could target a transient helper. These
failures left the Codex cross-platform and Qoder Windows evidence
incomplete.

Give the experiment its own bounded 60-second process/resource queries,
with actual wall time and CIM query time printed and retained in a
structural JSONL record. Failed reads remain failures, cleanup still
stops owned clients, and a cleanup failure is saved with the cohort
before the experiment exits. Product timeouts and cleanup behavior are
unchanged.

Identify Codex by executable name in the owned launch root or its direct
children, then recheck PID and start identity before fault injection.
Missing, ambiguous or replaced identities fail the observation. Retain
candidate identities and the actual fault target instead of selecting
the first child.

The dated report retains all 13 artifact results and selected resource
windows from runs
[41090160323](https://github.com/botiverse/oar/actions/runs/41090160323)
and
[41090168754](https://github.com/botiverse/oar/actions/runs/41090168754).
The evidence index now includes Kimi 2.4.1, OpenCode 2.2.3 and
Antigravity 1.4.5 on all three tested platforms. Codex 0.166.0 and Qoder
Windows gaps remain explicit. No runtime is enabled for sharing.

Validation:
- Full `CI=1 pnpm run check` passed on the final main base, including
the focused process-reader and native-identity regressions.
- Corrected Codex 0.166.0 native probe passed all 9 observation groups
on xxwork Linux x64, including both active requests rejecting after the
selected native process exits.
- The existing product stuck-runtime tool-cleanup test passed against
Codex 0.166.0, including a tool in a separate process group.
- Local regression coverage rejects failed/malformed reads, missing
observer identity, ambiguous native images and reused PIDs; structural
failure output excludes native command output.

Windows/macOS execution of the revised probe remains to be collected.
After merge, rerun Codex 0.166.0 observations and resources on all three
platforms and Qoder 1.1.81 Windows resources through the existing manual
workflow. The loaded CIM timeout is recorded in task #97; memory or I/O
pressure remains a hypothesis, not a measured cause.

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