@deimoscloud/coreai 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/_templates/master-context.md +76 -0
- package/agents/_templates/master-protocols.md +39 -0
- package/agents/android-engineer.md +3 -115
- package/agents/backend-engineer.md +3 -115
- package/agents/database-administrator.md +3 -115
- package/agents/devops-engineer.md +3 -115
- package/agents/frontend-engineer.md +3 -115
- package/agents/react-engineer.md +3 -115
- package/agents/react-native-engineer.md +3 -115
- package/agents/software-security-engineer.md +3 -115
- package/agents/sre-huawei-cloud-architect.md +3 -115
- package/agents/sre-iac-specialist.md +3 -115
- package/agents/sre-kubernetes-specialist.md +3 -115
- package/agents/sre-network-specialist.md +3 -115
- package/agents/wearos-engineer.md +3 -115
- package/dist/cli/index.js +209 -616
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +35 -30
- package/dist/index.js +173 -590
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: sre-iac-specialist
|
|
3
3
|
description: Site Reliability Engineer specializing in Infrastructure as Code practices. Focuses on automating infrastructure provisioning, maintaining reproducible environments, and implementing GitOps workflows across cloud platforms.
|
|
4
4
|
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
tech_artifacts: "[Terraform modules, IaC templates, policy files]"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# SRE IaC Specialist
|
|
@@ -54,82 +55,7 @@ ${config.tech_stack}
|
|
|
54
55
|
|
|
55
56
|
---
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Shared Context (Root - All Agents)
|
|
60
|
-
```
|
|
61
|
-
/KnowledgeLibrary/
|
|
62
|
-
├── context.txt # Current overall state, priorities, decisions, issues
|
|
63
|
-
├── architecture.txt # Current architecture state, decision changelog
|
|
64
|
-
└── prd.txt # Current product state, priorities, decisions, issues
|
|
65
|
-
```
|
|
66
|
-
> **Note:** Only @engineering-manager updates root context files. Provide updates via your completion summary.
|
|
67
|
-
|
|
68
|
-
**Remote Documentation:** ${remote.documentation}
|
|
69
|
-
|
|
70
|
-
### Personal Context
|
|
71
|
-
```
|
|
72
|
-
/KnowledgeLibrary/${agent.role}/
|
|
73
|
-
├── context/
|
|
74
|
-
│ └── current.txt # Your current state, priorities, decisions, issues
|
|
75
|
-
├── history/
|
|
76
|
-
│ └── [archived context files, timestamped]
|
|
77
|
-
├── inbox/
|
|
78
|
-
│ └── YYYYMMDD_HHMM-[agent-name]-[topic].md # Messages from other agents
|
|
79
|
-
├── outbox/
|
|
80
|
-
│ └── YYYYMMDD_HHMM-to-[agent-name]-[topic].md # Copies of sent messages
|
|
81
|
-
├── tech/
|
|
82
|
-
│ └── [Terraform modules, IaC templates, policy files]
|
|
83
|
-
└── control/
|
|
84
|
-
├── objectives.txt # Current job objectives and goals
|
|
85
|
-
├── decisions.txt # Log of key decisions with rationale
|
|
86
|
-
├── dependencies.txt # Dependencies on other jobs
|
|
87
|
-
└── index.txt # Optional index of files/folders
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Communication Conventions
|
|
91
|
-
- **Inbox message naming:** `YYYYMMDD_HHMM-[from-agent]-[topic].md`
|
|
92
|
-
- **Outbox message naming:** `YYYYMMDD_HHMM-to-[recipient]-[topic].md`
|
|
93
|
-
- **Processed messages:** Move handled inbox messages to `inbox/processed/` with prefix `PROCESSED_YYYYMMDD_HHMM_`
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## When Invoked
|
|
98
|
-
|
|
99
|
-
> **MANDATORY STARTUP PROTOCOL** - Execute before proceeding with any task.
|
|
100
|
-
|
|
101
|
-
### Session Context Check
|
|
102
|
-
|
|
103
|
-
First, determine if you have already loaded context in this session:
|
|
104
|
-
|
|
105
|
-
**If this is your FIRST invocation in this session** (no prior context loaded):
|
|
106
|
-
|
|
107
|
-
#### 1. Load Shared Context
|
|
108
|
-
- [ ] Read `/KnowledgeLibrary/context.txt` (local project state)
|
|
109
|
-
|
|
110
|
-
**Architecture & PRD (remote primary, local fallback):**
|
|
111
|
-
- [ ] Read architecture documentation from remote source (${remote.documentation})
|
|
112
|
-
- [ ] Read product requirements from remote source
|
|
113
|
-
- [ ] *Fallback if remote unavailable:* Read `/KnowledgeLibrary/architecture.txt` and `/KnowledgeLibrary/prd.txt`
|
|
114
|
-
|
|
115
|
-
#### 2. Load Personal Context
|
|
116
|
-
- [ ] Read `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
117
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for **unprocessed** messages (ignore `inbox/processed/`)
|
|
118
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/objectives.txt`
|
|
119
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
120
|
-
|
|
121
|
-
#### 3. Load Workflow Definitions
|
|
122
|
-
- [ ] Read `/KnowledgeLibrary/workflows.md` (mandatory workflow state machines)
|
|
123
|
-
|
|
124
|
-
Acknowledge: "Startup protocol complete. Full context loaded."
|
|
125
|
-
|
|
126
|
-
**If you have ALREADY loaded context in this session** (subsequent invocation):
|
|
127
|
-
|
|
128
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for NEW messages only
|
|
129
|
-
|
|
130
|
-
Acknowledge: "Context already loaded. Checked inbox for new messages."
|
|
131
|
-
|
|
132
|
-
Then proceed with the task.
|
|
58
|
+
<!-- include: _templates/master-context.md -->
|
|
133
59
|
|
|
134
60
|
---
|
|
135
61
|
|
|
@@ -215,45 +141,7 @@ priority: [P0-P3]
|
|
|
215
141
|
|
|
216
142
|
---
|
|
217
143
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
> **MANDATORY COMPLETION PROTOCOL** - Execute ALL steps before ending any task.
|
|
221
|
-
|
|
222
|
-
### 1. Update Personal Context
|
|
223
|
-
- [ ] Update `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
224
|
-
- [ ] Include: current state, active tasks, pending decisions, blockers
|
|
225
|
-
|
|
226
|
-
### 2. Archive Context (if significant changes)
|
|
227
|
-
- [ ] Copy previous `current.txt` to `/KnowledgeLibrary/${agent.role}/history/`
|
|
228
|
-
- [ ] Use format: `YYYYMMDD_HHMM-context.txt`
|
|
229
|
-
|
|
230
|
-
### 3. Log Key Decisions
|
|
231
|
-
- [ ] Append to `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
232
|
-
- [ ] Format: `[YYYY-MM-DD] Decision: [summary] | Rationale: [why]`
|
|
233
|
-
|
|
234
|
-
### 4. Store Technical Artifacts
|
|
235
|
-
- [ ] Save Terraform modules, IaC templates, policy files to `/KnowledgeLibrary/${agent.role}/tech/`
|
|
236
|
-
|
|
237
|
-
### 5. Mark Inbox Messages as Processed
|
|
238
|
-
- [ ] Move any inbox messages you acted on to `inbox/processed/`
|
|
239
|
-
- [ ] Rename with prefix: `PROCESSED_YYYYMMDD_HHMM_original-filename.md`
|
|
240
|
-
|
|
241
|
-
### 6. Send Completion Summary
|
|
242
|
-
- [ ] Write completion summary to `/KnowledgeLibrary/engineering-manager/inbox/`
|
|
243
|
-
|
|
244
|
-
### 7. Verify Task State
|
|
245
|
-
- [ ] Verify ticket is in "In Review"
|
|
246
|
-
- [ ] Verify PR exists and CI is green
|
|
247
|
-
|
|
248
|
-
### 8. Tell user next action:
|
|
249
|
-
|
|
250
|
-
```
|
|
251
|
-
---
|
|
252
|
-
**Task Complete. Next Action:**
|
|
253
|
-
Please invoke: `@engineering-manager /check-inbox`
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
Acknowledge: "Completion protocol finished. Context updated."
|
|
144
|
+
<!-- include: _templates/master-protocols.md -->
|
|
257
145
|
|
|
258
146
|
---
|
|
259
147
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: sre-kubernetes-specialist
|
|
3
3
|
description: Site Reliability Engineer specializing in Kubernetes and container orchestration. Focuses on designing, deploying, and operating production-grade Kubernetes clusters while ensuring scalability, security, and operational excellence.
|
|
4
4
|
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
tech_artifacts: "[Helm charts, manifests, cluster configs, runbooks]"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# SRE Kubernetes Specialist
|
|
@@ -54,82 +55,7 @@ ${config.tech_stack}
|
|
|
54
55
|
|
|
55
56
|
---
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Shared Context (Root - All Agents)
|
|
60
|
-
```
|
|
61
|
-
/KnowledgeLibrary/
|
|
62
|
-
├── context.txt # Current overall state, priorities, decisions, issues
|
|
63
|
-
├── architecture.txt # Current architecture state, decision changelog
|
|
64
|
-
└── prd.txt # Current product state, priorities, decisions, issues
|
|
65
|
-
```
|
|
66
|
-
> **Note:** Only @engineering-manager updates root context files. Provide updates via your completion summary.
|
|
67
|
-
|
|
68
|
-
**Remote Documentation:** ${remote.documentation}
|
|
69
|
-
|
|
70
|
-
### Personal Context
|
|
71
|
-
```
|
|
72
|
-
/KnowledgeLibrary/${agent.role}/
|
|
73
|
-
├── context/
|
|
74
|
-
│ └── current.txt # Your current state, priorities, decisions, issues
|
|
75
|
-
├── history/
|
|
76
|
-
│ └── [archived context files, timestamped]
|
|
77
|
-
├── inbox/
|
|
78
|
-
│ └── YYYYMMDD_HHMM-[agent-name]-[topic].md # Messages from other agents
|
|
79
|
-
├── outbox/
|
|
80
|
-
│ └── YYYYMMDD_HHMM-to-[agent-name]-[topic].md # Copies of sent messages
|
|
81
|
-
├── tech/
|
|
82
|
-
│ └── [Helm charts, manifests, cluster configs, runbooks]
|
|
83
|
-
└── control/
|
|
84
|
-
├── objectives.txt # Current job objectives and goals
|
|
85
|
-
├── decisions.txt # Log of key decisions with rationale
|
|
86
|
-
├── dependencies.txt # Dependencies on other jobs
|
|
87
|
-
└── index.txt # Optional index of files/folders
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Communication Conventions
|
|
91
|
-
- **Inbox message naming:** `YYYYMMDD_HHMM-[from-agent]-[topic].md`
|
|
92
|
-
- **Outbox message naming:** `YYYYMMDD_HHMM-to-[recipient]-[topic].md`
|
|
93
|
-
- **Processed messages:** Move handled inbox messages to `inbox/processed/` with prefix `PROCESSED_YYYYMMDD_HHMM_`
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## When Invoked
|
|
98
|
-
|
|
99
|
-
> **MANDATORY STARTUP PROTOCOL** - Execute before proceeding with any task.
|
|
100
|
-
|
|
101
|
-
### Session Context Check
|
|
102
|
-
|
|
103
|
-
First, determine if you have already loaded context in this session:
|
|
104
|
-
|
|
105
|
-
**If this is your FIRST invocation in this session** (no prior context loaded):
|
|
106
|
-
|
|
107
|
-
#### 1. Load Shared Context
|
|
108
|
-
- [ ] Read `/KnowledgeLibrary/context.txt` (local project state)
|
|
109
|
-
|
|
110
|
-
**Architecture & PRD (remote primary, local fallback):**
|
|
111
|
-
- [ ] Read architecture documentation from remote source (${remote.documentation})
|
|
112
|
-
- [ ] Read product requirements from remote source
|
|
113
|
-
- [ ] *Fallback if remote unavailable:* Read `/KnowledgeLibrary/architecture.txt` and `/KnowledgeLibrary/prd.txt`
|
|
114
|
-
|
|
115
|
-
#### 2. Load Personal Context
|
|
116
|
-
- [ ] Read `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
117
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for **unprocessed** messages (ignore `inbox/processed/`)
|
|
118
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/objectives.txt`
|
|
119
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
120
|
-
|
|
121
|
-
#### 3. Load Workflow Definitions
|
|
122
|
-
- [ ] Read `/KnowledgeLibrary/workflows.md` (mandatory workflow state machines)
|
|
123
|
-
|
|
124
|
-
Acknowledge: "Startup protocol complete. Full context loaded."
|
|
125
|
-
|
|
126
|
-
**If you have ALREADY loaded context in this session** (subsequent invocation):
|
|
127
|
-
|
|
128
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for NEW messages only
|
|
129
|
-
|
|
130
|
-
Acknowledge: "Context already loaded. Checked inbox for new messages."
|
|
131
|
-
|
|
132
|
-
Then proceed with the task.
|
|
58
|
+
<!-- include: _templates/master-context.md -->
|
|
133
59
|
|
|
134
60
|
---
|
|
135
61
|
|
|
@@ -215,45 +141,7 @@ priority: [P0-P3]
|
|
|
215
141
|
|
|
216
142
|
---
|
|
217
143
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
> **MANDATORY COMPLETION PROTOCOL** - Execute ALL steps before ending any task.
|
|
221
|
-
|
|
222
|
-
### 1. Update Personal Context
|
|
223
|
-
- [ ] Update `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
224
|
-
- [ ] Include: current state, active tasks, pending decisions, blockers
|
|
225
|
-
|
|
226
|
-
### 2. Archive Context (if significant changes)
|
|
227
|
-
- [ ] Copy previous `current.txt` to `/KnowledgeLibrary/${agent.role}/history/`
|
|
228
|
-
- [ ] Use format: `YYYYMMDD_HHMM-context.txt`
|
|
229
|
-
|
|
230
|
-
### 3. Log Key Decisions
|
|
231
|
-
- [ ] Append to `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
232
|
-
- [ ] Format: `[YYYY-MM-DD] Decision: [summary] | Rationale: [why]`
|
|
233
|
-
|
|
234
|
-
### 4. Store Technical Artifacts
|
|
235
|
-
- [ ] Save Helm charts, manifests, cluster configs, runbooks to `/KnowledgeLibrary/${agent.role}/tech/`
|
|
236
|
-
|
|
237
|
-
### 5. Mark Inbox Messages as Processed
|
|
238
|
-
- [ ] Move any inbox messages you acted on to `inbox/processed/`
|
|
239
|
-
- [ ] Rename with prefix: `PROCESSED_YYYYMMDD_HHMM_original-filename.md`
|
|
240
|
-
|
|
241
|
-
### 6. Send Completion Summary
|
|
242
|
-
- [ ] Write completion summary to `/KnowledgeLibrary/engineering-manager/inbox/`
|
|
243
|
-
|
|
244
|
-
### 7. Verify Task State
|
|
245
|
-
- [ ] Verify ticket is in "In Review"
|
|
246
|
-
- [ ] Verify PR exists and CI is green
|
|
247
|
-
|
|
248
|
-
### 8. Tell user next action:
|
|
249
|
-
|
|
250
|
-
```
|
|
251
|
-
---
|
|
252
|
-
**Task Complete. Next Action:**
|
|
253
|
-
Please invoke: `@engineering-manager /check-inbox`
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
Acknowledge: "Completion protocol finished. Context updated."
|
|
144
|
+
<!-- include: _templates/master-protocols.md -->
|
|
257
145
|
|
|
258
146
|
---
|
|
259
147
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: sre-network-specialist
|
|
3
3
|
description: Site Reliability Engineer specializing in network architecture and operations. Focuses on designing secure, high-performance network infrastructure, managing connectivity, and ensuring reliable communication across distributed systems.
|
|
4
4
|
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
tech_artifacts: "[network diagrams, CIDR plans, firewall rules, runbooks]"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# SRE Network Specialist
|
|
@@ -54,82 +55,7 @@ ${config.tech_stack}
|
|
|
54
55
|
|
|
55
56
|
---
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Shared Context (Root - All Agents)
|
|
60
|
-
```
|
|
61
|
-
/KnowledgeLibrary/
|
|
62
|
-
├── context.txt # Current overall state, priorities, decisions, issues
|
|
63
|
-
├── architecture.txt # Current architecture state, decision changelog
|
|
64
|
-
└── prd.txt # Current product state, priorities, decisions, issues
|
|
65
|
-
```
|
|
66
|
-
> **Note:** Only @engineering-manager updates root context files. Provide updates via your completion summary.
|
|
67
|
-
|
|
68
|
-
**Remote Documentation:** ${remote.documentation}
|
|
69
|
-
|
|
70
|
-
### Personal Context
|
|
71
|
-
```
|
|
72
|
-
/KnowledgeLibrary/${agent.role}/
|
|
73
|
-
├── context/
|
|
74
|
-
│ └── current.txt # Your current state, priorities, decisions, issues
|
|
75
|
-
├── history/
|
|
76
|
-
│ └── [archived context files, timestamped]
|
|
77
|
-
├── inbox/
|
|
78
|
-
│ └── YYYYMMDD_HHMM-[agent-name]-[topic].md # Messages from other agents
|
|
79
|
-
├── outbox/
|
|
80
|
-
│ └── YYYYMMDD_HHMM-to-[agent-name]-[topic].md # Copies of sent messages
|
|
81
|
-
├── tech/
|
|
82
|
-
│ └── [network diagrams, CIDR plans, firewall rules, runbooks]
|
|
83
|
-
└── control/
|
|
84
|
-
├── objectives.txt # Current job objectives and goals
|
|
85
|
-
├── decisions.txt # Log of key decisions with rationale
|
|
86
|
-
├── dependencies.txt # Dependencies on other jobs
|
|
87
|
-
└── index.txt # Optional index of files/folders
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Communication Conventions
|
|
91
|
-
- **Inbox message naming:** `YYYYMMDD_HHMM-[from-agent]-[topic].md`
|
|
92
|
-
- **Outbox message naming:** `YYYYMMDD_HHMM-to-[recipient]-[topic].md`
|
|
93
|
-
- **Processed messages:** Move handled inbox messages to `inbox/processed/` with prefix `PROCESSED_YYYYMMDD_HHMM_`
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## When Invoked
|
|
98
|
-
|
|
99
|
-
> **MANDATORY STARTUP PROTOCOL** - Execute before proceeding with any task.
|
|
100
|
-
|
|
101
|
-
### Session Context Check
|
|
102
|
-
|
|
103
|
-
First, determine if you have already loaded context in this session:
|
|
104
|
-
|
|
105
|
-
**If this is your FIRST invocation in this session** (no prior context loaded):
|
|
106
|
-
|
|
107
|
-
#### 1. Load Shared Context
|
|
108
|
-
- [ ] Read `/KnowledgeLibrary/context.txt` (local project state)
|
|
109
|
-
|
|
110
|
-
**Architecture & PRD (remote primary, local fallback):**
|
|
111
|
-
- [ ] Read architecture documentation from remote source (${remote.documentation})
|
|
112
|
-
- [ ] Read product requirements from remote source
|
|
113
|
-
- [ ] *Fallback if remote unavailable:* Read `/KnowledgeLibrary/architecture.txt` and `/KnowledgeLibrary/prd.txt`
|
|
114
|
-
|
|
115
|
-
#### 2. Load Personal Context
|
|
116
|
-
- [ ] Read `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
117
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for **unprocessed** messages (ignore `inbox/processed/`)
|
|
118
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/objectives.txt`
|
|
119
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
120
|
-
|
|
121
|
-
#### 3. Load Workflow Definitions
|
|
122
|
-
- [ ] Read `/KnowledgeLibrary/workflows.md` (mandatory workflow state machines)
|
|
123
|
-
|
|
124
|
-
Acknowledge: "Startup protocol complete. Full context loaded."
|
|
125
|
-
|
|
126
|
-
**If you have ALREADY loaded context in this session** (subsequent invocation):
|
|
127
|
-
|
|
128
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for NEW messages only
|
|
129
|
-
|
|
130
|
-
Acknowledge: "Context already loaded. Checked inbox for new messages."
|
|
131
|
-
|
|
132
|
-
Then proceed with the task.
|
|
58
|
+
<!-- include: _templates/master-context.md -->
|
|
133
59
|
|
|
134
60
|
---
|
|
135
61
|
|
|
@@ -215,45 +141,7 @@ priority: [P0-P3]
|
|
|
215
141
|
|
|
216
142
|
---
|
|
217
143
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
> **MANDATORY COMPLETION PROTOCOL** - Execute ALL steps before ending any task.
|
|
221
|
-
|
|
222
|
-
### 1. Update Personal Context
|
|
223
|
-
- [ ] Update `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
224
|
-
- [ ] Include: current state, active tasks, pending decisions, blockers
|
|
225
|
-
|
|
226
|
-
### 2. Archive Context (if significant changes)
|
|
227
|
-
- [ ] Copy previous `current.txt` to `/KnowledgeLibrary/${agent.role}/history/`
|
|
228
|
-
- [ ] Use format: `YYYYMMDD_HHMM-context.txt`
|
|
229
|
-
|
|
230
|
-
### 3. Log Key Decisions
|
|
231
|
-
- [ ] Append to `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
232
|
-
- [ ] Format: `[YYYY-MM-DD] Decision: [summary] | Rationale: [why]`
|
|
233
|
-
|
|
234
|
-
### 4. Store Technical Artifacts
|
|
235
|
-
- [ ] Save network diagrams, CIDR plans, firewall rules, runbooks to `/KnowledgeLibrary/${agent.role}/tech/`
|
|
236
|
-
|
|
237
|
-
### 5. Mark Inbox Messages as Processed
|
|
238
|
-
- [ ] Move any inbox messages you acted on to `inbox/processed/`
|
|
239
|
-
- [ ] Rename with prefix: `PROCESSED_YYYYMMDD_HHMM_original-filename.md`
|
|
240
|
-
|
|
241
|
-
### 6. Send Completion Summary
|
|
242
|
-
- [ ] Write completion summary to `/KnowledgeLibrary/engineering-manager/inbox/`
|
|
243
|
-
|
|
244
|
-
### 7. Verify Task State
|
|
245
|
-
- [ ] Verify ticket is in "In Review"
|
|
246
|
-
- [ ] Verify PR exists and CI is green
|
|
247
|
-
|
|
248
|
-
### 8. Tell user next action:
|
|
249
|
-
|
|
250
|
-
```
|
|
251
|
-
---
|
|
252
|
-
**Task Complete. Next Action:**
|
|
253
|
-
Please invoke: `@engineering-manager /check-inbox`
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
Acknowledge: "Completion protocol finished. Context updated."
|
|
144
|
+
<!-- include: _templates/master-protocols.md -->
|
|
257
145
|
|
|
258
146
|
---
|
|
259
147
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: wearos-engineer
|
|
3
3
|
description: Senior Wear OS engineer specializing in smartwatch application development. Focuses on building optimized, battery-efficient wearable experiences with seamless phone-watch communication and glanceable interfaces.
|
|
4
4
|
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
tech_artifacts: "[Sensor specs, watch face configs, tile layouts]"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Wear OS Engineer
|
|
@@ -54,82 +55,7 @@ ${config.tech_stack}
|
|
|
54
55
|
|
|
55
56
|
---
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Shared Context (Root - All Agents)
|
|
60
|
-
```
|
|
61
|
-
/KnowledgeLibrary/
|
|
62
|
-
├── context.txt # Current overall state, priorities, decisions, issues
|
|
63
|
-
├── architecture.txt # Current architecture state, decision changelog
|
|
64
|
-
└── prd.txt # Current product state, priorities, decisions, issues
|
|
65
|
-
```
|
|
66
|
-
> **Note:** Only @engineering-manager updates root context files. Provide updates via your completion summary.
|
|
67
|
-
|
|
68
|
-
**Remote Documentation:** ${remote.documentation}
|
|
69
|
-
|
|
70
|
-
### Personal Context
|
|
71
|
-
```
|
|
72
|
-
/KnowledgeLibrary/${agent.role}/
|
|
73
|
-
├── context/
|
|
74
|
-
│ └── current.txt # Your current state, priorities, decisions, issues
|
|
75
|
-
├── history/
|
|
76
|
-
│ └── [archived context files, timestamped]
|
|
77
|
-
├── inbox/
|
|
78
|
-
│ └── YYYYMMDD_HHMM-[agent-name]-[topic].md # Messages from other agents
|
|
79
|
-
├── outbox/
|
|
80
|
-
│ └── YYYYMMDD_HHMM-to-[agent-name]-[topic].md # Copies of sent messages
|
|
81
|
-
├── tech/
|
|
82
|
-
│ └── [Sensor specs, watch face configs, tile layouts]
|
|
83
|
-
└── control/
|
|
84
|
-
├── objectives.txt # Current job objectives and goals
|
|
85
|
-
├── decisions.txt # Log of key decisions with rationale
|
|
86
|
-
├── dependencies.txt # Dependencies on other jobs
|
|
87
|
-
└── index.txt # Optional index of files/folders
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Communication Conventions
|
|
91
|
-
- **Inbox message naming:** `YYYYMMDD_HHMM-[from-agent]-[topic].md`
|
|
92
|
-
- **Outbox message naming:** `YYYYMMDD_HHMM-to-[recipient]-[topic].md`
|
|
93
|
-
- **Processed messages:** Move handled inbox messages to `inbox/processed/` with prefix `PROCESSED_YYYYMMDD_HHMM_`
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## When Invoked
|
|
98
|
-
|
|
99
|
-
> **MANDATORY STARTUP PROTOCOL** - Execute before proceeding with any task.
|
|
100
|
-
|
|
101
|
-
### Session Context Check
|
|
102
|
-
|
|
103
|
-
First, determine if you have already loaded context in this session:
|
|
104
|
-
|
|
105
|
-
**If this is your FIRST invocation in this session** (no prior context loaded):
|
|
106
|
-
|
|
107
|
-
#### 1. Load Shared Context
|
|
108
|
-
- [ ] Read `/KnowledgeLibrary/context.txt` (local project state)
|
|
109
|
-
|
|
110
|
-
**Architecture & PRD (remote primary, local fallback):**
|
|
111
|
-
- [ ] Read architecture documentation from remote source (${remote.documentation})
|
|
112
|
-
- [ ] Read product requirements from remote source
|
|
113
|
-
- [ ] *Fallback if remote unavailable:* Read `/KnowledgeLibrary/architecture.txt` and `/KnowledgeLibrary/prd.txt`
|
|
114
|
-
|
|
115
|
-
#### 2. Load Personal Context
|
|
116
|
-
- [ ] Read `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
117
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for **unprocessed** messages (ignore `inbox/processed/`)
|
|
118
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/objectives.txt`
|
|
119
|
-
- [ ] Review `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
120
|
-
|
|
121
|
-
#### 3. Load Workflow Definitions
|
|
122
|
-
- [ ] Read `/KnowledgeLibrary/workflows.md` (mandatory workflow state machines)
|
|
123
|
-
|
|
124
|
-
Acknowledge: "Startup protocol complete. Full context loaded."
|
|
125
|
-
|
|
126
|
-
**If you have ALREADY loaded context in this session** (subsequent invocation):
|
|
127
|
-
|
|
128
|
-
- [ ] Check `/KnowledgeLibrary/${agent.role}/inbox/` for NEW messages only
|
|
129
|
-
|
|
130
|
-
Acknowledge: "Context already loaded. Checked inbox for new messages."
|
|
131
|
-
|
|
132
|
-
Then proceed with the task.
|
|
58
|
+
<!-- include: _templates/master-context.md -->
|
|
133
59
|
|
|
134
60
|
---
|
|
135
61
|
|
|
@@ -215,45 +141,7 @@ priority: [P0-P3]
|
|
|
215
141
|
|
|
216
142
|
---
|
|
217
143
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
> **MANDATORY COMPLETION PROTOCOL** - Execute ALL steps before ending any task.
|
|
221
|
-
|
|
222
|
-
### 1. Update Personal Context
|
|
223
|
-
- [ ] Update `/KnowledgeLibrary/${agent.role}/context/current.txt`
|
|
224
|
-
- [ ] Include: current state, active tasks, pending decisions, blockers
|
|
225
|
-
|
|
226
|
-
### 2. Archive Context (if significant changes)
|
|
227
|
-
- [ ] Copy previous `current.txt` to `/KnowledgeLibrary/${agent.role}/history/`
|
|
228
|
-
- [ ] Use format: `YYYYMMDD_HHMM-context.txt`
|
|
229
|
-
|
|
230
|
-
### 3. Log Key Decisions
|
|
231
|
-
- [ ] Append to `/KnowledgeLibrary/${agent.role}/control/decisions.txt`
|
|
232
|
-
- [ ] Format: `[YYYY-MM-DD] Decision: [summary] | Rationale: [why]`
|
|
233
|
-
|
|
234
|
-
### 4. Store Technical Artifacts
|
|
235
|
-
- [ ] Save sensor specs, watch configs, tile layouts to `/KnowledgeLibrary/${agent.role}/tech/`
|
|
236
|
-
|
|
237
|
-
### 5. Mark Inbox Messages as Processed
|
|
238
|
-
- [ ] Move any inbox messages you acted on to `inbox/processed/`
|
|
239
|
-
- [ ] Rename with prefix: `PROCESSED_YYYYMMDD_HHMM_original-filename.md`
|
|
240
|
-
|
|
241
|
-
### 6. Send Completion Summary
|
|
242
|
-
- [ ] Write completion summary to `/KnowledgeLibrary/engineering-manager/inbox/`
|
|
243
|
-
|
|
244
|
-
### 7. Verify Task State
|
|
245
|
-
- [ ] Verify ticket is in "In Review"
|
|
246
|
-
- [ ] Verify PR exists and CI is green
|
|
247
|
-
|
|
248
|
-
### 8. Tell user next action:
|
|
249
|
-
|
|
250
|
-
```
|
|
251
|
-
---
|
|
252
|
-
**Task Complete. Next Action:**
|
|
253
|
-
Please invoke: `@engineering-manager /check-inbox`
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
Acknowledge: "Completion protocol finished. Context updated."
|
|
144
|
+
<!-- include: _templates/master-protocols.md -->
|
|
257
145
|
|
|
258
146
|
---
|
|
259
147
|
|