-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy path.gitignore
More file actions
300 lines (270 loc) · 9.61 KB
/
Copy path.gitignore
File metadata and controls
300 lines (270 loc) · 9.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# ============================================================================
# OS-specific files
# ============================================================================
.*.sw?
._.DS_Store
.DS_Store
Thumbs.db
# ============================================================================
# Environment and secrets
# ============================================================================
.env
.env.*
!.env.example
/.env.local
# ============================================================================
# Node.js dependencies and configuration
# ============================================================================
.node-version
/.nvm
/.pnpmfile.cjs
.npmrc.local
**/node_modules/
/npm-debug.log
pnpm-debug.log*
/yarn.lock
/yarn.log
yarn-error.log*
/.yarnrc.yml
# ============================================================================
# Build outputs and artifacts
# ============================================================================
**/.build-checkpoints
**/*.build-signature
**/.cache/
/.rollup.cache
**/.type-coverage/
**/build/
!docs/build/
**/coverage/
**/dist/
/external/
**/html/
*.d.ts
*.d.ts.map
*.tsbuildinfo
**/*.tmp
*.tmp
# ============================================================================
# Language-specific build artifacts
# ============================================================================
## Rust builds
**/target/
## WASM builds
**/wasm-bundle/
# ============================================================================
# Editor and IDE files
# ============================================================================
.idea/
/.vscode/
*.old
*.sw?
*.swo
*.swp
*~
# ============================================================================
# Development and debugging
# ============================================================================
*.log
**/build/*.log
/.claude/*
!/.claude/agents/
!/.claude/commands/
!/.claude/hooks/
!/.claude/ops/
!/.claude/settings.json
!/.claude/skills/
# ============================================================================
# Kimi Code CLI user-local overrides
# ============================================================================
/.kimi-code/local.toml
# ============================================================================
# Backup and temporary files
# ============================================================================
*.backup
*.bak
**/*.tmp.bak*
*.old
*~
# ============================================================================
# Yarn PnP files
# ============================================================================
/.pnp.cjs
/.pnp.loader.mjs
/.yarn/
# ============================================================================
# Archive directories
# ============================================================================
**/docs/archive/
# ============================================================================
# Workspace-specific patterns
# ============================================================================
## Generated packages (from templates/)
packages/package-builder/build/
## Downloaded build sources
packages/*/.minilm-source/
packages/*/.onnx-source/
packages/*/.yoga-source/
packages/*/.yoga-tests/
## Workspace-generated files
packages/cli/CHANGELOG.md
packages/cli/LICENSE
packages/cli/*.png
packages/cli-with-sentry/CHANGELOG.md
packages/cli-with-sentry/data/
packages/cli-with-sentry/LICENSE
packages/cli-with-sentry/*.png
packages/socket/CHANGELOG.md
packages/socket/LICENSE
packages/socket/*.png
# ============================================================================
# Allow specific files (negation patterns)
# ============================================================================
!.env.example
!/.vscode/extensions.json
!docs/build/
!packages/package-builder/templates/**/*.d.ts
!src/types/**/*.d.ts
!packages/*/src/types/**/*.d.ts
# ─── BEGIN fleet-canonical (managed by socket-wheelhouse sync) ──
# Managed by socket-wheelhouse. Don't edit locally — edit upstream
# in scripts/sync-scaffolding/checks/gitignore-fleet-block.mts and
# re-cascade via `pnpm run sync`. Project-specific ignores stay
# OUTSIDE this block; the fixer preserves them.
# Per-machine Claude Code permission config + log dirs stay ignored;
# the cascaded subdirs (agents, commands, hooks, settings.json, skills,
# workflows) are explicitly re-included so the wheelhouse cascade can
# ship them.
/.claude/*
!/.claude/agents/
!/.claude/commands/
!/.claude/hooks/
!/.claude/settings.json
!/.claude/skills/
!/.claude/workflows/
# OS noise
.DS_Store
._.DS_Store
Thumbs.db
# Build outputs — universal across the fleet. Project-specific
# variants (e.g. a non-standard dist path) go OUTSIDE this block.
**/build/
**/coverage/
**/dist/
**/.cache/
# Node
node_modules/
npm-debug.log
pnpm-debug.log
*.tgz
# ─── END fleet-canonical ────────────────────────────────────────
# <fleet-canonical>
# Managed by socket-wheelhouse. Don't edit locally — edit upstream
# in scripts/sync-scaffolding/checks/gitignore-fleet-block.mts and
# re-cascade via `pnpm run sync`. Project-specific ignores stay
# OUTSIDE this block; the fixer preserves them.
# Per-machine Claude Code permission config + log dirs stay ignored;
# the cascaded subdirs (agents, commands, hooks, settings.json, skills,
# workflows) are explicitly re-included so the wheelhouse cascade can
# ship them.
/.claude/*
!/.claude/agents/
!/.claude/commands/
!/.claude/hooks/
!/.claude/rules/
!/.claude/settings.json
!/.claude/skills/
!/.claude/workflows/
# Release-only GENERATED hook-dispatch artifacts: all three dispatch-table
# variants, the rolldown bundles, the native snapshot launcher + its frozen
# sidecars, and the dispatch manifest. Rebuilt by
# build-hook-bundle / build-hook-snapshot / setup:3-hook-snapshot, shipped in
# the GitHub-release bundle, NEVER committed to the cascade. Unanchored (**/)
# so each is ignored in BOTH the repo-root live copy AND the template/base/
# mirror — the fleet keeps ignores in this root block, not nested per-dir
# files. Keep in lock-step with RELEASE_ONLY_DIR_MIRROR_FILES (scripts/repo/
# sync-scaffolding/dir-mirror-skip.mts). See docs/agents.md/fleet/release-vs-cascade.md.
**/.claude/hooks/fleet/_dist/bundle.cjs
**/.claude/hooks/fleet/_dispatch/dispatch-launcher
**/.claude/hooks/fleet/_dispatch/dispatch-launcher.exe
**/.claude/hooks/fleet/_dispatch/dispatch-table-excluded.mts
**/.claude/hooks/fleet/_dispatch/dispatch-table-snapshot.mts
**/.claude/hooks/fleet/_dispatch/dispatch-table.mts
**/.claude/hooks/fleet/_dispatch/excluded-bundle.cjs
**/.claude/hooks/fleet/_dispatch/node.path
**/.claude/hooks/fleet/_dispatch/snapshot-blob.path
**/.claude/hooks/fleet/_dispatch/snapshot-bundle.cjs
**/.claude/hooks/fleet/_shared/dispatch-manifest.json
# The rolldown-bundled fleet oxlint plugin (build-oxlint-bundle.mts): members
# load this single artifact via jsPlugins instead of the ~100 rule source
# dirs. Release-only + gitignored like the hook bundles above.
**/.config/fleet/oxlint-plugin.mjs
# Derived cross-harness rule adapters — generated per-repo, per-platform by
# the multi-agent scaffolding (setup / init / sync) script from .claude/skills/
# and CLAUDE.md, never committed. A tracked symlink checks out as a plain
# pointer file on Windows, so each host gets a real symlink generated on its
# own OS. Tracking them only produces churn + merge conflicts. Keep in sync
# with ADAPTERS in scripts/fleet/gen/harness-adapters.mts + the .agents/ mirror
# (and the .mcp.json projections in scripts/fleet/mcp-config.mts: /.codex/,
# /.kimi-code/, and /opencode.json — all generated from the single committed
# .mcp.json authority at setup:mcp and rebuilt into the release bundle at
# make-release-bundle, never committed).
# Host dirs we own entirely are ignored wholesale; .github/ holds tracked
# fleet files, so only its generated adapter file is named.
/.agents/
/.clinerules/
/.codex/
/.cursor/
/.github/copilot-instructions.md
/.janus/
/.kimi-code/
/.kiro/
/.windsurf/
/AGENTS.md
/opencode.json
# VS Code: ignore the dir contents so a hidden tasks.json with a `folderOpen`
# auto-run (a known npm supply-chain vector — runs on folder open, zero clicks)
# cannot be committed. Re-include only the benign shared settings.json. Use the
# `/.vscode/*` contents form (NOT `.vscode/`) so the re-include can take effect.
# vscode-folder-open-task-guard backstops any explicitly-added auto-run task.
/.vscode/*
!/.vscode/settings.json
# OS noise
.DS_Store
._.DS_Store
Thumbs.db
# Build outputs — universal across the fleet. Project-specific
# variants (e.g. a non-standard dist path) go OUTSIDE this block.
# The build/test-output + vendored-tree entries below are kept in
# lock-step with GENERATED_GLOBS (scripts/fleet/constants/
# generated-globs.mts) by generated-globs-are-consistent.mts.
**/build/
**/dist/
/template/generated/
**/out/
**/.cache/
**/.repo-map/
**/.swc/
**/.vitiate/
# Vendored / upstream trees + conformance fixtures — untracked-by-default
# (docs/agents.md/fleet/untracked-by-default.md): someone else's source or
# synced corpora, restored by the owning sync/build step, never hand-edited.
# A repo that must track a hand-written file inside one re-includes it
# OUTSIDE this block (!<dir>/ then <dir>/* then !<dir>/<file>).
**/test/fixtures/
**/upstream/
# Node
node_modules/
npm-debug.log
pnpm-debug.log
*.tgz
# </fleet-canonical>
# ─── repo-local (socket-wheelhouse): keep hand-authored files that the
# fleet-canonical globs would otherwise ignore (untrack-ignored-files fix) ───
!/packages/cli/test/fixtures/
!/.node-version
# vitiate coverage-guided fuzz lane caches (regenerable; never commit)
/.swc/
/.vitiate/
**/.swc/
**/.vitiate/