Done — I set this up in a fresh worktree and drafted the project plan.
/Users/tarunsachdeva/code/traces-worktrees/feat-namespace-settingsfeat/namespace-settingsdocs/projects/namespace-settings.mdI recommend using a dedicated namespaceSettings table (not adding config columns directly to namespaces), and handling sensitive values like OPENAI_API_KEY in a separate namespaceSecrets table (or secret-manager reference).
Why this is the safer fit for this repo:
api/convex/namespaces.ts:14 serves namespace profile data from namespaces on public paths.api/convex/internal/namespaces.ts:9 returns full namespace docs and is used broadly in auth/session flows.api/convex/services/traces.ts:125 and api/convex/services/traces.ts:166.api/convex/utils/ai.ts:60.So: keep namespaces as identity/profile, move configurable behavior to settings, and isolate secrets from general namespace reads.
If you want, I can now start Part 2 in this worktree and scaffold the schema + internal functions.