영어 원문 줄은 YouTube 자동 생성 영어 자막이다. 고유명사 표기는 영상 설명란과 슬라이드를 따라 바로잡았다.
모든 코드는 슬롭이다 (내 것만 빼고) — Lauren Tan, SpaceXSI
All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI

AI Engineer Code Summit · SPACEX · Grok Bot · 코드가 아니라 증명을 리뷰하라
AI Engineer Code Summit · SPACEX · Grok Bot · Review Proof, Not Code
영상 설명란
한 달에 풀 리퀘스트 11,000개, 되돌림 비율은 약 0.5%. 로런 탄(Lauren Tan, poteto)이 SpaceXSI의 Grok Bot 팀이 소프트웨어 아키텍처, 린트 규칙, 자동화 테스트, 런타임 검증, TLA+와 Lean을 쓴 형식 검증으로 AI 코딩 에이전트의 규모를 키우는 방법을 공유한다. Cursor 에이전트와 pstack이 이런 소프트웨어 엔지니어링 토대를 믿을 수 있는 소프트웨어 공장으로 바꾸는 과정을 보라.
11,000 pull requests in one month, with a revert rate around 0.5%. Lauren Tan (poteto) shares how the Grok Bot team at SpaceXSI scales AI coding agents through software architecture, lint rules, automated testing, runtime verification and formal verification with TLA+ and Lean. See how Cursor agents and pstack turn these software engineering foundations into reliable software factories.
발표자 정보:
- https://x.com/poteto
- https://github.com/poteto
- https://github.com/cursor/plugins/tree/main/pstack
Speaker info:
- https://x.com/poteto
- https://github.com/poteto
- https://github.com/cursor/plugins/tree/main/pstack
타임스탬프:
Timestamps:
- 0:00 - 슬롭을 금으로 바꾸기 Turning slop into gold
- 2:03 - 신뢰 피라미드와 코드베이스 품질 The trust pyramid and codebase quality
- 5:00 - Dune과 강제할 수 있는 아키텍처 Dune and enforceable architecture
- 6:56 - 주석을 린트 규칙으로 바꾸기 Replacing comments with lint rules
- 9:40 - 런타임 검증과 기능 지도 Runtime verification and feature maps
- 10:50 - 형식 검증과 UI 테스트 Formal verification and UI testing
- 11:51 - 검증에 토큰 쓰기 Spending tokens on verification
- 13:32 - PR 11,000개와 되돌림 비율 0.5% 11,000 PRs and a 0.5% revert rate
- 15:11 - 소프트웨어 공장보다 토대가 먼저 Foundations before software factories
2027년 2월 17~19일 ExCeL London에서 열리는 AI Engineer Europe에 함께하라.
티켓 구매 → https://ai.engineer/europe/2027
Join us at AI Engineer Europe, February 17–19, 2027 at ExCeL London.
Get tickets → https://ai.engineer/europe/2027
전체 대본을 읽고 챕터를 둘러보려면 → https://ai.engineer/talks/O_zcc6Xl12g-all-code-is-slop-except-mine
Read the full transcript and browse the chapters → https://ai.engineer/talks/O_zcc6Xl12g-all-code-is-slop-except-mine
슬롭을 금으로 바꾸기 Turning slop into gold [00:00]
[00:01] [음악]
[music]

[00:08] 플래티넘 스폰서 · aws · Devin · databricks · exa · FACTORY · Sonar
PLATINUM SPONSORS · aws · Devin · databricks · exa · FACTORY · Sonar
[00:12] 좋다. 다시 소개하면 내 이름은 poteto다. SpaceXSI에서 Grok Bot을 만든다.
>> All right. Um so again I'm my name is poteto. Uh I work on Grok Bot at SpaceXSI.

[00:20] 모든 코드는 슬롭이다 (내 것만 빼고) · poteto (일명 lauren tan) · Grok Bot @ SpaceXSI
all code is slop (except mine) · poteto (aka lauren tan) · Grok Bot @ SpaceXSI
[00:21] 손을 한번 들어 줄 수 있나? 남이 쓴 코드를 보고 “전부 슬롭이네”라고 생각해 본 사람이 얼마나 되나? 음, 나도 그랬다. 오늘은 그 슬롭을 금으로 바꿀 수 있다고 여러분을 설득하겠다.
And can I just get a quick show of hands? How many of you have ever looked at code that somebody else wrote and you thought that's all slop. Well, I have too. But today I'm going to convince you that you can turn that slop into gold.
[00:42] 지난달 나는 좀 무모한 일을 했다. 풀 리퀘스트 3,000개를 프로덕션에 배포했다.
Uh and so I did something crazy last month and I shipped 3,000 pull requests to production.

[00:47] 지난달 나는 PR 3,000개를 프로덕션에 배포했다 · 총 10,732 · 3월 68 · 4월 254 · 5월 352 · 6월 685 · 7월 1,113 · 8월 2,401 · 9월 2,732 · 10월 3,127 · 품질과 양 · @poteto
i shipped 3,000 PRs to prod last month · 10,732 total · mar 68 · apr 254 · may 352 · jun 685 · jul 1,113 · aug 2,401 · sep 2,732 · oct 3,127 · quality & quantity · @poteto
[00:48] 에이전트가 나오기 전에는 소수의 예외를 빼면 아무도 작업량에 크게 신경 쓰지 않았다.
Now before agents we never really cared about volume uh except for the outliers.

[00:53] 품질과 양 · 누구나 코딩 머신이 될 수 있다 · 새 메타는 품질을 타협하지 않고 빠르게 배포하는 것이다 · @poteto
quality & quantity · everyone can be a coding machine · the new meta is shipping fast without compromising on quality · @poteto
[00:54] 내 이전 회사에서는 그런 사람들을 코딩 머신이라고 불렀다. 주말 사이에 Google Maps를 통째로 다시 쓴 것으로 유명한 브렛 테일러(Bret Taylor) 같은 사람 말이다. 터무니없이 생산성이 높은 엔지니어였다.
And at my previous company we called these people coding machines. People like Bret Taylor who famously rewrote all of Google Maps uh in a weekend. Just an insanely productive engineer.
[01:06] 이제는 에이전트 덕분에 누구나 코딩 머신이 될 수 있다. 내 주장은 이렇다. 소프트웨어 엔지니어의 일, 소프트웨어 엔지니어링의 메타는 생산성을 크게 끌어올리면서 코드 품질을 유지하거나 오히려 높이는 방법을 찾아내는 것이다.
Uh and well with agents anyone can now be a coding machine. And my thesis is that the job of the software engineer, the meta of being a software engineer is figuring out how to maintain or even improve the quality of your code while massively increasing your productivity.

[01:23] 에이전트가 좋은 코드를 쓰게 도와라 · 신뢰 · 에이전트 수 · 1 · 1~5 · 5~10 · 10~20 · 수백 · 수천 · 🥔 최전선 · 낮은 신뢰 · 에이전트가 슬롭 코드를 쓴다 · 사람이 검증한다 · 문제 발견 · @poteto
help agents write good code · trust · number of agents · 1 · 1 to 5 · 5 to 10 · 10 to 20 · hundreds · thousands · 🥔 frontier · low trust · agent writes slop code · human verifies it · issues found · @poteto
[01:23] 거기에 이르는 방식을 소프트웨어 공장이라고 부르는 사람도 있다. 나는 단순하게 가고 싶다. 나는 이것을 전부 신뢰의 문제로 본다.
To get there some people like to call this a software factory. Uh but I like to keep it simple and I think of it as all about trust.

