AGENTS.md (1080B)
1 # AGENTS.md 2 3 ## Project Context 4 5 - This app is called Crossmate. 6 - Crossmate is a collaborative crossword app for iOS and iPadOS. 7 - Crossmate syncs shared game state using Apple's CloudKit. 8 - Scripts for common tasks, including running tests, live in `Scripts/`. 9 10 ## Working Notes 11 12 - The user will handle making commits. 13 - When asked to generate git commit messages, use the last few multiline commit messages in the repository as the style guide. 14 15 ## Running Tests 16 17 - Run the unit suite via `bash Scripts/test-unit.sh`; the script picks a simulator automatically. 18 - Capture the full output to a file on the first run, then grep + tail — never re-run the suite just to look at different parts of the output. One-shot pattern: 19 ```bash 20 bash Scripts/test-unit.sh > /tmp/test.log 2>&1; grep "Test case" /tmp/test.log; echo "---"; tail -15 /tmp/test.log 21 ``` 22 This surfaces every per-case result and the trailing summary (totals on success, `.xcresult` path on failure). For more context on a failure, grep around the failure line in the same log file or open the `.xcresult`.