Skip to content

Fix account binding for project setup and project links - #14

Merged
MainSequenceDev merged 1 commit into
mainfrom
codex/project-setup-session-binding
Oct 24, 2026
Merged

MainSequenceDev merged 1 commit into
mainfrom
codex/project-setup-session-binding

Conversation

@MainSequenceDev

Copy link
Copy Markdown
Contributor

Organization project setup and links fail with UNSUPPORTED_ACTION: This session transport does not support account-bound operations because the workspace adapter passes an already account-bound session to devtools, which then tries to bind it again using expectedAccount.

Pass the original session to devtools for organization actions. Keep the scoped wrapper for legacy project operations and retain the adapter's account checks before and after execution. No dependency or launcher changes are included.

The new regression test exercises the default workspace executor with the pinned devtools session and dispatcher, temporary real Git checkouts, fixture backend responses, and a stubbed browser. It reproduces the exact setup failure before the fix, then verifies successful setup and project links, Codex AGENTS.md generation, and account-change refusal before setup and after opening a link.

Validation: npm run release:check passed (57 tests, type-check, release metadata, documentation checks, standalone/npm packaging, and installed-package verification).

Fixes #13

@MainSequenceDev
MainSequenceDev merged commit a719e73 into main Oct 24, 2026
4 checks passed
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.

Project setup fails because the workspace adapter binds an account-scoped session twice

1 participant