Public: anyone can read this; nobody can change it.

Toggle for new-account repository guard #16

Merged opened this view on origin

Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.

Merged

Makes the new-account repository guard a toggleable setting (guardnewaccounts, on/off, default off) instead of a hardcoded DB trigger.

Notes

shipped merged

opened this view on origin

Makes the new-account repository guard a toggleable setting (guard_new_accounts, on/off, default off) instead of a hardcoded DB trigger.

  • New guard_new_accounts setting in Settings → Capacity (also via API and MCP)
  • Enforced in createRepo and forkRepo; accounts < 7 days blocked with the legacy message when on
  • Boot-time migration drops legacy triggers containing the guard message
  • Admins/agents exempt

9 new tests, tsc clean.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs