Skip to content

Add self-service accounts, test billing and connected product workspace - #5

Draft
j112929 wants to merge 1 commit into
codex/agent-regression-guardfrom
codex/saas-self-service
Draft

j112929 wants to merge 1 commit into
codex/agent-regression-guardfrom
codex/saas-self-service

Conversation

@j112929

@j112929 j112929 commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Teams can register, create organizations/projects, invite members and manage scoped CI keys through the existing vanilla frontend. The connected workspace reuses the established failure-to-test, approval, recorded replay and evidence quality gate, adding overview, failures, tests, runs, integrations, team and billing views.

This PR is stacked on #4. It adds one durable Node 24 controller with Better Auth and SQLite, a fixed bounded JSON bridge to the existing Python guard, transactional quotas, immutable suite versions and fail-closed case controls. Existing SDK, benchmark, rollout and static Vercel workflows remain available.

Stripe Checkout/Portal are test-only. Signed, deduplicated webhooks retrieve current subscription state; redirects and client-provided status cannot grant entitlements. Live keys/events are rejected. SMTP delivery, a real Stripe test account and hosted deployment still require operator configuration and verification; none is claimed here.

Validation:

  • 117 existing Python tests and 10 existing web tests passed.
  • 12 new HTTP/security/billing/workflow/operations tests passed offline.
  • 2 real browser tests passed: signup through seven views, mobile layout, viewer permissions and imported-markup escaping.
  • Wheel build and deterministic source/plugin packaging checks passed; runtime npm audit reported 0 vulnerabilities.

Setup, migration/rollback, test evidence and remaining operational limits are documented in docs/productization/self-service.md and docs/operations/saas-runbook.md. The single-controller disk architecture is not a stateless Vercel Functions backend. No production deployment or real charge is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant