1
- # AI Context Optimizer - .gitignore
2
- # Repository: https://github.com/web-werkstatt/ai-context-optimizer
1
+ # =============================================================================
2
+ # CLINE TOKEN MANAGER - ENTERPRISE IP PROTECTION
3
+ # =============================================================================
4
+ # 🚨 CRITICAL: NEVER commit enterprise IP to public repositories!
5
+ # This .gitignore protects $700K+ ARR business value
3
6
4
- # ===========================================
5
- # VS Code Extension Build Artifacts
6
- # ===========================================
7
+ # =============================================================================
8
+ # 🔒 ENTERPRISE FOLDERS - Complete IP Protection
9
+ # =============================================================================
10
+ enterprise /
11
+ * enterprise *
12
+ * business *
13
+ * licensing *
14
+ * kubernetes *
15
+ * private *
16
+
17
+ # Specific Enterprise Repositories
18
+ cline-token-manager-enterprise /
19
+ universal-ai-platform-business /
20
+ kubernetes-enterprise /
21
+ enterprise-license-core /
22
+
23
+ # =============================================================================
24
+ # 🔒 BUSINESS INTELLIGENCE - Market Advantage Protection
25
+ # =============================================================================
26
+ * BUSINESS *
27
+ * ENTERPRISE *
28
+ * STRATEGY *
29
+ * LICENSING *
30
+ * PRICING *
31
+ * SALES *
32
+ * MARKET *
33
+ * REVENUE *
34
+ * COMPETITIVE *
35
+ * UNIVERSAL *
36
+
37
+ # Business Intelligence Files
38
+ * business-intelligence *
39
+ * market-advantage *
40
+ * competitive-intelligence *
41
+ * enterprise-licensing *
42
+ * team-management *
43
+
44
+ # =============================================================================
45
+ # 🔒 SENSITIVE SOURCE CODE - Revolutionary Features
46
+ # =============================================================================
47
+ # Auto-Fix System (WORLD'S FIRST)
48
+ src /cline-integration /cline-token-limit-detector.ts
49
+
50
+ # Rule Injection System (REVOLUTIONARY)
51
+ src /core /custom-rules-manager.ts
52
+ src /webview /rule-injection-panel.ts
53
+
54
+ # Universal AI Platform (PROPRIETARY)
55
+ src /api-interception /
56
+ src /providers /cursor-killer.ts
57
+ src /providers /copilot-bypass.ts
58
+
59
+ # Enterprise Features
60
+ src /enterprise /
61
+
62
+ # =============================================================================
63
+ # 🔒 B2B PACKAGES - $200K ARR Cline + $500K ARR Universal AI
64
+ # =============================================================================
7
65
* .vsix
8
- out /
9
- dist /
10
- node_modules /
11
- * .log
12
- npm-debug.log *
13
- yarn-debug.log *
14
- yarn-error.log *
66
+ ! public /releases /community /* .vsix
67
+ ! public /releases /stable /* .vsix
15
68
16
- # ===========================================
17
- # Development & Compilation
18
- # ===========================================
19
- .vscode-test /
20
- .vscode /settings.json
21
- .vscode /launch.json
22
- .vscode /extensions.json
23
- * .tsbuildinfo
24
- coverage /
69
+ # Enterprise Package Releases
70
+ releases /enterprise-packages /
71
+ enterprise /packages /
25
72
26
- # ===========================================
27
- # Internal Documentation (NOT for public repo)
28
- # ===========================================
73
+ # =============================================================================
74
+ # 🔒 INFRASTRUCTURE & DEPLOYMENT
75
+ # =============================================================================
76
+ * kubernetes *
77
+ * deployment *
78
+ * namespace *
79
+ * gitea *
80
+ * kubectl *
81
+ * kind *
82
+ * .yaml
83
+ ! public /** /* .yaml
84
+
85
+ # Kubernetes Enterprise Infrastructure
86
+ kubernetes-enterprise /
87
+ enterprise /infrastructure /
88
+
89
+ # =============================================================================
90
+ # 🔒 DOCUMENTATION - Strategic & Internal
91
+ # =============================================================================
29
92
internal-docs /
30
- docs /sprints /
31
- docs /analysis /
32
- archive /
33
- assets /
34
- development /
93
+ enterprise /business-intelligence /
94
+ project-management /
35
95
36
- # Business Strategy Documents
96
+ # Strategy Documents
37
97
BUSINESS- * .md
38
98
INVESTMENT- * .md
39
99
MARKET- * .md
40
- PAPERLESS- * .md
41
100
TECHNICAL-ARCHITECTURE- * .md
101
+ PRICING- * .md
102
+ SALES- * .md
42
103
43
- # Marketing & Community Materials
44
- COMMUNITY- * .md
45
- REDDIT- * .md
46
- GITHUB-LAUNCH- * .md
47
-
48
- # Internal Development Notes
104
+ # Internal Development
49
105
CLAUDE.md
50
- BETA-LAUNCH- * .md
51
- SPRINT- * .md
52
- CORE-ENGINE- * .md
53
- PYTHON-GATEWAY- * .md
54
- FEEDBACK- * .md
55
- GITHUB-DISCUSSIONS- * .md
56
-
57
- # Experimental Features
58
- PYTHON-UNIVERSAL- * .md
59
- CURSOR-EXPERIENCE- * .md
60
- MVP- * .md
61
- PRODUCT-ROADMAP- * .md
62
-
63
- # ===========================================
64
- # Environment & Sensitive Information
65
- # ===========================================
66
- .env
67
- .env. *
106
+ * CLAUDE *
107
+ * internal *
108
+ * INTERNAL *
109
+ * backup *
110
+ * BACKUP *
111
+
112
+ # =============================================================================
113
+ # 🛠️ DEVELOPMENT - Local Only
114
+ # =============================================================================
115
+ development /
116
+ node_modules /
117
+ out /
118
+ dist /
119
+ build /
120
+ .vscode-test /
121
+ * .log
122
+ npm-debug.log *
123
+ yarn-debug.log *
124
+ yarn-error.log *
125
+ * .tsbuildinfo
126
+ coverage /
127
+
128
+ # =============================================================================
129
+ # 🔒 SENSITIVE DATA
130
+ # =============================================================================
131
+ * secret *
132
+ * password *
133
+ * credential *
68
134
* .key
135
+ * token *
136
+ .env *
69
137
* .pem
138
+ * .p12
139
+ * .keystore
70
140
config /local.json
71
141
secrets /
72
142
73
- # ===========================================
74
- # OS & Editor Files
75
- # ===========================================
76
- .DS_Store
77
- .DS_Store ?
78
- ._ *
79
- .Spotlight-V100
80
- .Trashes
81
- ehthumbs.db
82
- Thumbs.db
83
- * ~
84
- .swp
85
- .swo
143
+ # =============================================================================
144
+ # 🚫 NEVER COMMIT THESE PATTERNS
145
+ # =============================================================================
146
+ * enterprise *
147
+ * private *
148
+ * confidential *
149
+ * proprietary *
150
+
151
+ # =============================================================================
152
+ # 📂 ALLOW PUBLIC CONTENT ONLY
153
+ # =============================================================================
154
+ # Only allow specific public directories
155
+
156
+ # Public Source Code
157
+ ! public /
158
+ ! public /src /
159
+ ! public /src /**
160
+ ! public /docs /
161
+ ! public /docs /**
162
+ ! public /assets /
163
+ ! public /assets /**
164
+
165
+ # Public Releases
166
+ ! public /releases /community /
167
+ ! public /releases /community /**
168
+ ! public /releases /stable /
169
+ ! public /releases /stable /**
86
170
87
- # ===========================================
88
- # Temporary Files
89
- # ===========================================
171
+ # Community Beta Releases
172
+ ! releases /beta /
173
+ ! releases /beta /**
174
+
175
+ # Public Configuration
176
+ ! public /README.md
177
+ ! public /package.json
178
+ ! public /tsconfig.json
179
+ ! public /LICENSE
180
+ ! public /webpack.config.js
181
+
182
+ # =============================================================================
183
+ # 🗑️ TEMPORARY & BUILD FILES
184
+ # =============================================================================
90
185
* .tmp
91
186
* .temp
92
187
.tmp /
93
188
.cache /
94
189
.temp /
190
+ .DS_Store
191
+ Thumbs.db
192
+ * ~
95
193
96
- # ===========================================
97
- # Website Development (Internal)
98
- # ===========================================
99
- aicontextoptimizer-com /
100
- clineoptimizer-com /
101
-
102
- # ===========================================
103
- # Allow Essential Public Documentation
104
- # ===========================================
105
- ! README.md
106
- ! README_DE.md
107
- ! INSTALLATION-GUIDE.md
108
- ! CHANGELOG.md
109
- ! RELEASE-NOTES-v * .md
110
- ! LICENSE
111
- ! .github /
112
-
113
- # Allow Technical Documentation (User-Relevant)
114
- ! CACHE-EXPLOSION-SOLUTION.md
115
- ! PERFORMANCE-VALIDATION.md
116
- ! TEST-REPORT.md
117
- ! TOKEN-ESTIMATION-FIX.md
118
- ! TOKEN-REDUCTION-MEASUREMENTS.md
194
+ # =============================================================================
195
+ # ⚠️ SECURITY NOTICE
196
+ # =============================================================================
197
+ # This .gitignore protects critical enterprise IP including:
198
+ # - Revolutionary Auto-Fix algorithms ($200K ARR)
199
+ # - Universal AI Platform business intelligence ($500K ARR)
200
+ # - Market advantage strategies and competitive intelligence
201
+ # - Enterprise licensing systems and revenue models
202
+ # - Kubernetes infrastructure and deployment configs
203
+ # - Proprietary AI orchestration algorithms
204
+ #
205
+ # TOTAL PROTECTED VALUE: $700K+ ARR potential
206
+ # NEVER modify this file to expose enterprise content!
207
+ # =============================================================================
0 commit comments