Feature flags can be managed from the admin dashboard

Administrators can now view, toggle, and override feature flags per organization directly from the web UI, bypassing the need for manual database updates.
Administrators can now manage feature flags directly from the web interface. A new admin UI surfaces both global defaults and organization-level overrides, automatically staying in sync with the codebase's underlying flag catalog.
Previously, adjusting feature flags like compute access, logging permissions, or database routing required manual database intervention or raw API calls. Now, administrators can toggle boolean flags, select from enumerated options, and assign worker groups through a dedicated dialog on the organizations page. A separate global tab provides a read-only view of infrastructure defaults and system-wide settings.
Under the hood, these controls are generated dynamically by introspecting the validation schema. If a developer adds a new flag to the catalog, it immediately appears in the admin UI without additional frontend wiring. The underlying data fetching has also been optimized, systematically replacing implicit database query batching with direct queries to prevent silent null returns on concurrent loads.
View Original GitHub Description
Adds a dialog to the admin orgs page for viewing and editing per-org feature flag overrides. Flags are introspected from the catalog so the UI stays in sync with available flags automatically. Also adds a new tab for global flags.
Refactors featureFlags.server.ts to split catalog definition (shared) from server-only runtime (flags(), makeSetMultipleFlags). The shared module exports flag metadata and validation so both the UI and API routes can use it without pulling in server dependencies.
Org-level modal:
<img width="821" height="761" alt="image" src="https://github.com/user-attachments/assets/5ddb7857-1e5e-4b97-8d71-14e565d5c494" />Global flags confirmation modal:
<img width="855" height="561" alt="image" src="https://github.com/user-attachments/assets/c2fd8425-b2fe-4061-886b-b89021d91f25" />