Skip to content

Add Cloud Agent development environment for Berd - #2

Draft
praxstack wants to merge 1 commit into
mainfrom
prax/cloud-agent-env-533e
Draft

Add Cloud Agent development environment for Berd#2
praxstack wants to merge 1 commit into
mainfrom
prax/cloud-agent-env-533e

Conversation

@praxstack

Copy link
Copy Markdown
Owner

Overview

Category: infrastructure

User Impact: Cloud Agents can bootstrap the Berd repository with pinned Hermit tools, Linux Tauri dependencies, and the managed Goose backend without manual setup.

Problem: Berd has no committed Cloud Agent environment configuration, so agents start from a generic image and cannot reliably run just setup, frontend checks, Rust checks, or dev workflows.

Solution: Add a repo-managed .cursor/environment.json with a Linux Dockerfile for Tauri/Goose build prerequisites and an idempotent install script that activates Hermit, installs pnpm dependencies, builds the SDK, and compiles the pinned Goose backend.

Validation

The environment was validated end-to-end on this branch:

Check Result
Install idempotence Passed twice
just check Passed
just test 7222 passed
just tauri-check Passed
just build Passed
Vite dev server HTTP 200 at localhost:5173
Goose backend goose --version → 1.48.0
Fresh Cloud Agent (build bld-20260829-afa8e0cc-8939-4db5-9347-30904f29085f) All checks passed
File changes

.cursor/Dockerfile
Ubuntu 24.04 base image with Linux Tauri dependencies (webkitgtk, GTK, appindicator), C++ toolchain for Goose/llama-cpp, and common build utilities.

.cursor/environment.json
Repo-managed Cloud Agent configuration pointing at the Dockerfile and install script.

scripts/cloud-agent-install.sh
Idempotent bootstrap: activate Hermit, run just _setup-dev-deps, and build the pinned Goose backend.

Open in Web Open in Cursor 

Define a Linux Dockerfile with Tauri/Goose build prerequisites and an
idempotent install script that activates Hermit and prepares pnpm deps,
the SDK, and the pinned Goose backend.

Co-authored-by: Prax Lannister <praxstack@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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