# S8 internal demo instructions

## What this package demonstrates

An installable **Xcode Simulator** app, provisional source maps, an onboarding workflow and transparent release gaps. It is not an iPhone IPA or a field-validated Manhattan release. The native app is unchanged version 0.6.0 (build 1); exact source/API/data fingerprints and binary hashes are in `s8-build-manifest.json`.

## Install and reproduce the limited demo

On a compatible Mac with Xcode (tested: Xcode 26.6, iPhone 17 Pro simulator, iOS 26.5):

1. Download `s8-simulator.zip` and `s8-build-manifest.json` from the S8 page. Compute `shasum -a 256 s8-simulator.zip` and compare the artifact SHA-256.
2. Extract with `ditto -x -k s8-simulator.zip A5B-S8`. Open Simulator and boot a compatible iPhone simulator.
3. Install with `xcrun simctl install booted A5B-S8/A5B.app`. If multiple simulators are booted, replace `booted` with the intended simulator’s ID from `xcrun simctl list devices available`.
4. Open A5B from the simulator’s home screen. Show the camera-purpose and manual-selection explanation. Do not enter a server credential for this demo.
5. Tap **Start camera**. Expected: AR camera unavailable, no property card shown. A simulated camera is not physical AR verification.
6. Open **Recognition & feedback**. Expected: waiting for evidence, zero approved automatic targets, disabled approved-facade projection. Return with Done.
7. Open the Manhattan review map from the S8 page. Explain its 36 parcels, 40 building BINs, 77 source address references and two separate geometry pieces. Show that geometry/aliases are provisional; point out the review queue and field gates.
8. Show the onboarding checklist, machine-only timing and null field-comparison table. Finish with the open issues. Do not describe the new area as recognized by the native app.

Steps 1–6 were reproduced from the packaged ZIP in the local simulator. Source-map viewing is a browser workflow, not an in-app transfer test.

## Rebuild from pinned source

Check out the `source_commit` from the build manifest. The native and API tree hashes must match. Run:

```sh
swift test --package-path ios/A5BCore --scratch-path /tmp/a5b-core-build
xcodebuild -project ios/A5B.xcodeproj -scheme A5B -configuration Debug -sdk iphonesimulator -derivedDataPath /tmp/a5b-sim-build CODE_SIGNING_ALLOWED=NO build
xcodebuild -project ios/A5B.xcodeproj -scheme A5B -configuration Release -sdk iphoneos -derivedDataPath /tmp/a5b-phone-build CODE_SIGNING_ALLOWED=NO build
```

The device build is unsigned and not installable on a physical iPhone as supplied. No developer certificate, provisioning profile or service token is distributed. Compiler/environment differences can change binary hashes; the original packaged binary and its manifest are the exact handoff artifact. Use the current repository’s `tools/package_internal.py` to package another verified build and produce a new manifest, rather than claiming its bytes match the original.

## Before a physical transfer demo

Resolve native/API area configuration, surveyed truth/anchor approval and device signing. Agree release targets, preregister routes and collect real physical metrics. The current app sends a fixed Bronx pilot query and validates calibration within that pilot area; the current API returns OUTSIDE_COVERAGE for Manhattan. Importing map data alone does not resolve these gaps. See `s8-issues.json` for closure criteria.
