# store-ready: report template

Read by `/multi-agent:store-ready` for Steps 7 and 8. The command file keeps
the skip and attribution rules; this file holds the layout, the full report
rules and the next actions Step 8 prints.

Write to `~/StoreChecks/<platform>-<repo>-<branch>-<timestamp>/report.md` and print
a summary.

```
Verdict: <N> of 3 gates cleared[, <M> skipped]
Platform:<ios|android>
Build:   <artifact path>  ·  <bundle id / applicationId> <version> (<build>)
Auth:    tier <1|2|none>  ·  <method>          (iOS only)
Sweep:   <n> findings | SKIPPED (<reason>)

Gate 1  static audit        PASS | FAIL (<n> blocking, <n> advisory) | SKIPPED (<reason>)
Gate 2  store validation    PASS | FAIL (<n> issues) | SKIPPED (<reason>)
Gate 3  policy review       PASS | FAIL (<n> findings) | <n> not-applicable

Blocking  -  fix before uploading
  [ITMS-90683] Info.plist: NSCameraUsageDescription missing
      guideline 5.1.1 Data Collection and Storage
      <hint>
      <file:line>

Advisory
  ...

Release diff                          (only with --previous=)
  entitlements   changed  + com.apple.developer.associated-domains
  endpoints      changed  + api.example.com
  privacy        not measured

Not run
  Gate 2: no local Play validator  -  Google Play not onboarded; the authoritative check is server-side only

Open questions
  Gate 2 (Android): versionCode <n> went to a discarded edit; Google does not document whether that reserves it

Before rollout (human inputs, not verified)
  Phased rollout: <1% -> 10% -> 50% -> 100% | full>
  Halt thresholds: crash-free < 99.5% (iOS, Android) or ANR > 0.47% (Android) => pause the rollout
  Rollback / forward-fix owner: <name>
  Forward-fix plan: <one line>
```

## Rules

- A skipped gate is never folded into the pass count. The verdict line states the
  skip. An Android run whose Gate 2 did not run therefore reads
  `2 of 3 gates cleared, 1 skipped` at best.
- Every blocking finding carries a file path or a store code. A finding the user
  cannot act on is noise. A `[BUILD-FACTS]` finding carries its evidence id in
  the form `features/build-facts.md` gives.
- The `Release diff` block lists only sections with status `changed`, plus each
  `unknown` section as `not measured`. Without `--previous=`, or without the
  toolkit tool, the block is left out.
- The `Before rollout` block (phased rollout, `Halt thresholds`, rollback /
  forward-fix owner, forward-fix plan) is filled by a human, never inferred. When it
  is left unfilled the verdict line gains the suffix `, rollout plan missing`.
- The printed summary carries the verdict line, per-gate status, Blocking / Advisory /
  Not run / Open questions, and the `Before rollout` block.
- Humanize via `--lang en` by default (`promptLanguage` is locked to `"en"`); pass
  `--lang=tr` explicitly to opt into Turkish.
- No AI or assistant attribution anywhere, per
  `$HOME/.claude/rules/git-conventions.md`.
- Real newlines, no HTML entities, per
  `$HOME/.claude/multi-agent-refs/rules.md "External System Outputs"`.

## Next actions

Step 8 prints these and stops:

- the exact upload command for when the gates are clear, so uploading stays an
  explicit human act:
  - iOS: `xcrun altool --upload-app ...`
  - Android: the Play Console upload, or the `gradle publish` task the project
    declares  -  never run it
- `/multi-agent:store-ready --resume` to re-run after fixes
- `/multi-agent:channels` to land the findings in Jira / Confluence / Wiki / PR
- the enabled stack plugin's `fix-bug` skill (`ai-ios-toolkit:fix-bug` or the stack
  equivalent) when Gate 3 produced code-level findings

`/multi-agent:testflight-validation` is a thin alias onto the command, kept so the
iOS-only name keeps working; it resolves there with the platform pinned to iOS.
`/multi-agent:test "store-ready"` also resolves there. There is one implementation.
