Skip to content

Add Cloud Agent development environment - #53

Open
mrnugget wants to merge 2 commits into
masterfrom
cursor/add-cloud-agent-environment-5f14
Open

Add Cloud Agent development environment#53
mrnugget wants to merge 2 commits into
masterfrom
cursor/add-cloud-agent-environment-5f14

Conversation

@mrnugget

@mrnugget mrnugget commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a Cursor Cloud Agent development environment for the monkeylang.org Hugo site so future agents can build and preview the site out of the box. This is a repo-managed environment: the committed .cursor/environment.json is the highest-precedence config and takes effect automatically once merged.

The site is a Hugo Extended project (it compiles Bootstrap SCSS via toCSS/libsass in layouts/_default/baseof.html) pinned to Hugo 0.157.0 in netlify.toml. The default Cloud Agent image ships Go and Node but not Hugo, so the environment installs the matching Hugo Extended release.

Changes

  • .cursor/install.sh — idempotent install script that installs Hugo Extended 0.157.0 (kept in sync with the HUGO_VERSION pin in netlify.toml), skips the download when the correct version is already present, and runs hugo --gc --minify so setup fails loudly on a broken checkout.
  • .cursor/environment.json — runs the install script, exposes port 1313, and starts hugo serve -D --disableFastRender as a persistent terminal (the dev command documented in README.md).
  • .gitignore — ignore Hugo's .hugo_build.lock, which the dev server creates.

Validation

Validated end-to-end on the current VM and on a fresh Cloud Agent booted from a draft build of this branch (bld-20260814-01fb285d-...):

Check Result
Hugo Extended version 0.157.0+extended
Production build (hugo --gc --minify) 5 pages built, SCSS compiled
Install script idempotence Passes on both fresh-download and already-installed paths
Dev server (hugo serve) HTTP 200 at localhost:1313, serves ~98 KB compiled stylesheet, renders all sections
Fresh Cloud Agent (from tested build) All checks passed

Rendered site served by the environment's dev server:

monkeylang_site_dev_server_walkthrough.mp4

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 14, 2026 08:03
- Install Hugo Extended 0.157.0 (matches netlify.toml pin) via idempotent install script
- Verify production build during install
- Run 'hugo serve' as a persistent terminal on port 1313

Co-authored-by: Thorsten Ball <[email protected]>
Co-authored-by: Thorsten Ball <[email protected]>
@mrnugget
mrnugget marked this pull request as ready for review August 14, 2026 08:18
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

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