# macOS
.DS_Store
._*
.AppleDouble
.LSOverride

# Generated Xcode project — regenerate via `xcodegen generate`.
# The source of truth is project.yml.
Harness.xcodeproj/

# Generated iOS UI-session fixture project — regenerate via `xcodegen generate`
# in HarnessMCP/fixtures/ios-app/. Source of truth is that dir's project.yml.
HarnessMCP/fixtures/ios-app/*.xcodeproj/

# Xcode
build/
DerivedData/
*.xcuserstate
*.xcuserdatad/
xcuserdata/
*.moved-aside
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
*.xcscmblueprint
*.xccheckout

# Swift Package Manager
.build/
.swiftpm/
Packages/*/.build/
Package.resolved

# CocoaPods / Carthage (not used, but defensively ignored)
Pods/
Carthage/Build/

# Local Harness data (lives outside repo, but defensively ignored)
runs/
*.harness-run
# HarnessCLI per-run outputs land in CWD-local directories — keep them
# out of the repo (typical pattern: `--output ./test-run-foo`).
test-run/
test-run-*/

# WebDriverAgent build artifacts (the submodule is checked in; build outputs aren't).
vendor/WebDriverAgent/build/

# Generated by the `Generate HarnessGeneratedRepoRoot.swift` pre-build script
# in project.yml. Bakes $SRCROOT into a constant so the running app can find
# vendor/WebDriverAgent. Per-machine; regenerated on every build.
Harness/Generated/

# Editor scratch
.vscode/
.idea/
*.swp
*.swo

# Local secrets / scratch
.env
.env.local
*.local.md
scratch/
TODO.local.md

# Private working files — kept locally for own use, never published.
# These were scrubbed from public git history (see CLAUDE.md / "Private working files").
/CLAUDE.md
/design-prompt.md
/docs/PRD.md
/docs/MANUAL_TEST_PLAN.md
/docs/DESIGN_BACKLOG.md
.claude/

# Public-surface worktree — see CLAUDE.md / "Public surfaces".
# (The wiki publishes from wiki/ via Memophant — no separate worktree.)
.gh-pages-worktree/

# Release artefacts — RELEASE_NOTES.md is checked in, but the built
# zip lives only on GitHub Releases. Keeping zips out of git keeps the
# repo small and avoids "is the .zip the source of truth" confusion.
releases/**/*.zip
releases/**/*.dmg
# Generated per-release by scripts/appcast.sh; the live copy is on gh-pages.
releases/**/appcast.xml
# generate_appcast prunes superseded archives into this dir; never committed.
releases/**/old_updates/

# Memophant app-local state (machine-specific, not for git)
.memophant/

sessions/.raw/
sessions/.index.json

.claude/memophant-activity.log

# Scarf machine-local project state (host bindings, absolute paths)
.scarf/project.json

# Build product of the macOS AX fixture app (HarnessMCP/fixtures/macos-app).
# The source and its build script are checked in; the .app is rebuilt on
# demand by build-fixture.sh, and the live probe tests skip without it.
HarnessMCP/fixtures/macos-app/build/

# Python bytecode from running the smoke scripts as modules.
__pycache__/
