Skip to content

Commit 5427d67

Browse files
committed
Document direct-to-main workflow
1 parent 618cc15 commit 5427d67

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

AGENTS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ xcodegen generate
6666
# Build
6767
xcodebuild -scheme TaskMenu -configuration Debug build
6868

69-
# Run tests (23 unit tests)
69+
# Run tests
7070
xcodebuild -scheme TaskMenu -configuration Debug test
7171
```
7272

@@ -107,6 +107,12 @@ xcodebuild -scheme TaskMenu -configuration Debug test
107107
- **Menu bar only:** The app has no main window (`LSUIElement = YES`). All UI is in the MenuBarExtra popover.
108108
- **Commit discipline:** Each commit should be a logical unit of work with a descriptive message.
109109

110+
## Git Workflow
111+
112+
- **Default workflow:** Commit and push directly to `main` when working in the primary checkout.
113+
- **No separate PR/branch by default:** Do not create feature branches or pull requests unless explicitly requested.
114+
- **Worktree exception:** When working from a git worktree, use a separate branch for that worktree. Open a PR only if that worktree-based flow needs one.
115+
110116
## Testing Guidelines
111117

112118
- **Always update or add tests when modifying code.** Any change to models, services, or utilities must include corresponding test updates in `TaskMenuTests/`.

0 commit comments

Comments
 (0)