Skip to content

refactor(opencode): extract shared plugin runtime - #1673

Merged
kunickiaj merged 1 commit into
mainfrom
09-09-refactor_opencode_extract_shared_plugin_runtime
Sep 9, 2026
Merged

refactor(opencode): extract shared plugin runtime#1673
kunickiaj merged 1 commit into
mainfrom
09-09-refactor_opencode_extract_shared_plugin_runtime

Conversation

@kunickiaj

@kunickiaj kunickiaj commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Description

Extracts Codemem behavior into a host-neutral runtime and leaves OpenCode 1 translation in a thin adapter. This preserves V1 event envelopes, deterministic IDs, retrieval and ledger behavior, viewer lifecycle, fallback paths, memory tools, cleanup, and release pin rewriting while creating the boundary needed by the V2 adapter.

Type of Change

  • 🚀 Feature (new functionality)
  • 🐛 Bug fix (fixes an issue)
  • 📚 Documentation (docs-only change)
  • 🔧 Maintenance (refactor, chore, CI, etc.)
  • 🧪 Testing (test-only changes)

Testing

  • Relevant checks pass locally (pnpm run tsc, pnpm run lint, pnpm run test)
  • Added/updated tests for changes — adapter boundary and generated-normalizer drift coverage
  • Manually verified changes work as expected — V1 plugin, packed artifact, pinned V2 host, and release checks pass

Checklist

  • Code follows project style (pnpm run lint passes for touched files)
  • Self-review completed
  • Documentation updated (if needed)
  • No new warnings introduced

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T22:35:17.710937Z 6a71e1d New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

kunickiaj commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from 0d6ee9d to 300d034 Compare September 9, 2026 18:10
@kunickiaj
kunickiaj force-pushed the 09-09-test_opencode_prove_pinned_v2_contract branch from 0665ba7 to 12eda69 Compare September 9, 2026 18:10
@kunickiaj

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 300d034717

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@kunickiaj
kunickiaj force-pushed the 09-09-test_opencode_prove_pinned_v2_contract branch from 12eda69 to 9146356 Compare September 9, 2026 20:44
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from 300d034 to 0476da2 Compare September 9, 2026 20:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0476da29e9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/opencode-plugin/.opencode/plugins/runtime.js Outdated
@kunickiaj
kunickiaj force-pushed the 09-09-test_opencode_prove_pinned_v2_contract branch from 9146356 to 053c12e Compare September 9, 2026 21:34
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch 2 times, most recently from f3ff720 to f60ae38 Compare September 9, 2026 22:09
@kunickiaj
kunickiaj changed the base branch from 09-09-test_opencode_prove_pinned_v2_contract to graphite-base/1673 September 9, 2026 22:25
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from f60ae38 to adcac8c Compare September 9, 2026 22:27
@kunickiaj
kunickiaj changed the base branch from graphite-base/1673 to 09-09-test_opencode_prove_pinned_v2_contract September 9, 2026 22:27
@kunickiaj
kunickiaj changed the base branch from 09-09-test_opencode_prove_pinned_v2_contract to graphite-base/1673 September 9, 2026 22:31
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from adcac8c to d29f26a Compare September 9, 2026 22:31
@graphite-app
graphite-app Bot changed the base branch from graphite-base/1673 to main September 9, 2026 22:32
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from d29f26a to 6a71e1d Compare September 9, 2026 22:32
@kunickiaj
kunickiaj merged commit 0e610ce into main Sep 9, 2026
15 checks passed

Copy link
Copy Markdown
Owner Author

Merge activity

@kunickiaj
kunickiaj deleted the 09-09-refactor_opencode_extract_shared_plugin_runtime branch September 9, 2026 22:39
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