From 551eba1c036431cd38de70c7d06b316659064f10 Mon Sep 17 00:00:00 2001 From: dadachi Date: Fri, 12 Jun 2026 20:55:34 +0900 Subject: [PATCH] docs(README): clarify step 5 fast gate vs VISUAL>=1 build mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 5 described only the build-mode Layer 2 commands (xcodebuild build, gradlew assembleDebug, rails db:prepare+runner) and presented them as the unconditional exit gate. Those only run when NATIVEAPPTEMPLATE_VISUAL>=1 (src/dispatch.ts:143 forces build mode). At the default VISUAL=0, Layer 2 runs in fast mode — bin/rails routes, xcodebuild -list, ./gradlew --version — a lighter probe, no full build. Spell out both paths to match the Runtime table and the VISUAL=1 flag doc. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fbb1544..0c0d3d6 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ It will: 2. **Copy the free-edition substrate** (three MIT-licensed repos covering Rails + iOS + Android) into `./out//{rails,ios,android}/`. 3. **Rename the skeleton** — `Shop → Clinic`, `Shopkeeper → Vet`, etc. — consistently across Ruby migrations, Swift models, Kotlin data classes, policies, tests, and localized copy. 4. **Adapt or replace the domain module** — keep `ItemTag` for walk-in queue variants; strip and insert a new resource for non-queue SaaS. -5. **Drive the build green** — Rails boots (`bin/rails db:prepare` + a `bin/rails runner` smoke check), iOS builds (`xcodebuild build`), and Android builds (`./gradlew assembleDebug`) must all pass before the agent exits. +5. **Drive the build green** — every platform must pass before the agent exits. By default this is a fast gate: Rails routes load (`bin/rails routes`) and the iOS/Android projects resolve (`xcodebuild -list`, `./gradlew --version`). With `NATIVEAPPTEMPLATE_VISUAL=1`+ it escalates to full builds — Rails boots (`bin/rails db:prepare` + `bin/rails runner`), iOS builds (`xcodebuild build`), Android builds (`./gradlew assembleDebug`). 6. **Validate the output** across three layers (structural, runtime, semantic) and write a self-contained HTML + JSON [validation report](#validation-report). Details in [`docs/SPEC.md`](./docs/SPEC.md) section 6. ## Demo