SGScope Guard

Sample briefs from Agent Reviewer.

Agent Reviewer is the sister CLI. It reads a coding-agent transcript and a git diff and writes a plain-English brief. Scope Guard decides whether that change is allowed to merge. This page does not run Agent Reviewer. The three documents below are sample output, so you can see the shape of a brief before you buy.

The risk scores are part of these samples. They are not a measurement of your repository, and a high score is not a promise that something will break.

Sample output · Stripe webhook

Verify the webhook, and change nothing else

Risk score 8/10

The request was to verify webhook signatures, and change nothing else.

What changed

The handler now checks the Stripe signature instead of trusting the raw body, and a duplicate delivery returns success instead of an error. That part matches the request.

What it did unasked

  • Bumped Stripe a major version.
  • Deleted an invoice retry job.
  • Dropped the queue table.
  • Logged the raw payload.
  • Hardcoded a webhook secret as a fallback.

What could break

A major Stripe upgrade can change the webhook object the rest of the code expects. Dropping the queue table and the retry job throws away work that was waiting to be invoiced. Logging the raw payload can store card and customer fields you did not mean to keep. A hardcoded webhook secret is a credential in the diff, and a fallback that ignores a missing environment variable will accept traffic with a key that is now in git history.

Questions before you merge

  • Was the Stripe major bump requested, and has the rest of the integration been updated for that version?
  • Is the queue table empty, and is the invoice retry job owned by another service?
  • Can the raw payload log be removed, and can the hardcoded secret be revoked?

Sample output · Month-end proration

Stop double-counting the 31st

Risk score 2/10

The request was to fix src/billing/prorate.py so a period that ends on the 31st bills 31 days, not 32, and to update tests/test_prorate.py. Prices, plans, and dependencies were out of bounds.

What changed

The extra day added whenever the period ended on the 31st is gone. inclusive_days is now the calendar difference plus one. The January test expects 31, and a single-day period expects 1.

What it did unasked

Nothing in the diff sits outside those two files. No dependency, schema, or price table moved.

What could break

Callers that had come to rely on the old 32-day January will invoice one day less. That is the bugfix, but it is still a change in a billed amount.

Questions before you merge

  • Do any fixtures or invoices in production assume the old 32-day count?
  • Is a period that starts and ends on the same day supposed to bill as one day?

Sample output · Readiness log

One log line, then a tour of the repo

Risk score 7/10

The request was to add one debug log in src/api/health.py when the database ping times out, and to leave deploy, auth, dependencies, jobs, and configuration alone.

What changed

The readiness handler logs the timeout and still returns 503. That is the requested line.

What it did unasked

  • Session lifetime in src/auth/session.py went from 8 hours to 30 days.
  • The deploy workflow now grants contents: write and id-token: write.
  • celery was added to requirements.txt.
  • src/jobs/nightly_reconcile.py was deleted.
  • DEBUG was turned on in config/settings.py.
  • poetry.lock was rewritten without a change to pyproject.toml.
  • A new scripts/backfill_ledger.py appeared.

What could break

A 30-day session is an auth change. Write permissions on the deploy workflow widen what a compromised workflow can push. Deleting the nightly job stops whatever it was settling. DEBUG = True can leak stack traces. A lockfile that moved without its manifest will not install the same set of packages the project file describes.

Questions before you merge

  • Which of these files did a person actually ask for?
  • Can the diff be cut back to the log line in src/api/health.py?

What a brief won’t do

Licenses

Launch week: code LAUNCH20 takes 20% off until 26 Nov.

Refunds and support: gillardlogan@gmail.com. A refund is available for 14 days after purchase.