| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This directory contains the Step 7 generation plan for adding a privacy-preserving, Mem0-backed long-term memory layer to the existing AndroidUse application. It is not a standalone Android project: generated Kotlin and documentation files merge into the repository's existing single :app Gradle module.
MEMORY_BACKEND_BASE_URL is a non-secret URL populated into BuildConfig from local.properties or CI. An empty value selects no-op memory behavior. Authentication comes at runtime from SessionProvider.currentSession(): AppSession?; the access token must never be placed in BuildConfig, resources, preferences, source control, or logs.
The enablement flag is stored in app-private SharedPreferences and defaults to disabled. Run IDs and retrieved context remain in RAM. The backend remains the source of truth.
Pure Kotlin domain and policy layers feed an authenticated Ktor gateway. The gateway uses Ktor 2.3.12 with the existing OkHttp engine, one reused client, and org.json DTO parsing. A concurrency-safe coordinator retrieves once per task and caches a bounded untrusted context. UIAgentAccessibilityService passes that same context to Gemini, OpenAI, or Anthropic and writes an approved candidate only at the successful done boundary. Manual constructor injection in MemoryComponent selects backend or no-op behavior. Compose settings provide enable, list, delete-one, and confirmed delete-all controls.
No Android database or local memory-content cache is added. Screenshots, accessibility trees, visible/focused text, clipboard or notification content, coordinates, gestures, intermediate actions, conversation history, raw model reasoning, credentials, authorization headers, and backend bodies are never retained as durable memory or emitted through memory telemetry.
The included workflow runs Gradle validation and build tasks with JDK 17. Instrumentation tests require an emulator-enabled runner and can be added to the repository's Android device-testing workflow.
| Back | FazBrowse Home | New Git URL |