- Read the hard constraints in
documentation/reference/HANDOFF.md— especially privacy (on-device only, no API keys, read-only on other tools). - Check
PRODUCTION.mdso you don’t reinvent finished work or reintroduce rejected designs (hook injection, continuous git watching).
swift build
swift test
swift run AIhero --render /tmp/aihero-shots # visual QAswift build is the source of truth. SourceKit “cannot find type” errors after adding a new Swift file are usually index lag — rebuild before “fixing” them.
- Prefer small, focused PRs against
main. - Keep generation / subprocess code behind
AppModel.isProductionso tests and--rendernever spawn Codex. - Update the nearest plan doc’s implementation log when the change is non-trivial.