[01:31] 에이전트가 좋은 코드를 쓰게 도와라 · 낮은 신뢰 · 대부분 여기서 막힌다 · 에이전트가 슬롭 코드를 쓴다 → 사람이 검증한다 → 문제 발견 · @poteto
help agents write good code · low trust · most people get stuck here · agent writes slop code → human verifies it → issues found · @poteto
[01:32] 맹목적인 신뢰가 아니다. 에이전트의 환경에 투자해서, 에이전트가 옳은 일을 하리라고 믿을 수 있게 만드는 것이다.
Not blind trust but investing in your agents environment so you can trust that your agents are going to do the right thing.
[01:40] 거기까지 가는 데는 노력이 꽤 든다. 나는 풀 리퀘스트 수천 개를 배포할 수 있는 지점에 이르기까지 6개월이 걸렸다. 그중 상당수는 내가 자는 동안 배포됐다.
Now it takes quite a lot of effort to get there um and it took me six months to get to a point where I could ship thousands of pull requests, a lot of them in my sleep.

[01:50] 에이전트가 좋은 코드를 쓰게 도와라 · 낮은 신뢰: 대부분 여기서 막힌다 · 에이전트가 슬롭 코드를 쓴다 → 사람이 검증한다 → 문제 발견 · 높은 신뢰: 여기로 와야 한다 · 에이전트가 좋은 코드를 쓴다 → 에이전트가 검증한다 → 문제 발견 · @poteto
help agents write good code · low trust: most people get stuck here · agent writes slop code → human verifies it → issues found · high trust: you want to be here · agent writes good code → agent verifies it → issues found · @poteto
[01:51] 그래도 분명히 가능하다. 여러분에게는 나보다 훨씬 적은 시간이 든다. 먼저 신뢰가 낮은 상태에서 신뢰가 높은 상태로 어떻게 옮겨 가는지부터 이야기하겠다.
But it's certainly possible and it will take you much less time than I did. So let's start by talking about how we move from a low trust to a high-trust one.
신뢰 피라미드와 코드베이스 품질 The trust pyramid and codebase quality [02:03]
[02:03] 에이전트 환경의 어디에 시간을 쓸지, 내가 생각하는 방식이 이 역피라미드다.
So, this inverse pyramid is how I think about where to spend time on your agent's environment.

[02:07] 어떻게 하면 내 에이전트를 더 신뢰할 수 있나? · poteto 피라미드 · 코드베이스(좋은 API 설계, 아키텍처, 리팩터링) · 정적 분석(린트, 타입, 컴파일러, 테스트, CI) · 검증(형식, 런타임) · 산문(규칙, 스킬, AGENTS.md) · 사람의 리뷰 · 비용 · @poteto
how do i trust my agents more? · the poteto pyramid · codebase (good api design, architecture, refactoring) · static analysis (lints, types, compilers, tests, ci) · verification (formal, runtime) · prose (rules, skills, AGENTS.md) · human review · cost · @poteto
[02:09] 위의 두 층은 결정론적이다. 코드 자체를 쓴다는 뜻이다. 좋은 API 설계, 아키텍처, 리팩터링이 그렇고, 린트 규칙, 타입 시스템, 컴파일러, 여러 종류의 테스트가 그렇다. 이 두 층을 함께 쓰면 에이전트가 할 수 있는 일을 제한하고, 에이전트가 기본값으로 옳은 일을 하도록 강제할 수 있다.
The first two layers are deterministic, so using your code itself. So, things like good API design, architecture, refactoring, or using lint rules, type systems, compilers, or you know, different kinds of testing. And you can use both of these layers together to constrain what agents can do and force them to do the right thing by default.
[02:32] 런타임 검증과 형식 검증은 그 위에 얹기 좋은 도구다. 버그를 찾고, 시스템에서 늘 참이어야 하는 속성과 불변식을 확인한다. 에이전트가 여러분의 목표와 의도를 이해했는지 확인하는 데도 도움이 된다.
Verification, both runtime and formal, are great tools to layer on to find bugs and check properties and the invariance in your system that you want to hold true and also help you check whether or not the agent understood your goals and your intent.

[02:43] 어떻게 하면 내 에이전트를 더 신뢰할 수 있나? · poteto 피라미드 · 코드베이스(좋은 API 설계, 아키텍처, 리팩터링) · 정적 분석(린트, 타입, 컴파일러, 테스트, CI) · 검증(형식, 런타임) · 산문(규칙, 스킬, AGENTS.md) · 사람의 리뷰 · 비용 · @poteto
how do i trust my agents more? · the poteto pyramid · codebase (good api design, architecture, refactoring) · static analysis (lints, types, compilers, tests, ci) · verification (formal, runtime) · prose (rules, skills, AGENTS.md) · human review · cost · @poteto
[02:48] 마지막으로 산문을 조금 얹는다. 규칙, 스킬, AGENTS.md처럼 판단이 필요한 것들이다.
And then finally, you want to layer with a little bit of prose. So, things like rules, skills, agents.md, things that require judgment.

[02:57] 코드는 기억이다 · 어떻게 하면 내 에이전트를 더 신뢰할 수 있나? · poteto 피라미드 · 비용 ↓ · 코드베이스(좋은 API 설계, 아키텍처, 리팩터링) · 정적 분석(린트, 타입, 컴파일러, 테스트, CI) · 검증(형식, 경험적) · 산문(규칙, 스킬, AGENTS.md) · 사람의 리뷰 · @poteto
code is memory · how do i trust my agents more? · the poteto pyramid · cost ↓ · codebase (good api design, architecture, refactoring) · static analysis (lints, types, compilers, tests, ci) · verification (formal, empirical) · prose (rules, skills, AGENTS.md) · human review · @poteto
[02:59] 코드베이스부터 시작하겠다. 에이전트는 입력을 바탕으로 출력을 만든다. 그래서 입력의 품질이 정말 중요하다. 마침 코드베이스가 가장 큰 입력 가운데 하나다.
But let's start with your codebase. Agents generate their outputs based on their inputs. And so the the quality of the input really matters, and it just so happens that your codebase is one of the largest inputs.
[03:12] 에이전트를 바로잡을 때마다, 규칙 파일이나 AGENTS.md에 한 줄을 더 보태는 대신 그 교정을 결정론적 검사로 만들 방법을 생각하라. 코드에 들어가 있으면 훨씬 재현 가능하고, 그만큼 더 믿을 수 있다.
So, whenever you're correcting your agent, think about how you can make that a deterministic check instead of adding another line to your rules or your agents.md because it's far more reproducible when it's in code and it lets you trust it more.
[03:27] 내가 즐겨 쓰는 비유는 코드베이스가 정원 같다는 것이다. 예전에는 코드가 한 번에 풀 리퀘스트 몇 개씩 들어왔다.
And the analogy that I like to use is that your codebase is kind of like a garden. You know, code used to arrive a few pull requests at a time.
[03:36] 2024년에 출근해서 동료들이 쓴 풀 리퀘스트 세 개를 리뷰하던 기억이 난다. 오늘날 그 숫자는 300개에 가깝다.
And uh I remember going into work in 2024 and reviewing the three pull requests that my colleagues wrote colleagues wrote. And today, that number is more like 300.
[03:47] 이제 엔지니어 한 명이 에이전트 수백, 수천 개로 이뤄진 팀이다. 코드가 너무 빨리 들어와서 거의 끊김 없는 물줄기처럼 느껴진다. 거의 유기적인 것, 살아 있는 것처럼 느껴진다.
So, you know, every engineer is now a team of hundreds or even thousands of agents, and code is arriving so rapidly that it almost feels like a continuous stream, and it almost feels organic, like a living thing.

[04:05] 유기적 아키텍처 · @poteto
Organic Architecture · @poteto
[04:03] 이 비유에서 코드베이스, 여러분이 부과하는 제약, 여러분이 세우는 가드레일은 콘크리트 토대다. 에이전트가 쓰는 새 코드는 이 그림 속 건물처럼 그 토대를 감싸며 자란다. 여러 면에서 소프트웨어 엔지니어의 일은 정원 가꾸기를 닮아 가고 있다.
And in this analogy, your codebase, the constraints that you impose, the guardrails that you put up are the concrete foundations that the new code that your agents write grow around, just like uh the building in this picture. And so in many ways, the job of being a software engineer is kind of becoming like gardening.

