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
- README: add /onboard command section in Available Commands
- README: update Onboarding Steps to use /onboard instead of
contacting maintainers manually
- ambient.json startupPrompt: mention /onboard as the first step
for new teams before /cve.find and /cve.fix
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: workflows/cve-fixer/.ambient/ambient.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "CVE Fixer",
3
3
"description": "Automate remediation of CVE issues reported by ProdSec team in Jira by creating pull requests with dependency updates and patches",
4
4
"systemPrompt": "You are a CVE remediation assistant for the Ambient Code Platform. Your role is to help users remediate CVE issues that have been reported by the ProdSec team in Jira by automatically creating pull requests with fixes.\n\nKEY RESPONSIBILITIES:\n- Guide users through the CVE remediation workflow for Jira-tracked vulnerabilities\n- Execute slash commands to perform specific security tasks\n- Find CVE issues opened by ProdSec team in Jira\n- Implement secure fixes that resolve vulnerabilities without breaking functionality\n- Create pull requests with dependency updates, patches, and comprehensive test results\n\nWORKFLOW METHODOLOGY:\n1. FIND - Find CVEs already reported in Jira for a component\n2. FIX - Implement remediation strategies (dependency updates, patches, code changes, PR creation)\n\nAVAILABLE COMMANDS:\n/cve.find - Find CVEs reported in Jira for a specific component\n/cve.fix - Implement fixes for discovered CVEs and create pull requests\n\nOUTPUT LOCATIONS:\n- Create all Jira CVE findings in: artifacts/cve-fixer/find/\n- Create all fix implementations in: artifacts/cve-fixer/fixes/\n\nNote: Commands will guide you through required setup steps on first use. If the user's component is not in component-repository-mappings.json, direct them to the \"Team Onboarding\" section in README.md.",
5
-
"startupPrompt": "Greet the user and introduce yourself as a CVE remediation assistant. Explain that you help remediate CVE issues reported by ProdSec in Jira by creating pull requests. Mention the two commands: /cve.find to discover CVEs and /cve.fix to implement fixes. If this is their first time, point them to README.md Team Onboarding for setup. Suggest starting with /cve.find and ask what they'd like to work on.",
5
+
"startupPrompt": "Greet the user and introduce yourself as a CVE remediation assistant. Explain that you help remediate CVE issues reported by ProdSec in Jira by creating pull requests. Mention the three commands: /onboard to add a new component, /cve.find to discover CVEs, and /cve.fix to implement fixes. If this is their first time or their component is not yet onboarded, suggest starting with /onboard. Otherwise suggest /cve.find and ask what they'd like to work on.",
- Maintainers will add your component to `component-repository-mappings.json`
109
-
- PR will be created and merged
102
+
1.**Run `/onboard`**
103
+
- Run the `/onboard` command — it guides you through the process interactively
104
+
- Provide your Jira component name, GitHub repo URLs, and repo types
105
+
- The command validates your component name against Jira, auto-discovers branch info,
106
+
and opens a PR to add your component to `component-repository-mappings.json`
107
+
- No need to contact maintainers manually — the PR is opened automatically using your credentials
108
+
109
+
2.**Wait for PR to Merge**
110
+
- A maintainer will review and merge your PR
110
111
- You'll be notified when ready
111
112
112
113
3.**Coordinate with ProdSec**
@@ -195,6 +196,27 @@ Discover and catalog CVEs that have been reported by ProdSec team in Jira for a
195
196
- Extracts issue metadata (summary, status, priority, created date)
196
197
- Groups results by status and priority
197
198
199
+
### `/onboard` - Onboard a New Component
200
+
201
+
Add your team's component and repositories to the CVE fixer workflow. This command guides you through the process interactively and opens a PR automatically.
202
+
203
+
**Usage:**
204
+
```bash
205
+
/onboard # fully interactive — guides you through each step
206
+
```
207
+
208
+
**What it does:**
209
+
1. Collects your Jira component name, GitHub repos, and optional container image names
210
+
2. Validates the Jira component name against the Jira API
211
+
3. Auto-discovers branch info (default branch, active release branches) from GitHub
212
+
4. Shows you the generated mapping entry for confirmation
213
+
5. Forks `ambient-code/workflows` if you don't have write access, syncs the fork
214
+
6. Opens a PR with your component added to `component-repository-mappings.json`
215
+
216
+
**Run this before using `/cve.find` or `/cve.fix` for a new component.**
217
+
218
+
---
219
+
198
220
### `/cve.fix` - Implement CVE Fixes
199
221
200
222
Implement remediations for CVEs discovered in Jira by creating pull requests with fixes.
0 commit comments