Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove stale native AGENTS docs

Manav Rathic3abb6fc1803
diff --git a/mobile/native/AGENTS.md b/mobile/native/AGENTS.md
deleted file mode 100644
index 8471e9a6ba..0000000000
--- a/mobile/native/AGENTS.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# Repository Guidelines
-
-## Project Structure & Module Organization
-- `android/apps/ensu`: Android app workspace (Gradle Kotlin DSL). Key modules include `app-ui`, `domain`, `data`, `crypto-auth-core`, and `rust`.
-- `android/packages/rust`: Shared Rust/Android integration module referenced by the app workspace.
-- `darwin/Apps/Ensu` and `darwin/Apps/tv`: Xcode projects for Apple platforms.
-- `darwin/Packages/*`: Swift Package Manager libraries. Source code under `Sources/`, tests under `Tests/`.
-
-## Build, Test, and Development Commands
-Run commands from the module root noted below.
-- Android build (debug): `cd android/apps/ensu && ./gradlew assembleDebug`
-- Android unit tests: `cd android/apps/ensu && ./gradlew test`
-- Apple apps (open in Xcode):
- - `open darwin/Apps/Ensu/Ensu.xcodeproj`
- - `open darwin/darwin.xcworkspace`
-- Swift package tests: `swift test --package-path darwin/Packages/EnteCore`
-
-## Coding Style & Naming Conventions
-- Kotlin: 4-space indentation, `camelCase` for variables/functions, `PascalCase` for types.
-- Swift: 4-space indentation, `camelCase` for members, `PascalCase` for types.
-- Align module/file names with feature or domain (e.g., `app-ui`, `crypto-auth-core`).
-
-## Testing Guidelines
-- Swift packages use `XCTest`; place tests in `darwin/Packages/*/Tests`.
-- Name tests by behavior (e.g., `TokenRefreshTests`, `RefreshTokenSucceedsWhenExpired`).
-- Prefer focused unit tests per module; add integration tests in app targets as needed.
-
-## Commit & Pull Request Guidelines
-- Commit messages: short, imperative subjects, often with tags like `[mob]`, `[web]`, or `fix(scope):`.
-- PRs should include a clear description and reasoning, linked issues, and screenshots for UI changes (Android/iOS/macOS/tvOS).
-
-## Configuration & Security Notes
-- Keep secrets out of the repo; use local `.env` or Xcode/Gradle user-specific config.
-- When adding modules/packages, update Gradle `settings.gradle.kts` or Swift package manifests accordingly.
diff --git a/mobile/native/android/apps/ensu/AGENTS.md b/mobile/native/android/apps/ensu/AGENTS.md
deleted file mode 100644
index 47a907df8f..0000000000
--- a/mobile/native/android/apps/ensu/AGENTS.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# Repository Guidelines
-
-## Project Structure & Module Organization
-- `app-ui/`: Android UI layer (Compose screens, resources under `src/main/res`).
-- `domain/`: Business logic and use cases.
-- `data/`: Repositories, data sources, and persistence/networking.
-- `crypto-auth-core/`: Shared crypto/auth logic.
-- `rust/` (via `android/packages/rust`): Rust integration module.
-- Gradle configuration lives in `build.gradle.kts`, `settings.gradle.kts`, and `gradle/`.
-
-## Build, Test, and Development Commands
-Run commands from `android/apps/ensu`.
-- Re-run `cd ../../../../../rust && cargo codegen ensu-android` whenever the UniFFI interfaces under `rust/uniffi` change.
-- `./gradlew :app-ui:assembleDebug`: Build a debug APK.
-- `./gradlew :app-ui:assembleRelease`: Build a release APK.
-- `./gradlew :app-ui:bundleRelease`: Build a release AAB.
-- `./gradlew test`: Run unit tests for modules that include tests.
-- `./gradlew lint`: Run Android lint checks (if configured).
-
-### Custom API Endpoint
-Override the default API (`https://api.ente.io`) with `ENTE_API_ENDPOINT`:
-
-```bash
-ENTE_API_ENDPOINT=https://your-endpoint ./gradlew :app-ui:installDebug
-```
-
-Or via Gradle property:
-
-```bash
-./gradlew :app-ui:installDebug -PENTE_API_ENDPOINT=https://your-endpoint
-```
-
-## Coding Style & Naming Conventions
-- Kotlin: 4-space indentation, `camelCase` for functions/variables, `PascalCase` for classes/types.
-- Keep file/module names aligned with feature or domain (e.g., `app-ui`, `crypto-auth-core`).
-- Prefer small, focused classes and functions; avoid mixing UI and domain logic.
-
-## Testing Guidelines
-- Use JUnit for JVM unit tests under `src/test` in each module.
-- Name tests after behavior (e.g., `TokenRefreshTest`, `AuthStateReducerTest`).
-- Run tests with `./gradlew test` and keep new logic covered where feasible.
-
-## Commit & Pull Request Guidelines
-- Commit messages are short, imperative, and often tagged (e.g., `[mob] Fix login crash`).
-- PRs should include a clear summary, reasoning, and linked issues.
-- Attach screenshots for UI changes on Android.
-
-## Security & Configuration Tips
-- Do not commit secrets. Use local Gradle properties or environment variables.
-- Store device-specific configs outside the repo when possible.