Add Pay-as-you-go billing & usage settings screen (mock UI)#6503
Add Pay-as-you-go billing & usage settings screen (mock UI)#6503reecebrowne wants to merge 2 commits into
Conversation
| state === "DEGRADED" | ||
| ? ["CLIENT_SIDE"] |
There was a problem hiding this comment.
Degraded-state enabledGates excludes OFFSITE_PROCESSING, but the new cap policy says only AI/AUTOMATION pause. This contradiction can yield wrong gate behavior when enabledGates is used.
| state === "DEGRADED" | |
| ? ["CLIENT_SIDE"] | |
| state === "DEGRADED" | |
| ? ["CLIENT_SIDE", "OFFSITE_PROCESSING"] |
Details
✨ AI Reasoning
1) The new section models cap-reached behavior in two places: the mocked snapshot state and the gate behavior description.
2) In degraded mode, the snapshot enables only CLIENT_SIDE, which excludes OFFSITE_PROCESSING.
3) Elsewhere, the behavior table and user-facing copy state that OFFSITE_PROCESSING should continue working at cap, with only AI and automation pausing.
4) This creates contradictory assumptions in the same feature and can produce incorrect behavior once enabledGates is consumed.
Reply @AikidoSec feedback: [FEEDBACK] to get better review comments in the future.
Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info
4e6b4f8 to
86bc9f5
Compare
86bc9f5 to
058f6d6
Compare
🚀 V2 Auto-Deployment Complete!Your V2 PR with embedded architecture has been deployed! 🔗 Direct Test URL (non-SSL) http://54.175.155.236:6503 🔐 Secure HTTPS URL: https://6503.ssl.stirlingpdf.cloud This deployment will be automatically cleaned up when the PR is closed. 🔄 Auto-deployed for approved V2 contributors. |
Adds the Pay-as-you-go (PAYG) billing & usage settings screen as a mock UI, wired into the SaaS config nav. All data is mocked via
usePaygMock; no backend yet.PaygSnapshotdefines the intended API contract. Demo hooks (?payg=1) allow previewing in the proprietary build and must be removed before merge.