Alpha Phone is a pnpm monorepo on Node 26 (.nvmrc) built on VibeStack specifications (spec/),
VibeLang, React, Effect, and pinned @elizaos/* packages (eliza.lock.json, prepared at .eliza).
There is no Bun anywhere in the workspace (pnpm no-bun).
- Install Node 26 (matching
.nvmrc) and pnpm (packageManagerinpackage.json). - Install workspace dependencies and prepare the pinned upstream Eliza checkout:
pnpm install
pnpm elizaeliza.lock.json pins the reviewed upstream elizaOS/eliza develop commit. Never edit .eliza
directly; land shared changes upstream and advance the pin with pnpm cli eliza-pin (the newest
develop commit, or --commit SHA). It writes eliza.lock.json, runs pnpm eliza and regenerates
the third-party notices, which name the pinned commit; commit the lock and apps/app/public/licenses/
together. Nothing fails on stale notices: every APK build regenerates the ones it ships.
pnpm check # Quint models and Dafny proofs for spec/**
pnpm test # Unit and conformance tests
pnpm test:browser # Playwright/Vitest browser tests
pnpm lint # ESLint (--max-warnings 0) and Stylelint
pnpm no-bun # Enforce zero Bun usage across tracked files
pnpm verify # Full CI gate (no-bun, build, typecheck, test, browser, check, lint, analyze, selftest)Run pnpm test:browser locally before finalising a PR. Production flag-off bundle checks run via:
pnpm --filter @repo/app android web
pnpm --filter @repo/app android auditMocks, fixtures, and developer surfaces require ELIZA_DEV_ALLOW_TEST_MOCKS=1 (__ALPHA_TEST_MOCKS__).
Production web and APK builds always clear that flag and must pass apps/app/scripts/android.ts audit.
pnpm dev # Start workspace dev servers and VibeStack Studio
pnpm studio # Open VibeStack Studio alone
pnpm gen # Regenerate spec-derived modules under gen/
pnpm typecheck # VibeLang / TypeScript typecheck across the workspaceapps/cloud packages Alpha Cloud from pinned @elizaos/cloud and @elizaos/cloud-worker with
Alpha's deployment profile in packages/deployment.
pnpm cloud check # Build @repo/cloud, then check its profiles, registration and route table (no network)
pnpm --filter @repo/app dev # The app over a local eliza cloud (apps/app/README.md)pnpm cloud <command> is the operator's command line; with no command it prints its usage. The
staging and production procedure is the "Alpha Cloud" section of the README,
and the rules it follows are spec/cloud/.
There is one Android product and flavor: launcher (ai.alphacompute.alphaphone), with the
Node.js resident runtime (libeliza_node.so) and on-device speech (libelizainference.so,
libparadeevoicejni.so, and verified ASR/TTS models from .eliza/packages/os/android/local-inference)
always packaged.
- JDK 21 (
JAVA_HOME) - Android SDK (
ANDROID_HOME/ANDROID_SDK_ROOT):platforms;android-36,build-tools;36.0.0,platform-tools - Pinned NDK & CMake:
ndk;28.2.13676358,cmake;3.22.1 - Pinned Eliza checkout:
pnpm eliza
Check every local prerequisite before building:
pnpm --filter @repo/app android inputspnpm --filter @repo/app android build # Debug + instrumentation APKs
pnpm --filter @repo/app android build --release # Debug, instrumentation, and release APKs + mapping + SBOM
pnpm --filter @repo/app android build --view-tasks # The launcher that opens each app in its own Android task
pnpm --filter @repo/app android verify # Verify APKs and write apps/app/artifacts/apk-manifest.jsonOmitting --release builds debug and instrumentation APKs only; release validation and CI always
include --release. Instrumentation APKs are test artifacts, not a second distribution.
pnpm cli device logs [--lines N] # logcat of Alpha's process and the tail of the agent's log
pnpm cli device console [--seconds N] # the page's console, exceptions and WebView log as they come
pnpm cli device eval 'document.title' # evaluate in the page; top-level await works
pnpm cli device shot [--out FILE] # a screenshot of the phone
pnpm cli device reload # reload the page
pnpm cli device web [--watch] [--clear] # build the page, push it to a debug Alpha, reload it
pnpm cli device serve [--clear] # serve the page to a debug Alpha from Vite, with hot replacement
pnpm cli device agent [--clear] # build the agent pack, push it to a debug Alpha, restart AlphaEach takes --serial SERIAL (default: the one ready device) and --json. console, eval and
reload go through the WebView's DevTools socket, which a debug Alpha or a userdebug phone offers.
logs, web, serve and agent read and write Alpha's files as root (su 0), so they need a
phone that grants it, such as a userdebug image or a rooted Pixel.
web, serve and agent refuse unless the installed Alpha is a debug build: build one with
ELIZAOS_VERSION_CODE=<above the installed> pnpm --filter @repo/app android build, sign
apps/app/artifacts/launcher-debug.apk with the key the phone's Alpha is signed with, and
adb install -r it. The debug build serves Home's page from files/alpha-dev-web at its usual
https://localhost origin, and starts the agent from files/alpha-dev-agent with the APK's checked
Node and workflow worker, each only while it is newer than the install, so an install always wins
over an earlier push; --clear goes back to the APK's own. serve starts Vite in android mode on
port 5180 and, once it answers, pushes the APK's own Capacitor configuration with server.url set to
http://localhost:5180 to files/alpha-dev-server, forwards the port with adb reverse and restarts
Alpha. Until Ctrl-C each saved change reaches the phone's page by hot replacement, with the phone's
own agent and plugins; the page keeps loading from that address until serve --clear. Its
origin is the server's, so the page starts with empty local storage. The Ask Alpha voice overlay keeps
the APK's page. Only the zero-cloud local runner (local AI, signed out of Alpha Cloud) takes a pushed
agent: signed in, eliza's AgentService starts the APK's, and device agent says which one runs.
The runner reads the agent's host, character and policy and its workflow worker from the APK, so
device agent refuses a pack that changes any of them: that needs an APK. The release build has no
such loader. The launcher sets Capacitor's DisableDeploy (capacitor.config.ts), and the thin
apps set it in suite/thin-app/src/main/res/xml/config.xml, so a page cannot persist another page
to be served; android verify fails a launcher APK without the setting and a release APK with the
loader.
pnpm cli qa run [--area A | --only ID] # the QA matrix over the real agent and model, with a fake phone on this machine
pnpm cli qa device [--area A | --only ID] # the same cases on the real phone, typed into Ask Alpha; every card is declined
pnpm cli qa tasks # walk the launcher that opens each app in its own task on the phone
pnpm cli qa lint # check the matrix against the operations, actions and keys a run can see
pnpm cli qa coverage # each line of the owner's QA list, its cases and their latest local and device results
pnpm cli qa surface # hold the matrix against surface.json, the accounting of what a walk must showThe matrix is packages/cli/src/commands/qa/matrix/*.json, one file per area. A case names a prompt,
the view it starts on, the case it follows (after) and what must hold: views, operations, actions,
the card, the reply and the state. A chain that creates something ends in the case that deletes it,
so a run leaves the phone as it found it. qa device never approves a card, so on the phone a chain
stops at its first reviewed step. packages/cli/src/commands/qa/surface.json lists every button,
field, flow, state, question and CRUD operation of each area, with the cases and journeys that walk
it. qa surface prints what has no case, the CRUD operations no case covers and the creates no
delete follows, and fails on a name that points at nothing or a case that no capability claims.
To preload the verified Robolectric Android 35 framework jar (avoiding Maven Central rate limits on CI):
bash scripts/ci/prepare-robolectric-android.sh "${HOME}/.m2/repository"
(cd apps/app/android && ./gradlew --no-daemon :app:testLauncherDebugUnitTest)Carrier setup reads actual device IMEIs independently of SIM activation when Android permits access, shows per-field denial or unavailable states, and clears values on leaving or backgrounding. Identifier reads require an explicit foreground, unlocked action and never enter routine snapshots or agent context.
Alpha's AOSP image staging, OTA compatibility checks, key management, and release ledger commands
are exposed through @repo/app:
pnpm --filter @repo/app aosp stage --target cuttlefish|pixel10a ...
pnpm --filter @repo/app aosp ota check|apply|status|fallback|stock-archive|verify-stock|retain-known-good ...
pnpm --filter @repo/app aosp verify --target pixel10a|cuttlefish --serial SERIAL --user 0 --expected FILE
pnpm --filter @repo/app aosp os --ledger FILE stage|pass|enable|check|start|interrupt|resume|finish|retain-known-good|fallback|drill
pnpm --filter @repo/app release channel|candidate|mirror|plan|sign|publish|custody ...Host JVM checks for AOSP Fresh Presets (including the OverlayManager RuntimeException fallback):
python3 apps/app/aosp/branding/provision/test_fresh_presets.pypnpm cli ota doctor # the repository's channel addresses, signer records and release workflows agree
pnpm cli ota verify-channel [--download] # what the public launcher and OS channels serve now, read as a phone reads them
pnpm cli ota device [--serial SERIAL] # whether a connected phone can take what the channels serve; reads only
pnpm cli ota emulator-e2e --avd NAME --v1-apk OLD --v2-apk NEW [--mode silent|background|prompt|negative]A phone takes a launcher update only when the channel's release is signed by the key that signed
the Alpha it runs: Android refuses any other, and Alpha keeps no offer signed for another root.
The release key lives only in the protected release workflow, so a build signed on a workstation
(adb install of a locally signed APK, or an image staged with one) is off the channel for good:
ota device reports other-signer, and Settings → General → Check for updates says the
channel's version is signed with a different key. A phone is either a development phone, updated
over the cable, or a channel phone, updated over the air. To put a development phone back on the
channel, flash an image whose preinstalled Alpha is the channel's signed APK (the
Pixel release image, or one staged from the published APK),
then stop installing locally signed builds on it. An image built with its system updater switched
off (os_update_enabled = false, every image until the
OS enrollment is recorded) reads no OS channel, and ota device
reports updater-disabled.
emulator-e2e needs two debuggable builds signed with one key, the newer with the higher version
code; it serves them from a local HTTPS channel and checks four paths on an emulator: a silent
update in front, a screen-off worker that resumes a broken download and updates, a worker that
only caches where Alpha does not own its install record and what Android then does in front, and
the refusal of a wrong digest and of a withdrawn manifest. A scenario that fails keeps the
emulator's log and prints where. It shows the updater's behaviour on that emulator and those
builds, not a release-signed update on a phone.
Successful CI on a push to main starts the launcher release. Publishing the APK starts
the Pixel workflow. It checks that the public
launcher channel still names that APK and records the build input. The next launcher can
then publish while GCP builds and signs each admitted Pixel 10a image in turn. Each signed
production image queues the OS publication,
which publishes the signed OTA to the OS pilot channel and opens the versioned downloads. The
image's own OS updater starts disabled. The compile and signing machines are created
for the run and deleted afterwards. Compute Engine also enforces a shutdown deadline with
automatic deletion if the runner disappears.
If Pixel admission reports No successful main push CI after the launcher has the controller's Pixel inputs, the launcher can already be public. Read its recorded
publication or reconciled ledger, then find a successful main push with the same
protected Pixel inputs as the current controller. Check for an existing Pixel
run for this publication. If one still needs to start, dispatch from current
main using the run and attempt that produced the published launcher receipt.
A rerun of an old job keeps its original controller commit.
gh workflow run release-pixel.yml --repo AlphaPhone/alpha --ref main \
-f publish_run="$PUBLISH_RUN" -f publish_attempt="$PUBLISH_ATTEMPT"To check what a phone can download, run
pnpm cli ota verify-channel --kind all --download --json. Compare the
reported OS build and signing identity with the production release ledger.
The versioned release stays a draft while the Pixel assets are outstanding.
Set up the GCP project once. The administrator needs Compute Engine, service enablement,
service-account and workload identity administration, project and artifact-bucket IAM, and
network provisioning access in alpha-aosp-lab-20261024 (project number 484320254111).
Use a project-authorized Google session and authenticated Terraform Application Default
Credentials, for example gcloud auth application-default login on an administrator's
workstation. Runtime authentication uses GitHub OIDC. The existing five secrets in the
protected GitHub release environment supply both enrolled identities. They stay out of
Terraform, service-account JSON files, VM metadata, and the host images.
Run the custody proof on the reviewed
main commit to verify the public fingerprints.
- Apply the release Terraform module from either
computer using the existing private, versioned bucket
alpha-aosp-lab-20261024-pixel-tfstate. The default Terraform workspace stores shared state underalpha/pixel-release. After initialization, check that the state lists the release network and service accounts. Review the plan before applying it. The module configures the APIs, the private release network, a separate bake network whose only way out is Cloud NAT, OS Login over IAP, main-workflow identity federation and dedicated Google identities. The builder can read delivered APKs and create build artifacts. The signer can read those artifacts and create private signed releases. The release machines have no public address and no route out. The compiler receives no signing secrets. The bake identity answers only to the main host workflow in the main-only, secret-freepixel-buildenvironment. It creates VMs without a service account and rotatesalpha-pixel-builder-*images. The signer dispatcher authenticates only the full revision of the private signer workflow enrolled in Terraform. It can boot the corresponding owner-createdalpha-pixel-signer-*image. Set the optional Terraform variableqa_readersto named Google users or groups responsible for voice and physical QA. It grants read-by-name access to the delivered APK and signed physical artifacts. A reviewer with the receipt can usegcloud storage cp 'gs://BUCKET/OBJECT#GENERATION' FILEand compare the downloaded file against the receipt SHA-256. - Prepare a private, reviewed input snapshot in the Alpha project whenever the Pixel
source lock (
sourceLockinapps/app/aosp/pixel10a-release.json) moves. Record the new lock, snapshot name and ID, OTA tools' SHA-256 and Ubuntu coordinates in the reviewed host inputs. Use an Ubuntu 24.04 amd64 image name and ID fromubuntu-os-cloud. This is the one step a person takes. The bake mounts the whole disk device directly. Use an ext4 filesystem starting at byte zero on a dedicated data disk, withaosp/andotatools.zipat its root. The source tree includes the pinned manifest Git repositories, exact project list and local manifests, stock vendor inventory and declared overrides. Start from a clean source-only checkout with self-contained Git objects and links, with neither build output nor a previousvendor/alphaphonestage. Keep personal home directories, SSH keys, Git credentials and other project data out of this disk. The source lock checks the required Soong patch. Build and review the host OTA tools from the admitted source, then record the archive's SHA-256 independently. It must unpackbin/sign_target_files_apks,bin/ota_from_target_filesandbin/img_from_target_fileswith their supporting tools. Recover.repo/manifest.xmland.repo/local_manifests/alpha-pins.xmlfrom the admitted source archive or a read-only clone of the retained builder's source tree. The lock records the external projects as well as the AOSP projects. Its sorted paths, one per line with a trailing newline, can reproduce.repo/project.list. Check the three configuration files againstmanifest.configurationin.eliza/packages/os/aosp/sources/pixel10a-stallion.jsonbefore copying the source into the input disk. The bake verifies the complete locked inventory.
Host images bake themselves. The host workflow
runs on every main push that touches an input of the image (eliza.lock.json,
pnpm-lock.yaml, package.json, .nvmrc, the release descriptor, the
bake recipe or
guest preparation), and the Pixel release workflow
calls it again for each run's admitted product and main controller before allocating a
builder. It hashes everything the image holds into a key: the Ubuntu image, input snapshot
and OTA tools, the source lock, the eliza commit, Node and pnpm, the recipe, guest
preparation and the pnpm lockfiles of both commits. The compiler image is alpha-pixel-builder- followed by
the key's first 40 hex digits, and its description ends with the whole key. A READY
image with that key is reused; otherwise a bake VM on the bake network clones the input
snapshot read-only, installs the toolchain, builds /srv/eliza at the pin, fills the pnpm
store for both lockfiles, verifies the snapshot against the SDK's physical-source lock, and
proves an offline guest.sh prepare for each commit. The first compiler and each independent signer use the reviewed host inputs
from the controller commit. Later compilers retain the matching compiler family’s snapshot,
OTA tools and recorded Ubuntu image. A new physical lock uses its reviewed inputs. A dispatch with
all five explicit coordinates can exercise a new input set before its reviewed promotion. The builder checks the image's numeric ID before and after allocation. The signer
compares that ID with the resolved compiler image and verifies its own distinct boot image ID.
It accepts the authenticated target files and runs preinstalled signer software. It checks
the packaged launcher, target files and signing policy before receiving any key bytes. Only one bake runs at a time; a bake keeps the three newest family
images and any made in the last two days, and deletes older ones. Regular builds use a
64-vCPU N2 high-memory VM with a 1,500 GB disk. Signing uses a separate 32-vCPU VM with a
fresh disk from the independently enrolled signer image. A bake uses a 32-vCPU N2 high-memory VM with a
1,500 GB disk and a temporary copy of the input disk. Bakes and release VMs do not take turns,
so the module's quota preferences hold one release VM, one compiler bake and one owner signer
bake at once: the global CPU quota and the us-east1 SSD quota are their sums, and change with
these sizes.
On the Linux computer holding the source, set INPUT_ROOT to the mount point of
the prepared ext4 disk and run this from the reviewed Alpha checkout. The first
comparison checks that every locked path appears in the project list. The second
checks the exact bytes of the project list and both manifest files. Use the SHA-256
of the independently reviewed OTA tools as OTATOOLS_SHA256.
(
set -euo pipefail
lock=$(realpath .eliza/packages/os/aosp/sources/pixel10a-stallion.json)
cd "${INPUT_ROOT:?}/aosp"
jq -r '.projects[].path' "$lock" | LC_ALL=C sort | cmp - .repo/project.list
jq -r '.manifest.configuration[] | "\(.sha256) \(.path)"' "$lock" |
sha256sum --check --strict
cd ..
printf '%s otatools.zip\n' "${OTATOOLS_SHA256:?}" | sha256sum --check --strict
)Once the source-only disk is in the Alpha project and unmounted, snapshot it and
retain its exact ID for the bake. SOURCE_DISK and SOURCE_ZONE identify that
disk. Choose an unused SOURCE_SNAPSHOT name. Google Cloud snapshot command
gcloud compute snapshots create "$SOURCE_SNAPSHOT" --project=alpha-aosp-lab-20261024 \
--source-disk="$SOURCE_DISK" --source-disk-zone="$SOURCE_ZONE" --storage-location=us-east1
SOURCE_SNAPSHOT_ID=$(gcloud compute snapshots describe "$SOURCE_SNAPSHOT" \
--project=alpha-aosp-lab-20261024 --format='value(id)')
ubuntu=$(gcloud compute images describe-from-family ubuntu-2404-lts-amd64 \
--project=ubuntu-os-cloud --format=json)
gh workflow run pixel-host.yml --repo AlphaPhone/alpha --ref main \
-f snapshot="$SOURCE_SNAPSHOT" -f snapshot_id="$SOURCE_SNAPSHOT_ID" \
-f otatools_sha256="$OTATOOLS_SHA256" \
-f ubuntu_image="$(jq -er .name <<< "$ubuntu")" -f ubuntu_image_id="$(jq -er .id <<< "$ubuntu")"Apply the module with:
export TF_WORKSPACE=default GOOGLE_CLOUD_QUOTA_PROJECT=alpha-aosp-lab-20261024
terraform -chdir=infra/pixel-release init -reconfigure -backend-config=bucket=alpha-aosp-lab-20261024-pixel-tfstate
terraform -chdir=infra/pixel-release state list
terraform -chdir=infra/pixel-release plan -out=pixel.tfplan
terraform -chdir=infra/pixel-release apply pixel.tfplanEnroll the signer once, and again when its trusted signing software or hardware policy changes.
Read the full AlphaPhone/alpha/.github/workflows/pixel-sign.yml@ revision from the
production compute workflow. Set SIGNER_COMMIT to that
40-character revision. From a separate clean checkout at that revision, using the
operator's Google account and the reviewed bake subnet, run:
bash infra/pixel-release/image/bake.sh bake-signer "$SIGNER_COMMIT"The command creates a fresh alpha-owner-signer-bake-* worker and disks outside the compiler identity’s permissions. It uses the pinned Ubuntu image and R3 snapshot,
installs the signer checkout offline, and checks the resulting GCE image's
sourceDiskId against the owner worker. Keep the reported image ID and link with
the operator's bake log and reviewed Terraform plan. In the main-only GitHub
release environment, set PIXEL_SIGNER_IMAGE to the reported selfLink and
PIXEL_SIGNER_IMAGE_ID to the reported decimal id. Routine product SDK and
compiler image changes keep using this signer. A change to the signer's trusted workflow,
software or hardware policy requires a new owner bake and a reviewed identity binding.
Recover an interrupted image bake. Compiler workers use alpha-pixel-bake-RUN-ATTEMPT. Owner signer workers use
alpha-owner-signer-bake-RUN-ATTEMPT. Both remove the VM and input disk when the bake ends.
If its runner is lost, the VM expires after 12 hours. Compute Engine retains a
disk attached read-only when its VM disappears. After confirming the originating
run has ended, set BAKE_INSTANCE from its log and SOURCE_SNAPSHOT_ID from its plan,
and run the following. It removes only the matching, unattached clone after the VM is
gone. Repeating it on an already-cleaned bake succeeds.
(
set -euo pipefail
[[ "$BAKE_INSTANCE" =~ ^alpha-(pixel-bake|owner-signer-bake)-([1-9][0-9]*-[1-9][0-9]*)$ ]]
token=${BASH_REMATCH[2]}
[[ "$SOURCE_SNAPSHOT_ID" =~ ^[1-9][0-9]*$ ]]
clone="$BAKE_INSTANCE-input"
scope=(--project=alpha-aosp-lab-20261024 --zones=us-east1-b)
gcloud compute instances list "${scope[@]}" --filter="name=$BAKE_INSTANCE" --format=json |
jq -e 'length == 0' >/dev/null
disks=$(gcloud compute disks list "${scope[@]}" --filter="name=$clone" --format=json)
if ! jq -e 'length == 0' <<< "$disks" >/dev/null; then
jq -e --arg name "$clone" --arg token "$token" --arg id "$SOURCE_SNAPSHOT_ID" \
'length == 1 and (.[0] | .name == $name and .labels["alpha-pixel-bake"] == $token
and .sourceSnapshotId == $id and ((.users // []) | length == 0))' <<< "$disks" >/dev/null
gcloud compute disks delete "$clone" --project=alpha-aosp-lab-20261024 --zone=us-east1-b --quiet
fi
)The Pixel project has the build, signing and read-only download publisher
identities from the GCP bootstrap.
On a handoff workstation, run terraform plan against the existing backend to see
any outstanding changes. The publisher's
GitHub identity is restricted to the main OS publication workflow in the
protected release environment. Its storage grant permits reads of the
delivered APK, signed OTA, fastboot image and public AVB key.
For each release, promote the reviewed source to main and use the
launcher release procedure.
Land changes to release workflows on the repository's default branch, develop,
before promoting them to main. GitHub can reject creation or publication
of a release targeting a commit that changes workflows relative to the default
branch. The built-in Actions token cannot receive the extra permission that
GitHub requires in that case. GitHub release API
- The release push reserves the version. On a successful main-push CI run,
the release workflow opens or resumes the private
alpha-v<version>draft at that push's commit and queues protectedprepare, which builds the unsigned APK and its signing plan. It queuesdeliverfor that plan, which signs the APK and stores it privately. A newer main commit has its own reservation. - The same run's
publishjob uploads that exact APK to the stable channel, checks its anonymous download and only then moves the manifest phones read. It reads the manifest back and records the floor. Phones on v1174 take this launcher once through Settings → General → Install update. Subsequent releases can install in the background when the phone has silent-update authority and meets the device conditions. Wireless update handoff queue-pixelstarts release-pixel. It verifies the publication, current stable manifest, private receipt, and candidate ancestry, then runs build on the enrolled image. A longer build continues in finish-build while the original VM is still running. sign re-derives the APK and APEX signing map, verifies the embedded APK, proves custody, and uses the full-image signer. Itspixel-build-<attempt>andpixel-sign-<attempt>receipts carry the production fingerprint, OTA, fastboot image, verified boot metadata, signed target-files and release record with their private locations.- release-downloads queues the OS publication with the Pixel run, admission
attempt and signing attempt. It verifies the signed OTA's digest and release
key, publishes it to
os-pilot, reads the public manifest and ZIP back, and finalizesalpha-v<version>. For a launcher that predates versioned drafts, it queues the standalone OS publication instead. No recovery drill holds publication back; the drills and OS updater enrollment on GCP govern only whether later images turn their own updater on.
Physical QA stays useful after the fact: a backed-up spare can take the published launcher and OTA and record the four recovery drills under the build and recovery issues. Upgrade paths · Physical QA handoff
If the launcher publication moved the public manifest and then failed while reading it
back, identify the failed publish run and its exact attempt. Dispatch the protected
read-only recovery from main.
gh workflow run release.yml --repo AlphaPhone/alpha --ref main -f operation=reconcile \
-f publish-run="$FAILED_PUBLISH_RUN" -f attempt="$FAILED_PUBLISH_ATTEMPT"The recovery reads the archived ledger and the private delivery receipt
used by that attempt. It verifies the live signed APK and original manifest, records
the launcher floor and queues the Pixel workflow. Its release-ledger-<attempt> artifact contains
the recorded signer file and the IDs and digests of both original GitHub artifacts.
Use the successful reconcile run ID and attempt for subsequent Pixel builds.
Download a completed version. The protected OS publication verifies the single OTA at the existing OS pilot URL before the combined GitHub release opens. The launcher's stable feed advances as soon as its publication succeeds, while its Pixel download page is still a draft. All public OTA downloads stay on GitHub. A signed whole OTA at or above 2 GiB holds both publication paths before any public OS upload or manifest change. The handset's general limit for reading an OS update manifest remains 12 GiB for the archive it describes.
Open alpha-v<version> in GitHub Releases, or download its assets to an empty
directory. Set VERSION to the launcher version printed by the release.
release_dir=$(mktemp -d)
gh release download "alpha-v${VERSION}" --repo AlphaPhone/alpha --dir "$release_dir"The release index names the original launcher source and CI run, the actual
Pixel source, SDK and CI run, and the signed APK, fastboot image, AVB public
key and whole OTA. Its pixel.attempt identifies admission and
pixel.signAttempt identifies the successful signature. A later OS build
that reuses the same launcher has its own
alpha-os-<buildNumber> release if that launcher version already has a
completed bundle. Use that tag in the same download command.
Verify the files from the download directory. This also downloads the whole OTA for this release, even after a newer OTA reaches the channel. When GitHub holds the factory image in parts, the command assembles them in index order and checks the complete image. Each file is checked against its indexed size and SHA-256.
(
set -eu
cd "$release_dir"
index=alpha-release-bundle.json
test "$(jq -er .schema "$index")" = alpha-release-bundle/v1
check_file() {
[ "$(wc -c < "$1" | tr -d '[:space:]')" = "$2" ] &&
[ "$(shasum -a 256 "$1" | cut -d ' ' -f 1)" = "$3" ]
}
rows=$(mktemp .release-files.XXXXXX)
joined=$(mktemp .fastboot-image.XXXXXX)
partial=$(mktemp .os-ota.XXXXXX)
trap 'rm -f "$rows" "$joined" "$partial"' EXIT
jq -er '([.apk, .avb] + .fastboot.parts)[] | [.name, .bytes, .sha256] | @tsv' "$index" > "$rows"
while IFS="$(printf '\t')" read -r name bytes sha; do
case "$name" in ''|.*|*/*) exit 1 ;; esac
check_file "./$name" "$bytes" "$sha"
done < "$rows"
image=$(jq -er '.fastboot.name | select(test("^alpha-pixel10a-[A-Za-z0-9._-]+-fastboot[.]zip$"))' "$index")
bytes=$(jq -er .fastboot.bytes "$index")
digest=$(jq -er .fastboot.sha256 "$index")
if [ -f "./$image" ]; then
check_file "./$image" "$bytes" "$digest"
else
jq -er '.fastboot.parts[].name' "$index" > "$rows"
while IFS= read -r name; do cat "./$name" >> "$joined"; done < "$rows"
check_file "$joined" "$bytes" "$digest"
mv "$joined" "./$image"
fi
ota_url=$(jq -er '.ota.url | select(test("^https://github[.]com/AlphaPhone/alpha/releases/download/os-pilot/[A-Za-z0-9][A-Za-z0-9._-]{0,127}[.]zip$"))' "$index")
ota=${ota_url##*/}
bytes=$(jq -er .ota.bytes "$index")
digest=$(jq -er .ota.sha256 "$index")
if [ -f "./$ota" ]; then
check_file "./$ota" "$bytes" "$digest"
else
curl --fail --silent --show-error --location --proto '=https' --proto-redir '=https' --retry 3 --output "$partial" "$ota_url"
check_file "$partial" "$bytes" "$digest"
mv "$partial" "./$ota"
fi
printf 'Verified %s, %s, the APK and the AVB key.\n' "$image" "$ota"
)Android's OS updater fetches the same whole archive from its reviewed pilot manifest. GitHub Releases
A Pixel build for an existing launcher publication can be dispatched with
gh workflow run release-pixel.yml --repo AlphaPhone/alpha --ref main -f publish_run="$PUBLISH_RUN" -f publish_attempt="$PUBLISH_ATTEMPT".
With the enrolled signer at 27238fff, dispatch a fresh release-pixel.yml run
to recover a failed build or signing job. Repeat the original publication, purpose
and any explicit delivery_run, os_ci_run and os_ci_attempt inputs. For a
versioned release whose OS source was selected automatically, pass the successful
main-push CI run and attempt for that recorded source to rebuild the same commit.
The new run ID gives it a fresh create-only storage prefix and works with earlier admitted
product CLIs. An in-place retry after a partial upload requires both an OS source
that understands --job-attempt and an enrolled signer that reads and writes those
attempts. If both attempts uploaded a receipt, the publisher uses the immutable
artifact ID and digest recorded by the successful signing job. A fresh run is
needed if those records are missing or the failed continuation deleted its builder.
For a versioned release, the automatic Pixel build uses the launcher's verified
commit when its Pixel release inputs (board release configuration, eliza.lock.json,
the Pixel descriptor, channel and enrollment records and apps/app/aosp/signing)
equal the main controller's, which the source check
requires. Otherwise it takes the newest commit with a successful main-push CI run
that descends from the launcher, is in the controller's history and has the
controller's inputs, and stops before allocating a VM if there is none. To choose
another OS source, add -f os_ci_run="$OS_CI_RUN" -f os_ci_attempt="$OS_CI_ATTEMPT"
to the Pixel dispatch above; these inputs also select a later OS-only release for the
currently published launcher. To see whether a commit passes, run the same check
from a clean checkout of the main commit:
GITHUB_SHA="$(git rev-parse HEAD)" PIXEL_SOURCE="$OS_SOURCE_SHA" bash .github/actions/pixel-vm/source.shEach build embeds the APK from the same public launcher publication.
For an earlier publication that
only wrote the original release-ledger, add -f delivery_run="$DELIVERY_RUN". Use the
first, successful publication attempt and the matching private signed delivery. The
workflow checks the live public APK digest, the published ledger and the exact delivery.
To publish a signed Pixel run again, set PIXEL_RUN to its run ID,
PIXEL_ATTEMPT to the run attempt that admitted the launcher and
SIGN_ATTEMPT to its successful signing attempt. They may differ after
rerunning a failed job.
gh workflow run release-os-ota-publish.yml --repo AlphaPhone/alpha --ref main \
-f pixel_run="$PIXEL_RUN" -f pixel_attempt="$PIXEL_ATTEMPT" -f sign_attempt="$SIGN_ATTEMPT"The workflow derives the OTA object and generation from the signed receipt. It checks the whole public OTA and its pointer before completing the versioned downloads. If only the download page job fails, rerun the failed job on that publication run. It resumes the original draft and verifies assets already uploaded. Every production signing queues this publication from its protected receipt.
Legacy v1294 publication. Run 46800128415
predates release-downloads; publish a run of that era with the standalone OS
path below. Set TESTED_PIXEL_RUN to its run ID and TESTED_PIXEL_ATTEMPT to its
admission attempt from its pixel-sign-<attempt> artifact name. Set
REVIEWED_MAIN_SHA to the full commit currently on main, then run:
(
set -eu
receipts=$(mktemp -d)
gh run download "$TESTED_PIXEL_RUN" --repo AlphaPhone/alpha \
-n "pixel-sign-$TESTED_PIXEL_ATTEMPT" -D "$receipts"
signed="$receipts/sign-receipt.json"
test "$REVIEWED_MAIN_SHA" = "$(gh api repos/AlphaPhone/alpha/commits/main --jq .sha)"
gh workflow run release-os-ota-publish.yml --repo AlphaPhone/alpha --ref main \
-f workflow_commit="$REVIEWED_MAIN_SHA" -f asset_name="alpha-os-$TESTED_PIXEL_RUN-$TESTED_PIXEL_ATTEMPT.zip" \
-f signed_ota_object="$(jq -er .ota.object "$signed")" \
-f signed_ota_generation="$(jq -er .ota.generation "$signed")" \
-f signed_ota_sha256="$(jq -er .ota.sha256 "$signed")"
)This publishes the signed archive to os-pilot. A later launcher
with its own successful main-push CI can use the combined page flow above.
Use the reviewed Alpha commit and its eliza.lock.json on the Linux AOSP
host. Run pnpm install --frozen-lockfile and pnpm eliza with Node 26.
The pinned SDK source lock admits the AOSP project revisions, local manifests,
vendor extraction and patch inputs. The bake, stage and signer select pixel10a from the
SDK's aosp.lock.json. Alpha pins that catalog and the selected Pixel inventory
separately in aosp/pixel10a-release.json. The product and signing receipts record
the inventory digest. To inspect the request, run pnpm --filter @repo/app aosp source-request --aosp-source "$AOSP_ROOT" --factory-image "$STOCK_ZIP". The SDK
reads the release board configuration and the stock vendor VINTF manifest from that
checkout to verify their API levels. Verify the stock factory archive against the
Pixel channel record. Obtain the
exact release-signed launcher through private delivery.
Have the release owner review a separate schema 1 launcher descriptor with
brand of alpha, moduleName of AlphaPhone, and packageName of
ai.alphacompute.alphaphone. Set apkSha256 from the delivery receipt and
certificateSha256 from the release signer.
Use the ordered firstBootGrants for defaultPermissions and alphaPrivileged
for the image-preinstalled silent update lane's privilegedPermissions.
Both lists are in the image spec. Make Android
SDK build-tools 36's aapt and apksigner available on PATH or supply their
paths to the stager.
From the Alpha checkout, set the paths to the admitted inputs and stage into a fresh product directory:
pnpm --filter @repo/app aosp stage --target pixel10a \
--apk "$SIGNED_APK" --descriptor "$LAUNCHER_DESCRIPTOR" \
--aosp-source "$AOSP_ROOT" --factory-image "$STOCK_ZIP" \
--output "$AOSP_ROOT/vendor/alphaphone"Name applicable reviewed source patches with --patch. For listener-inclusive
qualification, use the reviewed listener inputs and patches in
Building the image. Keep OS enrollment
disabled in the qualification build. In the admitted AOSP checkout under Bash:
source build/envsetup.sh
lunch alpha_stallion_phone-cp2a-user
export BUILD_NUMBER="$REVIEWED_BUILD_NUMBER"
m target-files-package otatools-package distBuild a disabled production baseline and a newer compatible update with a
higher build timestamp. Give each its own build number and release record.
Retain the staging output and the
launcher.json and physical-product.json records. Keep the Alpha, Eliza,
and AOSP revisions, build number, launcher digest, and unsigned target-files
and release-tools digests. The signing custodian needs the same
admitted AOSP tree or a reproducible copy with the stock and patch inputs.
Production Cuttlefish staging needs the x86_64 launcher and enrolled host
package versions, package digests and platform certificate digest. Record
them in the Cuttlefish descriptor when
they are reviewed. Record development Cuttlefish boots as smoke evidence.
On the controlled signing host, review the signing request schema.
Alpha supplies its descriptor, product, channel and key manifest. Bind the
admitted source, exact target-files hash, executable releasetools, APK signer
map and APEX container/payload maps. Verify the retained release-tools archive
digest before using the tools. Run pnpm --filter @repo/app aosp sign --request FILE --dry-run, then
run the same command without --dry-run after the reviewed inputs pass.
Keep the signed target-files, OTA archive, AVB public metadata and
release-record.json. Generate the flashable image from the signed
target-files. The hosted preserving signer retains the APK, APEX and AVB
keys of its input image. Use full-image signing to establish the production
user/release-keys base.
A hand-signed OTA is published the same way as a GCP one, without drills. The
release custodian stores it with a create-only write under
signed/os-ota/<sha256>/<32-hex-id>/ota.zip in the workflow's private release
bucket. Dispatch the OS publish workflow
on main with workflow_commit, signed_ota_object, signed_ota_generation,
signed_ota_sha256 and asset_name, and read back the anonymous archive and
manifest. On a backed-up spare, the physical operator can record the signed
update, interrupted update, compatible recovery and stock restore drills under
the build issue and
the recovery issue; they
feed updater enrollment below, not publication.
Complete all four recovery drills on the disabled production image and publish its qualified production OS OTA. The four drills exercise physical recovery. Measuring the native updater's cache and its handling of an already-applied update requires a spare that actually runs the updater.
- Reserve a private lab HTTPS origin reachable by the spare over a validated
unmetered Wi-Fi network. Use a hostname and TLS certificate trusted by the device,
restrict access to the lab network, and serve static files with HTTP Range support.
The phone reads the manifest and ZIP without a Google login. Only the lab operator
needs access to the private GCS bucket. Configure Terraform
qualification_readersfor those Google identities andresolution_operatorsfor the people permitted to submit challenges and retrieve decisions. - Commit a reviewed
apps/app/aosp/pixel10a-qualification.json. Use theledger,knownGood,manifest,sourceLockSha256,productMakefileSha256andpublicationfields documented below. Setschemato1. SetmanifestUrlto the spare's HTTPS manifest URL. Supply fourevidencefile/digest references forsigned-update,interrupted-update,compatible-rollbackandstock-recovery. Each report recordsschema: 1, the matchingdrill,result: "passed"and observed device results. For a published OTA newer than the retained baseline, also link its release record aspublishedRelease. Runpnpm --filter @repo/app -s aosp qualification-check. - From the reviewed main commit, manually dispatch the private lane. Use the
qualified launcher's successful public release run and attempt, as for an OS-only
release. A publication that used the original release ledger also needs its
delivery_run. Once the workflow admits those inputs, it builds and signs automatically. Dispatch a second run for the newer qualification image. The private signer writes a signed fastboot image, OTA, lab manifest and receipts into the separate bucket underpixel-qualification/RUN/ATTEMPT/sign/.
gh workflow run release-pixel.yml --repo AlphaPhone/alpha --ref main \
-f purpose=qualification -f publish_run="$PUBLISH_RUN" -f publish_attempt="$PUBLISH_ATTEMPT"
gh run download "$PIXEL_RUN" --repo AlphaPhone/alpha \
-n "pixel-qualification-sign-$PIXEL_ATTEMPT" -D "$RECEIPT_DIR"- Back up the spare and use the signed fastboot baseline from the first receipt.
For the target from the second receipt, fetch its
.manifestand.otaobjects by exact generation and compare size and SHA-256 with the receipt. Serve the ZIP at/ota/<sha256>.zipand move the manifest to the reviewed private URL after verifying that the spare can retrieve the ZIP. Both images must use the qualification fingerprint and private feed. Preserve the original manifest and all tested binaries. Exercise cache pressure and observe the post-boot journal on this spare. To exercise supersession, offer a reviewed, strictly newer signed C on the isolated feed while B is held. Use the next approved release if a suitable C has not been cut yet. - Exercise withdrawal of applied B and supersession by C separately on the spare. For each, record B's digest, the update engine state, the active and next-boot slots, whether automatic reboot stayed on hold, and the fingerprint after an ordinary reboot. Keep device-bound challenges private. Use the protected owner decision workflow for each case. After withdrawal, verify recovery retains the source and refuses the same applied artifact. After supersession, verify the owner can finish the exact applied build B. SDK dependency · Cache evidence · Recovery evidence
To stage a target on the lab's static HTTPS server, set LAB_ROOT to its document
root and RECEIPT_DIR to the directory holding the downloaded target receipt.
Run from the reviewed release checkout on the lab operator's Linux workstation.
The web server should accept requests only from the lab network and support byte ranges.
set -euo pipefail
receipt="$RECEIPT_DIR/sign-receipt.json"
bucket=alpha-aosp-lab-20261024-pixel-qualification
jq -e --arg bucket "$bucket" '.purpose == "qualification" and
.ota.bucket == $bucket and .manifest.bucket == $bucket' "$receipt" >/dev/null
lab_url=$(pnpm --filter @repo/app -s aosp qualification-check | jq -er .manifestUrl)
manifest_path=$(node -e 'process.stdout.write(new URL(process.argv[1]).pathname)' "$lab_url")
manifest_parent=$(dirname "$LAB_ROOT$manifest_path")
install -d -m 0755 "$LAB_ROOT/ota" "$manifest_parent"
incoming=$(mktemp -d "$manifest_parent/.qual-XXXXXXXX")
ota_stage=$(mktemp -d "$LAB_ROOT/ota/.qual-XXXXXXXX")
trap 'rm -rf -- "$incoming" "$ota_stage"' EXIT
for item in ota manifest; do
source=$(jq -er --arg key "$item" '.[$key] | "gs://\(.bucket)/\(.object)#\(.generation)"' "$receipt")
file="$incoming/$item"
if [[ "$item" == ota ]]; then file="$ota_stage/ota"; fi
gcloud storage cp "$source" "$file"
test "$(wc -c < "$file" | tr -d '[:space:]')" = "$(jq -er --arg key "$item" '.[$key].bytes' "$receipt")"
expected=$(jq -er --arg key "$item" '.[$key].sha256' "$receipt")
printf '%s %s\n' "$expected" "$file" | sha256sum -c -
chmod 0644 "$file"
done
ota_sha=$(jq -er .ota.sha256 "$receipt")
ota_url=$(node -e 'process.stdout.write(new URL("/ota/"+process.argv[2]+".zip",process.argv[1]).href)' "$lab_url" "$ota_sha")
jq -e --arg url "$ota_url" --arg sha "$ota_sha" '.url == $url and .sha256 == $sha' "$incoming/manifest" >/dev/null
if [[ ! -e "$LAB_ROOT/ota/$ota_sha.zip" ]]; then
ln -T -- "$ota_stage/ota" "$LAB_ROOT/ota/$ota_sha.zip"
fi
printf '%s %s\n' "$ota_sha" "$LAB_ROOT/ota/$ota_sha.zip" | sha256sum -c -
test "$(curl -fsS -H 'Accept-Encoding: identity' -r 0-0 --max-filesize 1 \
-D "$incoming/headers" -o "$incoming/first" -w '%{http_code}' "$ota_url")" = 206
size=$(jq -er .ota.bytes "$receipt")
tr -d '\r' < "$incoming/headers" | grep -Fxi "Content-Range: bytes 0-0/$size"
test "$(wc -c < "$incoming/first" | tr -d '[:space:]')" = 1
cmp -n 1 -- "$incoming/first" "$LAB_ROOT/ota/$ota_sha.zip"
mv -fT -- "$incoming/manifest" "$LAB_ROOT$manifest_path"
curl -fsS --max-filesize 65536 "$lab_url" | cmp - "$LAB_ROOT$manifest_path"The private lane uses independent Google service accounts and storage. The public
publisher refuses its signed build-number prefix alpha.qual. even if an archive
is copied into production storage. Qualifying a spare produces evidence for the
separate fleet enrollment review below.
On the spare, export a fresh owner challenge from the system updater. Compare its
action, source, applied build B and digest with the device and the release receipt.
For finish-superseded, also check that the successor is the intended, strictly newer
offer. For recover-withdrawn, independently confirm the withdrawal with the release
owner. Loss of network connectivity does not establish withdrawal.
From an authorized operator account, submit that exact file to private storage. The
command below uses bash and the Google and GitHub CLIs. Set CHALLENGE to the
exported file, ACTION to the reviewed decision and APPLIED_SHA256 to B's OTA
digest. Use a clean checkout of the reviewed main commit.
set -euo pipefail
private=gs://alpha-aosp-lab-20261024-pixel-qualification/owner-resolutions
digest=$(shasum -a 256 "$CHALLENGE" | cut -d' ' -f1)
request="$private/requests/$digest.txt"
gcloud storage cp --if-generation-match=0 "$CHALLENGE" "$request"
generation=$(gcloud storage objects describe "$request" --format='value(generation)')
gh workflow run release-pixel-resolution.yml --repo AlphaPhone/alpha --ref main \
-f workflow_commit="$(git rev-parse HEAD)" -f action="$ACTION" \
-f applied_sha256="$APPLIED_SHA256" -f challenge_sha256="$digest" \
-f challenge_generation="$generation"The protected job checks the action and applied OTA digest against the exact challenge the authorized operator submitted. After it succeeds, download the signature and import it on the same phone before the one-hour challenge expires. Generate a fresh challenge if the device boot, engine status, offer or expiry has changed.
signature="$private/signatures/$digest.sig"
generation=$(gcloud storage objects describe "$signature" --format='value(generation)')
gcloud storage cp "$signature#$generation" owner-resolution.sigThe four cable drills exercise the phone's recovery and slot transitions. The disabled Android updater exits before it reads its private journal or collects cached payloads. For cache retention, retain the pinned SDK test results and the spare's observed storage use under repeated offers. For applied-candidate recovery, record the release owner's withdrawal policy, the journal and slot observations for applied B when its offer changes, and the result of an ordinary reboot.
Collect native updater evidence on an owner-approved isolated spare after all four drills and the initial signed production publication. This requires a qualified lab setup with an enabled signed baseline, a newer enabled signed target and a controlled HTTPS feed. Record the build identities, feed, actual engine decisions and boot outcome. The production workflow uses Alpha's public OS feed. Keep fleet enrollment pending while the private qualification setup or device evidence is outstanding.
Once the owner has performed the four physical drills and verified the public production OTA,
record the results and each of the OS gates with
pnpm --filter @repo/app aosp os --ledger FILE. Record each observed result and end the ledger
with enable. Preserve the known-good signed release record and the exact public OS manifest
downloaded during qualification. Update recovery.knownGoodRelease and all four drills fields
in the Pixel channel record. Keep raw device logs
and identifiers private. Commit redacted evidence receipts that identify the observed outcome
and image digests, and that the release owner can match to the raw evidence.
Submit one reviewed main change with apps/app/aosp/pixel10a-enrollment.json and the evidence.
While that record is absent, GCP builds ship with os_update_enabled = false. The enrollment
record uses schema 1 and these fields.
| Field | Value |
|---|---|
ledger, knownGood, manifest |
Each is a { "file": "aosp/release-evidence/NAME.json", "sha256": "…" } reference. Put the saved ledger, known-good release record and downloaded manifest under apps/app/aosp/release-evidence/. Use the exact knownGood.file in recovery.knownGoodRelease.recordFile. |
sourceLockSha256 |
The sourceLock.sha256 in apps/app/aosp/pixel10a-release.json. |
productMakefileSha256 |
The SHA-256 of the generated alpha_stallion_phone.mk in the qualified disabled build's physical-product.json. Retrieve the product receipt using its private location and generation, then read the matching artifacts[] entry. |
publication |
The successful OS publish run's run ID, attempt number and commit SHA on main, all as strings. |
evidence |
One file and sha256 reference in the same form for each gate and drill listed below. A redacted report may cover several outcomes. |
Use evidence keys signed-image, channel, trust, selinux, engine, physical-recovery,
cache-retention, candidate-recovery, signed-update, interrupted-update,
compatible-rollback and stock-recovery. Review the evidence and the replayed ledger in the
same change. pnpm --filter @repo/app -s aosp enrollment-check verifies evidence hashes,
ledger transitions, the retained release identity and the production manifest. GitHub also
checks the protected OS publication, original archive and the current channel before GCP runs.
After the change reaches main, the next launcher publication starts the usual
GCP workflow. The builder applies the enrollment against the reviewed makefile and stores its
receipt. Both the build and signing steps check the compiled updater state in their archives.
For an enrolled build they also verify the updater's channel URL and certificate digest.
A stock or test-key phone first needs physical provisioning onto the production release-key
baseline. A launcher update changes only the app.
Install this first signed, enabled image once on the backed-up, release-key pilot under the
physical operator's control. Build, sign and publish a newer compatible OS release through
the same workflow, then verify that the enrolled pilot downloads, installs and boots that
release unattended before expanding deployment.
Keep verification layers strictly distinct; never claim one proves another:
- Workspace verification (
pnpm verify): spec proofs, unit tests, browser tests, lint, static analysis. - APK build and verification (
android build --release+android verify): packaging, bundle audit, runtime inventory, dex classes, signer. - Emulator HOME-role and instrumentation run: x86_64 Android 35 SDK emulator checks.
- Full AOSP image boot: Cuttlefish or Pixel 10a (
stallion) Android 17 image staging and boot. - Real integrations and physical device/owner acceptance: live services, carrier, hardware audio, and owner sign-off.
See pixel-cutover-baseline.md for Pixel hardware baseline capture.
pnpm --filter @repo/app licences # Regenerate apps/app/public/licenses/{THIRD_PARTY_NOTICES.txt,third-party-notices.json}
pnpm cli eliza-pin [--commit SHA] [--json] # Advance eliza.lock.json, build it and regenerate the notices
pnpm cli eliza-pin --prune [--keep N] [--apply] # List (or remove) the built checkouts of pins no worktree needs
pnpm --filter @repo/app licences --sbom apps/app/artifacts/sbom/alpha.cdx.jsonSee apps/app/licenses/README.md for licence inventory inputs and policy.
gen/andapps/app/gen/are generated fromspec/bypnpm gen.apps/app/.cache/android-web/is the Android web bundle audited byapps/app/scripts/android.ts audit.apps/app/artifacts/holds built APKs, R8 mappings,apk-manifest.json, and CycloneDX SBOMs.