Skip to content

Add Cloud Agent development environment for Weft - #60

Draft
jmossymoss wants to merge 1 commit into
mainfrom
cursor/setup-cloud-env-1401
Draft

Add Cloud Agent development environment for Weft#60
jmossymoss wants to merge 1 commit into
mainfrom
cursor/setup-cloud-env-1401

Conversation

@jmossymoss

Copy link
Copy Markdown
Owner

Summary

Sets up a Cloud Agent development environment for Weft so future agents boot with a ready-to-use Release build of the headless core, CLI, and interactive app.

  • .cursor/environment.json — names the environment and points install at the setup script.
  • .cursor/install.sh — idempotent, non-interactive setup that installs the OpenCASCADE / GLFW / OpenGL toolchain (mirroring the Linux CI dependency set in .github/workflows/ci.yml) and produces a Release build with Ninja.

Notes

  • The base image's default c++/cc alternatives point to clang, whose driver looks for a libstdc++ dev tree that is not installed, causing cannot find -lstdc++. The install script pins gcc/g++ (which ship a working libstdc++-13-dev and match CI) to avoid this.
  • No start/terminals phase is needed: Weft is a build + CLI/GUI tool with no long-running services.

Validation (on this VM, Ubuntu 24.04 x86_64)

Check Result
Configure + build (Ninja, Release) All targets built (weft, weft_app, tests)
ctest --test-dir build 5/5 passed
tools/corpus_gate.sh --no-golden (CI mode) PASS
CLI core loop (fixtureinspectmesh --validate) Watertight output (0 open edges, 0 non-manifold), per-face override watertight
weft_app --fixture boss --screenshot Rendered headless screenshot of the boss fixture
Install idempotence Re-run is a no-op; from-scratch rebuild succeeds
Open in Web Open in Cursor 

Add .cursor/environment.json and an idempotent install script that installs
the OpenCASCADE/GLFW/OpenGL toolchain (mirroring the Linux CI dependency set)
and produces a Release build. Pins gcc/g++ because the base image's default
c++ alternative is clang, whose driver cannot find libstdc++.

Co-authored-by: jmossymoss <jmossymoss@users.noreply.github.com>
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.

2 participants