Repository navigation
AndroidForge v1.1.0 — Verification primitives and safer agent evidence
AndroidForge v1.1.0 is an additive release on the 1.x stable line. It adds the primitives that were
missing from full Compose release verification: frame statistics, launch/first-frame capture, bounds
and colour assertions, deterministic fixture and network state, AVD capacity/ports, scenario files,
named screenshot baselines, accessibility/contrast audits, a build engine and a safer physical-device
capability split. It also closes the artifact-secret gap with scanning and forced bundle refusal.
The JSON envelope and run report schema remain 1. Existing commands keep their 1.0.0 behaviour when
the new flags are absent, and the 1.0.0 device alias for devices is retained.
Status: release gate complete for the supported scope. The host gate, delegated physical-device
campaigns and packaged assets are recorded inVERIFICATION.mdand in the verification section
below. Items explicitly listed as NOT RUN are not claimed as verified.Measured: 219 catalog commands, 221 MCP tools, 38/38 schemas; the full-workspace gate recorded
784 passed / 0 failed across 29 suites before the final two safety fixes, and the post-fix CLI gate
recorded 375 passed / 0 failed for the final code. Envelope and report schema stay at1.
Highlights
- Build in one audited command:
buildruns an explicit argv-array[build.commands.<variant>]
configuration, bounds and redacts logs, verifies APK identity, and optionally installs, launches or
cold-launches through the fixed force-stop path.--dry-runexecutes nothing. - Frame and launch evidence:
diagnostics framesreports frame counts, jank, percentiles, missed
vsync/slow-UI/deadline counts and a histogram, with optional stored-baseline regression gates.
capture launchsamples repeatedscreencapPNGs and reports the first app frame, first-frame
colour and splash/white/black frame counts without ffmpeg. - Layout, colour and accessibility assertions:
ui bounds,ui assert-bounds,
ui wait --for-bounds-stable,capture assert-color,capture contrast,ui audit a11y,
ui observe --semanticsand namedcapture baseline save/update/compareon the existing PNG diff. - Deterministic test state: declarative fixture
prefs/history/installed_versionstate with
explicit data consent; network mock scenariosnewer-release,offline,bad-digestandno-APK;
device night/locale/font/network scenarios; AVDimages/create;doctor --capacity;ports list;
and host device tags for matrix targeting. - Scenario files:
scenario run/validateaccepts JSON or TOML (YAML is intentionally unsupported),
maps allowlisted steps to audited operations, and reports--repeat, per-step error policy, pass
rate and duration variance. Runs are recorded as normal run steps. - Supply-chain safety:
artifacts scan-secretsscans bounded artifact text and never prints matched
values;diagnostics logcat --redact-patternsmasks caller-supplied literal prefixes;
report bundle --redact-secretsforces redaction and refuses to write a bundle if a suspected secret
remains. Binary screenshots/recordings are disclosed as not pixel-redacted. - Fine-grained physical capabilities:
Risk::{AppControl,Data,Network,Install,Input}with scoped
--allow-physical-*flags, while--allow-physical-mutationremains the superset.devices shell --read-onlyuses an allow/deny prefix contract and needs no physical grant;devices input tap
keeps the narrowRisk::Inputgate. Both record run steps. - Reporting and agent output: run tags/metadata,
--session/--tag/--sinceselectors, report
budgets, retention--keep-tag, scopedapp data export,--jsonlNDJSON,--fieldsresult
trimming and--statsexact stdout byte/token counts.
Compatibility and upgrade notes
- No breaking changes. The envelope and report schema stay
1; new report/result fields are
additive and defaulted. The 1.0.0devicealias fordevicesremains valid. - Both executables must be
1.1.0: the desktop requires an exact CLI version match. - Supported host: Windows 10/11 x86_64. Linux and macOS are not validated.
- The per-user installer preserves configuration and artifacts outside
{app}; the portable ZIP keeps
the CLI and desktop binaries adjacent. No state-file migration is required. --jsonlis a presentation mode; it implies--jsonand emits one minified object per line. The
final line is the normal envelope.--fieldsonly trims the top-level keys of the result object and
never removesschema_version,status,command,exit_code,resultorerror.--stats
writes one JSON line to stderr and leaves stdout unchanged.
Known limitations
run repeat --countis NOT RUN; flake detection is provided byscenario run --repeat, which
records per-step results, pass rate and duration variance. A generic repeater would re-execute
arbitrary commands outside the audited step model.- Cross-device geometry/colour comparison is NOT RUN; device tags and report metric comparison are
shipped, but a normalised multi-device geometry collector is deferred. logcat start --redact-patternsapplies the prefixes when the capture is stopped, before artifact
registration, because the detached capture stream has a fixed state schema. The active raw file is
not guaranteed redacted untillogcat stop.- Binary screenshots, recordings and other media are not scanned or pixel-redacted.
- Scenario manifests support JSON and TOML only; YAML is unsupported by design.
- Physical-device scope and every unchecked item are recorded in
VERIFICATION.md; nothing is claimed
as verified without recorded evidence.
Verification
Host gates
- Full workspace gate (before the final two safety fixes):
cargo fmt --all -- --checkclean, strict
workspace clippy clean,cargo test --locked --workspace784 passed / 0 failed across 29 suites,
andcargo deny check advisories bans licenses sourcespassed. - Post-fix CLI gate (authoritative for the final code): 375 passed / 0 failed — bin 244, cli 91,
frames 3, safety 22, schema 15. CLI clippy was clean and cargo-deny passed again. The final fixes
were that physicaldiagnostics performancenow requiresRisk::AppControl, and that
diagnostics performanceis classifieddevice-mutationin the catalog and MCP with MCP
confirm=trueunlessdry_run=true.
Physical campaigns (delegated)
- Read-only campaign on the user-approved POCO X4 GT (
DM9X8LFQYHSSQKIN, Android 14 / API 34),
sessionses-57fd8c88e1b3: 12/12 steps passed, no mutations and no NOT RUN. CalcSuite 3.1.0 /
code 8 was foreground with PID 32318; 111 UI nodes were observed;ui observe --semantics
reported 95 total / 64 capped nodes and CalcSuite exposes no Composetest_tag. Algebra bounds
were[72,2185][206,2295];ui boundsreported all eight fields and
ui assert-bounds --bottom-y 2295 --tolerance 2passed. Screenshot SHA-256
b0fbed00b7098f97d23e16b58b4947a637b9c204a2fd0b9c2631a9d358e3a7d9(2,772,973 bytes).
ui audit a11yfound 42 missing-content-description errors and no contrast, target or duplicate
findings. The session was released and artifacts were cleaned. - Approved mutation campaign, session
ses-8596811196fe:app launch com.calcsuite --force-stop --allow-physical-app-controlyielded PID 32318 in the foreground with component
com.calcsuite/.MainActivityand a run report that exited 0 / passed;devices input tap 279 2204 --allow-physical-inputreturned a dispatched receipt withRisk::Inputand made the Algebra tools
visible;ui back --allow-physical-inputrestored Home. The launch shell capture returned no
stdout and exit 1, but the CLI run report and subsequent UI inspection both confirmed success.
Only explicitly approved flags were used, and the session was released.
Packaged assets
| Asset | Bytes | SHA-256 |
|---|---|---|
androidforge.exe (target\release) |
23,362,560 | 6e49c9f995c35a2b5968fc2b5615677179b532663d590166b54742c5de852aa4 |
androidforge-desktop.exe |
15,638,528 | 977cf28495aacb14f381af747c96add619ad9ae8147f707365e4ab4f227d24ad |
androidforge-cli-windows-x86_64.zip |
8,350,742 | 92bf048f0d0e022fbb947ba351314c5ff98ade4d45cc9d1a4b177133f8225a0b |
androidforge-desktop-windows-x86_64.zip |
15,241,545 | 7a8d2325aa416f701fbf27fc42cb3f926889a63359153a6c7174acf6a4157c90 |
androidforge-windows-x86_64-setup.exe |
11,425,383 | 71dc973b084349d5c5676e96d3ca62971d566a166459bf3f627d287cc3b9ca5e |
The CLI reports androidforge 1.1.0; the installer reports FileVersion / ProductVersion 1.1.0.
dist/SHA256SUMS.txt matches all five listed files. The desktop ZIP contains both EXEs, LICENSE,
README, USER_GUIDE, CHANGELOG, THIRD_PARTY_NOTICES and both font OFL files; the CLI ZIP contains only
androidforge.exe. The Scoop manifest hash is updated to the desktop ZIP hash. No screenshot ZIP was
produced. A silent install/uninstall cycle was NOT RUN: the installed Desktop release directory
was left untouched.
NOT RUN
- Physical
diagnostics performance(not approved) and the device night-mode scenario (not
approved). - Silent install/uninstall (installed Desktop release directory untouched).
- Standalone
run repeat --count;scenario run --repeatis the supported flake-reporting path. - Cross-device geometry/colour comparison; the normalised multi-device geometry collector is
deferred. - No v1.1.0 screenshot gallery was produced; the v1.0.0 gallery remains the representative one.
- MCP interactive checks (handshake,
confirm=truegating, physical flags stripped, unsafe commands
excluded), desktop binary--versionverification, other vendor ROMs, live update/repair against a
published 1.1.0 release, macOS/Linux hosts, code signing and long-duration stress.
Verification checklist
- Host gate:
cargo fmt --all -- --checkclean, strict workspace clippy clean, full
cargo test --locked --workspace784 passed / 0 failed across 29 suites,cargo deny check advisories bans licenses sourcespassed;cargo check --workspaceclean and the rebuilt CLI
reportsandroidforge 1.1.0. - Counts and schemas: catalog 219 commands, MCP 221 tools and 38/38 schemas; envelope
and report schema remain at1. - Post-fix CLI gate: 375 passed / 0 failed (bin 244, cli 91, frames 3, safety 22, schema 15),
CLI clippy clean and cargo-deny passed; physicaldiagnostics performancegated by
Risk::AppControland classifieddevice-mutationin catalog/MCP withconfirm=trueunless
dry_run=true. - MCP surface: curated/generated tools,
confirm=truegating, physical flags stripped, unsafe
commands excluded. (Catalog/CLI evidence recorded; interactive MCP checks are NOT RUN.) - Physical Poco X4 GT campaigns: 12/12 read-only steps passed with no mutations, plus the
explicitly approved launch/input/back mutations; both sessions released. - Packaged assets: ZIP/installer contents, version metadata, SHA-256 sums and the Scoop hash
verified; silent install/uninstall is NOT RUN. - Documentation: README, CAPABILITIES, USER_GUIDE, AGENT_GUIDE, SCHEMA, COMPATIBILITY,
VERIFICATION, CHANGELOG and COOKBOOK reconciled to the measured surface.