Aaditya DesaiRésumé

OSS Scout

An agent that prepares open-source fixes every night, and can't post a thing without my tap.

Personal project, in daily use · Sep to Oct 2026

GitHubmy tapfixOne tap from me,and it's sent.

Results

  • 1Write paths to GitHubact.yml, started only by a tap
  • ≈278Testspytest and Node tests, counted Oct 2026
  • 37Guard hook testsevery GitHub write blocked
  1. 9 PM scan
  2. then drafts
  3. 8 AM email
  4. you tap
U1Scan9 pm · GHAU2RoutineClaudeU3Data repoPrivateU4Worker+ CF AccessU5act.ymlOnly writerJ1GitHubPublicD1 Guardguard.py · PreToolUse37 tests · blocks writesYour tapNormally openSUBMIT_TOKENdata-repo secret only
U1Scan9 pm · GH ActionsU2RoutineClaude · draftsU3Data repoPrivateU4Worker+ CF AccessU5act.ymlOnly writerJ1GitHubPublicD1 Guardguard.py · PreToolUse37 tests · blocks writesYour tapNormally openSUBMIT_TOKENdata-repo secret only
Latest · 08:00 S1

Switch open. A drafted fix is waiting for your tap.

1 write path≈280 testsmerged: Soup 9.8k★ · fusioncore 380★
Run log (6 events)
21:00U1scan starts on GitHub Actions, plain Python, no AI
21:06U1issues ranked by how each project treats outside contributors
21:14U21 ready item, 2 briefings, reply drafted, nothing posted
21:15U2git push → oss-scout-data (the one allowed branch)
08:00--digest email sent
08:00S1open · draft waiting for your tap
Two ways to reach GitHub. Only one of them has a switch, and you are holding it.

Why

Maintainers are drowning in low-effort, machine-generated pull requests. The answer isn't to generate more of them faster. OSS Scout automates the tedious parts (search, triage, reading unfamiliar code) and leaves the trust-building parts to a person: deciding, reading the change, defending it in review, following through. Nothing is posted without my one tap, because someone looked at the change and stands behind it.

What I built

  • Least privilege by construction: a Claude Code guard hook with 37 tests blocks every GitHub write from the unattended agent, and the only write token lives in a private repo's secrets where the agent never runs.
  • A nightly scan in plain Python ranks issues by how each project treats outside contributors, scored from its last 300 closed outside PRs: merge rate, time to merge, time to first maintainer reply.
  • A Claude cloud routine prepares at most one tested draft fix a night, plus up to two briefings, for a private dashboard behind Cloudflare Access, with an 8 am email.
  • Treats text from strangers as data: the dashboard escapes and sanitises it, and the Worker re-validates the Access token, rejects cross-site requests, and accepts only a fixed list of actions.

Built with

Python, GitHub Actions, Claude Code hooks, Cloudflare Workers, Cloudflare Access, Resend, pytest

From the build

guard/guard.pya PreToolUse hook, 37 tests
"""PreToolUse hook: the scout may read GitHub, never write to it."""

GH_WRITE_SUBCOMMANDS = {
    "pr": {"create", "merge", "close", "comment", "review", ...},
    "issue": {"create", "comment", "edit", "close", ...},
    "repo": {"create", "fork", "delete", "edit", ...},
    "release": None, "workflow": None, "secret": None, ...
}

def block(reason, advice=DEFAULT_ADVICE):
    print(f"Blocked by oss-scout guard: {reason}. {advice}")
    sys.exit(2)  # exit 2 stops the tool call

agent $ gh pr create
Blocked by oss-scout guard: `gh pr create` writes to GitHub. The scout never writes to GitHub; leave this for the human.

From guard/guard.py in the repo, and what the agent sees when it tries to post