Skip to content

chore: orb setup, PR CI, clippy-clean CLI paths - #20

Merged
undivisible merged 1 commit into
masterfrom
chore/orb-setup-and-ci
Sep 16, 2026
Merged

undivisible merged 1 commit into
masterfrom
chore/orb-setup-and-ci

Conversation

@undivisible

Copy link
Copy Markdown
Contributor

Summary

Adds Amp orb bootstrap (.agents/setup / .agents/resume), a pull-request CI workflow (fmt/clippy/test), and small packaging/CLI hygiene so those files do not break SwiftPM.

Why

Fresh orbs had no rustc/cargo. Release CI only ran on tags, so PRs had no checks.

Notes

  • Setup is idempotent: cold ~6s after rustup exists, warm ~0.3s.
  • Resume only sources Cargo env (sub-second).
  • Clippy -D warnings on the existing CLI PathBuf args would fail the new CI, so those signatures are &Path.
  • Not auto-merged: first-time CI + repo-root packaging change.

Test plan

  • bash -n .agents/setup .agents/resume
  • ran setup twice (warm 0.26s) and resume (0.00s)
  • login shell finds rustc/cargo
  • cargo test --workspace --locked and cargo clippy --workspace --all-targets -- -D warnings

Install rustup/cargo on fresh Amp orbs, keep resume fast, and run
fmt/clippy/test on pull requests. Exclude new repo files from the
root Swift package and take Path instead of PathBuf in the dev loop.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0a632-0bd5-7371-8f63-23825bae184c
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

@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 7baeecb into master Sep 16, 2026
2 checks passed
@undivisible
undivisible deleted the chore/orb-setup-and-ci branch September 16, 2026 01:45
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