feat(flags): seed devintelli feature flags (11 flags)
- devintelli_enabled, devintelli_scan_enabled, devintelli_daily_sync - 6 analytics panel flags (overview, commit, pr, review, language, productivity, repo) - devintelli_billing_enabled (disabled by default) Aligns with backend/src/lib/feature-flags.ts defaults
This commit is contained in:
parent
f8949d230f
commit
89e200fa9f
@ -353,6 +353,85 @@ const PRODUCT_FLAGS: Record<string, FlagSeedDef[]> = {
|
|||||||
percentage: 100,
|
percentage: 100,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
devintelli: [
|
||||||
|
{
|
||||||
|
key: 'devintelli_enabled',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Master switch for DevIntelli product features',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_scan_enabled',
|
||||||
|
enabled: true,
|
||||||
|
description: 'GitHub PAT scanning and data ingestion',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_daily_sync',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Scheduled daily incremental sync of GitHub data',
|
||||||
|
platforms: [],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_overview_panel',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Dashboard overview panel (stats, heatmap, streak)',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_commit_panel',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Commit Intelligence analytics panel',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_pr_panel',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Pull Request analytics panel',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_review_panel',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Code Review Activity analytics panel',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_language_panel',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Language & Tech Profile analytics panel',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_productivity_panel',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Productivity Patterns analytics panel',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_repo_panel',
|
||||||
|
enabled: true,
|
||||||
|
description: 'Repository analytics panel',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'devintelli_billing_enabled',
|
||||||
|
enabled: false,
|
||||||
|
description: 'Billing / subscription features (Pro tier)',
|
||||||
|
platforms: ['web'],
|
||||||
|
percentage: 0,
|
||||||
|
},
|
||||||
|
],
|
||||||
clawcowork: [
|
clawcowork: [
|
||||||
{
|
{
|
||||||
key: 'sandbox_enabled',
|
key: 'sandbox_enabled',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user