r/devtools • • 10h ago

Rebuilding our release system, part 1

1 Upvotes

Rebuilding our release system, part 1
Our release system had 760 states. We’re rebuilding it with eight.
Pagayo is a one-person company. AI agents write, review, test and release our code, entirely on Cloudflare. This week I stopped all of it.
Not because AI failed at writing code. Because the system around it kept growing. Every problem got a new rule, a new role, a new state. On the day the machine was supposed to get smaller, it grew by 503 lines.
Where we were, and where we’re going:
→ States per change: 760 → 8
→ AI roles around the builder: 9 → 3
→ Release machinery: 143,000 lines → target under 110,000
→ Avoidable standstill: 5 to 19 hours a day → target under 1
→ Tokens per accepted change: 6.6 million → lower, measured weekly
The fix isn’t new. It’s a rule from 2014 by Graydon Hoare, the creator of Rust: “automatically maintain a repository of code that always passes all the tests.” Test each change on top of the current main line. Green: main moves to exactly what was tested. Red: it goes back to its owner, main stays untouched, and nothing else waits. The money checks stay exactly as strict.
The first step already taught us something. When two processes try to move the same main line at once, exactly one lands, every time. Cloudflare Artifacts itself refuses the stale one. It works, but it isn’t documented, so we test it on every change that touches it.
What it means for merchants: what goes live in their shop is first tested exactly as it will run. And if something still goes wrong, the previous version is back within minutes.
The lesson so far: AI will happily keep adding complexity if nobody says stop. That’s still my job.
Next part: the first change that goes all the way to live on the new route.
u/Cloudflare
#AI #AIagents #Cloudflare #Ecommerce #Startups


r/devtools • • 18h ago

I built an open source scanner to run before you ship vibe-coded apps finds leaked secrets, injection, and weak configs locally

0 Upvotes

Code written with AI assistants ships fast, and so do its mistakes.

Typical examples: hardcoded API keys, SQL built from user input, and cookies missing security flags.

I built PGARD to help catch issues like these in projects I own or am authorized to scan. It’s an open-source security scanner that runs on your computer.
I built it as a TypeScript monorepo with its own rule engine and no external service, and I check it against a corpus of more than 1,700 code samples to catch regressions in what it finds.

It checks current code and configuration for exposed secrets and common vulnerability patterns. An authorized full scan also checks Git history for committed secrets. You can optionally check an app running on 127.0.0.1, and check npm and Go lockfiles against OSV advisory data you download with `pgard advisories update`.

Findings show where to look, why the issue matters, and how to address it. PGARD maps rules to OWASP Top 10:2025 and CWE Top 25:2025, and reports which areas it couldn’t check. The mappings don’t mean it covers every weakness in those lists.

To try a scan of your current files without signing in (requires Node.js 22.23.4+, 24.22.1+ or 26.12.1+):

npm install -g pgard

cd your-project

pgard scan --code-only

On macOS you can also install it with Homebrew: brew install JadenMeister/pgard/pgard

Git history scans require GitHub authorization. Your code and scan results are processed locally; authorization checks contact GitHub.

Originally developed in English, but I added Korean support for users in Korea. It automatically picks a language based on your system locale: Korean for a Korean locale (ko_KR, for example), and English otherwise.

pgard scan --lang en # Use English for this scan

export PGARD_LANG=en # Use English for the current shell session

This is an early release and a static scanner, not a pentest. I’d appreciate feedback on false positives, missed issues, and whether the findings make sense to developers without a security background. Issues, Star and PRs are welcome. It's MIT licensed.

Thank you all

github: https://github.com/JadenMeister/pgard

website: https://pgard.dev


r/devtools • • 23h ago

Hangtime - macOS menu bar app that shows your Claude Code, Codex, Grok CLI and Antigravity limits

Post image
2 Upvotes