Skip to content

Stop repairing project workspace origins - #383

Merged
zccz14 merged 1 commit into
mainfrom
remove-dangerous-remote-set-url
May 2, 2026
Merged

zccz14 merged 1 commit into
mainfrom
remove-dangerous-remote-set-url

Conversation

@zccz14

@zccz14 zccz14 commented May 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Reject existing project workspaces when their origin differs from the expected resolved project origin.
  • Remove automatic git remote set-url origin repair behavior and cover the mismatch path with regression tests.
  • Add a changeset noting the safer failure behavior.

Tests

  • pnpm exec vitest run --config vitest.workspace.ts --project api modules/api/test/project-workspace.test.ts
  • pnpm exec vitest run --config vitest.workspace.ts --project api modules/api/test/project-workspace.test.ts modules/api/test/opencode-session-manager.test.ts
  • pnpm --filter @aim-ai/contract run build:dist
  • pnpm --filter @aim-ai/api run test:vitest
  • pnpm --filter @aim-ai/api run test:lint
  • pnpm --filter @aim-ai/api run test:type
  • pnpm run test:changeset

@zccz14
zccz14 enabled auto-merge (squash) May 2, 2026 04:34
@zccz14
zccz14 merged commit bb32a1a into main May 2, 2026
1 check passed
@zccz14
zccz14 deleted the remove-dangerous-remote-set-url branch May 2, 2026 04:38
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