ZapretKVN-android/AGENTS.md
2026-07-22 20:26:55 +03:00

11 lines
1.4 KiB
Markdown

# Repository workflow
- Work directly on `main`.
- Do not create feature, release, or agent branches for this repository.
- Before pushing, fetch `origin/main`, integrate remote changes without force-pushing, and run the relevant verification.
- Push completed work to `origin/main` and keep no temporary local or remote branches.
- Build `arm64-v8a` and `armeabi-v7a` test APKs locally as the primary fast path and publish both local artifacts in a separate GitHub prerelease with checksums and build metadata.
- A prerelease intended for the in-app Beta updater must use a monotonically increasing `versionCode`, an APK `versionName` equal to the Git tag without `v`, matching package/signature, and updater-compatible release metadata plus per-APK SHA-256 assets.
- The in-app updater must delete obsolete downloaded APK and `.part` files from the user's device cache after install handoff, cancel, failure, and on the next app start. Never delete GitHub Releases, remote assets, or Git tags.
- Keep GitHub Actions enabled as an independent remote verification and build path, but do not block local publication or wait for the slower remote build to finish.
- For Android device, VPN, TUN, DNS, crash, hang, or performance testing, use the project skill at `.agents/skills/test-zapret-android/SKILL.md`; collect ADB system evidence and the app diagnostic before changing the implementation.