Skip to content

test(sharing): check same-directory isolation and configuration freshness - #562

Merged
stamp-build[bot] merged 3 commits into
mainfrom
agent/otter/same-directory-evidence
Oct 30, 2026
Merged

stamp-build[bot] merged 3 commits into
mainfrom
agent/otter/same-directory-evidence

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Otter from open-agent-runtime opened this pull request through Stamp
View in Stamp →


Earlier sharing probes placed sessions in different directories, leaving same-directory MCP replacement and later-session configuration freshness untested. This adds six native-runtime comparisons, separate-process controls, selected evidence and explicit design/spec admission limits. No native adapter is enabled.

  • Each unique MCP input must reach exactly one intended server and retain its result. The final journal rechecks all five inputs for late duplicates or misrouting. All six runtimes release A, verify B still works, then release B and reopen with empty MCP configuration. Antigravity's successful but unadvertised native close is recorded without preapproving future adapter reliance on it.
  • OpenCode 2.2.3 and Qoder 1.1.81 replace A's same-name MCP configuration when B joins. OpenCode also retains it after both sessions close. Both future adapters reserve each canonical directory for the entire process lifetime.
  • Kimi 2.4.1 retains old user hooks across directories and after closing A; fresh processes read the changed hook. Matched three-second live/closed controls correct the instruction-refresh interpretation. The upstream draft concerns hooks only and remains unsubmitted.
  • Missing markers or hooks explicitly fail the manual probe. No runtime/platform currently satisfies the complete revised gate. Fixture resources are released even when construction, evidence reading or another cleanup fails. The manual workflow retains later resource steps after failed observations, with a 50-minute job budget.

Codex 0.166.0 three-platform and Qoder Windows resource follow-ups are indexed with provenance and exact CPU-window counts. Product deadlines are unchanged.

Validation: CI=1 pnpm run check passed (2,653 tests and 18 mock behaviors); all six exact-version Linux comparisons completed their release controls and exited nonzero for measured differences or missing coverage; six Kimi timing/scope controls verified B's MCP invocation and hook; original Codex/OpenCode native probes passed after fixture lifecycle changes. Selected data excludes transcripts, paths, session IDs and account fields.

Raft task 125. Windows/macOS same-directory evidence remains missing; Cindy dispatches the three-platform evidence workflow after merge. The 0.80.0 release hold is lifted. Merge still requires exact-head Cindy approval and all CI checks passing; the upstream issue draft requires separate review before submission.

@stamp-build
stamp-build Bot merged commit 0a8c5e9 into main Oct 30, 2026
36 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/same-directory-evidence branch October 30, 2026 21:36
@stamp-build stamp-build Bot mentioned this pull request Oct 30, 2026
stamp-build Bot added a commit that referenced this pull request Nov 5, 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_b72a6ef493337f9fc264b19be09ccf22"><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 existing Windows watchdog regression failed again in [PR
#644](https://github.com/botiverse/oar/actions/runs/42103355508/job/127511651582):
after 35,111 ms it received a null exit code instead of 124, with empty
stdout/stderr in the assertion. Its temporary diagnostic files were
deleted during cleanup, and the process timeout/exit/close observations
were not printed. The same case passed on the unchanged base in [9,784
ms](https://github.com/botiverse/oar/actions/runs/42102748494/job/127509525495).

The earlier [PR #562
failure](https://github.com/botiverse/oar/actions/runs/41125950337/job/124304395009)
reached the 20-second command deadline and returned 124, but lacked the
named case deadline. These are separate observed endings; neither
establishes why startup or progress stalled.

This change keeps evidence available for the next occurrence:

- The watchdog writes launcher, sampler, reporter and nested-worker
records into a persistent CI artifact directory from the beginning.
Temporary fixture cleanup leaves that evidence intact. The complete
executable result is saved before assertions, including timeout-time
exit and pipe-close observations.
- The sampler flushes its first CIM query and child-launch boundaries to
its JSONL file and `startup {}` log lines. The nested fixture records
module loading, case entry and entering the blocked operation. Commands,
environment variables and executable paths are not added to sampler
checkpoints.
- Windows `check` uploads the diagnostics immediately after the unit
suite, including failed runs. A portable timeout regression verifies
that the saved result survives fixture deletion; Windows regressions
verify the startup records in both sinks and the nested-worker sequence.

All existing deadlines, termination assertions and exit handling are
preserved. This is diagnostic coverage, and the original failure's cause
remains unknown. PR #644 keeps its reviewed contents.

Validation on Linux: full `pnpm run check` passed, including 3,530
tests, four real PowerShell 7.6.9 termination controls and 18 mock
behavior cases. The modified sampler passed PowerShell parsing. All 39
CI jobs passed. The Windows check passed the native startup and
worker-sequence regressions, including the blocked-worker watchdog in
11,941 ms. Its [diagnostic
artifact](https://github.com/botiverse/oar/actions/runs/42106528282/artifacts/13452037870)
uploaded successfully; all six files were downloaded and inspected. They
contain launcher, first CIM-query and child-launch checkpoints, the
named case start, worker blocking, the two-second case deadline,
successful root termination and exit code 124. This successful control
does not establish the cause of the earlier failure.

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.

0 participants