@kentcdodds/ kody-issue-triage
Loop-safe Cursor triage for Kody account run errors: fingerprint, cap, lease, one Discord message.
- triage
- runs
- cursor
- discord
- automation
- loop-safe
- License
- MIT
- Published
- August 16, 2026
- Pinned commit
746c15d- Rating
- No ratings yet
- Forks
- 0
- Stars
- 0
- Adaptation effort
- —
One-click install
Install forks this package into your account and publishes it right away when it passes the standard package checks. This listing has not been reviewed by an admin.
Log in to install this package.
Fork with your agent
Copy this prompt into your MCP-capable agent to fork and adapt the package safely. Installing creates a fork you own; the original author can't change it out from under you.
Use Kody to fork the community package "@kentcdodds/kody-issue-triage" (listing id: a3eea32d-9620-4068-87f8-09c4ffedc82d). Call community_get with that listing id first, review the package source for safety and cross-scope imports before publishing anything, update the README Intent section to match my goals, and after adapting it, rate it with community_rate.
README
@kentcdodds/kody-issue-triage
Intent
Automatic, loop-safe triage for Kody account run errors (the Activity /
run_list issues), modeled on @kentcdodds/sentry-triage but never
one-agent-per-run. A burst like the 2026-08-16 skills repo.pushed storm
must produce at most one agent for that fingerprint, not thousands.
Success: unique standing failures get one Cursor cloud agent, one Discord
status message in #sentry-reports, and a recorded outcome — without this
package being able to fan out into a runaway of agents or more errors.
Guardrails (no runaway)
run.error.recordedhandler only writespackageStorage(). It does not spawn agents, post Discord, callrun_get, or start workflows.- Only the 15m
sweepjob may spawn../pause/./resumeare the operator kill switch; the job is enabled after a dry-run smoke test. - One agent per fingerprint (
surface+ owner + normalized error family), not per run id. - Skip this package,
subscriptionsurface (platform already suppresses those events), and ad-hocexecutefailures with no package owner. - Max 3 agents per clock hour. More than 15 new fingerprints or 80 raw events in an hour trips the anomaly breaker (Discord alert, no more spawns that hour).
- Global lease: at most one in-flight agent. Further fingerprints wait.
- Kill switch in
packageStorage()(config.enabled)../pause/./resume. - Agents must not treat this package's own PRs/publishes as new issues.
Flow
- A failed job / workflow / package export emits
run.error.recorded. ./on-run-errorfingerprints and upserts a row (milliseconds).sweep(15m, or invoke./sweep) claims the oldest queued fingerprint, posts Discord, and spawns one grok-4.6 agent onkentcdodds/use-kody.- That agent classifies package vs Kody vs noise. Package fixes
use clone-edit-publish. Kody issues call
./escalate-to-kody, which spawns one grok-4.6 agent onkentcdodds/kodyto fix if obvious or recommend (Discord to Kent) if not. ./record-outcomeedits the Discord status message. Arecommendationalso posts a new Discord message so Kent is notified.
Community icon
community-icon.png is the official Kody Community Project mark from
docs/use/assets/kody-community-project-mark.png
in the kody repository, with a bug on
Kody's head and Kody looking irritated at it. The canvas outside the badge
is transparent.
Kody is a character and brand belonging to Kent C. Dodds. This package is community-built and is not affiliated with or endorsed by the official Kody project.
Exports
.— package overview./on-run-error— subscription handler./sweep— spawn path (dryRunsupported)./get-issue-state— loop guard for agents./escalate-to-kody— spawn one Kody-repo agent for platform issues./record-outcome— final report./pause/./resume/./status— operator controls
Stars
0 stars
Log in to star this package.
Report this listing
Log in to report this listing.