GitButler is a Rust/Svelte/React/TypeScript monorepo.
Apply all relevant instruction files. If instructions conflict, resolve them in this order:
- Explicit human instructions
- Nearest nested
AGENTS.md - This file
crates/- Rust crates.apps/desktop/- Tauri/Svelte desktop app.apps/web/- Svelte web app.apps/lite/- Electron/React desktop app.packages/- shared TypeScript packages, including the SDK.e2e/- Playwright, WebdriverIO, and blackbox end-to-end tests.
- Make focused, reviewable changes.
- Inspect nearby code before introducing patterns.
- Prefer existing APIs, tests, and conventions.
- Avoid unrelated rewrites.
- Run targeted validation for the area touched.
- For Rust work under
crates/, followcrates/AGENTS.md. - For Lite work under
apps/lite/, followapps/lite/AGENTS.md.