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
✅ Completed: Analysis of Jira issue JIRA-123 and identified required changes
218
228
📍 Current: Ready to implement feature in lib/chef_zero/endpoints/
@@ -225,6 +235,7 @@ Would you like me to proceed with the implementation phase?
225
235
### 9. Prohibited Modifications
226
236
227
237
**DO NOT modify these files without explicit approval:**
238
+
228
239
-`VERSION` file (managed by Expeditor)
229
240
-`.expeditor/config.yml` (build configuration)
230
241
- Core gemspec metadata
@@ -234,6 +245,7 @@ Would you like me to proceed with the implementation phase?
234
245
### 10. Code Style and Conventions
235
246
236
247
**Ruby Style Guidelines:**
248
+
237
249
- Follow RuboCop/Cookstyle conventions
238
250
- Use 2-space indentation
239
251
- Maximum 120 characters per line
@@ -242,6 +254,7 @@ Would you like me to proceed with the implementation phase?
242
254
- Add appropriate error handling and logging
243
255
244
256
**Chef Zero Specific Patterns:**
257
+
245
258
- Inherit from `RestBase` for new endpoints
246
259
- Use appropriate HTTP status codes
247
260
- Follow existing JSON response formats
@@ -299,6 +312,52 @@ gh pr create --title "Title" --body "Description with HTML tags"
299
312
- Ensure DCO compliance for all contributions
300
313
- Maintain compatibility with Chef Client versions 11+
301
314
315
+
## AI-Assisted Development & Compliance
316
+
317
+
- ✅ Create PR with `ai-assisted` label (if label doesn't exist, create it with description "Work completed with AI assistance following Progress AI policies" and color "9A4DFF")
318
+
- ✅ Include "This work was completed with AI assistance following Progress AI policies" in PR description
319
+
320
+
### Jira Ticket Updates (MANDATORY)
321
+
322
+
- ✅ **IMMEDIATELY after PR creation**: Update Jira ticket custom field `customfield_11170` ("Does this Work Include AI Assisted Code?") to "Yes"
323
+
- ✅ Use atlassian-mcp tools to update the Jira field programmatically
324
+
- ✅ **CRITICAL**: Use correct field format: `{"customfield_11170": {"value": "Yes"}}`
325
+
- ✅ Verify the field update was successful
326
+
327
+
### Documentation Requirements
328
+
329
+
- ✅ Reference AI assistance in commit messages where appropriate
330
+
- ✅ Document any AI-generated code patterns or approaches in PR description
331
+
- ✅ Maintain transparency about which parts were AI-assisted vs manual implementation
332
+
333
+
### Workflow Integration
334
+
335
+
This AI compliance checklist should be integrated into the main development workflow Step 4 (Pull Request Creation):
336
+
337
+
```
338
+
Step 4: Pull Request Creation & AI Compliance
339
+
- Step 4.1: Create branch and commit changes WITH SIGNED-OFF COMMITS
340
+
- Step 4.2: Push changes to remote
341
+
- Step 4.3: Create PR with ai-assisted label
342
+
- Step 4.4: IMMEDIATELY update Jira customfield_11170 to "Yes"
343
+
- Step 4.5: Verify both PR labels and Jira field are properly set
344
+
- Step 4.6: Provide complete summary including AI compliance confirmation
345
+
```
346
+
347
+
-**Never skip Jira field updates** - This is required for Progress AI governance
348
+
-**Always verify updates succeeded** - Check response from atlassian-mcp tools
349
+
-**Treat as atomic operation** - PR creation and Jira updates should happen together
350
+
-**Double-check before final summary** - Confirm all AI compliance items are completed
351
+
352
+
### Audit Trail
353
+
354
+
All AI-assisted work must be traceable through:
355
+
356
+
1. GitHub PR labels (`ai-assisted`)
357
+
2. Jira custom field (`customfield_11170` = "Yes")
358
+
3. PR descriptions mentioning AI assistance
359
+
4. Commit messages where relevant
360
+
302
361
---
303
362
304
363
*This document should be updated as the project evolves and new requirements emerge.*
0 commit comments