[04:24] 복사본 하나하나가 다음 복사를 더 쉽게 일어나게 만든다 · 복사 → 복사 → 복사 → · 우회책 하나 · 패턴 · @poteto
each copy makes the next copy more likely · copy → copy → copy → · one workaround · the pattern · @poteto
[04:24] 코드는 에이전트에게 가장 큰 입력이다. 그래서 우회책, 안티패턴, 폐기 예정 코드, 기술 부채가 있으면 다음 에이전트가 그대로 베낄 가능성이 높다. 코드베이스에서 이미 자리 잡은 패턴처럼 보이기 때문이다. 정원에 잡초나 해충이 자라다가, 정신 차려 보면 사방으로 퍼져 있는 것과 같다.
Because code is the biggest input for agents, it means that any workarounds, um anti-patterns, deprecated code, tech debt, it's now likely to be just copied by the next agent since it looks like the established pattern in your codebase. And uh it's like you have some weeds or pests growing in your garden, and then they spread everywhere before you know it.

[04:49] 그래, 코드는 가끔 읽어야 한다 · 이 코드를 하나씩 설명해 줘. · </> { } · @poteto
yes, you should read the code sometimes · Walk me through this code. · </> { } · @poteto
[04:51] 그러니 코드베이스를 최대한 깨끗하게 유지해서 에이전트가 늘 좋은 것만 베끼게 해야 한다. 좋다, 실제 사례를 보겠다.
So you want to make your codebase as pristine as possible so that agents are always copying the good stuff. All right, let's look at some real examples.
Dune과 강제할 수 있는 아키텍처 Dune and enforceable architecture [05:00]
[05:00] Dune은 이 유기적 아키텍처 개념을 구현하려고 우리가 Grok Bot용으로 만든 클라이언트 프레임워크다.
Uh so Dune is a client framework that we created for Grok Bot to implement this idea for organic architecture.

[05:05] dune: 에이전트를 위한 프레임워크 · 앱 프레임워크(내비게이션, 렌더링, IPC) + 기능마다 폴더 하나 · 엄격한 import 금지 · 코드에 주석 금지 · @poteto
dune: a framework for agents · app framework (navigation, rendering, IPC) + one folder per feature · strict import bans · no comments in code · @poteto
[05:08] 기술적으로는 그리 흥미롭지 않다. Dune은 Electron 앱을 위한 Next.js 같은 것이라고 보면 된다. Dune에서 흥미로운 부분은 제약과 린트 규칙이 많다는 점이다. 데스크톱 애플리케이션을 만들며 배운 교훈을 우리는 거기에 많이 담았다.
It's not really that interesting technically. Uh you can kind of think of Dune as um kind of like Next.js for Electron apps. But the interesting part of Dune is that it has a lot of constraints and lint rules that we've encoded uh a lot of the lessons that we've learned building desktop applications.

[05:24] 뉘앙스는 슬롭으로 이어지기 쉽다 · 그냥 API를 더 잘 설계하라 · ?? {} </> · @poteto
nuance tends to lead to slop · just design better APIs · ?? {} </> · @poteto
[05:26] 그런 교훈 하나는, 잘 쓰는 데 뉘앙스가 필요한 것은 무엇이든 슬롭으로 이어지기 쉽다는 것이다. 대표적인 예가 React의 useEffect다. 쓸 데가 있긴 하지만 잘못 쓰이는 경우가 많다. useEffect를 쓰려면 박사 학위가 필요하다고 농담하는 사람도 있다.
And one such lesson is that anything that requires nuance to use well often leads to slop. Uh you know your classic example is uh you know use effect in React, right? It has its use cases, uh but it's often misused. You know some people joke that you need a PhD to use use effect.
[05:45] 다시 말해, 잘 쓰려면 뉘앙스가 정말 많이 필요하다. 에이전트는 그걸 잘 쓰지 못한다. 그래서 우리 해법은 제품 코드에서 아예 금지하는 것이었다. Dune API 안의 몇몇 자리에서만 허용한다.
Um and in in other words, it really requires a lot of nuance to use well. And agents are not good at using it. Um so our solution has been to just ban it in product code, and it's really only allowed in some places inside of Dune APIs.
[06:02] 결과적으로 이 문제는 범주째 사라졌다. 코드 리뷰에서 이걸 다시 잡아낼 필요가 없다.
And effectively, this problem has now been categorically eliminated, and we never need to catch that during code review again.
[06:10] 우리가 쓰는 또 하나의 흥미로운 패턴은 디렉터리 구조로 맥락을 주는 것이다. Electron 앱인 Cursor에서 본 안티패턴이 있다. 에이전트가 메인 스레드 코드를 렌더러 스레드로 자주 import했다. 그 때문에 긴 작업(long task)과 버벅임이 생겼다.
Another interesting pattern that we use is context through directory structure. Uh so one anti-pattern that we saw with Cursor, which is an Electron app, is that agents would often import main thread code into the renderer thread, which would cause long tasks and jank.

[06:28] 디렉터리 구조는 맥락의 한 형태다 · Dune · electron-renderer/: features/, client/, primitives/ · 타입조차 안 된다 · electron-main/: startup/, notifications/, update/ · shared/: 공유 타입 · tibo.dog (사이드 프로젝트) · src/sim/tick.hot.ts: 매 틱마다 실행 · 할당 없음 · @poteto
directory structure is a form of context · Dune · electron-renderer/: features/, client/, primitives/ · not even types · electron-main/: startup/, notifications/, update/ · shared/: shared types · tibo.dog (side project) · src/sim/tick.hot.ts: runs every tick · no allocations · @poteto
[06:28] 그래서 Grok Bot과 Dune 앱에서는 이걸 아주 관례적으로 만들었다. 최상위 디렉터리 두 개의 이름이 말 그대로 Electron renderer와 Electron main이다. 둘 사이의 import는 의존성 그래프 분석기와 린트 규칙 몇 개가 금지한다.
So in uh Grok Bot and in Dune apps, we've made this very very conventional. Uh we have these two top-level directories literally called Electron renderer and Electron main, and imports between them are forbidden or banned by our dependency graph analyzer and some lint rules.
[06:46] 다시 말하지만 설정하기 쉬운 린트 규칙이다. 그래도 코드 리뷰에서 검토하고 고민할 거리가 하나 줄어든다.
And again, you know, these are simple lint rules to set up, but it means one less thing that we need to review and think about uh you know, during code review.
주석을 린트 규칙으로 바꾸기 Replacing comments with lint rules [06:56]

[06:55] 에이전트가 시키지도 않은 마크다운을 쓰지 못하게 하라 · 출처는? · 내가 지어냈어 · .md # · @poteto
stop agents from writing unsolicited markdown · Source? · I made it up · .md # · @poteto
[06:56] 하나 더 놀라웠던 것은 에이전트가 마크다운을 쓰는 방식이다. 문서, 코드 주석, 규칙, 스킬 같은 곳 말이다. 에이전트는 이런 곳에 옳은 일을 하지 않은 데 대한 변명을 적는다. 본 적이 있는지 모르겠지만, 여러분이 한 작은 교정에 과하게 반응해서 그것을 다시는 절대 깰 수 없는 철칙처럼 다루기도 한다.
And then one more surprising thing that I've seen is agents using Markdown. So things like documentation, uh code comments, rules or skills, and they use this as a place to write down their justifications for not doing the right thing. Or I don't know if you've ever seen this, but they'll over rotate on some small correction that you made, and they treat it like a hard rule that can never be broken ever again.

