Repository navigation
feat(opencode): support v2 native transfer and pinned source-target validation - #15
Closed
tudstudent wants to merge 4 commits into
Closed
tudstudent wants to merge 4 commits into
tudstudent wants to merge 4 commits into
Conversation
|
🔴 Contributor eligibility requirements not met for @tudstudent.
See the contributor eligibility policy. Closing this PR because these requirements were not met. This policy is intended to reduce spam from AI agents; it is not an assessment of the quality of your change. |
This was referenced Oct 9, 2026
This was referenced Oct 9, 2026
tudstudent
added a commit
to tudstudent/session-migrate
that referenced
this pull request
Oct 12, 2026
Address xhluca's PR xhluca#17 findings with ordered portable tool-result blocks, explicit structured-error omissions and native validation before projection. Incorporate read-only v2 catalog discovery and Kilo legacy-schema separation, while retaining upstream contributor-policy checks. Adapted from TheViniAlmeida's PR xhluca#17 commits 662976e and 2e3671d, which build on our focused PR xhluca#15. Credit and reuse history are documented in docs/opencode-v2.md. Validation: Linux Python 3.12.3; focused v2/native/catalog/CLI/conversion/inspection/target gate 335 passed, 1 intentional private-store skip with stock OpenCode 2.0.23. Ruff, formatting, contributor-policy tests and whitespace checks pass. No full-suite or Windows-native claim. Co-authored-by: TheViniAlmeida <eu@thevinialmeida.com>
gabszap
pushed a commit
to gabszap/session-migrate
that referenced
this pull request
Oct 16, 2026
Address xhluca's PR xhluca#17 findings with ordered portable tool-result blocks, explicit structured-error omissions and native validation before projection. Incorporate read-only v2 catalog discovery and Kilo legacy-schema separation, while retaining upstream contributor-policy checks. Adapted from TheViniAlmeida's PR xhluca#17 commits 662976e and 2e3671d, which build on our focused PR xhluca#15. Credit and reuse history are documented in docs/opencode-v2.md. Validation: Linux Python 3.12.3; focused v2/native/catalog/CLI/conversion/inspection/target gate 335 passed, 1 intentional private-store skip with stock OpenCode 2.0.23. Ruff, formatting, contributor-policy tests and whitespace checks pass. No full-suite or Windows-native claim. Co-authored-by: TheViniAlmeida <eu@thevinialmeida.com>
gabszap
pushed a commit
to gabszap/session-migrate
that referenced
this pull request
Oct 16, 2026
Address xhluca's PR xhluca#17 findings with ordered portable tool-result blocks, explicit structured-error omissions and native validation before projection. Incorporate read-only v2 catalog discovery and Kilo legacy-schema separation, while retaining upstream contributor-policy checks. Adapted from TheViniAlmeida's PR xhluca#17 commits 662976e and 2e3671d, which build on our focused PR xhluca#15. Credit and reuse history are documented in docs/opencode-v2.md. Validation: Linux Python 3.12.3; focused v2/native/catalog/CLI/conversion/inspection/target gate 335 passed, 1 intentional private-store skip with stock OpenCode 2.0.23. Ruff, formatting, contributor-policy tests and whitespace checks pass. No full-suite or Windows-native claim. Co-authored-by: TheViniAlmeida <eu@thevinialmeida.com>
gabszap
pushed a commit
to gabszap/session-migrate
that referenced
this pull request
Oct 16, 2026
Address xhluca's PR xhluca#17 findings with ordered portable tool-result blocks, explicit structured-error omissions and native validation before projection. Incorporate read-only v2 catalog discovery and Kilo legacy-schema separation, while retaining upstream contributor-policy checks. Adapted from TheViniAlmeida's PR xhluca#17 commits 662976e and 2e3671d, which build on our focused PR xhluca#15. Credit and reuse history are documented in docs/opencode-v2.md. Validation: Linux Python 3.12.3; focused v2/native/catalog/CLI/conversion/inspection/target gate 335 passed, 1 intentional private-store skip with stock OpenCode 2.0.23. Ruff, formatting, contributor-policy tests and whitespace checks pass. No full-suite or Windows-native claim. Co-authored-by: TheViniAlmeida <eu@thevinialmeida.com>
gabszap
pushed a commit
to gabszap/session-migrate
that referenced
this pull request
Oct 17, 2026
Address xhluca's PR xhluca#17 findings with ordered portable tool-result blocks, explicit structured-error omissions and native validation before projection. Incorporate read-only v2 catalog discovery and Kilo legacy-schema separation, while retaining upstream contributor-policy checks. Adapted from TheViniAlmeida's PR xhluca#17 commits 662976e and 2e3671d, which build on our focused PR xhluca#15. Credit and reuse history are documented in docs/opencode-v2.md. Validation: Linux Python 3.12.3; focused v2/native/catalog/CLI/conversion/inspection/target gate 335 passed, 1 intentional private-store skip with stock OpenCode 2.0.23. Ruff, formatting, contributor-policy tests and whitespace checks pass. No full-suite or Windows-native claim. Co-authored-by: TheViniAlmeida <eu@thevinialmeida.com>
gabszap
pushed a commit
to gabszap/session-migrate
that referenced
this pull request
Oct 17, 2026
Address xhluca's PR xhluca#17 findings with ordered portable tool-result blocks, explicit structured-error omissions and native validation before projection. Incorporate read-only v2 catalog discovery and Kilo legacy-schema separation, while retaining upstream contributor-policy checks. Adapted from TheViniAlmeida's PR xhluca#17 commits 662976e and 2e3671d, which build on our focused PR xhluca#15. Credit and reuse history are documented in docs/opencode-v2.md. Validation: Linux Python 3.12.3; focused v2/native/catalog/CLI/conversion/inspection/target gate 335 passed, 1 intentional private-store skip with stock OpenCode 2.0.23. Ruff, formatting, contributor-policy tests and whitespace checks pass. No full-suite or Windows-native claim. Co-authored-by: TheViniAlmeida <eu@thevinialmeida.com>
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.
OpenCode 2.0 moved from nested legacy parts and
import/export --pureto flat typed messages and publicsession import/export --standalone. This adds a version-aware adapter/native transfer path while keeping the separately pinned 1.17.20 behavior intact. Convert-only output remains legacy unless the target version is explicitly selected.opencode-v2CI profile installs stock @opencode/cli@2.0.23, wiresSESSION_MIGRATE_TEST_OPENCODE_V2, and rejects skips in its assigned tests. Credential-free native tests exercise public import/export, dry run/collision checks, cold-process reopening, local fake-provider continuation, tool/compaction replay and same-ID persisted replies.Validation on this exact branch: full locked Linux suite 1,597 passed, 55 skipped; stock v2 selected native gate 3 passed, no skips; legacy 1.17.20 compatibility gate 5 passed, no skips; v2 route/stream focused gate 38 passed. Ruff/formatting, 12 automation unit tests, wheel/sdist and both isolated installed-wheel entrypoints passed. The default suite's skipped native clients were not silently counted as tested; the two assigned native gates actually ran.
Native Windows and all historical native-client/version combinations were not tested. The additional development-guide Docker resume image
basic-claude-uv:latestis unavailable here. Synthetic fixtures, isolated HOME/XDG stores and deterministic localhost inference were used; no real sessions, account credentials, production stores or supplier credits. Details:docs/opencode-v2.md.This is one of three independent, main-based follow-ups split from closed #10 following the maintainer review. @xhluca, this isolates the relevant contract and its validation for review; the other two follow-ups cover separate contracts.
The eligibility bot closed #10 because the author had 64 qualifying contributions against the required 100 older than one calendar month. Splitting does not change that eligibility or claim an exemption; this submission may receive the same automation outcome.
Sibling follow-ups: Windows cleanup: #14; Codex child history: #16. Each targets
mainindependently.