Skip to content

feat(cli): return structured MCP subagent results - #360

Merged
xxchan merged 1 commit into
mainfrom
feat/mcp-structured-results
Oct 12, 2026
Merged

xxchan merged 1 commit into
mainfrom
feat/mcp-structured-results

Conversation

@xxchan

@xxchan xxchan commented Oct 12, 2026

Copy link
Copy Markdown
Member

Programmatic MCP clients can now read run, wait and list through structuredContent, with advertised outputSchema. The JSON text contains the same object, including turn outcomes, failure details, session IDs and unread-report information.

wait now returns { reports } and list returns { agents, unread }; clients that parsed their old top-level arrays must update. run retains its report/refusal/info shapes. Waiting semantics are unchanged: gather all selected agents with concurrent single-ID waits, without another unscoped consumer taking those reports.

Validation: complete pnpm run check, build, MCP regressions for completed/failed/aborted/refused results and parallel waits, and compiled CLI stdio smoke tests validating the output schemas and all result variants. No account or model-provider calls were needed.

Fixes #304.

@xxchan
xxchan merged commit 54c5d7e into main Oct 12, 2026
17 checks passed
@xxchan
xxchan deleted the feat/mcp-structured-results branch October 12, 2026 03:00
@xxchan xxchan mentioned this pull request Oct 12, 2026
xxchan added a commit that referenced this pull request Oct 12, 2026
Release OAR and CLI 0.57.0. This PR changes only the two package version
fields.