[07:27] 빠른 땜질은 해롭다 · 9월 9일: // 나중에 해제한다, 다시 생길 경우에 대비해 · setTimeout(() => release(id), 0) · 깜빡임을 고친다 · 에이전트: “그러면 변경이 더 커진다” · 10월 3일: setTimeout(…, 0) · 공유 모듈로 복사됐다 · 10월 17일: 타이머 183개 · @poteto
quick fixes considered harmful · Sep 9: // release later, in case it comes back · setTimeout(() => release(id), 0) · fixes a flicker · agent: "it would be a larger change" · Oct 3: setTimeout(…, 0) · copied into a shared module · Oct 17: 183 timers · @poteto
[07:22] Cursor에서 나온 예를 하나 더 들겠다. 에이전트는 명령형 타이머를 정말 좋아했다. setTimeout, requestAnimationFrame, requestIdleCallback 같은 것들이다. 에이전트는 이것을 빠른 땜질로 썼다. VS Code의 명령형 스타일과 React의 선언형 스타일이 아키텍처에서 부딪히는 곳을 덮고 있었던 것이다.
And here's another example from Cursor. So agents really loved using imperative timers, so things like set timeout, request animation frame, request idle callback. And they were using these as quick fixes because they were really patching over an architecture clash between uh VS Code's imperative style and React's declarative style.
[07:44] 결국 우리의 아키텍처 선택이 클라이언트 성능과 에이전트 성능을 둘 다 크게 떨어뜨렸다. JavaScript로 성능 작업을 해 본 사람이라면 안다. 타이머가 대량으로 빠르게 생겼다 사라지면 메이저 가비지 컬렉션이 많이 일어난다. 그것이 렉과 버벅임을 많이 부른다.
So our choice of architecture actually made both the client and the agent performance much worse. And if you've ever done any performance work in JavaScript, you'll know that when you have tons of timers being rapidly created and destroyed, causes a lot of uh major garbage collection, which causes a lot of lag and jank.
[08:03] 가장 나빴던 점은 에이전트가 코드 주석을 잔뜩 썼다는 것이다. 여기 빨간색으로 보이는 것처럼, 이 빠른 땜질이 왜 정당한지 설명하는 주석이다.
Uh but the worst part is that agents wrote a a of code comments, like you can see in red here, explaining why this quick fix was justified.
[08:12] 정신 차려 보니 타이머가 사방에 퍼져 있었다. 앱 성능도 크게 나빠졌다.
And before you know it, we had timers spreading everywhere and the you know the performance of the app really suffered.

[08:18] 주석은 부채다 · 7월 31일: 65,824 · 오늘: 1,227 · pstack의 /no-comments도 참고: github.com/cursor/plugins · @poteto
comments are liabilities · jul 31: 65,824 · today: 1,227 · also see /no-comments in pstack: github.com/cursor/plugins · @poteto
[08:20] Grok Bot에서는 거기서 교훈을 얻었다. 주석의 99%를 그냥 금지하기로 했다. 주석은 쉽게 낡는다. 어차피 사람은 주석을 잘 읽지도 않는다. 주석은 또 에이전트에게, 어렵다는 이유로 옳은 일을 하지 않은 것을 정당화할 탈출구를 준다.
Now in Grok Bot, uh we learned our lesson there and we decided to just ban 99% of comments uh because they go stale easily. Uh you know humans just really don't bother reading the comments a lot anyway. And again it gives an agent the an escape hatch to justify not doing the right thing because it's hard.
[08:41] 주석의 가장 나쁜 점은 강제할 수 없다는 것이다. 다음 에이전트에게 뭔가를 하지 말라고 일러두는 일은 선의로 보인다. 그래도 결국 믿을 수 있는 무언가가 되지 못한다.
Um and the worst part about comments though is that they're not enforceable. So what seems well intentioned, you know like I'm going to tell the the next agent not to do something, never ends up actually being anything that you can trust.
[08:54] 그래서 Grok Bot과 Dune에는 이제 린트 규칙이 있다. 이 규칙은 좋은, 아주 쓸모 있는 오류 메시지를 낸다. 그 메시지는 에이전트에게 문제를 덮고 넘어가지 말고 근본 원인, 진짜 문제를 고치라고 말한다.
So in Grok Bot and Dune and in Dune uh we now have lint rules that give uh good and very helpful error messages telling the agent to fix the root cause, the real problem uh rather than just patch around it.
[09:10] 우리의 일반 원칙은 이렇다. 에이전트를 바로잡을 때마다 그 교정을 이런 결정론적 검사 하나로 바꾼다. 아니면 더 나은 API 설계, 더 나은 아키텍처로 코드에서 그 문제를 범주째 없앨 방법을 생각한다. 이걸 충분히 반복하면, 코드 리뷰에서 살펴야 할 것이 줄어든다.
And so our general principle is that every time we correct our agents, it turns into one of these deterministic checks or we think about how to categorically eliminate that problem in the code through better API design, through better architecture. And if you do this enough times, you'll find that you have just less things to look out for in code review.

[09:28] 에이전트를 바로잡을 때마다 · 7 · 17 · 38 · 90 · 139 · 149 · 157 · 167 · 7월 1일 · 8월 1일 · 9월 1일 · 10월 1일 · 11월 1일 · 린트로 막거나 문제를 범주째 없애라 · @poteto
whenever you correct your agent · 7 · 17 · 38 · 90 · 139 · 149 · 157 · 167 · jul 1 · aug 1 · sep 1 · oct 1 · nov 1 · lint against it or categorically eliminate the problem · @poteto
[09:30] 어느 순간 리뷰할 것이 아무것도 남지 않았다는 것을 깨닫는다. 그러면 에이전트가 자기 풀 리퀘스트 대부분을 직접 병합하게 둬도 된다.
And at some point you'll realize there's there's nothing left to review. And you can just let agents merge their most of their own pull requests.
런타임 검증과 기능 지도 Runtime verification and feature maps [09:40]
[09:40] 좋다. 다음으로, 검증도 우리가 에이전트를 더 자율적으로 만들고 에이전트의 작업에 대한 확신과 신뢰를 높이는 방법의 큰 부분이다. 우리 코드 리뷰 절차는 이제 검증 산출물을 보는 일로 크게 줄었다. 영상, 스크린숏, 다이어그램, 형식 검증 같은 것들이다.
All right. Uh moving on, verification is also a really big part of how we make our agent more autonomous and also increase our confidence and trust in their work. And our code review process has now really shrunk into looking at verification artifacts instead. So things like videos, screenshots, diagrams, formal verification.
[10:02] 가장 기본적인 예는 런타임 검증이다. 말은 거창하지만, 에이전트에게 코드를 직접 실행하고 사람 개발자도 쓰는 디버깅 도구를 쓸 방법을 주는 것이다. Chrome DevTools Protocol 같은 도구 말이다.
Um and the most basic example of this is runtime verification uh which is just a fancy way of saying giving your agent a way to run the code for itself and use debugging tools that, you know, human developers use as well, like the Chrome DevTools protocol.
[10:16] 우리 런타임 검증 스킬에는 기능 지도(feature map)라고 부르는 것이 있다. 사용자 관점에서 애플리케이션에 있는 모든 기능을 담은 사이트맵 같은 것이다. 이게 있으면 여러분이 “왼쪽 사이드바에 있는 그거”라고 말해도 에이전트가 짐작할 필요가 없다. 공유 어휘가 생긴다.
Um, in our runtime verification skills, we have this thing that we call a feature map. And that's basically kind of like a site map of all of the features that are available in your application from the user's point of view. And so with this, agents don't need to guess when you say, you know, the thingy in the left sidebar, it gives you some shared vocabulary.

