-- Team template categorization for wizard filtering. -- -- Wizard step 3 shows "Research teams" + "Development teams" panels. -- Filtering by category lets each panel show only relevant templates -- rather than the operator wading through the whole catalog. -- -- Categories: -- research — codebase deep-dive, papers ingest, insight, continuous -- development — implementation teams (backend, frontend, mobile, gpu, ...) -- security — reserved for future security-hardening teams -- ops — reserved for future infra/deploy teams -- -- Existing templates default to 'development' — they were all coding -- teams before this slice added research templates. BEGIN; ALTER TABLE team_templates ADD COLUMN category TEXT NOT NULL DEFAULT 'development' CHECK (category IN ('research', 'development', 'security', 'ops')); CREATE INDEX team_templates_category_idx ON team_templates (category); COMMIT;