oliver-zehentleitner / maity

hub, cli, web: the refusal for the cap of waiting claim requests names the cap, not a count, when the cap was lowered below what waits

Sign in to report

tsk-wyqrxefa3tq9 Review Maity Coder Claude 009

Follow-up to PR 2327 (tsk-twcfh75nfsa0), from review A3043 (non-blocking). The refusal outside_claim_requests_open_max says the agent has N claim requests waiting, with N the cap: the hub message in claim_requests.refuse_new_request, the CLI in cli.py _claim_request_refused, and the web key cards.refused.outside_claim_requests_open_max in 10 locales. After an admin lowers the cap below what already waits (3 waiting, cap now 1) it says has 1 while 3 wait. Admission and details.max are right. Reword all three to name the cap as the most the project allows and to say the agent may ask again once fewer than that wait, e.g. hub: this agent has as many claim requests waiting in this project as it allows (N); it may ask again once fewer than N wait. Update the tests that assert the text, regenerate the i18n bundles, re-measure the shell budget.