[10:36] 런타임 검증 · 기능 지도: 어떤 기능이 있나 · 사용자가 어떻게 닿나 · 무엇이 작동을 증명하나 · + · CLI: $ app aria-click --accessible-name "Settings" · $ app snapshot · $ app screenshot proof.png · 실제 앱을 조작한다 · 에이전트가 자기 작업을 스스로 확인한다 · pstack의 /create-verification-skill도 참고: github.com/cursor/plugins · @poteto
runtime verification · feature map: what features exist · how users reach it · what proves it works · + · CLI: $ app aria-click --accessible-name "Settings" · $ app snapshot · $ app screenshot proof.png · drive the real app · agent checks its own work · also see /create-verification-skill in pstack: github.com/cursor/plugins · @poteto
[10:37] 이 스킬 안에서 커스텀 CLI도 쓴다. 그래서 에이전트가 매번 같은 CLI와 드라이버를 재사용할 수 있다. 토큰 사용량이 줄고, 테스트도 할 수 있다.
And we also make use of custom CLIs inside these skills so that agents can reuse the the CLI and the driver every time, which cuts down on token usage and is also testable.
형식 검증과 UI 테스트 Formal verification and UI testing [10:50]
[10:50] 그리고 최근에는 형식 검증도 들여다보기 시작했다.
Um, and then recently we've also started looking at formal verification.

[10:56] 형식 검증 · TLA+: 상태 기계를 모델링한다. 그 규칙이 지켜지는지 확인한다. · Lean: 코드에 대한 증명을 쓴다. 논리 단계를 하나하나 확인한다. · TLA+ 모델: 상태 기계를 모델링하고 모든 상태가 올바르게 처리되는지 확인한다 · Lean 증명: 구현에 버그가 있는지 확인한다 · pstack의 /create-formal-verification-skill도 참고: github.com/cursor/plugins · @poteto
formal verification · TLA+: Model a state machine. Check that its rules hold. · Lean: Write proofs about code. Check every logical step. · TLA+ model: model state machines and check that all states are correctly handled · Lean proof: check implementation for bugs · also see /create-formal-verification-skill in pstack: github.com/cursor/plugins · @poteto
[10:54] 지금은 TLA+로 주요 사용자 흐름을 모델 검사한다. 여러 기기와 플랫폼에 걸친 알림 같은 흐름이다. 특정 알고리즘을 증명하는 데는 Lean도 쓴다. 예를 들어 우리는 가상화 라이브러리를 직접 만들었다. 거기서 깜빡임이나 떨림 문제가 없는지 Lean으로 확인한다.
Uh, so we now use TLA+ to do some model checking of major user flows such as notifications across multiple devices and platforms. Uh, we use Lean as well for proving certain algorithms. Uh, for example, we have our own we wrote our own custom virtualization library and we use Lean there to check that we don't have, you know, flickering or jittering problems.
[11:16] 이 접근은 전체적으로 아직 실험 중이다. 아주 유망해 보인다. 형식 검증으로 이미 버그를 꽤 여러 개 찾았다. 그래도 은탄환은 결코 아니다. 우리는 이것을 에이전트 환경의 도구 하나, 층 하나로 다룬다.
Um, and we're still experimenting with this approach overall. It seems very promising. Uh, we've already found quite a few bugs with formal verification. Uh, but it's certainly not a silver bullet and we're treating it as another tool, another layer in our agents' environment.

[11:38] UI 속성 기반 테스트 · github.com/antithesishq/bombadil · @poteto
ui property based testing · github.com/antithesishq/bombadil · @poteto
[11:35] 아주 빠른 영상이지만, 최근 들여다보기 시작한 또 하나는 UI를 위한 속성 기반 테스트다. Bombadil이라는 라이브러리를 쓴다. 이것도 벌써 UI 버그를 몇 개 잡아냈다.
Uh, and then this is a very fast video, but another thing that we just started looking at is property-based testing as well for UIs. Uh, so we use this library called Bombadil. Um, and this has also caught a few UI bugs for us already.
검증에 토큰 쓰기 Spending tokens on verification [11:51]

[11:50] 신디 스리다란(Cindy Sridharan) @copyconstruct · 일화에 불과할지도 모르지만, 이번 주에만 미묘한 버그가 든 AI 생성 PR 여러 건이 병합됐다. 그것을 고치는 데 며칠이 더 들었고 수작업 검증도 많이 필요했다. 고치는 데 든 노력을 따지면 ‘속도’는 오르고 있지 않다… · 2026년 5월 15일 · @poteto
Cindy Sridharan @copyconstruct · Might be anecdotal, but just this week multiple AI generated PRs with subtle bugs got merged that required several additional days and a lot of manual verification to fix. “Velocity” isn’t going up when you consider how much effort was spent fixing... · May 15, 2026 · @poteto
[11:51] 자, 한 발 물러나서 보면, 나는 신디(Cindy)의 이 트윗을 봤다. 6개월 전 그녀는 미묘한 버그가 계속 병합되는 탓에 에이전트를 믿을 수 없다는 이야기를 하고 있었다.
Okay, so zooming out, I saw this tweet from Cindy and 6 months ago she she said that she was oh, she was talking about not being able to trust her agents because of subtle bugs that were getting merged.

[12:05] 신디 스리다란 @copyconstruct · 6개월 전 내 트윗을 다시 보니 웃기다. 지금은 이런 문제를 전혀 겪지 않기 때문이다. 6개월 전 내 환경에 빠져 있던 것은 지금 쓰는 검증 절차였다. 하루 토큰 지출의 70%가 패치 검증에 들어가고, 패치 생성에는 20~30% 정도만 들어간다. · 신디 스리다란 @copyconstruct · 5월 15일 · 일화에 불과할지도 모르지만, 이번 주에만 미묘한 버그가 든 AI 생성 PR 여러 건이 병합됐다. 그것을 고치는 데 며칠이 더 들었고 수작업 검증도 많이 필요했다. 고치는 데 든 노력을 따지면 ‘속도’는 오르고 있지 않다… · 2026년 11월 5일 · @poteto
Cindy Sridharan @copyconstruct · Revisiting my tweets from 6m ago is funny, because I don’t run into any of these problems now at all. What was missing in my setup 6 months ago was the verification process I now use. 70% of my daily token spend goes into verifying patches, and only ~20-30% into creating them. · Cindy Sridharan @copyconstruct · May 15 · Might be anecdotal, but just this week multiple AI generated PRs with subtle bugs got merged that required several additional days and a lot of manual verification to fix. “Velocity” isn’t going up when you consider how much effort was spent fixing... · Nov 5, 2026 · @poteto
[12:05] 그녀가 에이전트를 믿는 데 정작 빠져 있던 것은 검증 절차였다. 6개월이 지난 지금 그녀는 하루 토큰의 70%가 검증에 들어간다고 말한다. 내가 보는 것과도 맞아떨어진다. 내 토큰 사용량도 대부분 검증에 들어간다.
And really what was missing for her in being able to trust her agents was the verification process. And now, 6 months later, she says that 70% of her daily tokens go into verification. And I'd say that that tracks with what I see as well, that most of my token usage goes to verification.