Most of this release comes from comparing OAR with the Claude Agent SDK
and the codex SDK (#342): in common host scenarios OAR should be no
worse than a runtime's own SDK.

**Added: `listModels` names the default model and each model's
provider** (#347, #355)
- `ModelEntry.default: true` marks the model a session uses when no
`model` is set, where the runtime says so: codex's configured model
(`config/read` for the host's cwd, when it is listed), else codex's
catalog `isDefault`; a new ACP session's current model on grok, kimi and
antigravity; the default saved in pi's settings (global plus the project
at the host's cwd). claude, cursor and opencode mark none, because they
cannot say which model an unset session runs. OAR never picks one.
- `ModelEntry.provider: { id, displayName? }` for runtimes with several
providers: pi (with pi's display name, omitted when it only repeats the
id) and opencode (`providerID`), so hosts never parse `id`.

**Added: host-set limits and schemas have their own failure classes**
(#339, #356)
- `limit_reached`: claude stopped at `--max-turns` or `--max-budget-usd`
(result subtypes `error_max_turns`, `error_max_budget_usd`).
- `output_schema`: the runtime could not produce output matching
`SessionOptions.outputSchema` (claude
`error_max_structured_output_retries`, grok `structuredOutputError`).
Both used to be `unknown`.
- `failureAdvice` says not to retry either until the host changes the
limit or schema; `failureText` words them.
- A claude error result's `reason` is now its subtype followed by
claude's own `errors` text (`error_max_turns: Reached maximum number of
turns (2)`).

**Added: reasoning tokens** (#345, #362)
- `TokenTotals.reasoning`: the part of `output` the runtime reports as
reasoning, on codex (`reasoningOutputTokens`), grok, pi, pi-durable and
cursor. It is already inside `output`, so do not add it again.
Unreported stays absent and a reported 0 stays 0; it accumulates,
survives resume baselines and `withChildren`, and replays the same from
JSON records. claude and the other ACP runtimes report none.

**Fixed: claude `launchArgs` that collide with OAR's own flags are
refused** (#336, #356)
- `--continue`/`-c`, `--resume`/`-r`, `--session-id`, `--fork-session`,
`--permission-mode`, `--print`/`-p`, `--input-format`, `--output-format`
and `--json-schema` (also in `--flag=value` form) are refused at open
with an `UnsupportedOptionError` naming the option to use. Before,
`--continue` made claude exit, `--fork-session` left `Session.id` on the
old id, and `--permission-mode` was silently overridden. Each argument
is compared whole, so a value equal to one of these flags is refused
too.

**Changed: `oar mcp` returns structured results** (#304, #360)
- `run`, `wait` and `list` declare an `outputSchema` and return
`structuredContent` alongside the JSON text, for clients that call tools
from code (OpenCode v2's `execute`, codex code mode).
- `wait` now returns `{ reports }` and `list` returns `{ agents, unread
}` (both were top-level arrays; `list` carries the unread reports as a
field instead of a text note).

**Fixed: `session_linked` once per edge** (#324, #361)
- A child session's lineage is emitted on the first frame that names it,
not on every frame that repeats it (OpenCode v2 repeated it on every
child frame). The graph was already deduplicated; a resumed session's
new stream reports the edge again once.

**Fixed: inventory** (#351, #357)
- claude's commands no longer carry an empty `argumentHint: ""`.
- The inventory spec says plainly that a reader starts the runtime in
`cwd` as a session would, so it can run that workspace's code: do not
inventory an untrusted directory.

**Behavior changes**
- `FailureClass` gains `limit_reached` and `output_schema`; `ModelEntry`
gains `default` and `provider`; `TokenTotals` gains `reasoning`. Hosts
with an exhaustive `switch` or `Record` need the new cases.
- `oar mcp` `wait` and `list` return objects, not arrays.
- claude error reasons are longer; claude `launchArgs` with the flags
above are refused.

Validation: every PR passed all 17 checks on its final head (#358 and
#359 change only Markdown and one comment). #355 and #356 merged with
trees equal to their CI trees; #357, #360, #361 and #362 merged after
typecheck, lint and the full unit suite passed locally on top of the PRs
merged before them. Verified against real runtimes with mock providers
and no account: codex 0.162.1 default under four configurations, pi with
two providers and saved defaults, grok, kimi and opencode listings;
claude 2.1.296 launchArgs refusals (claude not started), `--max-turns`,
`--max-budget-usd` and exhausted schema retries; grok schema errors; the
built `oar mcp` returning structured `list` and `wait`; codex 0.162.1
reasoning counts of 3 then 7 across a resume; `session_linked` once on
OpenCode v2, codex and grok recordings. After this PR passes CI and
merges, tag its exact squash commit as `v0.57.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 21, 2026
…non-contract tests (#1100)

<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/ZXll.svg"
width="16" height="16" align="absmiddle" alt=""> <b>Lookout</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_519120ebed1195fed57f3a0ead07f3a9"><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 -->

Trim CI wall time on `main` pushes and releases (target: under 10
minutes), move macOS and Windows jobs with no unique platform-only
catches to a daily sharded workflow, split and speed up Windows `check`,
and prune non-contract, experimental, test-helper, wording-pinning and
redundant per-runtime tests.

## Behavior changes

- `verifiedPlatforms` (`Runtime.verifiedPlatforms` / `orient()`) now
records platforms verified by OAR's CI (`ci.yml` push/release gate or
the daily `platform-matrix.yml` workflow) rather than exclusively
release-gating jobs; a platform regression caught only by the daily
matrix can already have shipped and is handled like a bug report.

## 1. 50-run audit of `main` `ci.yml` runs

Audited the last 50 completed (non-cancelled) `main` `ci.yml` runs
(`2026-11-19T14:52:42Z` to `2026-11-20T22:37:12Z`; 25 success, 25
failure). "Unique fails" means the job failed on macOS or Windows while
the exact same runtime/suite passed on `ubuntu-latest` in the same run.

| Job | OS | Runs | Fails | Unique fails | Classification and evidence |
Placement |
|---|---|---|---|---|---|---|
| `check` | `windows-latest` | 50 | 5 | 3 | Real Windows-only catches:
2x `opencode-skills.vendor.test.ts:115` residual-process check
(`44567380785/135712727501`, `44562374930/135694839948`); 1x
`tests/login/codebuddy-login.test.ts` deadline
(`44557134041/135676127578`) | **Keep on push** (sharded `check-windows`
1/2 + 2/2; Windows `opencode-cleanup/skills` stays in `check-windows`
shard 1; other Windows native helpers moved to daily
`platform-matrix.yml`) |
| `behavior (dsh-aimock)` | `windows-latest` | 50 | 19 | 19 | Real
Windows bug: `configured-append.vendor.test.ts` failed on Windows until
PR #1090 (`44784700637/136456409926` and 18 earlier runs back to
`44710123448`) | **Keep on push** |
| `behavior (codex-aimock)` | `windows-latest` | 50 | 9 | 9 | Real
Windows bug: `native-session-file.vendor.test.ts` `\\?\C:\...` verbatim
path prefix mismatch until PR #1086 (`44731287320/136271471468` and 8
earlier runs) | **Keep on push** |
| `pi-rpc-windows (vendor)` | `windows-latest` | 50 | 1 | 1 | Real
Windows PID-exit/reuse failure in `pi-rpc-readers.vendor.test.ts`
(`44728473944/136261891688`, fixed by PR #1087) | **Keep on push** |
| `behavior (claude-aimock)` | `macos-latest` | 50 | 1 | 1 |
Test-fixture bug (fixed in #1067: canonicalizing temp dir in
`stream-json-notification-delivery.vendor.test.ts`,
`44683469823/136112174941`), not a product bug; queued 13.8 min on
dispatched run `44864196854` | **Move to daily** (`macos-behavior-1`) so
push and release never wait on the macOS queue |
| `acp-behavior (opencode-v2-aimock)` | `windows-latest` | 33 | 5 | 5 |
Known, parked Windows OpenCode 2.2.7 readiness flake (`#core:#360`:
`Standalone server exited before reporting readiness` in
`44718951258/136229587061`, `44715350753/136217317831`,
`44710755589/136202373225`, `44665635103/136054155704`,
`44649846441/136001756272`) | **Keep on PRs touching OpenCode + move off
push to daily** (`windows-behavior-1`) until `#core:#360` is fixed |
| `behavior (dsh-aimock)` | `macos-latest` | 50 | 1 | 1 | Transient DSH
`readProfileManifest` `SyntaxError: Unexpected end of JSON input`
(`44710148399/136199570104`), not macOS-specific | **Move to daily**
(`macos-behavior-1`) |
| `behavior (qoder-native)` | `macos-latest` | 50 | 1 | 1 | Pure network
flake: `Runtime installation failed: fetch failed` across 3 download
attempts (`44731287320/136271471671`) | **Move to daily**
(`macos-behavior-1`) |
| `check` | `macos-latest` | 50 | 2 | 0 | Both failures also failed on
`ubuntu-latest` | **Move to daily** (`macos-check`) |
| `behavior (codex/factory/pi/pi-durable/pi-rpc/qwen)` | `macos-latest`
| 50 each | 0 | 0 | Zero failures in 50 runs | **Move to daily**
(`macos-behavior-1/2`) |
| `acp-behavior (codebuddy/grok/kimi/opencode/opencode-v2)` |
`macos-latest` | 50 (33 v2) | 0 | 0 | Zero failures in 50 runs (33 for
v2) | **Move to daily** (`macos-acp`) |
| `behavior (claude/pi/pi-durable/qoder/qwen)` | `windows-latest` | 50
each | 0 | 0 | Zero failures in 50 runs | **Move to daily**
(`windows-behavior-1/2`) |
| `acp-behavior (opencode-aimock v1)` | `windows-latest` | 33 | 0 | 0 |
Zero failures in 33 runs | **Move to daily** (`windows-behavior-2`) |
| `pi-rpc-windows (behavior)` | `windows-latest` | 50 | 0 | 0 | Zero
failures in 50 runs | **Move to daily** (`windows-behavior-2`) |

## 2. Profiling `check (windows-latest)` on baseline run `44830444455`
(16.59 min)

Step breakdown of job `136613885380` (995.7s total):
- Setup (`checkout`, `pnpm`, `setup-node`, `pnpm install`): 28.1s
(0.47m)
- `pnpm run typecheck` + `pnpm run lint`: 12.6s (0.21m)
- `pnpm run test` (Vitest): **620.8s (10.35m)** across 591 active files
+ 149 skipped `sea-trial/vendor/*.vendor.test.ts` files (import 175.9s,
tests 1504.6s CPU across ~2.74 effective workers; top 12 files >30s
alone took 543.6s = 36.1% of all test time)
- `pnpm run sea-trial` (mock): 2.7s
- Stacked serial native vendor checks after `pnpm run check`: **329.2s
(5.49m)** (`build` 2.3s, `cursor-skills` 6.6s, `opencode-cleanup`
install+test 38.2s, `kimi-login` install+test 103.3s, `kimi-skills`
install+test 49.1s, `agy` install+behavior+vendor+file-skills 119.4s)

Changes to cut `check (windows-latest)` from 16.59 min to ~5 min wall:
1. Split Linux native checks into parallel `check-native` on
`ubuntu-latest`; keep Windows `opencode-cleanup/skills` (38s) in
`check-windows` shard 1; move zero-unique-failure Windows/macOS native
checks (`cursor-skills`, `kimi-login`, `kimi-skills`, `agy`) to daily
`platform-matrix.yml` (-4.8m on Windows).
2. Exclude `sea-trial/vendor/*.vendor.test.ts` in `vitest.config.ts`
when `process.env.OAR_TEST === undefined` (keeping non-`.vendor.test.ts`
files such as `codex-process-count.test.ts` active), so default `pnpm
test` stops importing 148 skipped vendor files (-~1m on Windows).
3. Prune experimental, non-cleanup test-helper and redundant shared-path
tests (below, removing ~300+s of Windows CPU time).
4. Shard `check-windows` into 2 parallel shards (`--shard=1/2`,
`--shard=2/2`), halving the remaining unit wall time.

## 3. Release gate honesty

Updated `.github/workflows/release.yml`, `docs/development.md`,
`packages/oar/src/platforms.ts`, `.stamp/AGENTS_GUIDE.md` and
`docs/runtimes/pi.md`:
- `release.yml` waits only on `ci.yml` on `$GITHUB_SHA` (Linux `check`,
`check-native`, `clean-install`, `browser-demo`, full Linux
behavior/ACP/`pi-rpc-minimum` matrix, sharded `check-windows` with
`opencode-cleanup`, Windows `dsh-aimock`, Windows `codex-aimock`, and
Windows `pi-rpc-windows` vendor; zero macOS jobs).
- `release.yml` does **not** wait on
`.github/workflows/platform-matrix.yml` (daily at `03:17 UTC` and on
manual `workflow_dispatch`, sharded via
`.github/scripts/run-ci-shard.mjs` into 4 macOS jobs and 3 Windows jobs
so setup runs once per shard and macOS stays within runner concurrency
limits). `docs/development.md` explicitly states that a regression found
only by the daily matrix can already have shipped and is handled like a
bug report.

## 4. Test cuts (one line each)

Kept all tests guarding declared contracts, real regressions, and
process-identity/cleanup safety (including
`fixture-process-snapshot.test.ts`,
`fixture-process-snapshot.windows.test.ts`,
`fixture-directory-cleanup.test.ts`,
`sea-trial/vendor/codex-process-count.test.ts`, and
`opencode-cleanup-observer.test.ts`).

### Pure `experiments/` tests (outside `@botiverse/oar` and unadmitted
experimental adapters; public placement refusals stay in
`tests/opencode/sharing-disabled.test.ts`,
`tests/grok/sharing-disabled.test.ts`,
`tests/opencode/sharing-admission.test.ts` and
`tests/grok/sharing-admission.test.ts`)
- Deleted `tests/opencode/shared-session.test.ts` (56.4s Windows, 19
tests): tests unadmitted `experiments/sharing/opencode-candidate.ts`
outside `@botiverse/oar`.
- Deleted `tests/grok/shared-session.test.ts` (47.7s Windows, 17 tests):
tests unadmitted `experiments/sharing/grok-candidate.ts` outside
`@botiverse/oar`.
- Deleted `tests/opencode/plugin-environment.test.ts`: tests
`experiments/sharing/plugin-environment-comparison.ts` probe helper.
- Deleted `tests/sharing-directory-failures.test.ts`: tests
`experiments/sharing/directory-failures.ts` probe helper.
- Deleted `tests/sharing-directory-hooks.test.ts`: tests
`experiments/sharing/directory-hooks.ts` probe helper.
- Deleted `tests/sharing-fixture-lifetime.test.ts`: tests
`experiments/sharing/fixture-lifetime.ts` probe helper.
- Deleted `tests/sharing-freshness.test.ts`: tests
`experiments/sharing/configuration-freshness-checks.ts` probe helper.
- Deleted `tests/sharing-hook-command.test.ts`: tests
`experiments/sharing/directory-configuration.ts` probe helper.
- Deleted `tests/sharing-hook-completions.test.ts`: tests
`experiments/sharing/hook-completions.ts` probe helper.
- Deleted `tests/sharing-hook-trust.test.ts`: tests
`experiments/sharing/codex-hook-trust.ts` probe helper.
- Deleted `tests/sharing-mcp-scope.test.ts`: tests
`experiments/sharing/mcp-scope.ts` probe helper.
- Deleted `tests/sharing-native-process.test.ts`: tests
`experiments/sharing/native-process.ts` probe helper.
- Deleted `tests/sharing-observation.test.ts`: tests
`experiments/sharing/observation.ts` probe helper.
- Deleted `tests/sharing-process-table.test.ts`: tests
`experiments/sharing/process-table.ts` probe helper.
- Deleted `tests/sharing-windows-resources.test.ts`: tests
`experiments/sharing/windows-resources.ts` probe helper.
- Deleted `tests/grok/launch-probe.test.ts` (4.8s Windows): tests
`experiments/grok-startup/launch-probe.ts` diagnostic script.
- Deleted `tests/grok/bootstrap-trace.test.ts`: tests
`experiments/grok-startup/trace-bootstrap.ts` diagnostic script.
- Deleted `tests/antigravity/real-model-menu-inventory.test.ts`: tests
`experiments/antigravity-model-menus/` manual probe script.
- Deleted `tests/antigravity/real-model-menu-probe.test.ts`: tests
`experiments/antigravity-model-menus/` manual probe script.

### Non-cleanup test-harness and fixture-helper meta-tests (zero
`@botiverse/oar` product code)
- Deleted `tests/windows-resources.test.ts` (11.3s Windows): tests
`sea-trial/windows-resources.ps1` CI sampler script.
- Deleted `tests/pi-rpc-diagnostics.test.ts` (12.8s Windows): spawns
nested Vitest/PowerShell to test `sea-trial/pi-rpc-progress.ts` and
`windows-resources.ps1`.
- Deleted `tests/pi-rpc-progress.test.ts`: tests
`sea-trial/pi-rpc-progress.ts` Vitest reporter helper.
- Deleted `tests/antigravity-mcp-evidence.test.ts`: tests
`sea-trial/vendor/support/antigravity-mcp-evidence.ts` capture helper.
- Deleted `tests/claude-tools-catalog.test.ts`: tests
`sea-trial/harness/claude-tools.ts` mock fixture helper.
- Deleted `tests/codex-aimock-warmup.test.ts`: tests
`sea-trial/harness/codex-home.ts` fixture helper.
- Deleted `tests/codex-fixture-trace.test.ts`: tests
`sea-trial/harness/aimock.ts` trace helper.
- Deleted `tests/codex-task-fixture.test.ts`: tests
`sea-trial/vendor/support/codex-task-request.ts` fixture helper.
- Deleted `tests/codex-task-script.test.ts`: tests
`sea-trial/vendor/support/codex-task-script.ts` fixture helper.
- Deleted `tests/cursor/copied-sdk-bundle.test.ts`: tests
`sea-trial/vendor/support/copied-sdk-bundle.ts` fixture helper.
- Deleted `tests/dsh/provider-fixture.test.ts`: tests
`sea-trial/harness/dsh-provider.ts` mock provider helper.
- Deleted `tests/opencode-aimock-warmup.test.ts`: tests
`sea-trial/harness/opencode-home.ts` fixture helper.
- Deleted `tests/opencode-startup-log.test.ts`: tests
`sea-trial/harness/opencode-startup-log.ts` fixture helper.
- Deleted `tests/provider-evidence.test.ts`: tests
`sea-trial/harness/provider-evidence.ts` capture helper.
- Deleted `tests/tool-round-fixtures.test.ts`: tests
`sea-trial/vendor/support/tool-round.ts` fixture helper.
- Deleted `tests/windows-process-table-preparation.test.ts`: tests
`sea-trial/windows-process-table.ts` Vitest global-setup helper.
- Deleted `tests/acp/acp-fixture-trace.test.ts`: tests
`tests/fixtures/acp-trace.ts` fixture helper.
- Deleted `tests/acp/acp-vendor-snapshot.test.ts`: tests
`sea-trial/harness/aimock-acp.ts` snapshot helper.
- Deleted `tests/sea-trial-backends.test.ts`: tests
`sea-trial/harness/parallel-backends.ts` local runner helper.
- Deleted `tests/sea-trial-required.test.ts` (5.9s Windows): spawns `tsx
sea-trial/main.ts` 4x to check harness CLI output formatting.

### Shared-code-path per-runtime repetition trimmed
- Trimmed `tests/acp/acp-resume-errors.test.ts` (29.8s Windows, 42 -> 8
tests): runs the 7 real-process `session/list` refusal/error scenarios
once on `opencodeV2AcpProfile` instead of 6x across profiles sharing
`acpSession`, plus one pure assertion checking `resumeKeepsSessionCwd:
true` on all 6 profiles.
- Trimmed `tests/acp/acp-missing-resume.test.ts` (56.7s Windows, 43 ->
19 tests): keeps runtime-specific error mappings (`grok`, `devin`,
`antigravity`, negative cases, redaction) and collapses the 6 shared
`acpSession` loops to one representative profile.
- Trimmed `tests/account-query-deadlines.test.ts` (101.9s Windows, 22 ->
13 tests): keeps one representative per distinct transport and outcome,
drops duplicate stages hitting the same `withQueryDeadline` helper, and
advances the answer deadline with `vi.useFakeTimers` after real process
startup instead of sleeping 4 real seconds per case.
- Trimmed `tests/native-query-deadlines.test.ts` (43.2s Windows, 27 ->
11 tests): keeps 10 representatives covering every distinct transport
and return shape (`listModels` throw, `skills` timeout, `authStatus`
unknown, one-shot/ACP/line-process/SDK/daemon) instead of repeating 26
times across shared `withQueryDeadline` callers.

### Wording and formatting pins replaced with typed contract checks
- Updated `tests/fixtures/pi-rpc-bundled-host.ts` and
`sea-trial/vendor/pi-rpc-bundled.vendor.test.ts`: asserts typed `{ kind:
"unsupported", code: "dependency_missing" }` instead of pinning the
English refusal sentence.
- Updated `tests/acp/acp-resume-cwd.test.ts`: removed the two
exact-sentence `message:` assertions while keeping all typed
`ResumeCwdError` / `UnsupportedOptionError` fields.
- Updated `tests/manual-compaction-capabilities.test.ts`: replaced the
arbitrary `reason.length > 30` prose-length pin with a non-empty check.

## 5. Before / after numbers

| Metric | Before (main run `44830444455` / local `897f240e`) | After
(measured on dispatched run `44864196854` minus macOS `claude-aimock` /
local) |
|---|---|---|
| `main` push jobs | 46 (19 Linux, 12 Windows, 15 macOS) | **25** (20
Linux, 5 Windows, **0 macOS**) |
| `main` push wall time | 40.1 min (37.6 min macOS queue) | **~6.1 min**
(longest job `check-windows (1)` = 6.02 min; every Linux/Windows job
started within 0.1 min; 0 min macOS queue) |
| `main` push runner-minutes | 170.3 min (47.5 Linux, 67.0 Win, 55.8
macOS) | **71.9 min** (46.6 Linux, 25.3 Win, **0.0 macOS**) |
| `check (windows-latest)` wall time | 16.6 min (1 job) | **6.02 min**
(`check-windows (1)` incl. `opencode-cleanup`) / **4.60 min**
(`check-windows (2)`) |
| `check (ubuntu-latest)` wall time | 8.41 min (1 job) | **4.27 min**
(`check`) / **3.95 min** (`check-native` in parallel) |
| Local `OAR_COMMUNITY_TESTS=1 pnpm test` files | 607 passed, 152
skipped (759 total) | 569 passed, 3 skipped (572 total; -39 deleted,
-148 excluded skipped `.vendor.test.ts` files) |
| Local `OAR_COMMUNITY_TESTS=1 pnpm test` tests | 5,732 passed, 716
skipped (6,448 total) | 5,455 passed, 111 skipped (5,566 total; -277
active tests, -882 total) |
| Local `pnpm test` duration | 131.6s (import 512.7s, tests 1050.8s) |
92.9s (import 350.2s, tests 832.8s) |

## 6. Call-site audit

Checked every reference to `ci.yml`, `ci-select.mjs`, `acp-behavior`,
`pi-rpc-windows`, `verifiedPlatforms` and deleted test names across
`.github/`, `packages/`, `tests/`, `docs/` and `.stamp/`:
- Updated: `.github/workflows/ci.yml`,
`.github/workflows/platform-matrix.yml` (new),
`.github/workflows/release.yml`, `.github/scripts/ci-select.mjs`,
`.github/scripts/run-ci-shard.mjs` (new), `vitest.config.ts`,
`packages/oar/src/platforms.ts`, `tests/verified-platforms.test.ts`,
`tests/ci-select.test.ts`, `docs/development.md`, `docs/runtimes/pi.md`,
`.stamp/AGENTS_GUIDE.md`.
- Unchanged (verified still accurate):
`.github/workflows/acp-windows.yml` (observation-only Windows
Kimi/Grok), `.github/workflows/runtime-latest.yml` (daily candidate
workflow), `tests/release-only-workflow.test.ts` (still tests
`release.yml` polling `ci.yml` push/dispatch runs),
`docs/runtimes/{codex,cursor,grok,kimi,opencode}.md` (link to `ci.yml`
without claiming every-push macOS/Windows gating).

Note: Respecting the active `v0.127.0` merge hold (`#core:185b8043`);
auto-merge is not armed.

---------

Co-authored-by: Lookout <[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.

oar mcp: make the subagent tools convenient for runtimes with programmatic tool calling (code mode)

2 participants