Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
7243b20
docs: track two triaged anomalies in the roadmap
ckir Nov 24, 2026
a6cb30a
docs: spec for the rust-toolchain-scaffold devtools skill
ckir Nov 24, 2026
2f96960
docs: fold panel round 1 into the rust-toolchain-scaffold spec
ckir Nov 24, 2026
0d86cdb
docs: fold the agy panel round into the rust-toolchain-scaffold spec
ckir Nov 24, 2026
8a8e042
docs: fold three panel round 2 findings into the rust-toolchain-scaff…
ckir Nov 24, 2026
0215fc3
docs: record the tiered workflow scope ruling and panel round 2 in th…
ckir Nov 24, 2026
51d84cf
docs: fold panel round 3 into the rust-toolchain-scaffold spec
ckir Nov 24, 2026
217bfd3
docs: record the release-please config reading behind the versioning …
ckir Nov 24, 2026
b0fb18c
docs: add the first-run-on-existing-code rule to the rust-toolchain-s…
ckir Nov 24, 2026
4873550
docs: align the rust-toolchain-scaffold spec with what was measured f…
ckir Nov 24, 2026
09c44bc
docs: implementation plan for the rust-toolchain-scaffold skill
ckir Nov 24, 2026
4157343
docs: fold the plan panel's findings into the rust-toolchain-scaffold…
ckir Nov 24, 2026
974de26
feat: add the rust-toolchain-scaffold skill text and its footprint
ckir Nov 24, 2026
6cd3e2f
docs: drop the lints snippet from the spec and list fmt-check
ckir Nov 24, 2026
7cd1a13
test: add the end-to-end test for the rust-toolchain-scaffold skill
ckir Nov 24, 2026
9280d29
fix: scrub the caller's environment and gate the workspace repository…
ckir Nov 24, 2026
f8f1cdf
feat: add the rust-toolchain-scaffold templates and apply.sh
ckir Nov 24, 2026
393ad13
feat: gate the rust-toolchain-scaffold skill structure in just check …
ckir Nov 24, 2026
b740b12
ci: run the Rust scaffold end to end on Linux, Windows and macOS
ckir Nov 24, 2026
626432f
fix: close the gaps the whole-branch review found in the rust-toolcha…
ckir Nov 24, 2026
c6d947f
fix: bring the agent-instructions snippet in line with the review fixes
ckir Nov 24, 2026
f411198
fix: test for the repository top level without comparing path spellings
ckir Nov 24, 2026
b1fcc1a
fix: retry the lockfile on a re-run when the first run could not gene…
ckir Nov 24, 2026
193266e
docs: record the agy capstone for the rust-toolchain-scaffold skill
ckir Nov 24, 2026
3e13a82
test: close the three gaps the agy test audit found in the rust-toolc…
ckir Nov 24, 2026
6ef0f14
style: rustfmt the new clippy gate test
ckir Nov 24, 2026
8d5736b
test: pre-push must block an empty-commit push that fails the fast gate
ckir Nov 24, 2026
936b991
docs: record the agy test audit for the rust-toolchain-scaffold skill
ckir Nov 24, 2026
014dd21
fix(ci): make the Rust scaffold job pass on the first run's findings
ckir Nov 24, 2026
4d682dc
docs: regenerate the devtools plugin footprint
ckir Nov 24, 2026
17f4b8a
fix: drop the -- from apply.sh's chmod so it runs on macOS
ckir Nov 24, 2026
5527a57
docs: record the agy capstone round 4 for the rust-toolchain-scaffold…
ckir Nov 24, 2026
fd3df14
Merge branch 'main' into feat/rust-toolchain-scaffold
ckir Nov 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,14 @@ jobs:
- name: Check devtools skills gate against seeded defects
run: bash scripts/check-devtools-skills.sh --mutation-test

- name: Check the Rust scaffold skill
run: bash scripts/check-rust-scaffold.sh

# The gate must fail on each seeded defect, or an edit to it could turn a
# failure branch into a no-op and leave it green.
- name: Check the Rust scaffold gate against seeded defects
run: bash scripts/check-rust-scaffold.sh --mutation-test

# The gate only compares the committed copies; this runs the emitter that
# writes them and requires it to change nothing in a clean checkout.
- name: Install just
Expand Down Expand Up @@ -291,6 +299,51 @@ jobs:
- name: Check that every gate script is wired in
run: bash scripts/check-gate-wiring.sh

