ios-release-proof
Plan, run, and audit evidence for iOS features and releases — Swift Testing and XCTest/XCUIAutomation, accessibility tasks, AI evaluation, performance, physical-device and system-surface runs, privacy manifests and required-reason APIs, signing, archives, and TestFlight. Use when deciding whether an iOS feature is actually verified, writing tests or a test plan, diagnosing a device-only failure, or preparing a build or release evidence report.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ios-release-proof
- description
- Plan, run, and audit evidence for iOS features and releases — Swift Testing and XCTest/XCUIAutomation, accessibility tasks, AI evaluation, performance, physical-device and system-surface runs, privacy manifests and required-reason APIs, signing, archives, and TestFlight. Use when deciding whether an iOS feature is actually verified, writing tests or a test plan, diagnosing a device-only failure, or preparing a build or release evidence report.
- allowed-tools
- Read, Grep, Glob, Edit, Write, Bash
- last_verified
- 1787097600000
02 资源文件 4
- 参考文档references/device-gates.md5.4 KB
- 参考文档references/privacy-performance.md8.6 KB
- 参考文档references/release-audit.md4.9 KB
- 参考文档references/test-matrix.md8.2 KB
03 SKILL.md 正文
iOS Release Proof
Route every claim to the smallest Apple-native evidence layer that can support it, run that layer, and report what it proves and what it does not. Never turn a compile, preview, simulator run, model output, archive, or TestFlight upload into a universal production or App Review claim.
claim -> target/configuration -> fixture -> deterministic test -> UI/system test -> device -> signed release -> remaining gap
Read before acting
- Inspect the Xcode project/workspace, targets, schemes, configurations, test plans, host apps, deployment targets, SDK, device families, extensions, entitlements, privacy manifests, usage descriptions, packages, bundle IDs, signing, and existing test results.
- Read the evidence vocabulary
and the checklist for the claim: build/device/release,
accessibility,
AI evaluation,
permission/entitlement/privacy,
system surface.
Grep
60-verification/for the framework's proof matrix. - Load
references/test-matrix.mdfor fixtures, plans, and test routes;references/device-gates.mdfor physical-device and route-specific gates;references/privacy-performance.mdfor privacy manifests, required-reason APIs, and measurement;references/release-audit.mdfor archive/TestFlight. - Re-open the official Apple pages listed in those files before a version-sensitive API, policy, or App Store claim. The knowledge base was last checked against iOS 26 / Xcode 26 in August 2026.
Evidence ladder
Record each claim at the strongest level actually observed:
| Level | Can support | Cannot support alone |
|---|---|---|
| Official source | Documented API, constraint, availability, policy | This target's configuration, build, or behavior |
| Static inspection | Target membership, plist/entitlement intent, route | A successful build, valid signing, device behavior |
| Compile/unit/fixture | API compatibility, deterministic logic | Hardware, permissions, model quality, system UI, APNs |
| Preview/simulator/UI test | Layout, fixtures, automatable flows | Sensors, assistive-tech ergonomics, paired devices, thermal |
| Physical debug device | Hardware, permissions, assistive tech, system surfaces | Distribution signing, TestFlight, production servers |
| Signed archive/TestFlight | Packaging, real entitlements, store-like build | App Review, production rollout, all devices/regions |
| Production | The tested live route and environment | Every OS, device, account, language, or future SDK |
Never write "works", "private", "accessible", "fast", or "release-ready" without naming target, OS, device, build, environment, operation, and level.
Workflow
- State the claim as an observable operation ("widget refreshed", "VoiceOver task completed", "signed build launched"), with consequence of failure, target, device family, and non-goals.
- Map configuration: usage descriptions, capabilities, entitlements, privacy manifest owner, accounts, server/APNs environment, model/language assets, paired hardware, region, deployment target.
- Choose the layer. Swift Testing for Swift logic and async coordination; XCTest/XCUIAutomation for UI workflows, accessibility audits, and performance; a physical device or system host for hardware, assistive, and system behavior; an archive/TestFlight build for signed evidence.
- Build the fixture matrix: empty, loading, partial, stale, denied, unavailable, cancelled, interrupted, retry, conflict, migration, model-refusal, malformed-output, commit. Stable fixture IDs and reset policy.
- Inject dependencies: time, randomness, network, persistence, accounts, permissions, model availability, system clients. No live services in deterministic tests.
- Write deterministic tests with independent fixtures, parameterized
cases,
#require/#expect, bounded time limits. UI tests only for user workflows, querying semantic identifiers and asserting the next state. - Audit accessibility and design: automated audits per critical screen, then VoiceOver, alternate input, Dynamic Type, contrast, and reduced motion/effects on a named device. Test Liquid Glass grouping and fallback, not pixels.
- Evaluate generated output: schema, source revision, allowed operations, privacy, refusal, cancellation, idempotency — separate from quality scoring.
- Run performance and system gates with a fixed workload, baseline, device, OS, and configuration. Record extension, widget, intent, notification, background, or accessory evidence at its owning boundary.
- Audit the signed release: target membership, bundle IDs, versions, entitlements, privacy resources, extensions, signing, exact TestFlight build; fresh-install and update runs; remaining App Review/production gaps.
Fast path
List the claims, give each the lowest evidence level that can support it, and run only the first unmet gate. Escalate only when a claim crosses a process, device, signing, or system boundary. Stop when the claim is supported or the missing hardware, account, signing, or system access is explicit.
Evidence report
Claim and consequence:
Target/scheme/test plan/configuration:
Bundle ID, version/build, SDK, deployment target:
OS/device(s), settings, account/server/APNs state:
Privacy manifest and entitlements:
Operation exercised and fixture IDs:
Tests, commands, artifacts:
Observed result and negative cases:
What this proves:
What this does not prove:
Next smallest gate:
List skipped, excluded, or known-issue tests as scope, not passes.
Hard boundaries
- Never promote a lower evidence level to a stronger one.
- Never print credentials, tokens, or private payloads; redact logs and screenshots; keep raw prompts, health/contact/call data, and user media out of artifacts.
- Never use localized strings, element indexes, screenshots alone, or sleeps as the primary UI contract when semantic state is available.
- Never globally serialize Swift Testing to hide shared state; isolate fixtures.
- Never report an accessibility audit as complete accessibility, or a passing UI test as VoiceOver task success.
- Never add tracking, entitlements, background modes, accounts, servers, telemetry, or test-only production behavior to make a check pass; record the missing boundary instead.
04 同仓库更多 Skills
no-description
暂无简介
good-skill
Fixture skill that satisfies every rule.
broken-link
Links to a reference file that does not exist.
Bad_Name
Name violates the kebab-case rule and does not match the directory.
skill-authoring
Write, review, and validate portable agent skills in SKILL.md format. Use when creating a new skill, editing an existing one, or asked whether a skill follows the Agent Skills spec.
weigh-bags
Record scale readings for each bag — empty (tare), outbound, current, final — and reconcile them against the itemised inventory to find unaccounted weight. Use when the user gives a bag weight, says how heavy something is, weighs their luggage, or asks how close to the limit they are. Appends to bags.yaml and runs scripts/reconcile.py.