원클릭으로
commory-android
Android app for Commory — dual runtime modes, Compose UI, MsgLayer backup/restore, server sync, and agent privacy model.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Android app for Commory — dual runtime modes, Compose UI, MsgLayer backup/restore, server sync, and agent privacy model.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Go backend for Commory — JWT auth, file-backed storage, MsgLayer import/query, Setup wizard, and mobile API contract.
MsgLayer schema v0.1 — the canonical interchange format between Android, Go backend, web, and future agents.
Standardize VisionFlow load, pressure, capacity, and soak testing across Docker, PgBouncer, BullMQ, Redis, workflow execution, and tietiezhi batch generation. Use when an agent needs to run or document high-concurrency validation, 2C4G simulations, multi-user submit tests, workflow stress tests, throughput investigations, OSS cleanup for test runs, or performance reporting and tuning guidance.
| name | commory-android |
| description | Android app for Commory — dual runtime modes, Compose UI, MsgLayer backup/restore, server sync, and agent privacy model. |
Work on the Commory Android app (package com.iskenkenya.commory.mobile).
app/src/main/java/com/iskenkenya/commory/mobile/
runtime/ — AppEnvironment, RuntimeMode, RuntimeModePolicy, AppEnvironmentManager, LocaleResolver
remote/ — CommoryServerClient, CommoryApiService, NetworkError, DTOs
auth/ — CommoryServerAuthProvider
agent/ — AgentContextModels, AgentPrivacyPolicy
ui/screens/ — ModeSelectionScreen, ServerSetupScreen, BackupScreen, RestoreScreen, MoreScreen
ui/navigation/NavigationHost — Two-level route guard (mode → auth → main)
ui/viewmodels/ — AppViewModel, BackupViewModel, RestoreViewModel
di/AppContainer — Manual DI
sdk/backup/ — Pure Kotlin MsgLayer mapper, reader, writer
sdk/auth/ — AuthProvider interface, AuthCredentials sealed class
sdk/storage/ — Storage contracts
AppEnvironment is the single source of truth; persisted via DataStore; exposed as StateFlow.currentSnapshot() reads a @Volatile cache updated by onEach; no runBlocking.RuntimeModePolicy centralizes mode-dependent decisions (auth required, upload allowed, etc.).CommoryServerClient caches Retrofit services per base URL; uses separate refreshClient for auth endpoints.authenticator auto-refreshes on 401; /api/auth/ paths are excluded to prevent loops.NetworkError sealed class maps IOException subtypes to typed errors for UI localization.AuthSession.isAuthenticated checks JWT exp claim; accessTokenExpiresAt() decodes Base64 payload.RuntimeModePolicy.canUploadBackup().AlertDialog confirmation; switching clears session but preserves local files.AgentPrivacyPolicy maps RuntimeMode to AgentProviderPolicy (LOCAL_ONLY vs SERVER_ALLOWED).Build.FINGERPRINT.NavigationHost.kt and the target screen/ViewModel.docs/android-runtime-modes.md for mode behavior.docs/mobile-api.md for server contract.values/, values-en/, values-zh-rCN/.cd android && ./gradlew :app:compileDebugKotlin && ./gradlew :app:testDebugUnitTestreferences/runtime-modes.md for mode behavior details.docs/mobile-api.md for the server API contract.