Set up Cloud Agent dev environment + AGENTS.md run notes - #293
Draft
ibuilder wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Matthew M. Emma <ibuilder@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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 & why
Sets up the Cloud Agent development environment for Massing and documents how to run it. The only
tracked change is a new
AGENTS.md(force-added — the repo gitignores it to prevent accidentalgit add -Apublishes, but explicitly permitsgit add -fwhen committing it deliberately) with a## Cursor Cloud specific instructionssection. Dependency installation is handled by the environmentupdate script (submitted separately for approval), not by code changes.
What the environment provides
nvm(repo requiresnode >=24; Node 18 breaks the web build). Note:/exec-daemon/node(v22) shadows nvm on
PATH, so web commands must prepend Node 24 — documented inAGENTS.md.npm install(workspace installsapps/web;predevcopies web-ifc WASM).~/.local):services/api/requirements.lock(runtime, hash-pinned)and
requirements-dev.txt(ruff/pytest/httpx/…).services/datadeps are a subset of the lock.Services (dev, from source)
apps/webnpm run devservices/data)services/apiuvicorn aec_api.main:app --reloadDev uses SQLite + local filesystem storage — no Postgres/MinIO/Docker required. A non-obvious gotcha
(documented in
AGENTS.md): authoring endpoints need a writableIFC_DIR/STORAGE_DIR, otherwise they500 with
PermissionError: /app(the defaults are in-container paths).Verification
npm run typecheckclean ·npm run lintclean ·npx vitest run→ 1651/1651 passed · dev server on :5173.python -m ruff check src/ ../data/src/clean (the CI invocation) ·test_api.py+test_empty_project.pypass · uvicorn on :8000 ·GET /healthok.publishstate: done,model.frag, v1) → viewer loaded the 3D model → selecting a wall showed its IFCGlobalId+Pset_WallCommon.New-model template picker
Authored Office-bay model loaded in the 3D viewer
Selected wall element with IFC GlobalId + property sets
Checklist
cd services/api && python -m ruff check src/ ../data/src/cleantest_*.pypass (test_api,test_empty_project)npm run typecheck && npm run lintclean;npx vitest rungreen (Node 24)CHANGELOG.md/ roadmap — n/a (no product code change; docs + env only)To show artifacts inline, enable in settings.