[12:20] 신디 스리다란 @copyconstruct · 짧게 말하면, 여기 보이는 기법들을 섞어 쓴다. 이건 거의 10년 동안 내 꿈이었고, 에이전트 덕분에 마침내 이것이 (부분적으로나마) 이뤄지는 것을 본다. 그런데 알고 보니 에이전트가 생성한 코드를 신뢰하려면 이것이 반드시 필요하다. 내 생각에 이제는 선택 사항이 아니다. · 2026년 11월 5일 · 프로덕션 이전: 단위 테스트, 기능 테스트, 컴포넌트 테스트, 퍼즈 테스트, 속성 기반 테스트, 형식 검증, 정적 분석, 변이 테스트, 커버리지 테스트, 벤치마크 테스트, 계약 테스트, 린트 테스트, 인수 테스트, 회귀 테스트, 스모크 테스트, 사용성 테스트, UI/UX 테스트, 침투 테스트, 위협 모델링, 성능 테스트 · 프로덕션 안에서의 테스트 · 배포: 통합 테스트, 탭 비교, 부하 테스트, 섀도잉, 설정 테스트, 소크 테스트 · 릴리스: 카나리 배포, 모니터링, 트래픽 셰이핑, 기능 플래그, 예외 추적 · 릴리스 이후: 티잉, 프로파일링, 로그/이벤트, 카오스 테스트, 모니터링, A/B 테스트, 트레이싱, 동적 탐색, 실사용자 모니터링, 감사, 온콜 경험 · 신디 스리다란(@copyconstruct)의 이 트윗에 실린 도표를 다시 그렸다 · @poteto
Cindy Sridharan @copyconstruct · A mix of the techniques shown here, in short. This has been my dream for nearly a decade now, and with agents I’m finally able to see this (partially) come true. But turns out this is what I necessarily require to trust agent generated code. It’s not optional anymore, imo. · Nov 5, 2026 · PRE-PRODUCTION: UNIT TESTS, FUNCTIONAL TESTS, COMPONENT TESTS, FUZZ TESTS, PROPERTY BASED TESTS, FORMAL VERIFICATION, STATIC ANALYSIS, MUTATION TESTS, COVERAGE TESTS, BENCHMARK TESTS, CONTRACT TESTS, LINT TESTS, ACCEPTANCE TESTS, REGRESSION TESTS, SMOKE TESTS, USABILITY TESTS, UI/UX TESTS, PENETRATION TESTS, THREAT MODELING, PERFORMANCE TESTS · TESTING IN PRODUCTION · DEPLOY: INTEGRATION TESTS, TAP COMPARE, LOAD TESTS, SHADOWING, CONFIG TESTS, SOAK TESTS · RELEASE: CANARYING, MONITORING, TRAFFIC SHAPING, FEATURE FLAGGING, EXCEPTION TRACKING · POST RELEASE: TEEING, PROFILING, LOGS/EVENTS, CHAOS TESTING, MONITORING, A/B TESTS, TRACING, DYNAMIC EXPLORATION, REAL USER MONITORING, AUDITING, ONCALL EXPERIENCE · chart from this tweet by Cindy Sridharan (@copyconstruct), redrawn · @poteto
[12:22] 그녀의 절차를 자세히 들여다보면, 여기 있는 것 가운데 우리가 처음 보는 새롭거나 참신한 기법은 하나도 없다.
And if you really look closely at her process, none of these things here are new or novel techniques that we've never had before.

[12:29] 프로덕션 이전: 단위 테스트, 기능 테스트, 컴포넌트 테스트, 퍼즈 테스트, 속성 기반 테스트, 형식 검증, 정적 분석, 변이 테스트, 커버리지 테스트, 벤치마크 테스트, 계약 테스트, 린트 테스트, 인수 테스트, 회귀 테스트, 스모크 테스트, 사용성 테스트, UI/UX 테스트, 침투 테스트, 위협 모델링, 성능 테스트 · 프로덕션 안에서의 테스트 · 배포: 통합 테스트, 탭 비교, 부하 테스트, 섀도잉, 설정 테스트, 소크 테스트 · 릴리스: 카나리 배포, 모니터링, 트래픽 셰이핑, 기능 플래그, 예외 추적 · 릴리스 이후: 티잉, 프로파일링, 로그/이벤트, 카오스 테스트, 모니터링, A/B 테스트, 트레이싱, 동적 탐색, 실사용자 모니터링, 감사, 온콜 경험 · 신디 스리다란 @copyconstruct · @poteto
PRE-PRODUCTION: UNIT TESTS, FUNCTIONAL TESTS, COMPONENT TESTS, FUZZ TESTS, PROPERTY BASED TESTS, FORMAL VERIFICATION, STATIC ANALYSIS, MUTATION TESTS, COVERAGE TESTS, BENCHMARK TESTS, CONTRACT TESTS, LINT TESTS, ACCEPTANCE TESTS, REGRESSION TESTS, SMOKE TESTS, USABILITY TESTS, UI/UX TESTS, PENETRATION TESTS, THREAT MODELING, PERFORMANCE TESTS · TESTING IN PRODUCTION · DEPLOY: INTEGRATION TESTS, TAP COMPARE, LOAD TESTS, SHADOWING, CONFIG TESTS, SOAK TESTS · RELEASE: CANARYING, MONITORING, TRAFFIC SHAPING, FEATURE FLAGGING, EXCEPTION TRACKING · POST RELEASE: TEEING, PROFILING, LOGS/EVENTS, CHAOS TESTING, MONITORING, A/B TESTS, TRACING, DYNAMIC EXPLORATION, REAL USER MONITORING, AUDITING, ONCALL EXPERIENCE · Cindy Sridharan @copyconstruct · @poteto
[12:30] 그저 좋은 소프트웨어 엔지니어링 도구들이다. 다만 이해하기도, 작성하기도, 유지하기도 어려워서 예전에는 엄두가 안 날 만큼 비쌌을 수 있다. 에이전트가 이 비용을 크게 낮췄다.
These are just good software engineering tools, but ones that might have been prohibitively expensive to use before as they were hard to understand or write or maintain. But agents drastically cut this cost down.
[12:43] 우리는 소프트웨어 테스트와 검증의 황금기에 들어서고 있다. 에이전트 덕분에 예전에 경제성이 맞던 수준보다 훨씬 깊이 모든 것을 테스트할 수 있기 때문이다.
And really, we are entering a golden age of software testing and verification because agents let us test everything to a much greater degree than used to be economical.
[12:54] 형식 검증은 제품이 어떻게 작동해야 하는지, 에이전트가 여러분의 의도와 목표를 정말 이해했는지 더 잘 따져 보는 데도 도움이 된다.
And then formal verification can also help you better reason about how your product should work and whether your agents really understand your intent and goals.
[13:02] 나는 내 플러그인 pstack(poteto stack)에 statechart라는 새 스킬을 만들었다. 사용자 관점에서 상태 기계를 시각화해 준다.
Uh I made this new skill called state chart uh in my plugin pstack, poteto stack, uh which helps you visualize state machines from uh from the user's point of view.

[13:08] /statechart · github.com/cursor/plugins/tree/main/pstack · @poteto
/statechart · github.com/cursor/plugins/tree/main/pstack · @poteto
[13:13] 우리가 함께 내는 영상, 스크린숏과 나란히 놓고 리뷰하기가 훨씬 쉽다. 그래서 아주 좋았다.
Uh and it's I find this much easier to review alongside the videos and screenshots that we provide. Um and so that's been great.

[13:18] 좋아, 그래서 뭐? · @poteto
ok so what · @poteto
[13:21] 화면이 갑자기 밝아져서 미안하다. 자, 이제 약속의 땅이 어떤 모습인지 보겠다. 이 모든 투자의 대가로 무엇을 얻는가?
Sorry for the flashback. Uh okay, now let's look at what the promised land looks like. What do you get in return for all of this uh you know investment?
PR 11,000개와 되돌림 비율 0.5% 11,000 PRs and a 0.5% revert rate [13:32]