# The Rust scaffold ships to other repositories and works through bash scripts,
# git hooks, lefthook and gitleaks, all of which behave differently on Git Bash
# and on macOS. This applies it to throwaway repositories on all three systems,
# runs its own `just check` there, and weakens each gate once to see its test
# fail; a Linux-only run would leave Windows and macOS unmeasured.
rust-scaffold:
name: Rust scaffold (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v7

- name: Install just, cargo-nextest, cargo-deny and typos
uses: taiki-e/install-action@v2
with:
tool: just,cargo-nextest,cargo-deny,typos

# The macOS runner has no Go on PATH (the first run failed with `go: command not
# found`), so Go is installed on all three runners rather than assumed.
- name: Install Go
uses: actions/setup-go@v7
with:
go-version: stable
cache: false

# lefthook and gitleaks have no cargo or install-action route. A version-pinned
# `go install` works the same on all three runners and is verified by Go's
# module checksum database. gitleaks declares its module path under the old
# organization name.
- name: Install lefthook and gitleaks
run: |
go install github.com/evilmartians/lefthook/v2@v2.1.17
go install github.com/zricethezav/gitleaks/v8@v8.30.1
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"

- name: Test the Rust scaffold
run: bash scripts/test-rust-scaffold.sh

# Stages the Pages tree on pull requests so a staging failure is seen before
# the merge. On push to main docs.yml already stages, so this skips there.
site-stage:
Expand Down
14 changes: 13 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,18 @@ devtools-skills:
bash scripts/check-devtools-skills.sh
bash scripts/check-devtools-skills.sh --mutation-test

# Check the rust-toolchain-scaffold skill source (structure, pins), then prove the gate
# fails on each seeded defect
rust-scaffold:
bash scripts/check-rust-scaffold.sh
bash scripts/check-rust-scaffold.sh --mutation-test

# End to end: apply the Rust scaffold to throwaway repositories, run its own gates, then
# weaken each gate once and require its test to fail. Slow. Needs just, lefthook, gitleaks,
# cargo-nextest, cargo-deny and typos; pass --quick for the apply.sh checks alone.
test-rust-scaffold *args:
bash scripts/test-rust-scaffold.sh {{args}}

# Build every skills-only plugin bundle and check zip names, manifests and skills
skills-bundles:
bash scripts/check-skills-bundles.sh
Expand Down Expand Up @@ -399,7 +411,7 @@ lock:

# Run all pre-flight checks (what CI and lefthook run; see ci.yml — `links`
# is hook-only and `gen-* --check` + opencode suites run in CI but not here)
check: lock fmt lint test deny spellcheck links versions wiring marketplace qwen-marketplace agy-marketplace dispatch smoke footprint opencode-wiring bump-opencode-plugin-test rerun-runner-failures-test doc-paths-test doc-paths gate-wiring-test gate-wiring install-pins-test install-pins readme-coverage-test readme-coverage agy-wiring agy-validate footprint-budgets devtools-skills skills-bundles skills-release-wiring site-check
check: lock fmt lint test deny spellcheck links versions wiring marketplace qwen-marketplace agy-marketplace dispatch smoke footprint opencode-wiring bump-opencode-plugin-test rerun-runner-failures-test doc-paths-test doc-paths gate-wiring-test gate-wiring install-pins-test install-pins readme-coverage-test readme-coverage agy-wiring agy-validate footprint-budgets devtools-skills rust-scaffold skills-bundles skills-release-wiring site-check

# Build the example Claude Code plugin's binaries into its bin/ directory.
# Windows developers run this locally; CI produces the other platforms.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ verification) and asks whether to install project-local or global first:
<!-- footprint:begin -->
| Plugin | Resident bytes | Invocation bytes |
|---|---|---|
| `aiplugins-devtools-agy` | ≥ 1,157 | ≥ 42,916 |
| `aiplugins-devtools-cc` | ≥ 1,157 | ≥ 42,916 |
| `aiplugins-devtools-opencode` | ≥ 1,381 | ≥ 43,254 |
| `aiplugins-devtools-agy` | ≥ 1,498 | ≥ 51,905 |
| `aiplugins-devtools-cc` | ≥ 1,498 | ≥ 51,905 |
| `aiplugins-devtools-opencode` | ≥ 1,799 | ≥ 52,364 |
| `opencode-ctl-mcp-agy` | ≥ 10,138 | ≥ 8,545 |
| `opencode-ctl-mcp-cc` | ≥ 10,137 | ≥ 8,592 |
| `opencode-ctl-mcp-opencode` | ≥ 10,066 | ≥ 8,544 |
Expand Down
12 changes: 12 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,15 @@ Spec: `docs/specs/2026-10-18-opencode-ctl-mcp-design.md`. After execution comes
## check-doc-paths selftest runs on Linux only in CI

**Status:** SHIPPED 2026-11-21 - fixed in 53d60ee (PR #160, merged as 99fb9b8). The self-test and the real check now run in a new `doc-paths` job on ubuntu, windows and macos (`ci.yml`); measured in PR #160: the self-test and the real check pass on `macos-latest` (BSD awk, 12s) and `windows-latest` (Git Bash, 30s) as well as `ubuntu-latest` (5s). The problem as found: `.github/workflows/ci.yml:160` runs `bash scripts/check-doc-paths.sh --selftest` on `ubuntu-latest` only, while the script's header claims POSIX awk (BSD awk on macOS) and contributors run it through `just check` and lefthook on macOS and Windows Git Bash. Measured here: the 61 cases pass under gawk, mawk, `gawk --posix` and busybox awk. Not measured: macOS awk, and Git Bash's handling of `core.excludesFile=/dev/null` and CRLF from `git check-ignore`. Fix is to run the self-test on the existing three-OS matrix, or to measure once on each platform and record it.

## actionlint reports three SC2086 notes on the footprint-freshness step in ci.yml

**Status:** OPEN 2026-11-24 - `actionlint .github/workflows/ci.yml` (installed at `~/.local/bin/actionlint`) reports three shellcheck SC2086 "double quote to prevent globbing and word splitting" notes, all on the `run:` block of the step "Verify the committed footprints are not stale" (`.github/workflows/ci.yml:373`, script lines 7, 11 and 13: the unquoted `$readmes` and `$(ls -d ...)` expansions). The word splitting looks intentional (`$readmes` is a space-separated list of README paths), so the fix is an array or a `# shellcheck disable=SC2086` with the reason, not blind quoting. The notes are info level and CI does not run actionlint, so nothing fails today. First recorded 2026-11-21 when the block was at line 344. Decide whether CI should run actionlint at all before fixing the notes.

## README says marketplace entries resolve to the latest release, but the manifests pin per-plugin tags

**Status:** OPEN 2026-11-24 - `README.md:27-28` says the entries "resolve to plugin zips on the latest release", while `.claude-plugin/marketplace.json` carries a tag-pinned archive URL per plugin (for example `.../releases/download/rtk-mcp-cc-v0.8.1/rtk-mcp-cc-plugin.zip`, line 15). Each plugin versions independently, so there is no single "latest release" for the repository. Fix is a one-sentence edit of the README that says the URL names the plugin's own release tag; check the other agents' marketplace manifests and plugin READMEs for the same wording.

## just setup fails at its cargo binstall line because lefthook is not a crates.io crate

**Status:** OPEN 2026-11-24 - `Justfile:13` runs `cargo binstall cargo-nextest cargo-deny bacon typos-cli lefthook mlc -y`. Measured with `cargo binstall --dry-run` on 2026-11-24: that line exits 76 ("For crate lefthook: lefthook is not found"), the same line without `lefthook` exits 0, and `cargo search lefthook` finds no such crate. `just` stops at the failing line, so the `pyyaml` install and `lefthook install` after it never run. Fix is to drop `lefthook` from the binstall line, install it by a per-OS route (the lefthook install docs list brew, scoop, winget, apt, `go install` and npm), and make `setup` check that it is on PATH at or above the `min_version` floor before `lefthook install` (`lefthook install` itself does not enforce `min_version`, measured). The same hole is closed by design in `docs/superpowers/specs/2026-11-24-rust-toolchain-scaffold-design.md`, so fix this repo's recipe the same way once that design is agreed.
13 changes: 8 additions & 5 deletions antigravity/plugins/aiplugins-devtools-agy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aiplugins-devtools-agy

An Antigravity plugin that ships four dev-tool skills:
An Antigravity plugin that ships five dev-tool skills:

- `code-review-and-quality`, a multi-axis code review (correctness, readability,
architecture, security, performance) with security and performance checklists.
Expand All @@ -12,8 +12,11 @@ An Antigravity plugin that ships four dev-tool skills:
- `license-headers`, adds or enforces per-file license headers with google/addlicense for
custom or source-available licenses (header text read from your template file), with a
`LICENSE-ADDENDUM` template for extra terms. Bundles a wrapper script; needs `addlicense`.
- `rust-toolchain-scaffold`, scaffolds a tested quality toolchain into a Rust repository: just
recipes, lefthook hooks, rustfmt, clippy, nextest, cargo-deny, typos, gitleaks, SHA-pinned CI and
CODEOWNERS, plus tests that prove each gate blocks. Its checks need `just`, `lefthook`, `gitleaks`, `cargo-nextest`, `cargo-deny` and `typos`.

Slash commands: `/spec-panel-review <path>` and `/human-friendly <path>`.
Slash commands: `/spec-panel-review <path>`, `/human-friendly <path>` and `/rust-toolchain-scaffold <request>`.
It carries only skills: no hooks, no MCP servers, no binaries.

## Installation
Expand Down Expand Up @@ -51,12 +54,12 @@ here by `just emit-devtools-skills`.
<!-- footprint:begin -->
### Context footprint

Installing this plugin adds **≥ 1,157 bytes** to every request, for the whole session. A further **≥ 42,916 bytes** load only when one of its skills or agents is actually invoked.
Installing this plugin adds **≥ 1,498 bytes** to every request, for the whole session. A further **≥ 51,905 bytes** load only when one of its skills or agents is actually invoked.

| Tier | Bytes | When you pay it |
|---|---|---|
| Resident | ≥ 1,157 | Every request, for the whole session |
| Invocation | ≥ 42,916 | Only when that skill or agent runs |
| Resident | ≥ 1,498 | Every request, for the whole session |
| Invocation | ≥ 51,905 | Only when that skill or agent runs |

**Bytes, not tokens.** This is the exact serialised size of what the host loads, measured by probing the plugin's own MCP server and reading its skill and agent frontmatter. It is not a token count and does not convert to one at a fixed rate — treat it as a figure you can compare between plugins, not as a context budget.

Expand Down
Loading
Loading