r/devsecops • u/Common_Dream9420 • Aug 26 '26
Coding agents shifted the bottleneck to verification now!!
Coding agents are doing a lot of the integration work at our agency now. Stripe, Twilio, WorkOS, email, the usual stack. Economically it's been good.
The part I didn't expect: verification actually got harder. We're producing code faster than anyone can review it, and the edge cases that bite you aren't in unit tests. Webhook fires twice. Events arrive out of order. Agent wrote correct code but got one state transition wrong. PR looks fine, everything compiles, and you still don't know until something breaks in staging or worse.
We added a sandbox step before anything ships now. Agent writes, tests pass, then we run the full multi-API workflow with failure scenarios before it's considered done. Not elegant, just a runnable verification step all our agents have to clear.
If agents are writing integrations for you, what does your last gate before production actually look like?
2
u/danekan Aug 27 '26
The same thing is true with documentation. It’s really easy to generate 4 pages of ai slop but it takes your coworkers 4x longer to read it and red line it than the work you put in.
4
u/rpatel09 Aug 26 '26
Unsure if this is related to security as its r/devsecops but if so, I think an overall principle I've always used is to abstract as much security as you can from the application. Think of it it like giving developers a Waymo vs a normal car that only has "safety assist" features where most can be easily ignored. I think this still applies in an AI world where developers use AI to write code now. Applications shouldn't have to worry about firewall rules, WAF, API auth, encryption, etc... most of that can be abstracted also improve developer throughput when done well.
If you're talking about application development testing, then I think the same kind of applies but largely its always been ignored. Testing and documentation are so much more important now then they were before. Before, humans had tribal knowledge or knew who to ask for some requirement that wasn't written down or some edge case. Think of AI as a very capable senior engineer who always starts like a new employee, if that context isn't written down some where and written well, that "new employee" (new AI session) will never know that context and it could assume (like humans do), not ask (like humans do), and design bad code.
---- EDIT -----
i make lots of typos...
1
u/PeterBuildsSecure Aug 29 '26
The sandbox step is the right instinct, but the failure mode worth designing around is nondeterminism: webhook double-fires and out-of-order delivery aren't edge cases, they're the default behavior of every provider in that stack. A gate that catches it needs three things a generic "run the workflow" sandbox usually doesn't: replay of the same event twice back-to-back (proves idempotency keys are enforced), deliberate reordering of a fixed event set (proves state transitions don't assume arrival order), and a fixed clock/seed so a failing run reproduces exactly. Worth turning your sandbox findings into permanent fixtures — the double-fire and reorder cases you're hitting now are exactly the regressions that should block the next agent-generated PR from reintroducing the same bug.
1
u/colek42 Aug 27 '26
It is pretty early, but we just launched pushgate.dev that helps with this. Your agents push code*.* Pushgate checks the proof, then forwards verified commits to GitHub.
1
u/Suspicious-Echidna27 Aug 27 '26
I think review and verification has changed now, depending on how critical you system is: If it is critical then adopt what Linux is doing, you need to have a human verify it before it hits prod. If the system is not critical, have an adversarial review e.g. codex reviewing claude let them go back and forth for as many turns as needed.
2
u/[deleted] Aug 31 '26
[removed] — view removed comment
1
u/[deleted] Oct 28 '26
[removed] — view removed comment
1
u/[deleted] Aug 27 '26
[removed] — view removed comment
1
u/[deleted] Aug 27 '26
[removed] — view removed comment
1
u/[deleted] Sep 09 '26
[removed] — view removed comment