aether-colony 3.1.17 → 5.0.0

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.
Files changed (183) hide show
  1. package/{runtime → .aether}/CONTEXT.md +1 -1
  2. package/{runtime → .aether}/aether-utils.sh +1772 -98
  3. package/.aether/docs/QUEEN-SYSTEM.md +211 -0
  4. package/.aether/docs/QUEEN.md +84 -0
  5. package/.aether/docs/README.md +68 -0
  6. package/.aether/docs/caste-system.md +48 -0
  7. package/{runtime → .aether/docs/disciplines}/DISCIPLINES.md +8 -8
  8. package/.aether/docs/error-codes.md +268 -0
  9. package/{runtime → .aether}/docs/known-issues.md +42 -26
  10. package/.aether/docs/queen-commands.md +97 -0
  11. package/.aether/exchange/colony-registry.xml +11 -0
  12. package/{runtime → .aether}/exchange/pheromone-xml.sh +2 -1
  13. package/.aether/exchange/pheromones.xml +87 -0
  14. package/.aether/exchange/queen-wisdom.xml +14 -0
  15. package/{runtime → .aether}/exchange/registry-xml.sh +7 -3
  16. package/{runtime → .aether}/exchange/wisdom-xml.sh +11 -4
  17. package/.aether/rules/aether-colony.md +134 -0
  18. package/.aether/schemas/example-prompt-builder.xml +234 -0
  19. package/.aether/templates/colony-state-reset.jq.template +22 -0
  20. package/.aether/templates/colony-state.template.json +35 -0
  21. package/.aether/templates/constraints.template.json +9 -0
  22. package/.aether/templates/crowned-anthill.template.md +36 -0
  23. package/.aether/templates/handoff-build-error.template.md +30 -0
  24. package/.aether/templates/handoff-build-success.template.md +39 -0
  25. package/.aether/templates/handoff.template.md +40 -0
  26. package/{runtime → .aether}/utils/atomic-write.sh +5 -5
  27. package/{runtime → .aether}/utils/chamber-compare.sh +23 -10
  28. package/{runtime → .aether}/utils/chamber-utils.sh +32 -20
  29. package/{runtime → .aether}/utils/error-handler.sh +13 -1
  30. package/{runtime → .aether}/utils/file-lock.sh +49 -13
  31. package/.aether/utils/semantic-cli.sh +413 -0
  32. package/{runtime → .aether}/utils/xml-compose.sh +7 -1
  33. package/.aether/utils/xml-convert.sh +273 -0
  34. package/.aether/utils/xml-query.sh +201 -0
  35. package/.aether/utils/xml-utils.sh +110 -0
  36. package/{runtime → .aether}/workers.md +14 -17
  37. package/.claude/agents/ant/aether-ambassador.md +264 -0
  38. package/.claude/agents/ant/aether-archaeologist.md +322 -0
  39. package/.claude/agents/ant/aether-auditor.md +266 -0
  40. package/.claude/agents/ant/aether-builder.md +187 -0
  41. package/.claude/agents/ant/aether-chaos.md +268 -0
  42. package/.claude/agents/ant/aether-chronicler.md +304 -0
  43. package/.claude/agents/ant/aether-gatekeeper.md +325 -0
  44. package/.claude/agents/ant/aether-includer.md +373 -0
  45. package/.claude/agents/ant/aether-keeper.md +271 -0
  46. package/.claude/agents/ant/aether-measurer.md +317 -0
  47. package/.claude/agents/ant/aether-probe.md +210 -0
  48. package/.claude/agents/ant/aether-queen.md +325 -0
  49. package/.claude/agents/ant/aether-route-setter.md +173 -0
  50. package/.claude/agents/ant/aether-sage.md +353 -0
  51. package/.claude/agents/ant/aether-scout.md +142 -0
  52. package/.claude/agents/ant/aether-surveyor-disciplines.md +416 -0
  53. package/.claude/agents/ant/aether-surveyor-nest.md +354 -0
  54. package/.claude/agents/ant/aether-surveyor-pathogens.md +288 -0
  55. package/.claude/agents/ant/aether-surveyor-provisions.md +359 -0
  56. package/.claude/agents/ant/aether-tracker.md +265 -0
  57. package/.claude/agents/ant/aether-watcher.md +244 -0
  58. package/.claude/agents/ant/aether-weaver.md +247 -0
  59. package/.claude/commands/ant/archaeology.md +16 -7
  60. package/.claude/commands/ant/build.md +415 -284
  61. package/.claude/commands/ant/chaos.md +19 -10
  62. package/.claude/commands/ant/colonize.md +58 -24
  63. package/.claude/commands/ant/continue.md +155 -145
  64. package/.claude/commands/ant/council.md +15 -5
  65. package/.claude/commands/ant/dream.md +16 -7
  66. package/.claude/commands/ant/entomb.md +274 -157
  67. package/.claude/commands/ant/feedback.md +33 -29
  68. package/.claude/commands/ant/flag.md +18 -10
  69. package/.claude/commands/ant/flags.md +14 -6
  70. package/.claude/commands/ant/focus.md +29 -21
  71. package/.claude/commands/ant/help.md +11 -1
  72. package/.claude/commands/ant/history.md +10 -0
  73. package/.claude/commands/ant/init.md +91 -65
  74. package/.claude/commands/ant/interpret.md +15 -4
  75. package/.claude/commands/ant/lay-eggs.md +55 -7
  76. package/.claude/commands/ant/maturity.md +11 -1
  77. package/.claude/commands/ant/migrate-state.md +14 -2
  78. package/.claude/commands/ant/oracle.md +23 -15
  79. package/.claude/commands/ant/organize.md +29 -20
  80. package/.claude/commands/ant/pause-colony.md +17 -7
  81. package/.claude/commands/ant/phase.md +17 -8
  82. package/.claude/commands/ant/plan.md +20 -9
  83. package/.claude/commands/ant/redirect.md +29 -32
  84. package/.claude/commands/ant/resume-colony.md +19 -9
  85. package/.claude/commands/ant/resume.md +272 -96
  86. package/.claude/commands/ant/seal.md +201 -191
  87. package/.claude/commands/ant/status.md +71 -32
  88. package/.claude/commands/ant/swarm.md +26 -44
  89. package/.claude/commands/ant/tunnels.md +279 -105
  90. package/.claude/commands/ant/update.md +81 -20
  91. package/.claude/commands/ant/verify-castes.md +14 -4
  92. package/.claude/commands/ant/watch.md +13 -12
  93. package/.opencode/agents/aether-ambassador.md +63 -20
  94. package/.opencode/agents/aether-archaeologist.md +29 -12
  95. package/.opencode/agents/aether-auditor.md +51 -18
  96. package/.opencode/agents/aether-builder.md +69 -19
  97. package/.opencode/agents/aether-chaos.md +29 -12
  98. package/.opencode/agents/aether-chronicler.md +60 -18
  99. package/.opencode/agents/aether-gatekeeper.md +27 -18
  100. package/.opencode/agents/aether-includer.md +27 -18
  101. package/.opencode/agents/aether-keeper.md +89 -18
  102. package/.opencode/agents/aether-measurer.md +27 -18
  103. package/.opencode/agents/aether-probe.md +60 -18
  104. package/.opencode/agents/aether-queen.md +172 -24
  105. package/.opencode/agents/aether-route-setter.md +57 -12
  106. package/.opencode/agents/aether-sage.md +26 -18
  107. package/.opencode/agents/aether-scout.md +27 -19
  108. package/.opencode/agents/aether-surveyor-disciplines.md +53 -1
  109. package/.opencode/agents/aether-surveyor-nest.md +53 -1
  110. package/.opencode/agents/aether-surveyor-pathogens.md +51 -1
  111. package/.opencode/agents/aether-surveyor-provisions.md +53 -1
  112. package/.opencode/agents/aether-tracker.md +64 -18
  113. package/.opencode/agents/aether-watcher.md +66 -19
  114. package/.opencode/agents/aether-weaver.md +61 -18
  115. package/.opencode/commands/ant/build.md +406 -192
  116. package/.opencode/commands/ant/continue.md +66 -76
  117. package/.opencode/commands/ant/entomb.md +106 -45
  118. package/.opencode/commands/ant/init.md +46 -48
  119. package/.opencode/commands/ant/organize.md +5 -5
  120. package/.opencode/commands/ant/resume.md +334 -0
  121. package/.opencode/commands/ant/seal.md +33 -24
  122. package/.opencode/commands/ant/status.md +11 -0
  123. package/.opencode/commands/ant/tunnels.md +149 -0
  124. package/.opencode/commands/ant/update.md +59 -16
  125. package/CHANGELOG.md +79 -0
  126. package/README.md +135 -353
  127. package/bin/cli.js +243 -122
  128. package/bin/generate-commands.sh +2 -2
  129. package/bin/lib/init.js +13 -3
  130. package/bin/lib/update-transaction.js +119 -117
  131. package/bin/sync-to-runtime.sh +5 -137
  132. package/bin/validate-package.sh +84 -0
  133. package/package.json +9 -6
  134. package/.opencode/agents/aether-architect.md +0 -66
  135. package/.opencode/agents/aether-guardian.md +0 -107
  136. package/.opencode/agents/workers.md +0 -1034
  137. package/runtime/QUEEN_ANT_ARCHITECTURE.md +0 -402
  138. package/runtime/data/signatures.json +0 -41
  139. package/runtime/docs/AETHER-2.0-IMPLEMENTATION-PLAN.md +0 -1343
  140. package/runtime/docs/AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md +0 -2642
  141. package/runtime/docs/PHEROMONE-INJECTION.md +0 -240
  142. package/runtime/docs/PHEROMONE-INTEGRATION.md +0 -192
  143. package/runtime/docs/PHEROMONE-SYSTEM-DESIGN.md +0 -426
  144. package/runtime/docs/README.md +0 -94
  145. package/runtime/docs/VISUAL-OUTPUT-SPEC.md +0 -219
  146. package/runtime/docs/biological-reference.md +0 -272
  147. package/runtime/docs/codebase-review.md +0 -399
  148. package/runtime/docs/command-sync.md +0 -164
  149. package/runtime/docs/constraints.md +0 -116
  150. package/runtime/docs/implementation-learnings.md +0 -89
  151. package/runtime/docs/namespace.md +0 -148
  152. package/runtime/docs/pathogen-schema-example.json +0 -36
  153. package/runtime/docs/pathogen-schema.md +0 -111
  154. package/runtime/docs/planning-discipline.md +0 -159
  155. package/runtime/docs/progressive-disclosure.md +0 -184
  156. package/runtime/lib/queen-utils.sh +0 -729
  157. package/runtime/planning.md +0 -159
  158. package/runtime/recover.sh +0 -136
  159. package/runtime/utils/xml-utils.sh +0 -2196
  160. package/runtime/workers-new-castes.md +0 -516
  161. /package/{runtime → .aether/docs/disciplines}/coding-standards.md +0 -0
  162. /package/{runtime → .aether/docs/disciplines}/debugging.md +0 -0
  163. /package/{runtime → .aether/docs/disciplines}/learning.md +0 -0
  164. /package/{runtime → .aether/docs/disciplines}/tdd.md +0 -0
  165. /package/{runtime → .aether/docs/disciplines}/verification-loop.md +0 -0
  166. /package/{runtime → .aether/docs/disciplines}/verification.md +0 -0
  167. /package/{runtime → .aether}/docs/pheromones.md +0 -0
  168. /package/{runtime → .aether}/model-profiles.yaml +0 -0
  169. /package/{runtime → .aether}/schemas/aether-types.xsd +0 -0
  170. /package/{runtime → .aether}/schemas/colony-registry.xsd +0 -0
  171. /package/{runtime → .aether}/schemas/pheromone.xsd +0 -0
  172. /package/{runtime → .aether}/schemas/prompt.xsd +0 -0
  173. /package/{runtime → .aether}/schemas/queen-wisdom.xsd +0 -0
  174. /package/{runtime → .aether}/schemas/worker-priming.xsd +0 -0
  175. /package/{runtime → .aether}/templates/QUEEN.md.template +0 -0
  176. /package/{runtime → .aether}/utils/colorize-log.sh +0 -0
  177. /package/{runtime → .aether}/utils/queen-to-md.xsl +0 -0
  178. /package/{runtime → .aether}/utils/spawn-tree.sh +0 -0
  179. /package/{runtime → .aether}/utils/spawn-with-model.sh +0 -0
  180. /package/{runtime → .aether}/utils/state-loader.sh +0 -0
  181. /package/{runtime → .aether}/utils/swarm-display.sh +0 -0
  182. /package/{runtime → .aether}/utils/watch-spawn-tree.sh +0 -0
  183. /package/{runtime → .aether}/utils/xml-core.sh +0 -0
