Skip to content

fix(ci): drop ripgrep from architecture gate and pin CI inputs - #93

Merged
undivisible merged 1 commit into
mainfrom
chore/ci-rg-orb-setup
Sep 15, 2026
Merged

undivisible merged 1 commit into
mainfrom
chore/ci-rg-orb-setup

Conversation

@undivisible

@undivisible undivisible commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Why

scripts/check-architecture-boundaries.sh shells out to rg. GitHub-hosted runners do not install ripgrep, so CI on main (since 2defc9f) and PR #92 fail after the SCI/SPDP checks with rg: command not found.

What

  • Rewrite the architecture gate with grep + python3 (already on runners).
  • Pin Inauguration in CI to the vendored SHA 2e3bf26 instead of floating master.
  • Pin website CI Bun to 1.3.10; pin v86 / wrangler to the versions already in bun.lock.
  • Add .agents/setup and .agents/resume for Amp orbs (nasm, QEMU, clang, Rust, Inauguration submodule, website install).
  • Ignore .amp/portals/.

Verify

  • bash scripts/check-architecture-boundaries.shPASS: architecture boundaries
  • bash scripts/check-spdp-protocol.sh → 34 passed
  • cd website && bun install --frozen-lockfile && bun run typecheck && bun test → 11 pass
  • .agents/setup warm ~0.16s; .agents/resume ~0s

Merge

Narrow tooling/CI. No kernel, boot, privilege, or networking-policy changes. Auto-merge only after CI is green.

Does not replace PR #92 (kernel isolation honesty + syscall caps). That PR remains review-only.


Note

Low Risk
Tooling and CI-only changes; architecture checks are preserved with different host tools and no kernel or security logic is modified.

Overview
Fixes CI failures where the architecture boundary gate called rg, which GitHub runners do not ship, by reimplementing the same checks with grep and a small python3 assertion on sys-cap-mint in scripts/check-architecture-boundaries.sh.

CI and dependency pinning: the reusable kernel job now passes inauguration-ref to the vendored Inauguration SHA; the website job pins Bun 1.3.10 and package.json / bun.lock pin v86 and wrangler instead of latest.

Agent orb ergonomics: adds .agents/setup (apt/Rust/submodule/website install) and .agents/resume (fast PATH/tool checks), and ignores .amp/portals/ in .gitignore. No kernel, boot, or runtime policy code changes.

Reviewed by Cursor Bugbot for commit 09893bb. Configure here.

GitHub runners do not ship rg, so check-architecture-boundaries.sh failed
after SCI/SPDP checks on main and PR 92. Use grep/python3, pin the
Inauguration compiler to the vendored SHA, pin Bun/v86/wrangler, and add
orb setup/resume scripts.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0a632-f73d-76d8-bd54-0fe7e1a9481e
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_95a53d3c-dfb1-4628-8762-b95fd560bb11)

@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 baf6576 into main Sep 15, 2026
4 checks passed
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