-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.gitignore
More file actions
216 lines (198 loc) · 6.99 KB
/
Copy path.gitignore
File metadata and controls
216 lines (198 loc) · 6.99 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
# OS files
.DS_Store
._.DS_Store
Thumbs.db
desktop.ini
*.lnk
# Environment & config
/.claude/*
!/.claude/agents/
!/.claude/commands/
!/.claude/ops/
!/.claude/skills/
!/.claude/hooks/
!/.claude/settings.json
/.env
/.env.local
/.env.*.local
/.node-version
/.nvm
/.pnpmfile.cjs
# Build artifacts
/.type-coverage
/coverage
/coverage-isolated
**/dist
**/*.tsbuildinfo
*.d.ts
*.d.ts.map
# Temporary files
*.tmp
.*.tmp
**/*.tmp
*.log
*.pid
*.seed
*.pid.lock
*~
.temp
.tmp
# Editor files
/.vscode
*.swp
*.swo
#*#
.#*
*#
.*.sw?
*.sublime-*
.idea
.eslintcache
.tsbuildinfo
# Runtime (includes node_modules/.cache/ where vitest etc.
# store scratch dirs — cleared by pnpm install automatically).
node_modules
**/node_modules
# Defensive cache ignore — Node compile-cache, corepack, and other
# tools occasionally drop scratch dirs into a project-local .cache/.
**/.cache/
# Misc temporary/generated files
Do
TODO
NOTES
scratch.*
test-output.*
# Allow specific files
!/.vscode/extensions.json
!api*.d.ts
!src/types/**/*.d.ts
# <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, output-styles,
# settings.json, skills, workflows) are explicitly re-included so the
# wheelhouse cascade can ship them.
/.claude/*
!/.claude/agents/
!/.claude/commands/
!/.claude/hooks/
!/.claude/output-styles/
!/.claude/rules/
!/.claude/settings.json
!/.claude/skills/
!/.claude/workflows/
# Transient agent work-state: handoff + planning docs live in these
# gitignored operator-notes homes and are NEVER committed. Re-asserted here
# AFTER the re-include lines above so a future `!/.claude/<x>/` re-include
# can't accidentally start tracking them. Dir-scoped so no sibling path is
# caught. handoff-docs-are-untracked backstops a stray committed handoff doc.
/.claude/plans/
/.claude/reports/
# 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/fleet-pack.cjs
# Legacy pre-v1.0.16 dispatch layout: socket-sdk-js still tracks the
# _dispatch/index.cjs loader, which requires ./fleet-pack.cjs — that generated
# bundle must stay untracked there. This path stays _dispatch/ on purpose: it
# describes a layout that member still has on disk, so renaming it here would
# un-ignore that repo's generated bundle. Keep the entry until every member
# has migrated to the fleet/index.cjs + _dist/fleet-pack.cjs layout; it
# matches nothing once the legacy bundle is gone.
**/.claude/hooks/fleet/_dispatch/fleet-pack.cjs
**/.claude/hooks/fleet/_shared/dispatch-launcher
**/.claude/hooks/fleet/_shared/dispatch-launcher.exe
**/.claude/hooks/fleet/_shared/dispatch-table-excluded.mts
**/.claude/hooks/fleet/_shared/dispatch-table-snapshot.mts
**/.claude/hooks/fleet/_shared/dispatch-table.mts
**/.claude/hooks/fleet/_shared/excluded-fleet-pack.cjs
**/.claude/hooks/fleet/_shared/node.path
**/.claude/hooks/fleet/_shared/snapshot-blob.path
**/.claude/hooks/fleet/_shared/snapshot-fleet-pack.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/
# Workspace-local pnpm store — CI jobs whose pnpm runs inside a
# workspace-mounted sandbox pin the store here (setup-and-install
# store-dir input); never committed.
/.pnpm-store/
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) ───
!/.node-version
# vitiate coverage-guided fuzz lane caches (regenerable; never commit)
/.swc/
/.vitiate/
# Per-machine precommit env — fleet peers keep it on disk but untracked; this
# repo's canonical block lacks a broad .env.* glob, so ignore it here.
/.env.precommit