From 762dff8434c8a26ed4d3351debe6539f3bb7aff2 Mon Sep 17 00:00:00 2001 From: Michael Mendoza <62703135+makoydev@users.noreply.github.com> Date: Thu, 1 Oct 2026 00:27:47 +0800 Subject: [PATCH 1/3] ci: pin Vetted's self-review to the v0.1.0 release (#28) * ci: pin Vetted's self-review to the v0.1.0 release Co-Authored-By: Claude Opus 5.5 * docs: log the stale-base branch mistake Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 --- .github/workflows/vetted.yml | 2 +- CHANGELOG.md | 4 ++++ docs/HOW-THIS-WAS-BUILT.md | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vetted.yml b/.github/workflows/vetted.yml index b8bc192..51d552d 100644 --- a/.github/workflows/vetted.yml +++ b/.github/workflows/vetted.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Vetted AI Code Review - uses: makoydev/vetted@f6ae25e2c71b7444af3a863adcc8296df544e52b # next, 2026-09-30 (#21) + uses: makoydev/vetted@2ae958e0fbf14fb9c74c2423059a49762927a192 # v0.1.0 with: # Opt-in since #9: add the `ai-review` label to get comments. mode: opt-in diff --git a/CHANGELOG.md b/CHANGELOG.md index e843b59..0a42eea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ All notable changes to this project are documented here. The format follows ## [Unreleased] +### Changed + +- Vetted's self-review is pinned to the v0.1.0 release commit. + ## [0.1.0] - 2026-10-01 First release (Milestone 1): governed, advisory AI code review for GitHub Actions. Reviewed and approved by Michael Mendoza on 2026-10-01. diff --git a/docs/HOW-THIS-WAS-BUILT.md b/docs/HOW-THIS-WAS-BUILT.md index 1b6567f..ade19ee 100644 --- a/docs/HOW-THIS-WAS-BUILT.md +++ b/docs/HOW-THIS-WAS-BUILT.md @@ -42,6 +42,7 @@ On 2026-10-01 Michael reviewed the batch in `next` with the Milestone 1 decision | Date | What went wrong | How it was caught | Fix | | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| 2026-10-01 | After realigning `next` with `main`, a new branch was created from a local copy of `next` fetched before the realignment, so its pull request carried 14 old commits, conflicted, and triggered no checks | The merge helper reported that no checks had run; the pull request showed 14 commits and a conflict | Rebased the one real commit onto the realigned `next`; fetch immediately before branching | | 2026-10-01 | The changelog had two "Added" sections and entries out of order, from text-anchored edits over several pull requests | Preparing the release | Rewrote it as one clean `0.1.0` entry | | 2026-09-30 | The first canary meant to prove the path deny list works ("only the deny list can stop this") was actually also caught by the entropy check, so it didn't test the deny list | A deliberate break (deny list emptied) still reported 0 leaks | Replaced it with a passphrase with spaces that nothing else catches; the same break now reports 3 leaks | | 2026-09-30 | Two overclaims in drafts: the threat model said CODEOWNERS "covers" workflow changes (with zero required approvals it enforces nothing), and `EVALS.md` gave the monthly worst case as US$6.24 (it is US$6.20) | Re-reading the drafts before committing | Corrected before they were committed | From 68bb0fa72a172a735eb853546f94f927e3e2062d Mon Sep 17 00:00:00 2001 From: Michael Mendoza <62703135+makoydev@users.noreply.github.com> Date: Sun, 4 Oct 2026 22:30:15 +0800 Subject: [PATCH 2/3] docs: log the invalid fake key caught while making the film (#29) Co-authored-by: Claude Opus 5.5 --- docs/HOW-THIS-WAS-BUILT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/HOW-THIS-WAS-BUILT.md b/docs/HOW-THIS-WAS-BUILT.md index ade19ee..f87af5d 100644 --- a/docs/HOW-THIS-WAS-BUILT.md +++ b/docs/HOW-THIS-WAS-BUILT.md @@ -43,6 +43,7 @@ On 2026-10-01 Michael reviewed the batch in `next` with the Milestone 1 decision | Date | What went wrong | How it was caught | Fix | | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 2026-10-01 | After realigning `next` with `main`, a new branch was created from a local copy of `next` fetched before the realignment, so its pull request carried 14 old commits, conflicted, and triggered no checks | The merge helper reported that no checks had run; the pull request showed 14 commits and a conflict | Rebased the one real commit onto the realigned `next`; fetch immediately before branching | +| 2026-10-02 | While making the explainer film, the fake cloud key written for the sample code contained the digit 9. Real AWS access key IDs only use A–Z and 2–7, so Vetted's rule correctly ignored it and the film would have shown a secret that Vetted doesn't wrap | Running the film's sample lines through the real v0.1.0 engine before animating them, which left the key unwrapped | Replaced the key with a correctly shaped fake; every label in the film now matches what the engine produces | | 2026-10-01 | The changelog had two "Added" sections and entries out of order, from text-anchored edits over several pull requests | Preparing the release | Rewrote it as one clean `0.1.0` entry | | 2026-09-30 | The first canary meant to prove the path deny list works ("only the deny list can stop this") was actually also caught by the entropy check, so it didn't test the deny list | A deliberate break (deny list emptied) still reported 0 leaks | Replaced it with a passphrase with spaces that nothing else catches; the same break now reports 3 leaks | | 2026-09-30 | Two overclaims in drafts: the threat model said CODEOWNERS "covers" workflow changes (with zero required approvals it enforces nothing), and `EVALS.md` gave the monthly worst case as US$6.24 (it is US$6.20) | Re-reading the drafts before committing | Corrected before they were committed | From 2dd78d7f472cc60d6508fb02677ca23493a2f830 Mon Sep 17 00:00:00 2001 From: Michael Mendoza <62703135+makoydev@users.noreply.github.com> Date: Mon, 5 Oct 2026 23:30:12 +0800 Subject: [PATCH 3/3] docs: Milestone 2 pilot numbers from Discreet in EVALS (#45) 12 Discreet pull requests reviewed in shadow mode (37 runs, mock model, US$0): 18 secret-shaped strings and 89 personal-data values scrubbed, 9 files skipped, 0 injection findings. States the gap the pilot exposed: the vendored sg-pii-rules v0.1.0 doesn't cover the v0.2.0 entities. Part of makoydev/vetted#41 Co-authored-by: Claude Opus 5.5 --- CHANGELOG.md | 4 ++++ EVALS.md | 27 ++++++++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a42eea..0c251dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to this project are documented here. The format follows ### Changed +- `EVALS.md` §6: pilot numbers from Milestone 2 (12 Discreet pull requests, 37 runs, what was scrubbed and skipped), and the gap it exposed: the vendored sg-pii-rules v0.1.0 doesn't cover the entities added in v0.2.0. + +### Changed + - Vetted's self-review is pinned to the v0.1.0 release commit. ## [0.1.0] - 2026-10-01 diff --git a/EVALS.md b/EVALS.md index ae7e379..e3f2f0e 100644 --- a/EVALS.md +++ b/EVALS.md @@ -90,12 +90,29 @@ These are **upper bounds by construction**, not measurements. Real per-review co ## 6. Pilot (single maintainer) -| Repository | Pull requests reviewed | Mode | Model | Comments posted | -| ---------------------------- | ---------------------- | ------ | ----- | --------------- | -| `discreet` | 1 (#1) | shadow | mock | 0 (shadow) | -| `vetted` (dogfood, from #22) | from #22 onwards | shadow | mock | 0 (shadow) | +Measured on 2026-10-05 from Vetted's own audit artifacts (one per run), downloaded from the Discreet repository and totalled; for pull requests reviewed more than once, the latest run counts. -Every run produced an audit artifact, for example `vetted-audit-1-36698308678-1` for Discreet #1. **Sample size: one pull request in Discreet, and a single maintainer.** No acceptance or override numbers exist yet. The pilot switches Discreet to opt-in on 2026-10-14, and Milestone 3's dashboard reports acceptance, overrides and cost per pull request. +| Repository | Pull requests reviewed | Runs | Mode | Model | Comments posted | Cost | +| ---------------------------- | -------------------------------------------------------------------------------- | ---- | ------ | ----- | --------------- | ---- | +| `discreet` | 12 of 13 (#1–#12; #13 opened in opt-in mode, unlabelled, so skipped as designed) | 37 | shadow | mock | 0 (shadow) | US$0 | +| `vetted` (dogfood, from #22) | from #22 onwards | | shadow | mock | 0 (shadow) | US$0 | + +What Vetted did with Discreet's 12 pull requests before anything reached the model: + +| | Count | +| ------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| Files in the pull requests / sent / skipped | 139 / 130 / 9 (8 over the size cap, mostly vendored test fixtures; 1 on the default deny list) | +| Bytes sent (after scrubbing) | 373,676 | +| Secret-shaped strings scrubbed | 18 (15 high-entropy, 3 generic API keys), all synthetic test keys in Discreet's tests | +| Personal data scrubbed | 89 (44 `PHONE`, 39 `NRIC`, 3 `EMAIL`, 3 `NRIC_LIKE`), all synthetic test values | +| Prompt-injection findings | 0 | + +**Reading this honestly.** + +- **Sample size:** 12 pull requests, one maintainer, mock model only (`OPENAI_API_KEY` isn't set), so there are no review-quality, acceptance or override numbers yet. What the pilot does show is the pre-send pipeline working on a real, changing codebase. +- **A gap the pilot exposed:** Vetted vendors sg-pii-rules **v0.1.0**, which doesn't know the card, postal code, unit number and date-of-birth rules added in v0.2.0 for Discreet. Discreet's synthetic test values of those kinds were therefore sent to the mock model unscrubbed. Nothing real was sent and no paid model was involved; upgrading Vetted to v0.2.0 is Milestone 3 work. +- Some `PHONE` hits are probably eight-digit test constants rather than phone numbers, the false positive documented in sg-pii-rules ADR 0007. +- Discreet switches to opt-in on 2026-10-14 (makoydev/discreet#13). Milestone 3's dashboard reports acceptance, overrides and cost per pull request. ## 7. Speed