chore: Amp orb bootstrap and ignore generated artifacts - #2
Merged
Merged
Conversation
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 couldn't review this pull request because Max's workspace is out of credits, add credits or enable auto-reload to resume automatic reviews. |
Bugbot couldn't run - usage limit reachedBugbot 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) |
|
Tick the box to add this pull request to the merge queue (same as
|
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.
Summary
Adds
.agents/setupand.agents/resumeso Amp orbs get rustup (stable + rustfmt/clippy), a C toolchain, and cargo fetch. Warm setup is ~0.3s after the first run.Also:
.amp/portals/*andexamples/*/build.agents/.ampfrom the published crateexamples/demo-app/build/math.cTest plan
bash -n .agents/setup .agents/resumerustc/cargo/ccDoes 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/setupbootstraps apt build tools, installs/updates stable Rust (rustfmt/clippy), persists cargo PATH in~/.bash_profile, and runscargo fetch;.agents/resumeis a fast post-pause check that restores cargo PATH and fails with a pointer to setup ifrustcor a C compiler is missing.Repo hygiene:
.gitignorenow ignores.amp/portals/*andexamples/*/build; the crateexcludelist adds.agentsand.ampso they are not published. Removes the checked-in preprocessor dumpexamples/demo-app/build/math.c.No changes to the
equilibrium-ffilibrary or runtime behavior.Reviewed by Cursor Bugbot for commit 1ce335c. Configure here.