From 5a42f2664a42b3f465a08173b0d2e2875fc6b4ac Mon Sep 17 00:00:00 2001 From: slhx agent Date: Fri, 12 Jun 2026 11:12:18 +0200 Subject: [PATCH] feat(workout): verify mobile release kit Add a workout-mobile verify command that checks the generated release kit and server artifact, then document it beside release/doctor so the mobile path has a recurring gate. req: examples/006 --- AGENTS.md | 1 + REQUIREMENTS.md | 2 +- docs/recipes/mobile-release.md | 4 +- examples/workout/README.md | 2 + hemx-xtask/src/main.rs | 143 ++++++++++++++++++++++++++++++++- 5 files changed, 146 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c009fd6..9aa9f6f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -50,6 +50,7 @@ Keep it stable. Prefer pointers to canonical sources over copied structure, file - Avoid project trees, architecture maps, generated inventories, current file sizes, issue lists, TODO inventories, and other snapshots that will rot. - Stable commands: `cargo run -p hemx-xtask -- test`, `cargo check --workspace`, `redgate health --strict`. Use the xtask runner for full verification so jobs are capped from local CPU and memory. req: test/004 - Run the workout product exemplar with `cargo run --bin hemx-workout-example` and open `http://127.0.0.1:3028`; set `HEMX_WORKOUT_ADDR=127.0.0.1:3030` if the default port is busy. Its durable visual direction and recovery expectations live in `examples/workout/DESIGN.md`. req: examples/001 +- Generate and verify the Workout mobile release kit with `HEMX_WORKOUT_ORIGIN=https://workout.example.com cargo run -p hemx-xtask -- workout-mobile release` and `HEMX_WORKOUT_ORIGIN=https://workout.example.com cargo run -p hemx-xtask -- workout-mobile verify`; Android/iOS SDKs and signing remain external blockers, not repo-owned secrets. req: examples/006 - hemx core stays small: effects, typed ids, registries, and wire schema only. - Routing, auth, sessions, transport, transitions, sync, and storage belong in integration/user crates. - Public examples and beginner APIs should use generated resources and `IntoEffect`, not raw ids or runtime opcodes. diff --git a/REQUIREMENTS.md b/REQUIREMENTS.md index a5d55d7..06782be 100644 --- a/REQUIREMENTS.md +++ b/REQUIREMENTS.md @@ -810,7 +810,7 @@ what a valid business email is. 005 Canonical examples must not contain user-authored browser JavaScript. They may load the shared hemx runtime (`/hemx.js`) and may use declarative `data-hemx-*` attributes; inline `