aether-colony 3.1.4 β 3.1.15
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/.claude/commands/ant/archaeology.md +12 -0
- package/.claude/commands/ant/build.md +382 -319
- package/.claude/commands/ant/chaos.md +23 -1
- package/.claude/commands/ant/colonize.md +147 -87
- package/.claude/commands/ant/continue.md +213 -23
- package/.claude/commands/ant/council.md +22 -0
- package/.claude/commands/ant/dream.md +18 -0
- package/.claude/commands/ant/entomb.md +178 -6
- package/.claude/commands/ant/init.md +87 -13
- package/.claude/commands/ant/lay-eggs.md +45 -5
- package/.claude/commands/ant/oracle.md +82 -9
- package/.claude/commands/ant/organize.md +2 -2
- package/.claude/commands/ant/pause-colony.md +86 -28
- package/.claude/commands/ant/phase.md +26 -0
- package/.claude/commands/ant/plan.md +204 -111
- package/.claude/commands/ant/resume-colony.md +23 -1
- package/.claude/commands/ant/resume.md +159 -0
- package/.claude/commands/ant/seal.md +177 -3
- package/.claude/commands/ant/swarm.md +78 -97
- package/.claude/commands/ant/verify-castes.md +7 -7
- package/.claude/commands/ant/watch.md +17 -0
- package/.opencode/agents/aether-ambassador.md +97 -0
- package/.opencode/agents/aether-archaeologist.md +91 -0
- package/.opencode/agents/aether-architect.md +66 -0
- package/.opencode/agents/aether-auditor.md +111 -0
- package/.opencode/agents/aether-builder.md +28 -10
- package/.opencode/agents/aether-chaos.md +98 -0
- package/.opencode/agents/aether-chronicler.md +80 -0
- package/.opencode/agents/aether-gatekeeper.md +107 -0
- package/.opencode/agents/aether-guardian.md +107 -0
- package/.opencode/agents/aether-includer.md +108 -0
- package/.opencode/agents/aether-keeper.md +106 -0
- package/.opencode/agents/aether-measurer.md +119 -0
- package/.opencode/agents/aether-probe.md +91 -0
- package/.opencode/agents/aether-queen.md +72 -19
- package/.opencode/agents/aether-route-setter.md +85 -0
- package/.opencode/agents/aether-sage.md +98 -0
- package/.opencode/agents/aether-scout.md +33 -15
- package/.opencode/agents/aether-surveyor-disciplines.md +334 -0
- package/.opencode/agents/aether-surveyor-nest.md +272 -0
- package/.opencode/agents/aether-surveyor-pathogens.md +209 -0
- package/.opencode/agents/aether-surveyor-provisions.md +277 -0
- package/.opencode/agents/aether-tracker.md +91 -0
- package/.opencode/agents/aether-watcher.md +30 -12
- package/.opencode/agents/aether-weaver.md +87 -0
- package/.opencode/agents/workers.md +1034 -0
- package/.opencode/commands/ant/archaeology.md +44 -26
- package/.opencode/commands/ant/build.md +327 -295
- package/.opencode/commands/ant/chaos.md +32 -4
- package/.opencode/commands/ant/colonize.md +119 -93
- package/.opencode/commands/ant/continue.md +98 -10
- package/.opencode/commands/ant/council.md +28 -0
- package/.opencode/commands/ant/dream.md +24 -0
- package/.opencode/commands/ant/entomb.md +73 -1
- package/.opencode/commands/ant/feedback.md +8 -2
- package/.opencode/commands/ant/flag.md +9 -3
- package/.opencode/commands/ant/flags.md +8 -2
- package/.opencode/commands/ant/focus.md +8 -2
- package/.opencode/commands/ant/help.md +12 -0
- package/.opencode/commands/ant/init.md +49 -4
- package/.opencode/commands/ant/lay-eggs.md +30 -2
- package/.opencode/commands/ant/oracle.md +39 -7
- package/.opencode/commands/ant/organize.md +9 -3
- package/.opencode/commands/ant/pause-colony.md +54 -1
- package/.opencode/commands/ant/phase.md +36 -4
- package/.opencode/commands/ant/plan.md +225 -117
- package/.opencode/commands/ant/redirect.md +8 -2
- package/.opencode/commands/ant/resume-colony.md +51 -26
- package/.opencode/commands/ant/seal.md +76 -0
- package/.opencode/commands/ant/status.md +50 -20
- package/.opencode/commands/ant/swarm.md +108 -104
- package/.opencode/commands/ant/tunnels.md +107 -2
- package/CHANGELOG.md +21 -0
- package/README.md +199 -86
- package/bin/cli.js +142 -25
- package/bin/generate-commands.sh +100 -16
- package/bin/lib/caste-colors.js +5 -5
- package/bin/lib/errors.js +16 -0
- package/bin/lib/file-lock.js +279 -44
- package/bin/lib/state-sync.js +206 -23
- package/bin/lib/update-transaction.js +206 -24
- package/bin/sync-to-runtime.sh +129 -0
- package/package.json +2 -2
- package/runtime/CONTEXT.md +160 -0
- package/runtime/aether-utils.sh +1421 -55
- package/runtime/docs/AETHER-2.0-IMPLEMENTATION-PLAN.md +1343 -0
- package/runtime/docs/AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md +2642 -0
- package/runtime/docs/PHEROMONE-INJECTION.md +240 -0
- package/runtime/docs/PHEROMONE-INTEGRATION.md +192 -0
- package/runtime/docs/PHEROMONE-SYSTEM-DESIGN.md +426 -0
- package/runtime/docs/README.md +94 -0
- package/runtime/docs/VISUAL-OUTPUT-SPEC.md +219 -0
- package/runtime/docs/biological-reference.md +272 -0
- package/runtime/docs/codebase-review.md +399 -0
- package/runtime/docs/command-sync.md +164 -0
- package/runtime/docs/implementation-learnings.md +89 -0
- package/runtime/docs/known-issues.md +217 -0
- package/runtime/docs/namespace.md +148 -0
- package/runtime/docs/planning-discipline.md +159 -0
- package/runtime/lib/queen-utils.sh +729 -0
- package/runtime/model-profiles.yaml +100 -0
- package/runtime/recover.sh +136 -0
- package/runtime/templates/QUEEN.md.template +79 -0
- package/runtime/utils/atomic-write.sh +5 -5
- package/runtime/utils/chamber-utils.sh +6 -3
- package/runtime/utils/error-handler.sh +200 -0
- package/runtime/utils/queen-to-md.xsl +395 -0
- package/runtime/utils/spawn-tree.sh +428 -0
- package/runtime/utils/spawn-with-model.sh +56 -0
- package/runtime/utils/state-loader.sh +215 -0
- package/runtime/utils/swarm-display.sh +5 -5
- package/runtime/utils/watch-spawn-tree.sh +90 -22
- package/runtime/utils/xml-compose.sh +247 -0
- package/runtime/utils/xml-core.sh +186 -0
- package/runtime/utils/xml-utils.sh +2161 -0
- package/runtime/verification-loop.md +1 -1
- package/runtime/workers-new-castes.md +516 -0
- package/runtime/workers.md +20 -8
- package/.aether/visualizations/anthill-stages/brood-stable.txt +0 -26
- package/.aether/visualizations/anthill-stages/crowned-anthill.txt +0 -30
- package/.aether/visualizations/anthill-stages/first-mound.txt +0 -18
- package/.aether/visualizations/anthill-stages/open-chambers.txt +0 -24
- package/.aether/visualizations/anthill-stages/sealed-chambers.txt +0 -28
- package/.aether/visualizations/anthill-stages/ventilated-nest.txt +0 -27
|
@@ -132,7 +132,7 @@ Resolve each command (build, test, types, lint) independently using the priority
|
|
|
132
132
|
### Command Resolution Priority
|
|
133
133
|
|
|
134
134
|
1. **CLAUDE.md** β Check the project's CLAUDE.md (in LLM system context) for explicit commands under headings like `Commands`, `Scripts`, `Development`, `Build`, `Testing`, or `Lint`.
|
|
135
|
-
2. **CODEBASE.md** β Read `.
|
|
135
|
+
2. **CODEBASE.md** β Read `.aether/data/codebase.md` `## Commands` section for commands detected during `/ant:colonize`. Each entry includes source attribution (`claude_md` or `heuristic`).
|
|
136
136
|
3. **Fallback Heuristic Table** β Use the table below if neither source provides a command for the needed label.
|
|
137
137
|
|
|
138
138
|
### Fallback Heuristic Table
|
|
@@ -0,0 +1,516 @@
|
|
|
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)
|
package/runtime/workers.md
CHANGED
|
@@ -266,7 +266,19 @@ Actions: CREATED (path + lines), MODIFIED (path), RESEARCH (finding), SPAWN (cas
|
|
|
266
266
|
|
|
267
267
|
### Spawning Sub-Workers
|
|
268
268
|
|
|
269
|
-
Workers can spawn sub-workers directly using the **Task tool** with `subagent_type="general"`.
|
|
269
|
+
Workers can spawn sub-workers directly using the **Task tool** with `subagent_type="general-purpose"`.
|
|
270
|
+
|
|
271
|
+
**Caste Emoji Mapping:**
|
|
272
|
+
|
|
273
|
+
Every spawn must display its caste emoji:
|
|
274
|
+
- π¨π Builder
|
|
275
|
+
- ποΈπ Watcher
|
|
276
|
+
- π²π Chaos
|
|
277
|
+
- ππ Scout
|
|
278
|
+
- πΊπ Archaeologist
|
|
279
|
+
- ππ Queen/Prime
|
|
280
|
+
- πΊοΈπ Colonizer
|
|
281
|
+
- ποΈπ Architect
|
|
270
282
|
|
|
271
283
|
**Depth-Based Behavior:**
|
|
272
284
|
|
|
@@ -318,7 +330,7 @@ bash .aether/aether-utils.sh swarm-display-update "{child_name}" "{child_caste}"
|
|
|
318
330
|
|
|
319
331
|
**Step 4: Use Task tool**
|
|
320
332
|
```
|
|
321
|
-
Use the Task tool with subagent_type="general":
|
|
333
|
+
Use the Task tool with subagent_type="general-purpose":
|
|
322
334
|
|
|
323
335
|
You are {child_name}, a {emoji} {Caste} Ant in the Aether Colony at depth {your_depth + 1}.
|
|
324
336
|
|
|
@@ -377,12 +389,12 @@ All spawns are logged to `.aether/data/spawn-tree.txt` and visible in `/ant:watc
|
|
|
377
389
|
|
|
378
390
|
| Role | Emoji |
|
|
379
391
|
|------|-------|
|
|
380
|
-
| Builder |
|
|
381
|
-
| Watcher |
|
|
382
|
-
| Scout |
|
|
383
|
-
| Colonizer |
|
|
384
|
-
| Architect |
|
|
385
|
-
| Route-Setter |
|
|
392
|
+
| Builder | π¨π |
|
|
393
|
+
| Watcher | ποΈπ |
|
|
394
|
+
| Scout | ππ |
|
|
395
|
+
| Colonizer | πΊοΈπ |
|
|
396
|
+
| Architect | ποΈπ |
|
|
397
|
+
| Route-Setter | ππ |
|
|
386
398
|
|
|
387
399
|
Use your emoji in output headers: `{emoji} {Role} Ant -- {status}`
|
|
388
400
|
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.-.
|
|
2
|
-
(o o)
|
|
3
|
-
| O |
|
|
4
|
-
`-`
|
|
5
|
-
π₯ π₯ π₯ π₯
|
|
6
|
-
. . . .
|
|
7
|
-
/|\ /|\ /|\ /|\
|
|
8
|
-
/ | \ / | \ / | \ / | \
|
|
9
|
-
/ | \/ | \/ | \/ | \
|
|
10
|
-
/ | /\ | /\ | /\ | \
|
|
11
|
-
/____|__/___\|___/___\|___/___\|____\
|
|
12
|
-
/ o / o \ o / o \ o \
|
|
13
|
-
/______/_______\_____/_______\_______\
|
|
14
|
-
/_______________________________________\
|
|
15
|
-
/_________________________________________\
|
|
16
|
-
/___________________________________________\
|
|
17
|
-
/_____________________________________________\
|
|
18
|
-
/_______________________________________________\
|
|
19
|
-
|
|
20
|
-
πππ Brood chamber thriving...
|
|
21
|
-
New life stirs in the nursery,
|
|
22
|
-
the colony's future secured.
|
|
23
|
-
|
|
24
|
-
Milestone: Brood Stable
|
|
25
|
-
Phases: 4-6 completed
|
|
26
|
-
Colony Age: Established
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
π
|
|
2
|
-
.-.
|
|
3
|
-
(o o)
|
|
4
|
-
| O |
|
|
5
|
-
`-`
|
|
6
|
-
β¨ β¨ β¨
|
|
7
|
-
π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯
|
|
8
|
-
. . . . . . . .
|
|
9
|
-
/|\ /|\ /|\ /|\ /|\ /|\ /|\ /|\
|
|
10
|
-
/ | \ / | \ / | \ / | \ / | \ / | \ / | \ / | \
|
|
11
|
-
/ | \/ | \/ | \/ | \/ | \/ | \/ | \/ | \/ | \
|
|
12
|
-
/ | /\ | /\ | /\ | /\ | /\ | /\ | /\ | /\ | \
|
|
13
|
-
\___|___/___\|___/___\|___/___\|___/___\|___/___\|___/___\|___/___\|___/___/
|
|
14
|
-
\ o / o \ o / o \ o / o \ o / o /
|
|
15
|
-
\____/_______\_____/_______\_____/_______\_____/_______/
|
|
16
|
-
\_______________________________________________________/
|
|
17
|
-
\_______________________________________________________\
|
|
18
|
-
\_______________________________________________________\
|
|
19
|
-
\_______________________________________________________\
|
|
20
|
-
\_______________________________________________________\
|
|
21
|
-
\_______________________________________________________\
|
|
22
|
-
\_______________________________________________________\
|
|
23
|
-
|
|
24
|
-
ππππππ The Crowned Anthill!
|
|
25
|
-
A monument to collective effort,
|
|
26
|
-
the colony stands supreme.
|
|
27
|
-
|
|
28
|
-
Milestone: Crowned Anthill
|
|
29
|
-
Phases: 15+ completed
|
|
30
|
-
Colony Age: Legendary
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
. .
|
|
2
|
-
/|\ /|\
|
|
3
|
-
/ | \ / | \
|
|
4
|
-
/ | \/ | \
|
|
5
|
-
/ | /\ | \
|
|
6
|
-
/____|__/___\|____\
|
|
7
|
-
/ / \ \
|
|
8
|
-
/______/_______\______\
|
|
9
|
-
/________________________\
|
|
10
|
-
/__________________________\
|
|
11
|
-
|
|
12
|
-
π A humble beginning...
|
|
13
|
-
Just a small mound of earth,
|
|
14
|
-
but full of potential.
|
|
15
|
-
|
|
16
|
-
Milestone: First Mound
|
|
17
|
-
Phases: 0 completed
|
|
18
|
-
Colony Age: Newborn
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
.-.
|
|
2
|
-
(o o)
|
|
3
|
-
| O |
|
|
4
|
-
`-`
|
|
5
|
-
. . .
|
|
6
|
-
/|\ /|\ /|\
|
|
7
|
-
/ | \ / | \ / | \
|
|
8
|
-
/ | \/ | \/ | \
|
|
9
|
-
/ | /\ | /\ | \
|
|
10
|
-
/____|__/___\|___/___\|____\
|
|
11
|
-
/ o / o \ o / o \
|
|
12
|
-
/______/_______\_____/_______\
|
|
13
|
-
/_______________________________\
|
|
14
|
-
/_________________________________\
|
|
15
|
-
/___________________________________\
|
|
16
|
-
/_____________________________________\
|
|
17
|
-
|
|
18
|
-
ππ Tunnels open...
|
|
19
|
-
The colony expands its reach,
|
|
20
|
-
chambers forming beneath the earth.
|
|
21
|
-
|
|
22
|
-
Milestone: Open Chambers
|
|
23
|
-
Phases: 1-3 completed
|
|
24
|
-
Colony Age: Growing
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
.-.
|
|
2
|
-
(o o)
|
|
3
|
-
| O |
|
|
4
|
-
`-`
|
|
5
|
-
π π
|
|
6
|
-
π₯ π₯ π₯ π₯ π₯ π₯ π₯
|
|
7
|
-
. . . . . . .
|
|
8
|
-
/|\ /|\ /|\ /|\ /|\ /|\ /|\
|
|
9
|
-
/ | \ / | \ / | \ / | \ / | \ / | \ / | \
|
|
10
|
-
/ | \/ | \/ | \/ | \/ | \/ | \/ | \
|
|
11
|
-
/ | /\ | /\ | /\ | /\ | /\ | /\ | \
|
|
12
|
-
\___|___/___\|___/___\|___/___\|___/___\|___/___\|___/___/
|
|
13
|
-
\ o / o \ o / o \ o / o \ o /
|
|
14
|
-
\____/_______\_____/_______\_____/_______\_____/
|
|
15
|
-
\_______________________________________________/
|
|
16
|
-
\_______________________________________________\
|
|
17
|
-
\_______________________________________________\
|
|
18
|
-
\_______________________________________________\
|
|
19
|
-
\_______________________________________________\
|
|
20
|
-
\_______________________________________________\
|
|
21
|
-
|
|
22
|
-
πππππ Chambers sealed...
|
|
23
|
-
Fortified against the outside world,
|
|
24
|
-
treasures protected, secrets kept.
|
|
25
|
-
|
|
26
|
-
Milestone: Sealed Chambers
|
|
27
|
-
Phases: 11-14 completed
|
|
28
|
-
Colony Age: Seasoned
|