# Dependencies node_modules .pnpm-store/ # Git worktrees .worktrees/ # Harness-managed worktrees (EnterWorktree) — never committed. .claude/worktrees/ # Signing material and merge leftovers. There is deliberately NO bare `ios/` # or `android/` rule: nothing generates one any more, and a bare rule of that # name swallows a hand-written directory anywhere in the tree. Both apps' # build products are ignored by name below. *.jks *.p8 *.p12 *.key *.mobileprovision *.orig.* # Build dist/ build/ out/ # The Mac app's Swift vision helper: SwiftPM build products and IDE state. # The Mac app: SwiftPM's build directory, and the Rust staticlib staged into # it by `scripts/build-rust-ffi.sh` (a 23 MB archive rebuilt from source, never # committed). # The iPhone app: SwiftPM's per-user IDE directory. Every other build product # of that app — `.ffi/` (the XCFramework `scripts/build-xcframework.sh` # writes), `.build/`, the generated `Cotton.xcodeproj/` and the per-target # Info.plists — is declared once in the iPhone block further down. apps/cotton/.swiftpm/ # Turbo .turbo/ # The per-worktree cargo config the worktree setup generates: it names an # ABSOLUTE, machine-specific target directory (one Rust build cache per machine # rather than one per worktree), so it can never be committed. CI does not use # it — the runners keep a target directory per BRANCH, for the corruption reason # on `scripts/ci/cargo-target-dir.sh`. /.cargo/ # Local build caches pointed at the checkout by an env override. .cache/ # Environment .env .env.local .env.*.local # IDE .idea/ .vscode/ *.swp *.swo # OS .DS_Store Thumbs.db # Claude Code — personal/local overrides (shared CLAUDE.md is checked in) CLAUDE.local.md .claude.local.md .claude/scheduled_tasks.lock # Local scratch dirs .tmp-screenshots/ .superpowers/ # Argent mirrors for other AI assistants (regenerated by `argent` init). # Claude Code config is tracked; these are not. .cursor/ .gemini/ # Argent's own workspace dir (screen recordings, flow scratch) — local artifacts. .argent/ # fastlane-generated artifacts (fastlane runs write these locally) fastlane/README.md fastlane/report.xml # Harvested media — source material, never committed. .harvest-media/ # Local scratch for verification runs — a COPY of a real database file can land # here; it must never be committable. .local/ # Session scratch logs at the repo root (.typecheck.log, .install.log, ...) /.*.log # The SwiftUI iPhone app (apps/cotton) — build products, never sources. # `Cotton.xcodeproj` is REGENERATED by `scripts/gen-ios-project.sh` from # `project.yml`, which is the only hand-edited file; the XCFramework is built # by `scripts/build-xcframework.sh` and is ~35–60 MiB per slice. apps/cotton/Cotton.xcodeproj/ # The Mac importer Cotton (apps/cotton/Mac): its generated project and its # build output (`pnpm mac:cotton:build`). apps/cotton/Mac/CottonMac.xcodeproj/ apps/cotton/Mac/build/ # xcodegen writes each target's Info.plist from `project.yml`'s `info:` block. apps/cotton/App/*/Info.plist apps/cotton/App/Flavours/*/*/Info.plist # The spec `scripts/gen-ios-project.sh` writes when an extension gate is off. apps/cotton/.project.gated.yml # The deck walk's generated project. apps/cotton/.walk/ apps/cotton/DeckWalk.xcodeproj/ apps/cotton/.walk.yml apps/cotton/.walk.gated.yml # The apps' UI tests' generated project (scripts/gen-ios-ui-tests.sh). apps/cotton/UITests.xcodeproj/ apps/cotton/.uitests.yml apps/cotton/.uitests.gated.yml apps/cotton/.ffi apps/cotton/.build/ # A named scratch path, so two builds against different destinations (the # package's macOS default and an iOS-simulator target) do not invalidate each # other's module cache on every switch. apps/cotton/.build-*/ # Loom (apps/loom), the faces' own package: SwiftPM's build directory, its # per-user IDE state and the pins a local `swift build` writes (it pins # nothing: it depends on no package). apps/loom/.build/ apps/loom/.swiftpm/ apps/loom/Package.resolved apps/cotton/*.xcworkspace/ # The vendored helper binaries the `scripts/fetch-*.sh` scripts put beside the # package (Mach-O, tens of MiB). Fetched, never committed: on 2026-09-12 a # `git add -A apps/cotton` swept one in and broke the Linux rust job. apps/cotton/native/ __pycache__/ # The owner-data denylist is the owner's own data: it lives in ~/.cotton-agent on each host, never in a checkout. .cotton-agent/ owner-denylist # Pinned public dataset downloads and Python build bytecode. .cache/datasets/ scripts/datasets/__pycache__/ # The passkey domain each active app is signed with (scripts/ios-spec-gate.ts, PASSKEY_ENTITLEMENTS_DIR). apps/cotton/.entitlements/ apps/cotton/.manifests/