René's URL Explorer Experiment


Title: feat(webapp): server-side agent message quota by kathiekiwi · Pull Request #4552 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat(webapp): server-side agent message quota by kathiekiwi · Pull Request #4552 · triggerdotdev/trigger.dev

X Title: feat(webapp): server-side agent message quota by kathiekiwi · Pull Request #4552 · triggerdotdev/trigger.dev

Description: What & why The Free-plan agent-message allowance was only a client-side hint (useIsFreePlan() was hardcoded to undefined, so nothing was enforced) and the running count was a live COUNT(*) over chat_messages — which meant deleting a chat silently freed quota. This PR makes the allowance a real server-side limit with a durable counter, so the cap holds regardless of the client and a deleted chat can't reclaim messages within the period. The cloud side that fills the actual per-plan number is a separate PR (TRI-12863 P0). Until it deploys the agentMessages limit key is absent, which resolves to the repo's unlimited sentinel — the correct fail-open default, and why this ships independently. What's inside New counter table trigger_dashboard_agent.agent_message_usage, keyed (organization_id, period) where period is a UTC calendar month "YYYY-MM". FK-free (pgSchema convention), plus a drizzle migration. Deliberately not joined to chats — that closes the delete-a-chat hole. Distinct from TRI-13068's AiUsageEvent; neither is derived from the other. New service dashboardAgentQuota.server.ts: a pure checkAgentMessageQuota({ used, limit }) (so the MCP send path can reuse the rule later) plus an org-scoped resolver that reads the period counter and the cached plan limit, and a recordAgentMessageSent increment. Counting on send: the create path (head start) and the .in append path each increment one user message. The append path counts only after the existing trigger === "action" 403, so wakes never count. Enforcement: at/over the limit both send routes return 403 { error: "message_quota_reached", limit }, which the client renders as AgentUpgradeBlock rather than a generic failure. Never a silent drop. Client: ?quota=1 now reads the period counter; useIsFreePlan() is a real read gated on billing presence (no subscription → self-hosted → no cap, no upgrade UI), not on the plan value. Key decisions Fails open. The cap is a nudge, not a security boundary. An absent limit (self-hosted, or pre-P0) resolves to the unlimited sentinel 100_000_000 (never Infinity — that serializes to null in the Redis limit cache), and a counter read that throws returns "no cap". Self-hosted needs zero extra branching — it falls out of the fallback, with a test to prove it. Billing-presence gate. The upgrade UI keys off whether a subscription exists, so a self-hosted install with no billing shows no cap and no upsell label. The (org, period) table closes the delete hole. A standalone counter, not a count over chat rows, so deleting a chat can't free quota inside the period. Testing apps/webapp/test/dashboardAgentQuota.test.ts (testcontainers, no mocks): pure checkAgentMessageQuota under/at/over/unlimited (control-breaks the >=); agentTurnCountsAgainstQuota counts a message but not a wake (control-breaks the wake exclusion); the counter accumulates and a deleted chat can't free quota within the period; other periods/orgs start fresh; the resolver reports reached over the limit and never reached when unlimited; fails open when the limit is absent (self-hosted) and when the counter read throws. TRI-12863

Open Graph Description: What & why The Free-plan agent-message allowance was only a client-side hint (useIsFreePlan() was hardcoded to undefined, so nothing was enforced) and the running count was a live COUNT(*) over...

