Repository navigation
docs(agents): add Cursor Cloud environment setup instructions - #39
Closed
liguochuan00 wants to merge 1 commit into
Closed
liguochuan00 wants to merge 1 commit into
liguochuan00 wants to merge 1 commit into
Conversation
Co-authored-by: liguochuan <liguochuan00@users.noreply.github.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.
What
Set up the Cloud Agent development environment for this repository and documented durable, non-obvious startup/run caveats for future cloud agents.
This PR only adds a
## Cursor Cloud specific instructionssection to the rootAGENTS.md. No product code was changed.Environment setup performed
Node v22.14.0 is already available (satisfies
engines.node >=16;websiteneeds>=22.12.0).packages/core+packages/cli):npm ci --ignore-scriptswebsite/, Astro — not part of npm workspaces):npm --prefix website ciThe update script (run on VM startup) is configured to these two commands, matching the CI workflow.
Verification
kb check(part ofnpm test) acts as static checknpm test✅ (17 topics, routing drift: no, allscripts/test-*.jspass) +npm run test:core✅node cli.js init cursor --yes --locale en-USscaffolded.Knowledge/+.cursor/in a temp repo ✅website/)npm --prefix website run build✅ (20 pages)astro devservinghttp://127.0.0.1:4321/Flow2Spec/→ HTTP 200 ✅Hello-world (core functionality): initialized a Flow2Spec scaffold in a fresh temp git repo via the CLI, producing
.Knowledge/,.cursor/rules,.cursor/skills, andflow2spec.config.json.Website dev server rendered and navigated correctly:
flow2spec_website_running.mp4
Notes
/Flow2Spec; the root path/returns 404 by design.website/is not in the workspaces array, so it needs a separate install.AGENTS.mdis regenerated fromtemplates/{locale}/AGENTS.mdbysync:agents/init, which does not preserve custom sections. This section is repo-specific and intentionally not placed intemplates/; a future re-distribution would overwrite it. VM startup only runs the update script (dependency install), notsync:agents, so the section remains visible to future cloud agents.To show artifacts inline, enable in settings.