[13:30] Grok Bot 팀은 10월에 PR 1만 1천 개를 병합했다 · 총 23,370 · 6월: 809 · 7월: 1,784 · 8월: 4,203 · 9월: 5,648 · 10월: 10,926 · @poteto
grok bot team merged 11k PRs in oct · 23,370 total · jun: 809 · jul: 1,784 · aug: 4,203 · sep: 5,648 · oct: 10,926 · @poteto
[13:32] Grok Bot 팀의 속도는 이륙하듯 빠르게 오르고 있다. 지난달 우리 팀은 풀 리퀘스트를 터무니없게도 11,000개나 프로덕션에 배포했다. 말도 안 되는 숫자다.
So on the Grok Bot team, our velocity is uh taking off and rapidly increasing. And last month, our team shipped a ridiculous 11,000 pull requests to production, which is a wild number.

[13:48] 한 달 데스크톱 앱 릴리스 수 · 총 41 · 8월(출시 이후): 7 · 9월: 19 · 10월: 15 · 릴리스 사이 시간 중앙값: 44시간 · 25시간 · 28시간 · @poteto
desktop app releases a month · 41 total · aug, from the launch: 7 · sep: 19 · oct: 15 · median time between releases: 44 hours · 25 hours · 28 hours · @poteto
[13:45] 클라이언트 릴리스 속도도 빨라졌다. 새 안정 버전을 대략 하루에 한 번 낸다.
And our pace of releasing the client has also increased. And we cut a new stable version about once a day.
[13:54] 핵심 팀도 훨씬 많이 배포한다. 가끔 기여하거나 지나가다 한 번 기여하는 사람도 훨씬 많아졌다. 이들은 맥락을 늘 많이 갖고 있지는 않지만, 그래도 기여한다. 10월에는 풀 리퀘스트를 하나 이상 낸 사람이 약 227명이었다.
And then the core team is also shipping much more. And we also have uh a lot more casual or drive-by contributors who don't always have a lot of context, uh but they're also contributing. Um and in October, we had about 227 people who contributed at least one pull request.

[14:08] 모두가 더 생산적이다 · 사람 · 6월: 15 · 7월: 48 · 8월: 95 — 29 · 35 · 26 · 1 · 출시, 8월 11일 · 9월: 163 — 49 · 51 · 50 · 1 · 10월: 227 — 49 · 78 · 77 · 22 · 1 · 1인당 PR 수: 1,000개 이상 = 핵심 · 100~999개 = 핵심 · 10~99개 = 가끔 · 2~9개 = 지나가며 · 1개 = 지나가며 · @poteto
everyone is more productive · people · jun: 15 · jul: 48 · aug: 95 — 29 · 35 · 26 · 1 · launch, aug 11 · sep: 163 — 49 · 51 · 50 · 1 · oct: 227 — 49 · 78 · 77 · 22 · 1 · PRs each: 1,000+ PRs core · 100–999 core · 10–99 casual · 2–9 drive by · 1 PR drive by · @poteto
[14:14] 속도가 이렇게 빨라지면 속으로 이렇게 생각할 수도 있다. 이러다 대혼란이 오는 것 아닌가? 슬롭 더미가 되는 것 아닌가?
So So this velocity accelerating, you might be thinking to yourself like isn't this going to be chaos? You know, isn't this going to be a bunch of slop?

[14:24] 되돌림 비율 · 6월: 0.98% · 7월: 0.61% · 8월: 0.47% · 9월: 0.48% · 10월: 0.47% · 되돌린 커밋의 비율(%) · @poteto
revert rate · jun: 0.98% · jul: 0.61% · aug: 0.47% · sep: 0.48% · oct: 0.47% · % of commits reverted · @poteto
[14:21] 그런데 실제로는 되돌려지는 PR 수가 상대적으로 오히려 줄었다. 약 0.5%에서 안정돼 있다.
But actually, the number of PRs that get reverted has actually gotten lower on a relative basis and is steady at about half a percent.
[14:30] 내가 정말 흥미롭게 보는 점은 이 배포 속도와 풀 리퀘스트 양에도 Grok Bot의 성능이 그저 유지된 데서 그치지 않았다는 것이다. 출시 때와 비교해 여러 측면에서 좋아졌다. 시작, 타이핑, 새 채팅 열기, 채팅 전환이 모두 빨라졌다.
But I think the really interesting thing about this shipping pace and this volume of pull requests is that the performance of Grok Bot has stayed not just stable, but has improved on multiple dimensions compared to when we launched. So startup, typing, opening new chats, switching chats, all of this has gotten faster.

[14:45] 타협 없는 속도 · 시작 — 콜드 실행 −39%: 5월 2,304 ms, 지금 1,395 ms · 재실행 −39%: 5월 1,348 ms, 지금 829 ms · 콜드 첫 페인트 −39%: 5월 2,268 ms, 지금 1,379 ms · 타이핑 — 짧은 채팅, 중앙값 −26%: 5월 3.8 ms, 지금 2.8 ms · 긴 채팅, 중앙값 −65%: 5월 8.4 ms, 지금 2.9 ms · 긴 채팅, p90 −65%: 5월 9.7 ms, 지금 3.4 ms · 기준선: 한 프레임 · 열기 — 설정 −18%: 5월 112 ms, 지금 92 ms · 긴 채팅, 콜드 +8%: 5월 153 ms, 지금 165 ms · 긴 채팅, 웜 −38%: 5월 138 ms, 지금 86 ms · 기준선: 100 ms · 전환·크기 조절 — 짧은 채팅으로 −44%: 5월 88 ms, 지금 49 ms · 긴 채팅으로 복귀 −40%: 5월 105 ms, 지금 63 ms · 기준선: 100 ms · 창 크기 조절 +130%: 5월 3.0 ms, 지금 6.9 ms · 기준선: 한 프레임 · 자원 — 유휴 메모리 +12%: 5월 488 MiB, 지금 545 MiB · 유휴 CPU +100%: 5월 0.40%, 지금 0.80% · 시작 시 js+css +285%: 5월 2.0 MB, 지금 7.7 MB · 한계는 있지만 Electron 앱도 꽤 빠를 수 있다 · (그래도 Rust로 다시 쓰는 생각을 만지작거리고 있다) · @poteto
velocity without compromise · startup — cold launch −39%: may 2,304 ms, now 1,395 ms · relaunch −39%: may 1,348 ms, now 829 ms · first paint, cold −39%: may 2,268 ms, now 1,379 ms · typing — short chat, median −26%: may 3.8 ms, now 2.8 ms · long chat, median −65%: may 8.4 ms, now 2.9 ms · long chat, p90 −65%: may 9.7 ms, now 3.4 ms · one frame · opening — settings −18%: may 112 ms, now 92 ms · long chat, cold +8%: may 153 ms, now 165 ms · long chat, warm −38%: may 138 ms, now 86 ms · 100 ms · switching, resizing — to a short chat −44%: may 88 ms, now 49 ms · back to long chat −40%: may 105 ms, now 63 ms · 100 ms · resize the window +130%: may 3.0 ms, now 6.9 ms · one frame · resources — memory, idle +12%: may 488 MiB, now 545 MiB · idle cpu +100%: may 0.40%, now 0.80% · js+css at startup +285%: may 2.0 MB, now 7.7 MB · there is a ceiling, but electron apps can be decently fast · (i am however toying with the idea of a rust rewrite) · @poteto
[14:51] Grok Bot은 아직 Electron 앱이라는 점을 기억하라. 지금으로서는 그렇다. 그러니 한계가 있다. 그래도 이미 시중의 다른 에이전트 UI 상당수보다 훨씬 빠르다. 속도가 이만큼 빠르고 기여하는 사람이 이만큼 많은 Electron 앱으로서는 꽤 괜찮다고 본다.
And keep in mind, Grok Bot is still an Electron app for now. So there is a ceiling, right? But it's already much faster than many other agent UIs out there. And for an Electron app with this high velocity and this many people contributing, I'd say that's pretty good.
소프트웨어 공장보다 토대가 먼저 Foundations before software factories [15:11]

