Repository navigation
feat(gateway): add per-member usage limit policies - #5056
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Review follow-up — 6563997Overall verification: Incomplete. This supersedes the earlier-head summary; historical passing journeys are not current-head evidence. Addressed
Passing focused checks on the committed source changes
Remaining gaps
Required CI/review gates and auto-merge policy remain unchanged. |
65f2b65 to
e98236a
Compare
Warden review summary — BlockedNative findings: 14. Blocking policy matches before consolidation: 3. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (678630 ms), confidentiality-review (184628 ms), spec-provenance-review (663475 ms), desktop-den-sync-review (920206 ms), design-spec-review (1354627 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Summary
Adds configurable, per-member estimated-cost Usage Limit Policies to AI Gateway, with Den administration and Desktop usage/increase-request workflows.
UI refinement batch
DESIGN.mdP1/P3 (state and disclosure), S2/S3 (compact rows), and V2 (semantic colors). Screenshot/visual review remains outstanding.worlds/gateway-local.ts: an isolated, loopback-only, two-hour local stack for manually supplied provider keys. No credentials or live test data are committed.Data and rollout
New Drizzle migrations:
0102_gateway_usage_limits,0103_gateway_usage_replay_quarantine, and0104_gateway_usage_reset_pagination. Most generated diff volume is their schema snapshots. Migrations were exercised against disposable databases only; no production migration or deployment was performed by this work.Verification
Current UI batch: focused checks passed; overall verification is incomplete.
Before committing
7272f7916728df651085c54b2f60b433ba1644d5:next lintentrypoint also fails. These are not represented as green checks.Historical context only: both local legacy and v2 Gateway policy journeys passed on earlier revision
0fb1843b6, exercising real Den/Gateway/Electron with an isolated database and deterministic upstream. Those receipts are not current-head evidence after the rebase and refinements.Reproduction commands for current-head full integration:
CI on the previous head reported API-contract, generated-SDK, migration-sync, core-test, and required-verification failures. The new head needs fresh CI results; none of these checks are being bypassed.
Remaining limitations
Marked ready for human review at the author's request. Auto-merge, when enabled, remains subject to GitHub's required checks and approvals; this is not a claim of release readiness.