-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.yml
More file actions
228 lines (209 loc) Β· 6.17 KB
/
Copy pathmanifest.yml
File metadata and controls
228 lines (209 loc) Β· 6.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
app:
id: ari:cloud:ecosystem::app/c7104b49-0a91-46dc-b2c6-de1b156b9b96
runtime:
name: nodejs20.x
permissions:
scopes:
- storage:app
- read:jira-work
- write:jira-work
- read:content-details:confluence
- read:content.property:confluence
- read:confluence-content.all
- write:confluence-content
- read:space:confluence
- write:page:confluence
- write:content.property:confluence
content:
styles:
- 'unsafe-inline'
scripts:
- 'unsafe-inline'
- 'unsafe-eval'
external:
fetch:
backend:
- https://api.bitbucket.org
client:
- 'https://esm.sh'
- 'https://api.openai.com'
- 'https://storage.googleapis.com'
images:
- https://cdn-icons-png.flaticon.com
providers:
auth:
- key: bitbucket-oauth-v2
name: Bitbucket Cloud
type: oauth2
clientId: "waVaGANqwNGGRqMapM"
remotes:
- bitbucket-api
bearerMethod: authorization-header
scopes:
- account
- repository
actions:
authorization:
remote: bitbucket-website
path: /site/oauth2/authorize
exchange:
remote: bitbucket-website
path: /site/oauth2/access_token
retrieveProfile:
remote: bitbucket-api
path: /2.0/user
resolvers:
id: account_id
displayName: display_name
avatarUrl: links.avatar.href
remotes:
- key: bitbucket-api
baseUrl: https://api.bitbucket.org
- key: bitbucket-website
baseUrl: https://bitbucket.org
modules:
# β
ROVO AGENT DEFINITION
rovo:agent:
- key: race-engineer-agent
name: Race Strategist
description: An autonomous F1 engineer that monitors telemetry and manages Jira incidents.
prompt: >
You are an elite F1 Race Engineer and DevOps Specialist.
Your job is to monitor vehicle telemetry and explain technical incidents to software teams.
ALWAYS check the 'get-live-status' action first before answering.
If vibration is > 60Hz, use a sense of urgency.
If vibration is < 60Hz, be calm and professional.
When asked about fixes, refer to the autonomous Bitbucket PRs.
conversationStarters:
- "What is the current fleet status?"
- "Explain the latest anomaly on KAN-42."
- "Did the autonomous fix deploy successfully?"
actions:
- get-live-status
- get-incident-details
# β
ACTIONS FOR ROVO AGENT (FIXED VALIDATION)
action:
- key: get-live-status
function: agent-status-fn
actionType: function # π Added to fix validation error
name: Get Live Status
description: Fetches real-time IoT telemetry data (vibration, temperature) from the Pit Wall.
- key: get-incident-details
function: agent-incident-fn
actionType: function # π Added to fix validation error
name: Get Incident Details
description: Retrieves the Root Cause Analysis and Fix logic for a specific Jira ticket.
inputs:
ticketKey:
title: "Jira Ticket Key"
type: string
required: true
description: "The Jira Issue Key (e.g., KAN-42)"
confluence:contextMenu:
- key: dictionary
function: main
title: Define word
webtrigger:
- key: iot-telemetry-trigger
function: ith
function:
# β
ROVO AGENT HANDLERS
- key: agent-status-fn
handler: index.rovoGetStatus
- key: agent-incident-fn
handler: index.rovoGetIncident
# EXISTING FUNCTIONS
- key: main
handler: index.run
providers:
auth:
- bitbucket-oauth-v2
- key: main-resolver
handler: index.mainResolver
providers:
auth:
- bitbucket-oauth-v2
- key: invoke-create-draft
handler: index.invokeCreateDraft
providers:
auth:
- bitbucket-oauth-v2
- key: cddh
handler: index.createDesignDraftHandler
providers:
auth:
- bitbucket-oauth-v2
- key: psh
handler: index.prescribeSolutionHandler
providers:
auth:
- bitbucket-oauth-v2
- key: trigger-fn
handler: index.triggerHandler
providers:
auth:
- bitbucket-oauth-v2
- key: ith
handler: index.ingestTelemetry
- key: learning-fn
handler: index.modelRetrainingHandler
providers:
auth:
- bitbucket-oauth-v2
trigger:
- key: issue-created-trigger
function: trigger-fn
events:
- avi:jira:created:issue
- key: issue-updated-trigger
function: learning-fn
events:
- avi:jira:updated:issue
jira:globalPage:
- key: pit-wall-global
resource: pit-wall-resource
resolver:
function: main-resolver
title: π Pit Wall Auth
icon: https://cdn-icons-png.flaticon.com/512/555/555646.png
jira:issuePanel:
- key: pit-wall-panel
resource: pit-wall-resource
resolver:
function: main-resolver
title: π Pit Wall (real)
icon: https://cdn-icons-png.flaticon.com/512/555/555646.png
jira:dashboardGadget:
- key: strategy-dashboard
title: "ποΈ F1 Strategy Command"
description: "Executive view of Fleet Health and AI Learning Status."
thumbnail: https://cdn-icons-png.flaticon.com/512/555/555646.png
resource: dashboard-resource
resolver:
function: main-resolver
extensions:
rovo:action:
- key: action-create-draft
name: Create Design Draft
description: Generates a Confluence design draft from Jira issue context.
function: cddh
inputs:
- name: jiraTicketKey
type: string
required: true
- key: action-prescribe-solution
name: Prescribe Failure Solution
description: Performs failure analysis and returns potential redesign guidance.
function: psh
inputs:
- name: jiraTicketKey
type: string
required: true
- name: failureData
type: string
required: true
resources:
- key: pit-wall-resource
path: static/pit-wall
- key: dashboard-resource
path: static/dashboard