Skip to content

Commit f127ec0

Browse files
committed
Update copilot instructions with AI compliance workflow
- Add comprehensive AI-assisted development guidelines - Include mandatory Jira field updates for AI governance - Document audit trail requirements for transparency - Integrate AI compliance into development workflow Signed-off-by: Rishi Kumar Chawda <[email protected]>
1 parent 4fbebf5 commit f127ec0

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/copilot-instructions.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,3 +443,49 @@ The repository is configured to use the `atlassian-mcp-server` for Jira integrat
443443
- `mcp_atlassian-mcp_search` - Search for related issues
444444
445445
Remember to use these tools to maintain traceability between code changes and Jira issues throughout the development process.
446+
447+
## AI-Assisted Development & Compliance
448+
449+
- ✅ 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")
450+
- ✅ Include "This work was completed with AI assistance following Progress AI policies" in PR description
451+
452+
### Jira Ticket Updates (MANDATORY)
453+
454+
- ✅ **IMMEDIATELY after PR creation**: Update Jira ticket custom field `customfield_11170` ("Does this Work Include AI Assisted Code?") to "Yes"
455+
- ✅ Use atlassian-mcp tools to update the Jira field programmatically
456+
- ✅ **CRITICAL**: Use correct field format: `{"customfield_11170": {"value": "Yes"}}`
457+
- ✅ Verify the field update was successful
458+
459+
### Documentation Requirements
460+
461+
- ✅ Reference AI assistance in commit messages where appropriate
462+
- ✅ Document any AI-generated code patterns or approaches in PR description
463+
- ✅ Maintain transparency about which parts were AI-assisted vs manual implementation
464+
465+
### Workflow Integration
466+
467+
This AI compliance checklist should be integrated into the main development workflow Step 4 (Pull Request Creation):
468+
469+
```
470+
Step 4: Pull Request Creation & AI Compliance
471+
- Step 4.1: Create branch and commit changes WITH SIGNED-OFF COMMITS
472+
- Step 4.2: Push changes to remote
473+
- Step 4.3: Create PR with ai-assisted label
474+
- Step 4.4: IMMEDIATELY update Jira customfield_11170 to "Yes"
475+
- Step 4.5: Verify both PR labels and Jira field are properly set
476+
- Step 4.6: Provide complete summary including AI compliance confirmation
477+
```
478+
479+
- **Never skip Jira field updates** - This is required for Progress AI governance
480+
- **Always verify updates succeeded** - Check response from atlassian-mcp tools
481+
- **Treat as atomic operation** - PR creation and Jira updates should happen together
482+
- **Double-check before final summary** - Confirm all AI compliance items are completed
483+
484+
### Audit Trail
485+
486+
All AI-assisted work must be traceable through:
487+
488+
1. GitHub PR labels (`ai-assisted`)
489+
2. Jira custom field (`customfield_11170` = "Yes")
490+
3. PR descriptions mentioning AI assistance
491+
4. Commit messages where relevant

0 commit comments

Comments
 (0)