Skip to content

Preserve OpenCode workspace identity in Navigator - #116

Merged
dbpolito merged 1 commit into
mainfrom
fix/opencode-workspace-identity
Aug 4, 2026
Merged

Preserve OpenCode workspace identity in Navigator#116
dbpolito merged 1 commit into
mainfrom
fix/opencode-workspace-identity

Conversation

@dbpolito

@dbpolito dbpolito commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Ticket

SKIPPED

Description

Preserve experimental Rift workspace identity throughout Navigator session lifecycle operations so newly created V2 sessions remain associated with their OpenCode workspace. Harden workspace discovery, placement validation, removal safety, and the Rift adapter boundary while retaining V1 and native Git-worktree compatibility.

Checklist

Session identity

  • Carry Rift workspace IDs into new and existing-workspace V2 sessions
  • Expose workspace identity in Navigator session and worktree results
  • Validate project and location before prompt admission

Workspace safety

  • Prefer identity-bearing Rift records and reject ambiguous registrations
  • Match active sessions by workspace ID before directory fallback
  • Restrict Rift operations to project-owned managed-root paths

Compatibility

  • Keep V1, checkout, and native Git-worktree behavior directory-based
  • Preserve existing output fields and avoid historical session migration
  • Document Desktop and upstream experimental API limitations

Validation

  • Verify that bun run compile succeeds
  • Confirm that bun run typecheck reports no diagnostics
  • Check that bun run test passes all 146 tests
  • Verify that git diff --check reports no whitespace errors

- carry Rift workspace IDs through V2 session locations and summaries
- validate session placement and workspace-aware removal before prompting
- harden Rift discovery, managed-root checks, and rollback coverage
- document compatibility boundaries and upstream Desktop limitations
@dbpolito dbpolito self-assigned this Aug 4, 2026
@dbpolito
dbpolito merged commit c3094e8 into main Aug 4, 2026
1 check passed
@dbpolito
dbpolito deleted the fix/opencode-workspace-identity branch August 4, 2026 19:48
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