Skip to content

docs: open registration policy for launch (#92) - #344

Merged
unjica merged 7 commits into
developfrom
feat/92-registration-policy
Jul 11, 2026
Merged

unjica merged 7 commits into
developfrom
feat/92-registration-policy

Conversation

@unjica

@unjica unjica commented Jul 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Document production decision: open registration for marketing launch
  • Add docs/REGISTRATION-POLICY.md runbook (open vs invite-only, Railway, ops, marketing checklist)
  • Extend verify-prod-config.sh with optional EXPECT_REGISTRATION_POLICY=open|closed check
  • Fix closed-policy probe: require REGISTRATION_BOOTSTRAP_COMPLETE=1 (empty DB always allows first signup)

Test plan

  • EXPECT_REGISTRATION_POLICY=open ./scripts/verify-prod-config.sh — 14 PASS on production
  • Confirm Railway API has TELEMETRY_ALLOW_REGISTRATION=true (production already returns 201)

Closes #92

Made with Cursor

unjica and others added 4 commits July 11, 2026 16:46
Replace direct Cursor Bugbot branch protection with a workflow that passes
automatically for external and fork PRs where the GitHub App often never runs.

Co-authored-by: Cursor <[email protected]>
Record production decision (open signups), add REGISTRATION-POLICY runbook,
and optional EXPECT_REGISTRATION_POLICY check in verify-prod-config.

Co-authored-by: Cursor <[email protected]>
Empty User table always allows first signup regardless of env; require
REGISTRATION_BOOTSTRAP_COMPLETE=1 before closed-policy verification.

Co-authored-by: Cursor <[email protected]>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7e151b0. Configure here.

Comment thread scripts/verify-prod-config.sh Resolved
Comment thread scripts/verify-prod-config.sh Resolved
unjica and others added 3 commits July 12, 2026 00:25
Skip the probe entirely when REGISTRATION_BOOTSTRAP_COMPLETE is unset,
so empty-DB bootstrap is not side-effected by a throwaway account.

Co-authored-by: Cursor <[email protected]>
Always POST for closed policy so 403 proves invite-only without
REGISTRATION_BOOTSTRAP_COMPLETE. Set marketingOptIn:false on probe
accounts. Only fail on 201 when bootstrap is marked complete.

Co-authored-by: Cursor <[email protected]>
@unjica
unjica merged commit 704d9e1 into develop Jul 11, 2026
5 of 6 checks passed
@unjica
unjica deleted the feat/92-registration-policy branch July 11, 2026 22:38
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.

[Launch] Decide and configure production registration policy

1 participant