Sentry · Cursor · Kody
The Sentry issue that becomes a PR while the laptop is closed
Tonight
The loops behind kody.codes · Cursor Automations · Sentry webhooks + Seer · what's next
Bring questions. We will take them live.
Favorite loop
Sentry sends the error. Kody starts a Cursor Cloud Agent. If the fix is low risk, it merges, deploys, and verifies in production. x.com/kentcdodds · Aug 5
Shared vocabulary
The agent can verify its own work. You decide where you still sit.
Kody in one breath
The agent thinks. Kody keeps it honest.
Keys the agent never reads. Code that survives the chat. Jobs that run while the laptop is closed. No inference of its own.
Two doors
search and executeFind the capability, package, secret, or memory that already exists.
Write a temporary module. Compose what search found. Smoke-test it.
Not a catalog of 200 MCP tools in every context window.
Factory loop
The scheduled path has no model in the loop.
Thesis
Closing a loop is one task. Loop engineering is a loop that starts itself.
Cursor Automations and Sentry webhooks are how this one starts.
Cursor Automations
First formal
ship-pr
loop:
bc-e446805e
→
kody#155
· also deploy-failure + nightly docs/tests
Sentry has two doors
@kentcdodds/sentry-triage
kody-cloudflare · kentcdodds/kodykcd · kentcdodds.com · kody-video · epicshopkody-exchange · kody-home-connector
HMAC door · handle-sentry-webhook →
process-sentry-webhook · handle-seer-webhook
This week · KODY-CLOUDFLARE-5W
Failed to fetch dynamically imported module on
syntax-highlight-core. Catch + one retry. Issue resolved in the commit.
Agents cause issues · KODY-CLOUDFLARE-5V
session_id: "none"
An agent passed the placeholder to repo_read_file. That is a caller
failure — reject at schema, keep it off Sentry.
Filtered · KODY-CLOUDFLARE-5K
Client has been destroyed with every stack frame on
chrome-extension:. Not a product bug. Drop it in beforeSend.
Automation, not a novel prompt · kody#1602
Scoreboard · Aug 23
188 Cloud Agent spawns · hourly cap 10 · triage-report
Seer
Seed the Cursor agent with Seer's RCA. Do not make it guess from the title.
Annotate the same Discord status message with the Seer-authored PR.
Contract
#sentry-reports is edited in place. 5W is Discord
1541107454119776266.
Loop-safe
One active agent per repo. The rest queue and batch.
getIssueState before you spawn. July 28 hit the cap two hours in a row.
Tonight: 1 spawn this hour, 9 remaining · lease can sit on kcd
Webhooks get lost
The production loop
Walk 5W live: kody#1697
The human still sits here
5W merged and resolved. 5K filtered. 16 of 203 came back as a recommendation. You still own product, maintainability, and whether the spend was worth it.
What's next for Kody
sentry-triage instead of rewriting itTake one home
Define observe, stop, and where you still sit. Then make the loop start itself.
kody.codes · luma.com/agentic-loops-with-kent