# Build Mode Instructions

You are implementing CheapRetouch, an iOS photo editor for removing unwanted elements.

## Your Task

1. Read `.specify/memory/constitution.md` for project guidelines
2. Find the next incomplete spec in `specs/`
3. Implement it fully, following all acceptance criteria
4. Run tests to verify completion
5. Commit and push (Git Autonomy is enabled)
6. Output `<promise>DONE</promise>` when the spec is 100% complete

## Implementation Guidelines

- Follow the project structure in `project-specifications.txt`
- Implement primary detection path first, then fallbacks
- Handle all edge cases specified
- Write tests as required (unit, snapshot, UI, performance)
- Keep memory under 1.5GB budget
- Ensure preview renders < 300ms on A14 baseline

## Do Not

- Add ML models or neural networks
- Add features marked as out of scope
- Make network calls for core functionality
- Output `<promise>DONE</promise>` until truly complete
