docs(agents): add Cursor Cloud setup and run caveats#975
Draft
Jwatzkin77 wants to merge 1 commit into
Draft
Conversation
Co-authored-by: chad.taylor <chad.taylor@commerce.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.
Summary
Sets up the development environment for the B2B Buyer Portal in Cursor Cloud and documents the non-obvious caveats discovered during setup. No application code changed — only
AGENTS.mdgains a## Cursor Cloud specific instructionssection.What was verified (all from
apps/storefront/)yarn lintCIRCLECI=true yarn test --runyarn builddist/yarn devhttp://localhost:3001Key caveats documented in AGENTS.md
>=22.16.0, but the VM defaultnode(22.14.x) shadows nvm onPATH. Prepend the nvm 22.16 bin dir before runningyarn.CIRCLECI=true(40s). This VM is slow enough that heavier suites (e.g. QuickOrder) can spuriously time out at 5s; run withCIRCLECI=true.yarn devserves a mock storefront harness; the portal only mounts on a#/hash and needswindow.B3config + reachable B2B/BC backends. Offline core-functionality verification is via the Vitest + MSW suite.Hello-world (offline core functionality)
Ran the real
Loginpage integration suite — 30 tests including the full login flow (exchanges the customer JWT for a B2B token, stores both, and navigates on success).