From f5183af306a67fda925c1502d1f5957f185c3aaf Mon Sep 17 00:00:00 2001 From: iris <2+iris@noreply.localhost> Date: Wed, 9 Sep 2026 16:19:46 -0400 Subject: [PATCH] Expose Iris benchmark in Dev Updater --- .dev-updater.ron | 17 ++++++++++++++--- AGENTS.md | 8 ++++++-- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.dev-updater.ron b/.dev-updater.ron index bc42ad5..32d8673 100644 --- a/.dev-updater.ron +++ b/.dev-updater.ron @@ -17,9 +17,9 @@ label: "AI Sessions", // three constants -- there is nothing here worth spawning a process for. resources: Ron("resources.ron"), -// The two halves this checkout produces: the server a phone talks to, and -// the app that talks to it. They are built in parallel -- this list is the -// set, not a sequence, so nothing here should be read as an order. +// The server and three independently installable app surfaces this checkout +// produces. They are built in parallel -- this list is the set, not a +// sequence, so nothing here should be read as an order. components: [ Server( name: "server", @@ -55,6 +55,17 @@ components: [ // the terminal the QR would be printed on. enroll: "server/enroll-link.sh", ), + // The deterministic Rust/iris transcript benchmark. Its release build + // is arm64 by default and signed with the same machine-local key as the + // Compose app. + // `cwd` scopes APK discovery to app-rust, while commands containing a + // slash resolve from the project root, per Dev Updater's command model. + Apk( + name: "iris-bench", + modes: ["release", "debug"], + build: "app-rust/build-apk.sh", + cwd: "app-rust", + ), // E5 (RUST.md): app/shellApp packaged by the xtask instead of Gradle // (cargo ndk -> javac -> d8 -> aapt2 -> zipalign -> apksigner), signed // with the same release key as "app" above so the two can install diff --git a/AGENTS.md b/AGENTS.md index 20a91b7..097b5b1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -148,8 +148,12 @@ Module-by-module intent is in `docs/PLAN.md`'s "Backend layout". pans, flings or lays out a long list. - `.dev-updater.ron` — what Dev Updater builds here: the server (run as `service: Managed(…)`, supervised by Dev Updater's own implementation - rather than a script kept here) and the APK, in parallel. It points at - `resources.ron`, which is *ours* rather than Dev Updater's — it names + rather than a script kept here), the Compose app, the Rust/iris benchmark + APK, and the shell APK, in parallel. The iris benchmark is its own + `iris-bench` component rooted at `app-rust/`; its release mode is the arm64 + phone build with the `transcript-screen bench` features. The file points at + `resources.ron`, which is *ours* rather than + Dev Updater's — it names `~/.local/share/ai-app` and `~/.config/ai-app` so the Uninstall dialog can offer them. Note what deleting the config directory takes with it: the CA under `certs`, which is the one-way door. **Stop** on the server card stops