[PR #1546] [MERGED] test(clients): verify native OpenCode integration #2962

Closed
opened 2026-10-17 21:12:18 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/1546
Author: @N0zoM1z0
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/10/2026
Merged by: @N0zoM1z0

Base: main ← Head: test/opencode-native-client


📝 Commits (1)

  • 44e2439 test(clients): verify native OpenCode integration

📊 Changes

3 files changed (+392 additions, -0 deletions)

View changed files

📝 docs/testing.md (+14 -0)
📝 package.json (+1 -0)
➕ scripts/verify-opencode-client.mjs (+377 -0)

📄 Description

REA already configures OpenCode, but native skill activation and analysis round trips lacked a reproducible verification lane. Add verify:opencode-client using an installed native client and the existing loopback OpenAI-compatible fixture.

Check public setup plans, preserved JSONC comments and unrelated servers, backups and idempotence; the full installed skill body delivered to the model; all advertised input schemas and the complete tool catalog; full named-schema JavaScript Evidence for a Unicode path; the final native reply and owned-process cleanup. Keep the fixture account in isolated XDG/config roots and a separate Git project. Use native OPENCODE_PURE to disable external account plugins and explicit skills.paths for discovery.

Validation: actual opencode-ai@1.18.35 chat/call on source and a fresh production-only installed tarball; JSONC and JSON analysis cases; 139 tools and 139 input schemas per run; npm run check:fast. Linux x64 with a local custom provider, caller-declared one-million-token fixture context and synthetic usage. Default OS-home discovery, external plugins, live vendor APIs and native Windows remain unverified. Product runtime and tool contracts are unchanged; no fresh Hopper/Ghidra verification.

Producer references: pinned configuration, MCP, skills, local custom provider.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/1546 **Author:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Created:** 10/10/2026 **Status:** ✅ Merged **Merged:** 10/10/2026 **Merged by:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Base:** `main` ← **Head:** `test/opencode-native-client` --- ### 📝 Commits (1) - [`44e2439`](https://github.com/morluto/rea/commit/44e243914a9b3830ec21bae5bb20d67907f6ec29) test(clients): verify native OpenCode integration ### 📊 Changes **3 files changed** (+392 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/testing.md` (+14 -0) 📝 `package.json` (+1 -0) ➕ `scripts/verify-opencode-client.mjs` (+377 -0) </details> ### 📄 Description REA already configures OpenCode, but native skill activation and analysis round trips lacked a reproducible verification lane. Add `verify:opencode-client` using an installed native client and the existing loopback OpenAI-compatible fixture. Check public setup plans, preserved JSONC comments and unrelated servers, backups and idempotence; the full installed skill body delivered to the model; all advertised input schemas and the complete tool catalog; full named-schema JavaScript Evidence for a Unicode path; the final native reply and owned-process cleanup. Keep the fixture account in isolated XDG/config roots and a separate Git project. Use native `OPENCODE_PURE` to disable external account plugins and explicit `skills.paths` for discovery. Validation: actual `opencode-ai@1.18.35` chat/call on source and a fresh production-only installed tarball; JSONC and JSON analysis cases; 139 tools and 139 input schemas per run; `npm run check:fast`. Linux x64 with a local custom provider, caller-declared one-million-token fixture context and synthetic usage. Default OS-home discovery, external plugins, live vendor APIs and native Windows remain unverified. Product runtime and tool contracts are unchanged; no fresh Hopper/Ghidra verification. Producer references: [pinned configuration](https://github.com/anomalyco/opencode/blob/53d1eabb61e21162157817bf677da0a4ad3332e3/packages/web/src/content/docs/config.mdx), [MCP](https://github.com/anomalyco/opencode/blob/53d1eabb61e21162157817bf677da0a4ad3332e3/packages/web/src/content/docs/mcp-servers.mdx), [skills](https://github.com/anomalyco/opencode/blob/53d1eabb61e21162157817bf677da0a4ad3332e3/packages/web/src/content/docs/skills.mdx), [local custom provider](https://github.com/anomalyco/opencode/blob/53d1eabb61e21162157817bf677da0a4ad3332e3/packages/web/src/content/docs/providers.mdx). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-17 21:12:18 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#2962
No description provided.