You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,8 @@
9
9
10
10
## Sources of truth
11
11
12
-
-`README.md` documents shipped workflows and validation commands.
12
+
-`README.md` documents shipped workflows and the quick start.
13
13
-`coreai.md` contains notes from the local SDK interfaces.
14
-
-`PRODUCT.md` describes product direction. Do not present planned work as implemented.
15
14
-`CoreAIFrameworkLab.xcodeproj` is the Xcode project source of truth. Make target, package, build-setting, file-membership, and shared-scheme changes directly in Xcode, then commit the resulting project changes. Do not introduce a project generator.
16
15
-`CoreAILab/Resources/AppleModels/apple-coreai-models.json` is generated by `Scripts/update_apple_model_catalog.py`. Keep its source revision aligned with the pinned `coreai-models` package revision in the Xcode project and related documentation.
17
16
@@ -80,7 +79,7 @@ uv run pytest -q
80
79
81
80
- Use Swift Testing (`import Testing`, `@Test`, `#expect`, `#require`) and deterministic local fixtures for new Swift tests.
82
81
- Keep tests that need external model assets opt-in through their existing `COREAI_*` environment variables. Do not download weights, authenticate to external services, or add credentials to the repository as part of the default suite.
83
-
- Run `Scripts/run_device_tests.py` only for physical iOS Core AI behavior and only when an unlocked iOS 27+ device and existing signing assets are available. Start with `--dry-run`; never enable provisioning updates automatically. See `README.md` for the exact contract.
82
+
- Run `Scripts/run_device_tests.py` only for physical iOS Core AI behavior and only when an unlocked iOS 27+ device and existing signing assets are available. Start with `--dry-run`; never enable provisioning updates automatically. Run `python3 Scripts/run_device_tests.py --help` for the exact contract.
84
83
- Match validation to the change. Documentation-only changes do not need a full Xcode build; Swift behavior changes need the relevant build and tests, and platform-specific behavior needs validation on that platform. Report any unavailable hardware, model, signing, or toolchain prerequisite explicitly.
0 commit comments