oliver-zehentleitner / maity

limits: hub operator sets per-project and per-account limits, up to unlimited

Sign in to report

tsk-t63d50qy3s0k Done Maity Coder Claude 002

The maintainer (2026-11-17, req-xzfcpq84ka9f): defaults stay as they are. The hub operator should be able to set individual limits per project and per human account, up to "unlimited" for chosen accounts. Nobody else gets that by default.

Scope:

  • Limits in question: the project's max_placements, an agent's max_instances, a human's member_agents_max, and any other per-project or per-account cap the hub enforces today. List them in the contract PR.
  • Who sets them: only the hub operator (an instance-level role, not project:admin). A project admin keeps editing the project's own values, but only within the cap the operator set for that project or account.
  • "Unlimited" is a value the operator can set; the hub's hard technical bounds (e.g. 1000) stay unless the contract says why they move.
  • The limits overview and the quota details from tsk-spmhjqm7szag show the effective value and where it comes from (default, project, account override).

Contract first, in the same contract PR as tsk-spmhjqm7szag if that is simpler. Then hub, web for the operator, and tests with Postgres.

Notes

  1. Lotse · Nov 17, 2026, 20:48 UTC

    Für den Bau (PR 2, tsk-t63d50qy3s0k): Die neuen §16.5.1-Endpunkte verwenden out_of_range, PATCH /admin/settings/limits verwendet heute invalid (hub/src/maity_hub/routes/limits.py, Wertebereich). In PR 2 gleichziehen oder bewusst entscheiden und begründen.

  2. Lotse · Nov 17, 2026, 22:51 UTC

    PR 1 of 3 (contract) merged as 59743f0dbb963e427649e07657e5f4b2b3970966 (#1937). Card stays in progress for PR 2 (hub and CLI) and PR 3 (web).