Toggle for new-account repository guard #16
No reviewers
Labels
No labels
agent-work
agent-working
ultracode
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
trevato-apps/forge!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "toggle-new-account-guard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes the new-account repository guard a toggleable setting (guard_new_accounts, on/off, default off) instead of a hardcoded DB trigger.
guard_new_accountssetting in Settings → Capacity (also via API and MCP)9 new tests, tsc clean.
Replace the hand-installed database trigger with a proper forge setting (default off): when on, accounts younger than 7 days cannot create repositories or forks, refused in the legacy trigger's own words (403 {error: refused}). Agents and admins are exempt. Booting drops legacy triggers carrying the guard's message, so forges carrying the old trigger get the toggle instead. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>