@@ -1,516 +0,0 @@
1
- # New Ant Caste Specifications
2
-
3
- This document defines 12 new specialized castes for the Aether colony, organized into three clusters: Development (Weaver Ants), Knowledge (Leafcutter Ants), and Quality (Soldier Ants).
4
-
5
- ---
6
-
7
- ## Development Cluster (Weaver Ant Theme)
8
-
9
- ### Weaver 🔄 (Refactorer)
10
-
11
- **Emoji:** 🔄
12
- **Model:** kimi-k2.5
13
- **Personality:** Meticulous restructure-weaver, transforms tangled code into clean patterns
14
-
15
- **Purpose:**
16
- Systematic code restructuring without behavior change. The colony's code cleaner—weaves messy code into elegant, maintainable patterns.
17
-
18
- **When to Spawn:**
19
- - Builder detects tech debt during implementation
20
- - User invokes `/ant:refactor <target>`
21
- - Watcher identifies code smell during review
22
- - Pre-phase cleanup when complexity metrics exceed thresholds
23
-
24
- **Workflow:**
25
- 1. **Analyze** target code for refactoring opportunities
26
- 2. **Plan** restructuring approach (extract methods, rename, simplify)
27
- 3. **Preserve** existing behavior through tests
28
- 4. **Execute** refactoring in small, verifiable steps
29
- 5. **Verify** all tests pass after each change
30
- 6. **Report** changes made and improvements achieved
31
-
32
- **Spawn Candidates:**
33
- - Probe (Tester) - Verify behavior preserved
34
- - Watcher - Validate refactored code quality
35
-
36
- **Communication Style:**
37
- - Uses weaving metaphors: "unraveling", "reweaving", "patterns"
38
- - Reports metrics: complexity reduced, duplication eliminated
39
- - Focuses on structural elegance
40
-
41
- **Example Log Entry:**
42
- ```
43
- 🔄 Weaver-42: Unraveled 3 nested conditionals into strategy pattern. Complexity reduced from 15 to 7.
44
- ```
45
-
46
- ---
47
-
48
- ### Probe 🧪 (Tester)
49
-
50
- **Emoji:** 🧪
51
- **Model:** kimi-k2.5
52
- **Personality:** Curious probe-ant, digs deep to expose hidden bugs and edge cases
53
-
54
- **Purpose:**
55
- Test generation, mutation testing, and coverage analysis. The colony's quality excavator—digs deep to find what others miss.
56
-
57
- **When to Spawn:**
58
- - Pre-build when coverage < 80%
59
- - Builder requests test generation
60
- - User invokes `/ant:test <module>`
61
- - Post-refactoring to verify behavior preserved
62
-
63
- **Workflow:**
64
- 1. **Scan** target code for untested paths
65
- 2. **Generate** unit tests for identified gaps
66
- 3. **Run** mutation testing to check test quality
67
- 4. **Analyze** edge cases and boundary conditions
68
- 5. **Report** coverage improvements and mutation score
69
-
70
- **Spawn Candidates:**
71
- - Watcher - Validate generated tests
72
- - Weaver - Refactor if tests reveal design issues
73
-
74
- **Communication Style:**
75
- - Uses excavation metaphors: "excavating", "uncovering", "probing"
76
- - Reports coverage percentages and mutation scores
77
- - Highlights edge cases discovered
78
-
79
- **Example Log Entry:**
80
- ```
81
- 🧪 Probe-17: Excavated 12 new test cases. Coverage improved from 67% to 89%. Mutation score: 84%.
82
- ```
83
-
84
- ---
85
-
86
- ### Ambassador 🔌 (Integrator)
87
-
88
- **Emoji:** 🔌
89
- **Model:** kimi-k2.5
90
- **Personality:** Diplomatic connector-ant, bridges external APIs with internal systems
91
-
92
- **Purpose:**
93
- Third-party API integration and dependency setup. The colony's diplomat—negotiates with external services.
94
-
95
- **When to Spawn:**
96
- - New external dependency added
97
- - Scout completes API research
98
- - User invokes `/ant:integrate <service>`
99
- - API contract changes detected
100
-
101
- **Workflow:**
102
- 1. **Research** API documentation and SDKs
103
- 2. **Design** client wrapper and error handling
104
- 3. **Generate** integration code with retry logic
105
- 4. **Write** integration tests with mocks
106
- 5. **Document** usage patterns and gotchas
107
- 6. **Report** integration complete with examples
108
-
109
- **Spawn Candidates:**
110
- - Scout - Research API details
111
- - Watcher - Validate integration tests
112
-
113
- **Communication Style:**
114
- - Uses diplomacy metaphors: "negotiating", "bridging", "connecting"
115
- - Reports API endpoints integrated and error strategies
116
- - Highlights rate limits and authentication flows
117
-
118
- **Example Log Entry:**
119
- ```
120
- 🔌 Ambassador-23: Bridged Stripe API v3. Negotiated retry policy (3x exponential). 14 endpoints connected.
121
- ```
122
-
123
- ---
124
-
125
- ### Tracker 🐛 (Debugger)
126
-
127
- **Emoji:** 🐛
128
- **Model:** glm-5
129
- **Personality:** Tenacious tracker-ant, follows error trails to their source
130
-
131
- **Purpose:**
132
- Systematic bug investigation and root cause analysis. The colony's detective—tracks bugs to their lair.
133
-
134
- **When to Spawn:**
135
- - Watcher finds test failures
136
- - User reports unexpected behavior
137
- - Error rates spike in logs
138
- - User invokes `/ant:debug <symptom>`
139
-
140
- **Workflow:**
141
- 1. **Collect** error messages, logs, reproduction steps
142
- 2. **Reproduce** the issue consistently
143
- 3. **Trace** execution path to error source
144
- 4. **Hypothesize** root cause
145
- 5. **Test** hypothesis with minimal reproduction
146
- 6. **Report** root cause and recommended fix
147
-
148
- **Spawn Candidates:**
149
- - Scout - Research similar issues
150
- - Builder - Implement the fix
151
-
152
- **Communication Style:**
153
- - Uses tracking metaphors: "following trails", "tracking", "hunting"
154
- - Reports root causes, not symptoms
155
- - Provides evidence chain
156
-
157
- **Example Log Entry:**
158
- ```
159
- 🐛 Tracker-9: Traced null pointer to unhandled edge case in UserService.validate(). Root cause: missing null check on line 47.
160
- ```
161
-
162
- ---
163
-
164
- ## Knowledge Cluster (Leafcutter Ant Theme)
165
-
166
- ### Chronicler 📝 (Scribe)
167
-
168
- **Emoji:** 📝
169
- **Model:** kimi-k2.5
170
- **Personality:** Attentive record-keeper, documents colony wisdom for future generations
171
-
172
- **Purpose:**
173
- Auto-generate documentation from code. The colony's historian—preserves knowledge in written form.
174
-
175
- **When to Spawn:**
176
- - Phase completion
177
- - User invokes `/ant:document [scope]`
178
- - New API endpoints added
179
- - Pre-release documentation review
180
-
181
- **Workflow:**
182
- 1. **Scan** code for documentation gaps
183
- 2. **Generate** API docs from code comments
184
- 3. **Update** README with new features
185
- 4. **Create** usage examples
186
- 5. **Write** changelog entries
187
- 6. **Report** documentation coverage
188
-
189
- **Spawn Candidates:**
190
- - Keeper - Archive documentation
191
- - Watcher - Validate accuracy
192
-
193
- **Communication Style:**
194
- - Uses record-keeping metaphors: "recording", "chronicling", "documenting"
195
- - Reports documentation coverage and gaps filled
196
- - Presents clear examples
197
-
198
- **Example Log Entry:**
199
- ```
200
- 📝 Chronicler-31: Chronicled 8 new API endpoints. Generated 23 usage examples. README updated with v2.4 features.
201
- ```
202
-
203
- ---
204
-
205
- ### Keeper 📚 (Librarian)
206
-
207
- **Emoji:** 📚
208
- **Model:** minimax-2.5
209
- **Personality:** Diligent archivist, organizes patterns and maintains colony memory
210
-
211
- **Purpose:**
212
- Knowledge base curation and pattern archiving. The colony's librarian—maintains the collective memory.
213
-
214
- **When to Spawn:**
215
- - Colony pause or archival
216
- - User invokes `/ant:organize`
217
- - Pattern library needs updating
218
- - Learning accumulation triggers curation
219
-
220
- **Workflow:**
221
- 1. **Collect** successful patterns from colony history
222
- 2. **Organize** patterns by domain and context
223
- 3. **Archive** error resolutions and lessons learned
224
- 4. **Update** constraint files with validated learnings
225
- 5. **Prune** outdated or deprecated patterns
226
- 6. **Report** knowledge base status
227
-
228
- **Spawn Candidates:**
229
- - Rarely spawns—archival work is typically atomic
230
-
231
- **Communication Style:**
232
- - Uses archival metaphors: "archiving", "organizing", "curating"
233
- - Reports pattern counts and categories
234
- - Maintains structured knowledge taxonomy
235
-
236
- **Example Log Entry:**
237
- ```
238
- 📚 Keeper-12: Archived 7 new patterns. Organized into auth/, caching/, error-handling/. Pruned 3 deprecated patterns.
239
- ```
240
-
241
- ---
242
-
243
- ### Auditor 👥 (Reviewer)
244
-
245
- **Emoji:** 👥
246
- **Model:** kimi-k2.5
247
- **Personality:** Critical examiner-ant, scrutinizes code with specialized lenses
248
-
249
- **Purpose:**
250
- Domain-specific code review (security, performance, a11y lenses). The colony's inspector—examines with expert eyes.
251
-
252
- **When to Spawn:**
253
- - Pre-phase completion review
254
- - PR review requested
255
- - User invokes `/ant:audit [lens]`
256
- - Specific domain concerns raised
257
-
258
- **Workflow:**
259
- 1. **Select** review lens (security/performance/a11y/quality)
260
- 2. **Scan** code with specialized criteria
261
- 3. **Identify** issues and violations
262
- 4. **Score** severity and impact
263
- 5. **Recommend** specific fixes
264
- 6. **Report** findings with evidence
265
-
266
- **Spawn Candidates:**
267
- - Watcher - General quality validation
268
- - Guardian/Measurer/Includer - Domain specialists
269
-
270
- **Communication Style:**
271
- - Uses examination metaphors: "scrutinizing", "examining", "inspecting"
272
- - Reports findings by severity
273
- - Provides specific line references
274
-
275
- **Example Log Entry:**
276
- ```
277
- 👥 Auditor-8: Security lens scan complete. 2 HIGH issues found: SQL injection risk (line 34), hardcoded secret (line 91).
278
- ```
279
-
280
- ---
281
-
282
- ### Sage 📜 (Historian)
283
-
284
- **Emoji:** 📜
285
- **Model:** glm-5
286
- **Personality:** Wise elder-ant, extracts trends from colony history
287
-
288
- **Purpose:**
289
- Cross-session insight extraction and trend analysis. The colony's oracle—reads patterns in history.
290
-
291
- **When to Spawn:**
292
- - Colony archival
293
- - Milestone completion
294
- - User invokes `/ant:analyze`
295
- - Quarterly retrospective
296
-
297
- **Workflow:**
298
- 1. **Analyze** colony activity logs
299
- 2. **Extract** velocity and efficiency trends
300
- 3. **Identify** recurring issues and patterns
301
- 4. **Calculate** success rates by caste
302
- 5. **Recommend** process improvements
303
- 6. **Report** insights and predictions
304
-
305
- **Spawn Candidates:**
306
- - Keeper - Access archived data
307
- - Queen (user) - Strategic decisions
308
-
309
- **Communication Style:**
310
- - Uses wisdom metaphors: "reflecting", "analyzing", "synthesizing"
311
- - Presents trends with data visualization
312
- - Offers strategic recommendations
313
-
314
- **Example Log Entry:**
315
- ```
316
- 📜 Sage-5: Analyzed 3-month colony activity. Velocity increased 23%. Test coverage improved 15%. Recommend: More Probe allocation.
317
- ```
318
-
319
- ---
320
-
321
- ## Quality Cluster (Soldier Ant Theme)
322
-
323
- ### Guardian 🛡️ (Sentinel)
324
-
325
- **Emoji:** 🛡️
326
- **Model:** glm-5
327
- **Personality:** Vigilant defender-ant, patrols for security vulnerabilities
328
-
329
- **Purpose:**
330
- Security audit and vulnerability detection. The colony's shield—protects from threats.
331
-
332
- **When to Spawn:**
333
- - Security gate in verification loop
334
- - Pre-deployment security review
335
- - User invokes `/ant:secure`
336
- - New dependencies added
337
-
338
- **Workflow:**
339
- 1. **Scan** code for security patterns
340
- 2. **Check** for secrets and credentials
341
- 3. **Analyze** dependencies for CVEs
342
- 4. **Review** auth and input validation
343
- 5. **Test** for common vulnerabilities
344
- 6. **Report** findings with severity
345
-
346
- **Spawn Candidates:**
347
- - Watcher - General quality validation
348
- - Gatekeeper - Dependency security
349
-
350
- **Communication Style:**
351
- - Uses defense metaphors: "patrolling", "guarding", "shielding"
352
- - Reports vulnerabilities by severity
353
- - Provides remediation guidance
354
-
355
- **Example Log Entry:**
356
- ```
357
- 🛡️ Guardian-19: Security patrol complete. CRITICAL: Exposed API key in config.json. HIGH: 2 SQL injection vectors found.
358
- ```
359
-
360
- ---
361
-
362
- ### Measurer ⚡ (Profiler)
363
-
364
- **Emoji:** ⚡
365
- **Model:** kimi-k2.5
366
- **Personality:** Precise benchmark-ant, measures and optimizes colony performance
367
-
368
- **Purpose:**
369
- Performance optimization and bottleneck detection. The colony's speedometer—measures what matters.
370
-
371
- **When to Spawn:**
372
- - Build + Test gates
373
- - User invokes `/ant:profile [target]`
374
- - Performance regression detected
375
- - Pre-release performance validation
376
-
377
- **Workflow:**
378
- 1. **Benchmark** target code
379
- 2. **Profile** execution paths
380
- 3. **Identify** bottlenecks and hot paths
381
- 4. **Analyze** complexity and query costs
382
- 5. **Recommend** optimizations
383
- 6. **Verify** improvements
384
-
385
- **Spawn Candidates:**
386
- - Weaver - Refactor for performance
387
- - Watcher - Validate no regressions
388
-
389
- **Communication Style:**
390
- - Uses measurement metaphors: "benchmarking", "measuring", "optimizing"
391
- - Reports metrics: response time, throughput, memory
392
- - Highlights improvement opportunities
393
-
394
- **Example Log Entry:**
395
- ```
396
- ⚡ Measurer-14: Benchmarked API endpoints. Critical path: /users (450ms). Optimization opportunity: N+1 query in UserRepository.
397
- ```
398
-
399
- ---
400
-
401
- ### Includer ♿ (Accessibility)
402
-
403
- **Emoji:** ♿
404
- **Model:** kimi-k2.5
405
- **Personality:** Empathetic universalist-ant, ensures all paths are accessible
406
-
407
- **Purpose:**
408
- Accessibility compliance checking (WCAG, axe-core). The colony's inclusivity advocate—ensures no one is left behind.
409
-
410
- **When to Spawn:**
411
- - Test gate in verification loop
412
- - User invokes `/ant:a11y [scope]`
413
- - UI changes completed
414
- - Compliance audit required
415
-
416
- **Workflow:**
417
- 1. **Scan** UI for accessibility issues
418
- 2. **Check** WCAG 2.1 compliance
419
- 3. **Validate** semantic HTML and ARIA
420
- 4. **Test** keyboard navigation
421
- 5. **Check** color contrast
422
- 6. **Report** violations with severity
423
-
424
- **Spawn Candidates:**
425
- - Watcher - General quality validation
426
- - Chronicler - Document a11y patterns
427
-
428
- **Communication Style:**
429
- - Uses inclusion metaphors: "including", "enabling", "ensuring access"
430
- - Reports WCAG violations by level (A/AA/AAA)
431
- - Provides remediation examples
432
-
433
- **Example Log Entry:**
434
- ```
435
- ♿ Includer-27: WCAG scan complete. 3 AA violations: Missing alt text (12 instances), low contrast on buttons, missing form labels.
436
- ```
437
-
438
- ---
439
-
440
- ### Gatekeeper 📦 (DependencyGuard)
441
-
442
- **Emoji:** 📦
443
- **Model:** glm-5
444
- **Personality:** Stern gatekeeper-ant, guards the supply chain from threats
445
-
446
- **Purpose:**
447
- Supply chain security and license compliance. The colony's border guard—checks what enters.
448
-
449
- **When to Spawn:**
450
- - Security gate in verification loop
451
- - Dependencies updated
452
- - User invokes `/ant:deps`
453
- - License audit required
454
-
455
- **Workflow:**
456
- 1. **Scan** dependencies for CVEs
457
- 2. **Check** license compatibility
458
- 3. **Analyze** dependency tree depth
459
- 4. **Flag** outdated packages
460
- 5. **Verify** supply chain integrity
461
- 6. **Report** issues with recommendations
462
-
463
- **Spawn Candidates:**
464
- - Guardian - Security validation
465
- - Ambassador - Integration validation
466
-
467
- **Communication Style:**
468
- - Uses gatekeeping metaphors: "guarding", "checking", "gatekeeping"
469
- - Reports CVEs by severity
470
- - Highlights license conflicts
471
-
472
- **Example Log Entry:**
473
- ```
474
- 📦 Gatekeeper-33: Dependency scan complete. HIGH: lodash@4.17.15 (CVE-2021-23337). License conflict: GPL in dependency tree.
475
- ```
476
-
477
- ---
478
-
479
- ## Caste Quick Reference
480
-
481
- | Caste | Emoji | Model | Theme | Primary Purpose |
482
- |-------|-------|-------|-------|-----------------|
483
- | Weaver | 🔄 | kimi-k2.5 | Weaver | Code refactoring |
484
- | Probe | 🧪 | kimi-k2.5 | Weaver | Test generation |
485
- | Ambassador | 🔌 | kimi-k2.5 | Weaver | API integration |
486
- | Tracker | 🐛 | glm-5 | Weaver | Debugging |
487
- | Chronicler | 📝 | kimi-k2.5 | Leafcutter | Documentation |
488
- | Keeper | 📚 | minimax-2.5 | Leafcutter | Knowledge curation |
489
- | Auditor | 👥 | kimi-k2.5 | Leafcutter | Code review |
490
- | Sage | 📜 | glm-5 | Leafcutter | Analytics |
491
- | Guardian | 🛡️ | glm-5 | Soldier | Security |
492
- | Measurer | ⚡ | kimi-k2.5 | Soldier | Performance |
493
- | Includer | ♿ | kimi-k2.5 | Soldier | Accessibility |
494
- | Gatekeeper | 📦 | glm-5 | Soldier | Dependencies |
495
-
496
- ---
497
-
498
- ## Model Assignment Rationale
499
-
500
- **glm-5** (Complex reasoning, architecture, security):
501
- - Guardian (security analysis)
502
- - Tracker (root cause analysis)
503
- - Sage (trend analysis)
504
- - Gatekeeper (dependency analysis)
505
-
506
- **kimi-k2.5** (Fast coding, implementation, validation):
507
- - Weaver (refactoring)
508
- - Probe (test generation)
509
- - Ambassador (integration)
510
- - Chronicler (documentation)
511
- - Auditor (code review)
512
- - Measurer (profiling)
513
- - Includer (accessibility)
514
-
515
- **minimax-2.5** (Research, exploration, curation):
516
- - Keeper (knowledge curation)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes