Repository navigation
chore: verify Claude 2.1.300 and Kimi 2.2.0 - #408
Merged
Merged
Conversation
stamp-build Bot
added a commit
that referenced
this pull request
Nov 22, 2026
#1137) <!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> (open-agent-runtime) opened via Stamp · <a href="https://stamp.build/review?receipt=prc_66644c6ce521a5e9252b84369850be98"><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 →</a></sup> --- <!-- /stamp:review:v1 --> Implements the capability-gated dual-mode Kimi KAP session adapter with automatic ACP fallback (`#core:#408`), based on the Phase 1 Pass 1/Pass 2 wire probes (`c957728c`, `e4ee0961`). ## Summary - **Version & `/meta` capability gating** (`version.ts`, `kap-protocol.ts`, `kap-open.ts`, `options.ts`, `session.ts`): - Only `>= 2.7.2-botiverse.1` or `>= 2.7.3` advertises KAP capabilities (`steer`, `stopTask`, `manualCompaction`, `compactionEvents`, `additionalDirectories`, `taskEventTypes: ["agent", "shell"]`, `subagentResults: { foreground: "parent_tool_result", background: "child_text" }`, non-refused `appendSystemPrompt`) and probes `kimi web --json`. - Falls back to `kimiAcpProfile` whenever `--version` is below threshold (`<= 2.7.2-botiverse.0`), `--json` is unknown, or `/meta.capabilities` lacks any required bit (`websocket`, `tasks`, `session_ephemeral_mcp`, `session_append_system_prompt`, `steer_parent_correlation`). - **Transport, REST negotiation & WS projection** (`kap-boot.ts`, `kap-negotiate.ts`, `kap-socket.ts`, `kap-dispatch.ts`, `kap-projection*.ts`, `kap-failures.ts`, `kap-items.ts`, `kap-turns.ts`): - Validates `launchArgs` and `mcpServers` names (`checkKimiKapMcpServers` including reserved JS prototype keys & duplicate names) before spawning `kimi web --json --host 127.0.0.1 --port 0`; registers and redacts the ephemeral bearer token across errors and raw events. - Supports workspace creation (`additionalDirectories`), cold resume pre-checks (`SessionNotFoundError`, `SessionUnavailableError` archived/in-use, `ResumeCwdError`), model/effort confirmation, buffered raw WS replay, subagent subscription/path tracking, deduplicated item/step/turn usage projection, structured KAP error mapping (`auth` w/ 401 `credential: "rejected"`, `rate_limited`, `overloaded`, `model_unavailable`, `model_refused`, `input_too_large`, `limit_reached`), and WS-before-HTTP turn race resilience. - **Controls & Shutdown** (`kap-controls.ts`, `kap-compaction.ts`, `kap-errors.ts`, `kap-session.ts`, `tool-activity.ts`): - Implements `prompt`, mid-turn `steer`, `queue`+`withdraw` with canonical `carries` dispatch, `abort` with timeout fallback, `stopTask`, manual `compact` (system-turn compaction events), auto-answered interaction bridge, WS-first normal shutdown preserving persisted workspaces, and Kimi KAP tool classification (`Bash`, `Edit`, `Write`, `Read`, `Grep`, `Glob`, `Agent`, `FetchURL`, `WebSearch`, `WaitFor`). ## Companion SDK fork - Requires `botiverse/kimi-code-sdk` `patch-2.7.2-botiverse` (`2.7.2-botiverse.1`, commit `4ca80ab5cdf3e51391804cb7cce4d0ccae32daff`) until upstream KAP routes and MCP fixes land. ## Verification - `pnpm run check && pnpm run build` (typecheck across workspace, type-aware `oxlint`, full `vitest` suite, `sea-trial`, `@botiverse/oar` & `@botiverse/oar-cli` builds). - Targeted KAP unit/fake-server suites (`tests/kimi/kimi-kap-projection.test.ts`, `tests/kimi/kimi-kap-session.test.ts`) + updated capability/activity tests. - Live CLI E2E against real `kimi` `2.7.2-botiverse.1` (`4ca80ab5c`), including 500 ms delayed HTTP MCP and omitted-binding `stdio` MCP returning fixture results on the first prompt, provider `tools[]` omission on cold omitted resume and explicit clear (`mcpServers: []` -> `mcp_servers: {}`), `appendSystemPrompt` create/preserve/update/`""`-clear, `ResumeCwdError`, `Shell` tool call, mid-turn `steer()` with live `steered_from_turn_id`, `queue()`+`withdraw()`, `compact()`, and 401/429/503/404 failure classifications. --------- Co-authored-by: Cindy <[email protected]>
stamp-build Bot
added a commit
that referenced
this pull request
Nov 23, 2026
…nd CI (#1140) <!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> (open-agent-runtime) opened via Stamp · <a href="https://stamp.build/review?receipt=prc_78c75ec72882c291476828337858f0d7"><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 →</a></sup> --- <!-- /stamp:review:v1 --> Weekly maintenance pass (2026-11-23): fix factual doc/CI drift, Kimi KAP details, and broken test links across `docs/development.md` and `docs/runtimes/*`. - `docs/development.md`: document `OAR_COMMUNITY_TESTS=1` / `pnpm run check` scoping for `tests/community/**`, update `ci-select.mjs` inert paths and `shared/acp/` reachability, align `clean-install` description with Pi `optionalDependencies` (`#1098`), and document community runtimes under `packages/oar/src/community/<id>/`. - `docs/runtimes/kimi.md`: address `#core:#408` non-blocking wording note (`steer()` rejects `busy` only on unresolved manual compaction, not active root turns); clarify `sessionCapabilities(installation)` differences between `>= 2.7.2-botiverse.1`, `>= 2.7.3`, and `<= 2.7.2-botiverse.0` plus KAP `launchArgs`/`additionalDirectories`; update CI matrix refs after `#1100`; replace deleted `tests/acp/acp-vendor-snapshot.test.ts` link. - `docs/runtimes/grok.md`, `antigravity.md`, `qoder.md`, `opencode.md`, `codex.md`, `install.md`: align CI workflow/matrix descriptions with `#1100` (`ci.yml` vs `platform-matrix.yml` / `runtime-latest.yml`) and remove broken `tests/acp/acp-vendor-snapshot.test.ts` link in `grok.md`. - `docs/runtimes/README.md`, `steer-delivery.md`, `resume-cwd.md`, `inventory.md`, `devin.md`, `pi.md`, `update.md`: add Kimi KAP and Cybion mappings, clarify Devin's verified live turn, clarify Pi SDK `optionalDependencies` and `PI_RPC_MINIMUM_VERSION` explicit command check, and update `inventory.md` baseline vs shipped `skills` readers. Verification: `python3 tools/check-md-links.py projects/oar` (0 broken links in edited files), 0 em/en dashes in diff, verified against code and `.github/workflows/`. --------- Co-authored-by: Cindy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude 2.1.300 and Kimi Code 2.2.0 pass the current native adapter checks. The running-session MCP tool-list declarations still hold (
additionsfor Claude,nonefor Kimi), and Claude still silently drops all five reserved MCP server names.This adds the dated core-runtime report and a standalone native
--mcp-configprobe with a normal-name control. The probe checks both initialization and the provider tool list in fresh homes, against a scripted provider. No adapter, dependency, or public API changes. OpenCode's cold-resume MCP catalog issue remains open upstream without a posted fix.Validation: full
pnpm run check(1,808 passing unit tests and mock behavior), build, Claude native vendor tests (47) and behavior (17 passed, 2 skipped), Kimi native vendor tests (9) and scoped session behavior (15 passed, 4 skipped), and all six native MCP name probes. Model requests used local scripted providers; no real model quota was spent. Native checks were run on Linux.