The unit of work is a project-setting change with a named reviewer.
The durable artifact is a repository that builds and tests from a clean checkout with one command. The chief hazard is a change that makes the build green by removing something that checked it.
Trace a launch: the app entry point calls the composition root, which builds an AppEnvironment; the root view receives it explicitly; background work is registered on the scene. Ownership is simple. The composition root chooses, the environment carries, the features use, and the entry point only wires.
From a clean clone, run scripts/verify-fast and record each stage’s result. If a stage fails, classify it as a toolchain problem, a project problem, or a code problem before changing anything. Then change one setting in project.yml, regenerate, and confirm that the diff to the generated project is reproducible.
Review settings before code. Read the manifest diff first: deployment target, language mode, capabilities, and dependencies. Then read the scripts, then the workflow. A reviewer who starts with feature code will miss the file that changed what the feature is allowed to do.
When the build is green but a number is wrong, compare the count of tests run with the last accepted run. A drop is a finding. Investigate before accepting, because a vanished test is more dangerous than a failing one.
Confirm that no signing identity or credential appears in the manifest, the scripts, or the workflow. Confirm that purpose strings and background modes match the capabilities the app uses. Confirm the workflow’s permissions are read-only and that it never prints environment values.
Verify the skeleton from a clean checkout, on the supported toolchain, with the same script CI uses. Verify the guardrails by breaking them on purpose: delete a test target in a scratch branch and watch the hygiene test fail.
Pin the toolchain in the supported-version file and update it in its own change. Give project settings a named owner. Agree that regenerating the project is safe and routine, and that editing it by hand is not.
- The project builds and tests from a clean clone with one command.
- The generated project is not committed.
project.yml,Package.swift, andInfo.plistare protected files.- Continuous integration runs the same script as a developer.
- The supported-version file records what was actually verified.
- Why is a project generated from a manifest safer for agents than a committed project file?
- What does explicit injection cost, and what does it buy?
- Which line of the workflow would you scrutinize first in a pull request from an agent?
- How would you detect that the tests run in CI are fewer than the tests you expect?
Continue with the book
Explore the full treatment, worked examples, and exercises in Agentic iOS App Development.
Companion article for Agentic iOS App Development, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.
