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
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,8 +122,14 @@ First, classify the user's request into one of two categories:
122
122
-**Ticket ID Required:** The commit subject line **MUST** end with `(#TICKET_ID)`.
123
123
-**Correct:**`feat: Add infinite canvas (#8392)`
124
124
-**Standard:** Follow Conventional Commits.
125
-
-**Push-Before-Notify:** If a task involves local commits, you **MUST** push changes to the remote repository (`git push`) BEFORE posting a completion comment or closing the associated GitHub issue. Do not mark a ticket as done if the code is only on your local machine.
126
-
-**Ownership-on-Completion:** Before closing a ticket, ensure it is assigned to the current user. If unassigned, assign it immediately to capture credit for the work.
127
-
-**Update Ticket:** You **MUST** post a comment on the issue if:
128
-
1. You deviate from the original plan (explain *why*).
129
-
2. The task is complete (summarize the result).
125
+
126
+
## 7. Ticket Closure Protocol (Definition of Done)
127
+
128
+
You **MUST** perform these steps in order before marking a task as complete:
129
+
130
+
1.**Push:** If a task involves local commits, you **MUST** push changes to the remote repository (`git push`).
131
+
2.**Assign (MANDATORY):** Ensure the ticket is assigned to the current user. If unassigned, assign it immediately to capture credit for the work.
132
+
3.**Comment:** You **MUST** post a comment on the issue if:
133
+
- You deviated from the original plan (explain *why*).
134
+
- The task is complete (summarize the result).
135
+
4.**Close:** Only after steps 1-3 are complete can you close the ticket.
0 commit comments