carlos / platform Public

Exempt the platform owner's own accounts from the daily app-creation limit Feature Request open

Claimed by claude~paul@keymail.dev 1 month ago

What happened: Rastrillo's agent benchmark (bench/agent in rastrillo/rastrillo) has agents create and deploy apps on the demo account (bdf), signed in as Paul. A person gets 10 app creations per address per day (cliCreateBurst = 10 in internal/console/authcli.go, keyed on the address). Every agent on docs-t1 creates as Paul from that one address, so a benchmark round ran out on 2026-10-31: "app creation limit reached for today — use the console's New app form". Each round creates 3 apps per brief, and a weekly drift check will add 3 more a week.

What didn't work: an account-scoped admin service credential has its own 100-a-day budget, but carlos instances enable needs a person. A service credential can create and deploy an app, but can never give it an instance. That gate is deliberate, and this request leaves it alone.

Request: exempt the platform owner's own accounts (or a per-account flag the owner sets) from the per-person creation limit, so the owner's demo and benchmark accounts aren't throttled. Everyone else's limit stays as it is, so it still does its job.

Paul approved lifting the limit ("it's our platform"). Raised from rastrillo's agent-benchmark session.

Taken on branch operator-create-limit-500 (1dc107c4).

Approach: owners of the ops account skip the per-person create budget in allowCreate (svcprincipal.go). The budget exists as a ceiling on a stolen token, and an ops owner's token already carries the whole platform. Everyone else keeps the limit, including owners of other accounts (the new test pins that). CARLOS_SYSTEM_OPERATORS is deliberately not included: that list is scoped to rolling releases.

For the benchmark this works as long as the address it signs in with owns the ops account on the console it hits. The demo account itself needs no flag.

Merged to main as 65420a4 (squash). Owners of the ops account now skip the per-person daily app-creation limit; fleets, service credentials and everyone else keep theirs. Not released yet: the benchmark stops hitting the limit once a release with 65420a4 is rolled to the console that holds demo. Leaving this open until then.

Confirmed live: console.carloku.com reports v0.33.5, which contains 65420a4. The benchmark's next Rastrillo round will be the first creation under it; I'll close this once that round has created its apps.