[15:15] 어떻게 하면 내 에이전트를 더 신뢰할 수 있나? · poteto 피라미드 · 코드베이스(좋은 API 설계, 아키텍처, 리팩터링) · 정적 분석(린트, 타입, 컴파일러, 테스트, CI) · 검증(형식, 런타임) · 산문(규칙, 스킬, AGENTS.md) · 사람의 리뷰 · 비용 · @poteto
how do i trust my agents more? · the poteto pyramid · codebase (good api design, architecture, refactoring) · static analysis (lints, types, compilers, tests, ci) · verification (formal, runtime) · prose (rules, skills, AGENTS.md) · human review · cost · @poteto
[15:11] 그러니 소프트웨어 공장을 짓고 할 수 있는 모든 것을 자동화하는 데 뛰어들기 전에, 에이전트를 바로잡을 때마다 먼저 코드베이스를 개선하는 방식으로 바로잡으라. 새 안티패턴이 생기지 못하게 린트 규칙부터 걸고, 그다음 옛 패턴을 정리하라. 그리고 검증 체계가 정말 튼튼한지 확인하라.
So before you jump into building out a software factory and you know, automating everything that you can, whenever you correct your agent, try and do it by improving your codebase first. You know, start with a lint rule to prevent new occurrences of anti-patterns and then clean up those old patterns as well. And then make sure that your verification story is really strong.
[15:33] 이 작업의 상당 부분은 어차피 자동화의 전제 조건이다. 내부 코딩 루프가 슬롭을 만든다면, 그 루프를 자동화해 봐야 슬롭이 더 늘 뿐이다. 그러면 문제에 토큰을 점점 더 쏟아부어야 한다. 다들 알다시피 그건 아주 비싸다.
A lot of this work is a prerequisite to automation anyway. And if your inner coding loop produces slop, then automating that loop just produces more slop and you need to throw more and more and more tokens at the problem, which we all know is very expensive.
[15:49] 코드베이스, 정적 분석, 런타임 검증과 형식 검증에 이런 투자를 해 두면, 이 토대 위에서 많은 것이 가능해진다는 것을 알게 된다. 이 토대 위에 자기만의 공장을 아주 쉽게 지을 수 있다는 것도 알게 된다.
And once you meet these investments into, you know, code into your codebase, static analysis, runtime and formal verification, you'll start to find that many things become possible with these foundations and that you can really easily build your own factory on top of these foundations.

[16:10] 외부 루프로서의 Grok Bot · X에 올라온 피드백 · Linear 티켓 생성 · 새 Slack 메시지 · cron/일정 · Datadog/Sentry 알림 · 기타 · 외부 루프 · 팀 전원이 쓸 수 있는 공유 팀 봇 · 내부 루프: 에이전트가 좋은 코드를 쓴다 → 에이전트가 검증한다 → 문제 발견 · x.ai/bot · @poteto
grok bot as your outer loop · feedback on X · linear ticket created · new slack msg · cron/schedule · datadog/sentry alert · etc · outer loop · shared Team Bot that everyone on your team can use · inner loop: agent writes good code → agent verifies it → issues found · x.ai/bot · @poteto
[16:07] 준비가 되면 Grok Bot은 그 외부 루프를 만들기 좋은 수단이다. 커넥터가 아주 많고, Cursor Cloud Agents를 띄울 수 있는 루틴도 있다. 프로젝트 기능으로는 에이전트 수백, 수천 개를 지휘할 수 있다.
And when you're ready, Grok Bot is a great way to build that outer loop. We have tons of connectors, routines that can kick off Cursor Cloud Agents, and projects uh which let you orchestrate thousands of uh hundreds or even thousands of agents.
[16:21] 간단한 예를 들겠다. 이제 우리가 새 릴리스를 낼 때마다 Grok Bot이 자동으로 새 Cursor 프로젝트를 띄운다. 그 프로젝트는 애플리케이션 전체, 빌드 전체를 퍼징한다. 앱을 실행하고 실제 사용자처럼 써 보면서 버그를 찾는다.
And as a quick example, you know, whenever we cut a new release now, Grok Bot will automatically spin up a new cursor project for us that will fuzz the entire application, the entire build, and it will find bugs uh by running the app and using it like a real user.

[16:28] 외부 루프로서의 Grok Bot · 스레드 ▒▒ · sandcastle 에이전트 · 11분 전 · Grok Bot ▒▒ Linux 퍼징 결과 · 안정판 Grok Bot ▒▒ Linux x64 .deb를 커밋 ▒▒ 기준으로 퍼징하고, 모든 발견 사항을 0.79.4와 비교했다. 두 .deb 모두 공개된 sha256과 일치했다. 백엔드는 prod가 아니라 main에서 빌드한 로컬 스택이었다. 클라이언트 게이트 값은 prod 게이트 값을 저장해 둔 사본에서 가져왔다. 중복 쌍 2개를 합치고 나니 서로 다른 버그가 50개다. 신규: 버그 3개. 높음 0, 중간 2, 낮음 1. 기존: 버그 47개. 높음 1, 중간 9, 낮음 37. 신규 중간 버그 2개는 모두 ▒▒에서 나왔고, ▒▒ 코드에서 나온 것이 아니다. 높음 버그 1개는 0.79.4에서도 일어난다. 버그마다 이 스레드에 답글이 따로 달린다. 신규가 먼저, 그다음은 심각도 순이다. 답글마다 전체 보고서의 발견 ID를 그대로 단다. · ❤️ 1 · 답글 53개 · x.ai/bot · @poteto
grok bot as your outer loop · Thread ▒▒ · sandcastle AGENT · 11 minutes ago · Grok Bot ▒▒ Linux fuzz results · We fuzzed the stable Grok Bot ▒▒ Linux x64 .deb at commit ▒▒ and compared every finding with 0.79.4. Both .debs matched their published sha256. The backend was a local stack built from main, not prod. Client gates came from a saved copy of the prod gate values. After merging 2 duplicate pairs there are 50 distinct bugs. NEW: 3 bugs. 0 high, 2 medium, 1 low. PRE-EXISTING: 47 bugs. 1 high, 9 medium, 37 low. Both NEW medium bugs come from ▒▒, not from ▒▒ code. The one high bug also happens on 0.79.4. Each bug has its own reply in this thread, NEW first and then by severity. Each reply keeps its finding id from the full report. · ❤️ 1 · 53 replies · x.ai/bot · @poteto
[16:35] 그다음 그 프로젝트는 찾은 버그마다 수정 PR을 연다. 황당하게 들리겠지만 그 PR을 자동으로 병합한다. 우리 코드베이스가 충분히 좋아서 풀 리퀘스트가 기본값으로 좋게 나오는 편이기 때문이다. 우리가 넣는 제품 코드 대부분은 더 이상 사람의 깊은 리뷰가 필요 없다.
And then it's going to open fixed PRs for each of those bugs that it finds and it's going to auto merge it as uh crazy as that sounds. And that's because our codebase is good enough that pull requests tend to just be good by default and most product code that we land no longer really requires deep human review.

[17:00] 모든 코드는 슬롭이다 (네 것만 빼고) · poteto (일명 lauren tan) · Grok Bot @ SpaceXSI
all code is slop (except yours) · poteto (aka lauren tan) · Grok Bot @ SpaceXSI
[16:56] 탄탄한 토대와 좋은 유기적 아키텍처가 있으면 슬롭을 금으로 바꿀 수 있다. 품질을 타협하지 않고 높은 속도로 배포할 수 있다.
So when you have solid foundations and good organic architecture, you can turn slop into gold and you can ship with high quality uh high velocity without compromising on quality.
[17:09] 내 이름은 poteto, 로런(Lauren)이라고도 한다. 다시 한번, 내 강연을 들어 줘서 고맙다.
My name is poteto, also known as Lauren. Thanks to you again for listening to my talk.
[17:14] [박수]
>> [applause]