Librechat-Mobile
CLAUDE.md106 starsChanged 59 days agoMITView on GitHub
File: .github/workflows/appstore.yml - Manual only (workflow_dispatch) with a required tag input (e.g. v2026.07.3) — cutting a GitHub release never uploads to Apple. - Single upload job: xcode-27 runner with Xcode pinned to 27.1 (see Environment), environment: release (reviewer-gated secrets). - Xcode cloud signing via an App Store Connect API key — no certificates or profiles stored anywhere; -allowProvisioningUpdates manages them in Apple's cloud. - Archives the tagged commit, then xcodebuild -exportArchive with method: app-store-connect, destination: upload uploads during export (no…
- Reads credentials
In this repository9 other files it gives its agents.
- app/CLAUDE.mdCLAUDE.md
- build-logic/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- shared/CLAUDE.mdCLAUDE.md
- audit-depsSkill
- audit-i18nSkill
- release-highlightsSkill
- sync-upstreamSkill
- update-web-assetsSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 66
No release signing configured yet
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub CI/CD
Workflow: App Store Upload
File: .github/workflows/appstore.yml
- Manual only (
workflow_dispatch) with a requiredtaginput (e.g.v2026.07.3) — cutting a GitHub release never uploads to Apple. - Single
uploadjob:xcode-27runner with Xcode pinned to 27.1 (see Environment),environment: release(reviewer-gated secrets). - Xcode cloud signing via an App Store Connect API key — no certificates or profiles
stored anywhere;
-allowProvisioningUpdatesmanages them in Apple's cloud. - Archives the tagged commit, then
xcodebuild -exportArchivewithmethod: app-store-connect,destination: uploaduploads during export (no altool/fastlane). - Passes
IOS_BUILD_NUMBER_SUFFIX(run_number×100 + run_attempt) so the "Stamp Version" build phase emits a per-upload-uniqueCFBundleVersion(YYYYMMPP.N). - Secrets (in the
releaseenvironment):ASC_API_KEY_P8_BASE64,ASC_API_KEY_ID,ASC_API_ISSUER_ID,APPLE_TEAM_ID. Setup runbook:docs/RELEASING.md.
Workflow: CI
File: .github/workflows/ci.yml
Triggers
- Push to
develop - Pull requests targeting
develop
Jobs
lint
./gradlew detekt :app:lint --continue(detektcovers every source set of every module; seeDetektConventionPlugin)- Uploads merged detekt SARIF to GitHub Code Scanning + lint HTML report
test
./gradlew test- Uploads test results XML
android (Build Android App)
./gradlew :app:assembleDebug./gradlew :feature:chat:assembleDebugAndroidTest— compile-only gate for the chat instrumented suite, which runs on a local emulator (connectedDebugAndroidTest), never in CI. Scoped to the one module deliberately: a repo-wideassembleDebugAndroidTestwould also compile:app's staleandroidTestsources.- Uploads the debug APK as an artifact (90-day retention) and posts its download link to the PR
ios (Build iOS App)
- Selects Xcode 27.1 (pinned; see Environment)
- Runs
./gradlew :shared:iosSimulatorArm64Test(the iOS Koin graph test — theubuntutestjob cannot run Kotlin/Native tests) - Caches
~/.konan - Runs
xcodebuildfor the iOS simulator (arm64-only, no signing). The Kotlin framework is built by the Xcode "Compile Kotlin Framework" build phase (./gradlew :shared:embedAndSignAppleFrameworkForXcode) — no separate link step.
ios-release-link (iOS Release Link (OOM canary))
./gradlew :shared:linkReleaseFrameworkIosArm64— the Release device link that release.yml/appstore.yml archives run- Exists because the Release link's DevirtualizationAnalysis pass OOM'd the 7 GB runner on every release Jul 2–25, 2026 (KT-80367) while PR CI stayed green: Debug/simulator builds skip whole-program optimization, so code growth crossing the heap ceiling was invisible until release day. This job fails the PR that crosses it instead.
Environment
lint+test+androidjobs:ubuntu-latest, JDK 21- iOS jobs (
ios,ios-release-link, release'sios, appstore'supload):xcode-27(Apple Silicon — required since there's noiosSimulatorX64target), JDK 21 - Xcode is pinned to
'27.1', notlatest-stable: per Apple's iPhone Duo guidance only an iOS 27.1 SDK build fills the inner display, andlatest-stablefollows whatever non-beta Xcode the image adds next. setup-xcode matches a plain version only against a non-beta Xcode, so a pin to a beta fails at "Select Xcode". Bump the pin deliberately, in all four jobs together. - Concurrency: cancels in-progress runs for same branch
Notes
- No release signing configured yet
- Instrumented/UI tests are never executed in CI (no emulator) —
:feature:chat's suite is only compiled, as a gate. Executed test coverage in CI is unit tests plus the iOS Koin graph test. - The debug APK is uploaded as an artifact; the iOS app is built but not uploaded
- Detekt SARIF is uploaded to GitHub Code Scanning (requires GitHub Advanced Security for private repos)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

