Skip to content

chore: Amp orb bootstrap and ignore generated artifacts - #2

Merged
undivisible merged 1 commit into
mainfrom
chore/orb-bootstrap
Sep 15, 2026
Merged

undivisible merged 1 commit into
mainfrom
chore/orb-bootstrap

Conversation

@undivisible

@undivisible undivisible commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds .agents/setup and .agents/resume so Amp orbs get rustup (stable + rustfmt/clippy), a C toolchain, and cargo fetch. Warm setup is ~0.3s after the first run.

Also:

  • ignore .amp/portals/* and examples/*/build
  • exclude .agents / .amp from the published crate
  • remove the checked-in preprocessor dump examples/demo-app/build/math.c

Test plan

  • bash -n .agents/setup .agents/resume
  • ran setup twice (warm ~0.3s)
  • ran resume
  • non-interactive login shell sees rustc / cargo / cc

Does not change library behavior. Safe to merge independently of #1.


Note

Low Risk
Dev-only shell scripts, ignore/publish exclusions, and removal of a generated example artifact; no product code paths affected.

Overview
Adds Amp orb dev-environment scripts: .agents/setup bootstraps apt build tools, installs/updates stable Rust (rustfmt/clippy), persists cargo PATH in ~/.bash_profile, and runs cargo fetch; .agents/resume is a fast post-pause check that restores cargo PATH and fails with a pointer to setup if rustc or a C compiler is missing.

Repo hygiene: .gitignore now ignores .amp/portals/* and examples/*/build; the crate exclude list adds .agents and .amp so they are not published. Removes the checked-in preprocessor dump examples/demo-app/build/math.c.

No changes to the equilibrium-ffi library or runtime behavior.

Reviewed by Cursor Bugbot for commit 1ce335c. Configure here.

Bootstrap rustup, rustfmt, clippy, and a C toolchain for Amp orbs.
Keep .agents and .amp out of published crates, ignore example build
output, and drop the checked-in preprocessor dump.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0a631-cbad-764e-a59c-662f4c6e0902
Co-authored-by: Max Carter <undivisible@vk.com>
@capy-ai

capy-ai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Capy couldn't review this pull request because Max's workspace is out of credits, add credits or enable auto-reload to resume automatic reviews.

Open in Capy

@cursor

cursor Bot commented Sep 15, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_6443f72c-4f9f-4209-81ad-97de4d9b4dc2)

@mergify

mergify Bot commented Sep 15, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@undivisible
undivisible merged commit 882c167 into main Sep 15, 2026
8 checks passed
@undivisible
undivisible deleted the chore/orb-bootstrap branch September 15, 2026 18:06
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