X Description: What & why The Free-plan agent-message allowance was only a client-side hint (useIsFreePlan() was hardcoded to undefined, so nothing was enforced) and the running count was a live COUNT(*) ...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/4552

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:45f9d9ad-e124-c6e2-2c2d-69df7b732639
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD97A:39F7DB:5F939B:8C63D6:6AFAF3E6
html-safe-nonce547462d10831ee14b11aa26c8960ac1162c5ffe7cff8df82903b687fb8a46cab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTdBOjM5RjdEQjo1RjkzOUI6OEM2M0Q2OjZBRkFGM0U2IiwidmlzaXRvcl9pZCI6IjIyMTg3NDg1MTIxMDI2MTQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf64d2c880977cc0dcf838a5d65ac7aa3ee89417ca47c148c95a1549674614548
hovercard-subject-tagpull_request:4244060860
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4552/files
twitter:imagehttps://avatars.githubusercontent.com/u/4035897?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4035897?s=400&v=4
og:image:altWhat & why The Free-plan agent-message allowance was only a client-side hint (useIsFreePlan() was hardcoded to undefined, so nothing was enforced) and the running count was a live COUNT(*) over...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea85e96a83bed7871993e6b1ffda24105928eee17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4552%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4552%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
kathiekiwihttps://github.com/kathiekiwi
feat/query-safety-tri-11165https://github.com/triggerdotdev/trigger.dev/tree/feat/query-safety-tri-11165
feat/agent-message-quota-tri-12863https://github.com/triggerdotdev/trigger.dev/tree/feat/agent-message-quota-tri-12863
Conversation 41 https://github.com/triggerdotdev/trigger.dev/pull/4552
Commits 62 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits
Checks 32 https://github.com/triggerdotdev/trigger.dev/pull/4552/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/4552/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
feat(webapp): server-side agent message quota https://github.com/triggerdotdev/trigger.dev/pull/4552/files#top
Show all changes 62 commits https://github.com/triggerdotdev/trigger.dev/pull/4552/files
4efe0d1 test(webapp): pin cross-tenant isolation for the chat store kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/4efe0d1ecf4f5b384f4ba1b10650b95fdff4da59
34996fd test(webapp): pin chat.agent turn durability across crash and resume kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/34996fd291145f68e94ee9503f383da461c60cef
097bb5d feat(webapp,dashboard-agent-db): server-side agent message quota kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/097bb5d38c7681db35be28866dab3ecf64dc9246
c42002b Merge remote-tracking branch 'origin/feat/query-safety-tri-11165' int… kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/c42002bff907df84e573ce946f74f0f81f54ee3f
af86a21 Merge remote-tracking branch 'origin/test/chat-agent-durability-tri-1… kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/af86a21efec07cfe58262d70d0ea53ea488d13ed
b9610f8 Merge remote-tracking branch 'origin/feat/query-safety-tri-11165' int… kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/b9610f867a8d446a0bf5ff46c164218a764aae06
50ccb2a fix(webapp): the quota limit shows a friendly upgrade prompt, not the… kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/50ccb2af0964fe3a8379ace058fb7beb2480e1f6
b1463c2 merge: propagate review fixes from feat/query-safety-tri-11165 kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/b1463c23382ba6f0d5cdd6f0db16be631044f59d
c9bbe89 merge: propagate review fixes from test/chat-agent-durability-tri-11166 kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/c9bbe8981104592d1c1ed8d5949673aab32fb01d
6db1133 merge: propagate wave-2 review fixes from feat/query-safety-tri-11165 kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/6db11332e04e64a5d2bf242af583f80883279632
8341730 merge: propagate wave-2 review fixes from test/chat-agent-durability-… kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/834173001924e70f798d90c7dc6bb0eddd27a2f3
d7321e5 merge: propagate org-purge best-effort from feat/query-safety-tri-11165 kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/d7321e5ed495400fbc401d247507cd7d3497bb51
82035a7 merge: propagate org-purge best-effort from test/chat-agent-durabilit… kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/82035a7d185d0410698b67c03a8134ed6349c89a
12785db fix(webapp): only charge agent message quota on a delivered send kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/12785db42ac0267dcba0d0d4fb94976ae1125be5
423d0a9 fix(webapp): guard capped agent send paths and settle the quota re-read kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/423d0a9256b3e0065c5ccc43c4f2df7e32479ce6
bb381d3 merge: quota delivered-send charge review-comment fixes kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/bb381d3789a79d6bf5d8ce3d1aa9d9b147dba098
f06235c merge: propagate review-comment fixes from feat/query-safety-tri-11165 kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/f06235c4f83e44969c4840af8bee0c1f730a0750
08f9d78 merge: propagate review-comment fixes from test/chat-agent-durability… kathiekiwi Aug 10, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/08f9d78ea72fc50962aef54688ccb9457939888e
074da82 merge: propagate second-pass fixes from feat/query-safety-tri-11165 kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/074da827c6e8e7cf2c0313af581fae72d10d7b9d
ebc7e88 merge: propagate second-pass fixes from test/chat-agent-durability-tr… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/ebc7e88af0f796c20cc4233f8c41cee18f66100d
57a84f1 chore(server-changes): consolidate the agent message-quota notes into… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/57a84f1c30303f4ec7850fc41f30c3f8e8210328
19b49c1 fix(webapp): don't charge the message quota for a retry/regenerate kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/19b49c1ea1f4185c21e3ebd05b4cdeb9527e50f3
4cc2f30 merge: consolidate message-quota notes 2 to 1 kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/4cc2f308106d8504c897fb526da35b28a69a4438
83f9817 merge: don't charge quota for retry/regenerate kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/83f9817661095bba413057eafcf471ec9eab9c50
c93380e merge: propagate server-changes consolidation from feat/query-safety-… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/c93380eafba2f4c53f0813e07fc3f697d444ed92
7c59b8e merge: propagate server-changes consolidation from test/chat-agent-du… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/7c59b8e52a303a9af9a76be9fc8cb4333147096f
08ee567 merge: propagate changeset consolidation and note restoration from fe… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/08ee567acc3dbf755f4a8a00ff2a4f52566be6b5
ed572f3 merge: propagate changeset consolidation and note restoration from te… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/ed572f3cc718726b591cc6fb15e9fe1877dddc79
112b837 merge: propagate base UI relocation + drizzle attribution kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/112b837a4eb448c01af562b27284f46ded323215
462360d merge: propagate base UI relocation + drizzle attribution kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/462360de9f7428691801e496ee564c9616c26e14
a036345 merge: propagate the tsql linter test fix from feat/query-safety-tri-… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/a036345eab4bfda3255d32409ddfc93e47cb31d4
289fe1b merge: propagate tsql linter test fix kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/289fe1b45c139651c9f410376526e55b5e75ef10
873cebc merge: propagate card-test relocation kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/873cebc496f13fb44452fe3c6b821e3c4de15064
a9c15bf merge: propagate card-test relocation kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/a9c15bfe3307370f5077c5f40002e194fdde92cd
7428874 chore: merge feat/query-safety-tri-11165 (main sync) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/74288749180fcbaf85724119e5610ec90f636f5c
d9cfca9 chore: merge test/chat-agent-durability-tri-11166 (main sync) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/d9cfca9a925127bb6844eb08b5d07664b839c5fc
a95e926 fix(webapp): share the message-quota refusal code between server and … kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/a95e926e485d8de0897988df67178452f36f4a3e
bc3e5d0 chore: merge feat/query-safety-tri-11165 (review fixes) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/bc3e5d08e21674f3ae2633c63dd2bbf06bbf7f64
3556dff chore: merge test/chat-agent-durability-tri-11166 (review fixes) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/3556dfff35b579930dd0058aec67b5d509e1e35b
06ca8d1 test(webapp): exercise a mid-write turn failure in the durable-resume… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/06ca8d19124a45c57f5b86a2ee73b1548f4a509e
4dbb314 chore: merge feat/query-safety-tri-11165 (review fixes round 2) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/4dbb314582db9b96da985b6e36170c23d8569eed
c7e8a4b chore: merge test/chat-agent-durability-tri-11166 (review fixes round 2) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/c7e8a4b33ac4a1eb67fe5864e480e44007e36d7f
656d607 test(webapp): tear the durable-resume turn with an order-independent … kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/656d607c899e8b5b9930a3dc0ce38b98b2d93d2d
78bf74f chore: merge feat/query-safety-tri-11165 (review fixes round 3) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/78bf74f5e1a9b153cd2742299386dffdf36a9bb7
18c3f25 chore: merge test/chat-agent-durability-tri-11166 (review fixes round 3) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/18c3f25f1c562c28b2d99bef254458af5cbba241
8b40a62 chore: merge feat/query-safety-tri-11165 (review fixes round 3) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/8b40a62eb9dfb7c9f7ea1868e1f5e805ace69124
2c0a0b8 chore: merge test/chat-agent-durability-tri-11166 (review fixes round 3) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/2c0a0b8ff8fe8c5ab4332ba827d60a203c35e1da
037cd9f chore: merge feat/query-safety-tri-11165 (composer escape follow-up) kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/037cd9f386148ef65c5e9c1a4661fde75d40773a
36920a9 chore: merge test/chat-agent-durability-tri-11166 (composer escape fo… kathiekiwi Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/36920a907518e8bb9faebef73a847d9e1109068c
cab27fd chore: merge feat/query-safety-tri-11165 (main sync post-#4529) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/cab27fdd708704589acea2de82c0f99a279d08b4
1057049 chore: merge test/chat-agent-durability-tri-11166 (main sync post-#4529) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/1057049d659f90be411e60a0d08b4c651d4fb123
d23718c chore: merge feat/query-safety-tri-11165 (review fixes) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/d23718c5f577d819b430bcd655a990e0b20fb758
4f4336b chore: merge test/chat-agent-durability-tri-11166 (review fixes) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/4f4336b54c94d73334ebe88a78fce4fa45cd112e
ce7b6e6 chore: merge feat/query-safety-tri-11165 (prompt re-send guard) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/ce7b6e635886cf30b0f7e8b5e45386d86babdfcb
3c94fa7 chore: merge test/chat-agent-durability-tri-11166 (prompt re-send guard) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/3c94fa7a5150a89e677088b9ea7dea9e9d147bc2
315c426 chore: merge feat/query-safety-tri-11165 (main sync post-#4525) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/315c426ea70a17606193f0c2be774cc2d889d554
a3ed278 chore: merge test/chat-agent-durability-tri-11166 (main sync post-#4525) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/a3ed278fdacc94844a9653d92e3b42ed6f785d99
378e00e chore: merge feat/query-safety-tri-11165 (demo line-0 guard) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/378e00efcb3775e4d87ac3eb385c164d2c833baa
6593f88 chore: merge test/chat-agent-durability-tri-11166 (demo line-0 guard) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/6593f886a3ebdfd87d850d56aec9718283ec88ac
c7bbd1d chore: merge feat/query-safety-tri-11165 (busy-rejection cap fix) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/c7bbd1db883ada90d2678d233874057005d59090
c7c7245 chore: merge test/chat-agent-durability-tri-11166 (busy-rejection cap… kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/c7c72455ddc3ef0ed7080696ec65608e8c24e1b9
e449743 feat(webapp): enforce watch plan limits (#4556) kathiekiwi Aug 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4552/commits/e449743380e4ce80e555f2f2f99f33c9dc364729
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/4552/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
agent-message-quota.md https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-68f542061950e84895674b3a6a9735555af27ec38e2d47cc0246bd5ca0447ea9
agent-watch-plan-limits.md https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-1f107230925d821f7c342bc331369c1b574da583be10c27bb4784a665bfb6c5f
AgentUpgradeGate.tsx https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-71043b6a306c6e9f7fb2c5e235f8e641c7316c037b26b0dd08a96f9b9b18d5b0
DashboardAgentChat.tsx https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
DashboardAgentDraft.tsx https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3ac62cb43ed1c49389e3ea99adaa8392eb9b291dc7aef1bc51d24d7102322b3d
DashboardAgentPanel.tsx https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
message-quota.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-dc6c4dcb513e16c35223905b842c235266bac3ff1a22cadce67eb6893a2d32a8
message-quota.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-50c96d1afd9ac31ed385431b555158ac17ec98053c6792df27444467f3375a44
useAgentMessageQuota.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-e3e30feb2796286215109e9d5d015b95b0415e5bccb9ca1f5b35c9eadb177186
resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.dashboard-agent.in.$.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-f5b227aaf2f746b327dfbd7787eb1dae2588472162ce303a7fda6230fc1db7a7
resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.dashboard-agent.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-f367d7c0e97b8f6cb8acde53b55c182658225e3144bb713b6821b908900e3ae7
dashboardAgentInvestigationSweep.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-bc52d59a08aed237bb306ebd36f9584a75d64dd19a4d02afb7c62c771cf9da5b
dashboardAgentQuota.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-8d0bf34af739d8af49540f1a96fe6f1e27a3cc57515c96b9de3b647a0d0fdc29
dashboardAgentWatchErrorStatus.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-9bef6366b03a5b07fa0d29e5c581a188eb50864c0235ce01b373255129b90279
dashboardAgentWatchLimits.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-ce8976e30a7b58acdba47e9b6e12cedeab53ab9110cfacfac4390c4d0b54d5c6
dashboardAgentWatches.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-1ebfad68a2e0d0ef9b84c9053bf0cce865ad2c8c6dde082bcab4055d5be99f98
platform.v3.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-698844281217fa383f3b6befd6a7986d43554f8d4d5eca67b3a585a1c0d65a26
dashboardAgentInvestigationPoison.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-d757c8fc61991fa77d913a62fe3c19f74107b9b7a087b7b6188324c5585c8ad7
dashboardAgentQuota.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-e3a850be96e8ac3982ffce416441e285b23a28c8ea7f1f5e6ea777d1c20f931c
dashboardAgentWatchLimitStatus.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-72a0edae36b4a40a9804c4a274927dcd86fd0ed94a4c74f4bce09f63359eb808
dashboardAgentWatchLimits.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-0863659965f672079a3f66fffcbfc1277df41efe4bbff71eb4b0aeb422634e63
0004_stale_corsair.sql https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-90940bf46be40927f4017d4507af6916e36503be997c476fff2723b4660c4e7b
0005_ambitious_mordo.sql https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3cbbf9b9b9240a1d67c3552af2620d402de2dbe202966cc9977aef564237c912
0004_snapshot.json https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6a8da20a8a39e4a865b5a1aa7d7025455161425e2088b8cf7566103dbca1b7a9
0005_snapshot.json https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-bbc89b9bd8dfdf2b69c5cbba714bab46d4706ae66eabd61985b73c1a3cded9fb
_journal.json https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-d39f1752286fb2cad01e80ffd55a530bd2f485107c4848854065e107f37f9e2b
queries.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-b0d1258317c9ce0950c48c27e936b8cde03bf1178d53638f1adacf2965a0b9e5
schema.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-c7bd204620320ce0a638d9dd80f672a394c9780e3c41cbe799caefe571ec6052
watch-queries.ts https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-80635e53bd74629793c0f3c2e9fdf3e040b30b93d8044ac648262047e906c8da
.server-changes/agent-message-quota.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-68f542061950e84895674b3a6a9735555af27ec38e2d47cc0246bd5ca0447ea9
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/.server-changes/agent-message-quota.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
.server-changes/agent-watch-plan-limits.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-1f107230925d821f7c342bc331369c1b574da583be10c27bb4784a665bfb6c5f
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/.server-changes/agent-watch-plan-limits.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
apps/webapp/app/components/dashboard-agent/AgentUpgradeGate.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-71043b6a306c6e9f7fb2c5e235f8e641c7316c037b26b0dd08a96f9b9b18d5b0
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/apps/webapp/app/components/dashboard-agent/AgentUpgradeGate.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-71043b6a306c6e9f7fb2c5e235f8e641c7316c037b26b0dd08a96f9b9b18d5b0
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-71043b6a306c6e9f7fb2c5e235f8e641c7316c037b26b0dd08a96f9b9b18d5b0
apps/webapp/app/components/dashboard-agent/DashboardAgentChat.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/apps/webapp/app/components/dashboard-agent/DashboardAgentChat.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Aug 12, 2026https://github.com/triggerdotdev/trigger.dev/pull/4552/files#r3764497378
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/4552
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-116bf9b1e1dc391f5e474790179a1d89cb8989a07e6833744c8723808122b5ff
apps/webapp/app/components/dashboard-agent/DashboardAgentDraft.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3ac62cb43ed1c49389e3ea99adaa8392eb9b291dc7aef1bc51d24d7102322b3d
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/apps/webapp/app/components/dashboard-agent/DashboardAgentDraft.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3ac62cb43ed1c49389e3ea99adaa8392eb9b291dc7aef1bc51d24d7102322b3d
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3ac62cb43ed1c49389e3ea99adaa8392eb9b291dc7aef1bc51d24d7102322b3d
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3ac62cb43ed1c49389e3ea99adaa8392eb9b291dc7aef1bc51d24d7102322b3d
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Aug 12, 2026https://github.com/triggerdotdev/trigger.dev/pull/4552/files#r3764173208
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/4552
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3ac62cb43ed1c49389e3ea99adaa8392eb9b291dc7aef1bc51d24d7102322b3d
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-3ac62cb43ed1c49389e3ea99adaa8392eb9b291dc7aef1bc51d24d7102322b3d
apps/webapp/app/components/dashboard-agent/DashboardAgentPanel.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/apps/webapp/app/components/dashboard-agent/DashboardAgentPanel.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-6da95fa23b61b03d4ae6523dda8b5e9ef8229f6b03c630ab11efe5484e566b79
apps/webapp/app/components/dashboard-agent/message-quota.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-dc6c4dcb513e16c35223905b842c235266bac3ff1a22cadce67eb6893a2d32a8
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/apps/webapp/app/components/dashboard-agent/message-quota.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-dc6c4dcb513e16c35223905b842c235266bac3ff1a22cadce67eb6893a2d32a8
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-dc6c4dcb513e16c35223905b842c235266bac3ff1a22cadce67eb6893a2d32a8
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-dc6c4dcb513e16c35223905b842c235266bac3ff1a22cadce67eb6893a2d32a8
apps/webapp/app/components/dashboard-agent/message-quota.tshttps://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-50c96d1afd9ac31ed385431b555158ac17ec98053c6792df27444467f3375a44
View file https://github.com/triggerdotdev/trigger.dev/blob/e449743380e4ce80e555f2f2f99f33c9dc364729/apps/webapp/app/components/dashboard-agent/message-quota.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4552/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-50c96d1afd9ac31ed385431b555158ac17ec98053c6792df27444467f3375a44
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Aug 12, 2026https://github.com/triggerdotdev/trigger.dev/pull/4552/files#r3764408122
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/4552
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
https://github.com/triggerdotdev/trigger.dev/pull/4552/files#diff-50c96d1afd9ac31ed385431b555158ac17ec98053c6792df27444467f3375a44
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4552/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.