Amp Orb setup - #1856
Open
marcleblanc2 wants to merge 2 commits into
Open
Conversation
.agents/setup installs mise, the Node and pnpm versions pinned in .tool-versions, and pnpm dependencies, and exposes the toolchain to login shells. .agents/resume confirms the toolchain on each wake. .amp/services.yaml lets Amp run the Next.js dev server as a portal. Amp-Thread-ID: https://ampcode.com/threads/T-01a07559-806b-70af-a96d-7281168ade61 Co-authored-by: Amp <amp@ampcode.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
marcleblanc2
enabled auto-merge (squash)
September 6, 2026 06:28
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.
Prepares the repo for Amp orbs so fresh orbs start with the pinned toolchain and dependencies installed instead of reinstalling them every thread.
Changes
.agents/setup: installs mise, the Node 20.19.6 / pnpm 10.25.0 pinned in.tool-versions, andpnpm install --frozen-lockfile. Appends a marker-guardedmise envhook to~/.bash_profileso login shells (the agent and supervised services) get the pinned toolchain from any directory. Writes short orb guidance to~/.config/amp/AGENTS.md..agents/resume: on each wake, confirms the toolchain still resolves so a broken snapshot fails loudly..amp/services.yaml: declarespnpm devas thedocsservice soamp orb services ensuregives a portal link..gitignore: ignores generated.amp/portals/.Verification (real orb, Debian 12, project
sourcegraph/standalone-docs).agents/setup: exit 0, 10.0s. Warm rerun: exit 0, 1.05s; profile marker present exactly once.env -i ... /bin/bash -lc) from repo root and from/tmp:nodev20.19.6 andpnpm10.25.0 from mise;gh,amp,bunstill on PATH..agents/resume: exit 0, 0.17s from repo root and from/tmp.amp orb services ensure:docsservice healthy (HTTP 200) after Contentlayer generated 521 documents; service PATH starts with the mise Node 20.19.6 bin dir.HOME: same results.Notes for reviewers
sharp,esbuild,contentlayer,canvas,protobufjs,unrs-resolverbecausepackage.jsonhas nopnpm.onlyBuiltDependencies. Dev server works regardless..agents/setupdoes not invalidate the existing project snapshot by itself; the next refresh (72h) oramp projects snapshots delete sourcegraph/standalone-docspicks it up.