Skip to content

docs(contributing): align changeset exemptions with .changeset/README.md (Argus smoke test)#21

Merged
bokelley merged 2 commits into
mainfrom
bokelley/argus-smoke-test
May 20, 2026
Merged

docs(contributing): align changeset exemptions with .changeset/README.md (Argus smoke test)#21
bokelley merged 2 commits into
mainfrom
bokelley/argus-smoke-test

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

Summary

`CONTRIBUTING.md` listed only "refactors, docs, or test-only" as exempt from needing a changeset; `.changeset/README.md` also exempts `chore:` / `ci:` commits. One-line alignment.

Why this PR exists

Smoke test for #20 — the Argus AI review workflow. The PR is intentionally tiny and benign so we can verify the end-to-end pipeline (prompt build → Argus LLM run → `gh pr review` post → verifier confirm) on a docs-only change before exercising any MUST-FIX gates.

This PR is branched off #20 so the workflow file exists in the PR head — `pull_request` workflows fire from the merge of base + PR, and `ai-review.yml` isn't on `main` yet. Once #20 merges, future smoke tests can branch off `main` directly.

Expected outcome: Argus reviews this PR, classifies as docs-only (no `code-reviewer` delegation needed), and posts `--approve`.

Test plan

  • CI green
  • Argus posts a `--approve` review within 10 minutes of the PR opening
  • Argus skips subagent delegation (docs-only PR)
  • Review body uses bokelley voice (concise, declarative, sign-off ladder)

🤖 Generated with Claude Code

bokelley and others added 2 commits May 20, 2026 11:06
Adds the Argus AI PR review workflow + reviewer prompt, adapted for
the Java SDK harness.

- .github/workflows/ai-review.yml — runs on every non-draft, non-
  dependabot PR. Skippable-rerun check tuned for Java/Gradle trivial
  paths (.changeset/*, docs/**, **/src/test/**, *.lockfile,
  package-lock.json). ROADMAP.md, CLAUDE.md, and specs/** are treated
  as non-trivial (governance).

- .github/ai-review/expert-adcp-reviewer.md — reviewer prompt in
  bokelley voice. MUST FIX rules rewritten around what applies here:
  D1-D21 drift (called out by D-number), the *Request/*Response
  naming invariant, @nullable vs Optional, hand-edits to
  **/build/generated/**, wire-shape change without a major changeset,
  lockfile drift. Domain-expert triggers map to this repo's modules
  (codegen plumbing, adcp-server signing/auth, schema-bundle fetcher,
  Spring Boot starter, etc.).

Posts as github-actions[bot] via the default GITHUB_TOKEN. Per D21,
branch protection still requires one code-owner approving review —
an Argus --approve is informational and runs alongside human review,
not in place of it. When the foundation provisions a per-repo
GitHub App, swap to an App-installation token and Argus approvals
will start counting toward branch protection.

External-fork PRs receive a read-only GITHUB_TOKEN by event design;
Argus is effectively first-party only until the App lands.

Required secret: ANTHROPIC_API_KEY.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CONTRIBUTING.md listed only "refactors, docs, or test-only" as
exempt; .changeset/README.md also exempts chore: / ci: commits.
Drift caused by independent edits to the two files.

Argus smoke test for #20 — a docs-only change that should classify
as docs-only, skip subagent delegation, and post `--approve`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bokelley bokelley requested a review from MichielDean as a code owner May 20, 2026 18:38
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One-line alignment with .changeset/README.md:11-14, which already lists chore: / ci: as exempt.

Things I checked

  • CONTRIBUTING.md:87 now matches .changeset/README.md:11-14 — the source of truth for the four exempt categories.
  • D18-aligned: changeset policy itself unchanged. This is documentation catching up to the policy, not a policy shift.
  • No changeset required — docs: commits are themselves on the exemption list. Recursion holds.
  • The other two files in the diff (.github/workflows/ai-review.yml, .github/ai-review/expert-adcp-reviewer.md) belong to #20 and aren't part of this PR's commits. Reviewed there.
  • Test plan: four unchecked boxes, all of which describe Argus's behavior reviewing this PR — they can only resolve after this review posts. Not a coverage gap.

Follow-ups (non-blocking)

  • Once #20 merges, future smoke tests can branch off main directly so the diff isn't noisy. PR description already calls this out.

LGTM.

@bokelley bokelley merged commit aea5793 into main May 20, 2026
8 checks passed
@bokelley bokelley deleted the bokelley/argus-smoke-test branch May 20, 2026 18:57
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.

1 participant