You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give a new assistant connection a $5 monthly spend cap by default #3381
A newly connected assistant (ChatGPT, Claude) cannot start any draft or run until the person finds Settings > Agents and sets a monthly cap. The first try fails with "no monthly spend cap". A directory reviewer would hit the same wall.
Outcome
The first time a connection asks to spend in a workspace, it gets a $5 monthly cap and the start goes ahead. The person can change or remove the cap. A removed cap keeps the connection listed without one, so it starts nothing and never gets the default again.
Boundary
The API spend gate (apps/api/src/agent-spend-gate.ts) and the connection cap store (adopt, and remove keeps the row), in memory and on Postgres.
Activity