# Verifying a delegated build deliverable Run these yourself after a specialist reports done. Trust nothing in the report that you did not reproduce; quote the command and result in your own report. ## Generic (any repo) ```bash cd git log --format='%h %cd %an | %s' --date=format:'%H:%M:%S' -6 # new commits? who? git status --short # scope of uncommitted work # secrets/leak grep over the files the task touched + its report grep -nE 'sk-ant|sk-[A-Za-z0-9]{20}|tskey-|AKIA[0-9A-Z]{16}|BEGIN (RSA|OPENSSH)|storePassword *= *"|keyPassword *= *"' # a password read via project.property(...) / env var is fine; a literal is not ``` - A report that lists "files not mine, untouched" is a signal another session is active — see the live-session check in SKILL.md before rebuilding or launching anything else. - Check `.gitignore` covers every generated distribution dir (`dist/`, `out/`) with `grep -n dist .gitignore`. ## Single-source assets (doc copied into an app bundle at build time) The claim "the in-app copy cannot drift from the doc" is verified by hashing both sides: ```bash unzip -p app/build/outputs/apk//app-.apk assets/.md | shasum -a 256 shasum -a 256 docs/.md ``` Identical hashes + no second copy under `app/src/main/assets/` = pass. A missing `src/main/assets/` file is the expected shape when Gradle generates it, not a defect. ## Android APK for hand distribution (tester build) ```bash BT=~/Library/Android/sdk/build-tools/ shasum -a 256 dist/test/*.apk; cat dist/test/*.sha256 # must match $BT/apksigner verify --print-certs dist/test/*.apk # signer DN + SHA-256; JVM native-access WARNINGs are noise $BT/aapt dump badging dist/test/*.apk | grep -E '^package:|^application-label:|^sdkVersion|^targetSdk|^uses-permission' ls -la ~/.android/.jks # mode 600, outside the repo git ls-files | grep -iE 'jks|keystore' # must be empty ``` Accept when: package id has the tester suffix (installs beside debug), versionName/versionCode match the brief, minSdk/targetSdk stated, permission list has nothing unexpected, signer is the dedicated tester key, keystore + its passwords live only in `~/.android/` and `~/.gradle/gradle.properties`. Always carry these to the user's approval list: keystore backup location (password manager; not the harici disk or the OBS vault — losing it breaks in-place updates on testers' phones), screenshots that expose a tailnet/hostname before they are committed, and any network relaxation (cleartext ranges) the brief left conditional. ## Emulator evidence Screenshots must exist under `docs/qa//` with non-trivial sizes (`ls -la`). "Tested on emulator Android N" is acceptable only when the report says so explicitly; a physical device is never implied. A connection test that needs the user's dashboard credentials is legitimately out of the specialist's reach — record it as untested, do not fail the deliverable for it.