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
@@ -0,0 +1,211 @@
1
+ # QUEEN.md System
2
+
3
+ The QUEEN.md system is Aether's wisdom feedback loop - a mechanism for capturing, validating, and propagating learnings across colonies.
4
+
5
+ ## Overview
6
+
7
+ The Queen represents the accumulation of validated knowledge from all colonies. As colonies complete work, they promote significant patterns, decisions, and insights to QUEEN.md. Future colonies can then read this wisdom to benefit from previous experience.
8
+
9
+ ## File Location
10
+
11
+ ```
12
+ .aether/docs/QUEEN.md
13
+ ```
14
+
15
+ ## Structure
16
+
17
+ ### 📜 Philosophies
18
+
19
+ Core beliefs validated through repeated successful application across multiple colonies.
20
+
21
+ **Threshold:** 5 successful validations required for promotion
22
+
23
+ Example:
24
+ ```markdown
25
+ - **colony-name** (2026-02-15T13:08:24Z): Test-driven development ensures quality
26
+ ```
27
+
28
+ ### 🧭 Patterns
29
+
30
+ Validated approaches that consistently work. These represent discovered best practices.
31
+
32
+ **Threshold:** 3 successful validations required for promotion
33
+
34
+ Example:
35
+ ```markdown
36
+ - **colony-name** (2026-02-15T13:08:28Z): Always validate inputs
37
+ ```
38
+
39
+ ### ⚠️ Redirects
40
+
41
+ Anti-patterns to avoid. Approaches that have caused problems.
42
+
43
+ **Threshold:** 2 failed validations required for promotion
44
+
45
+ Example:
46
+ ```markdown
47
+ - **colony-name** (2026-02-15T13:08:31Z): Never skip security checks
48
+ ```
49
+
50
+ ### 🔧 Stack Wisdom
51
+
52
+ Technology-specific insights detected through codebase analysis.
53
+
54
+ **Threshold:** 1 validation required for promotion
55
+
56
+ Example:
57
+ ```markdown
58
+ - **colony-name** (2026-02-15T13:08:36Z): Use jq for JSON in bash
59
+ ```
60
+
61
+ ### 🏛️ Decrees
62
+
63
+ User-mandated rules that override other guidance.
64
+
65
+ **Threshold:** 0 validations required (immediate promotion)
66
+
67
+ Example:
68
+ ```markdown
69
+ - **colony-name** (2026-02-15T13:08:40Z): All code must have tests
70
+ ```
71
+
72
+ ### 📊 Evolution Log
73
+
74
+ Track how wisdom has evolved over time.
75
+
76
+ ## Commands
77
+
78
+ ### queen-init
79
+
80
+ Initialize QUEEN.md from template if it doesn't exist.
81
+
82
+ ```bash
83
+ bash .aether/aether-utils.sh queen-init
84
+ ```
85
+
86
+ **Returns:**
87
+ ```json
88
+ {"created": true, "path": ".aether/docs/QUEEN.md", "source": "~/.aether/system/templates/QUEEN.md.template"}
89
+ ```
90
+
91
+ ### queen-read
92
+
93
+ Read QUEEN.md and return wisdom as JSON for worker priming.
94
+
95
+ ```bash
96
+ bash .aether/aether-utils.sh queen-read
97
+ ```
98
+
99
+ **Returns:**
100
+ ```json
101
+ {
102
+ "metadata": {
103
+ "version": "1.0.0",
104
+ "last_evolved": "2026-02-15T13:08:40Z",
105
+ "colonies_contributed": ["colony-a"],
106
+ "promotion_thresholds": {...},
107
+ "stats": {...}
108
+ },
109
+ "wisdom": {
110
+ "philosophies": "...",
111
+ "patterns": "...",
112
+ "redirects": "...",
113
+ "stack_wisdom": "...",
114
+ "decrees": "..."
115
+ },
116
+ "priming": {
117
+ "has_philosophies": true,
118
+ "has_patterns": true,
119
+ ...
120
+ }
121
+ }
122
+ ```
123
+
124
+ ### queen-promote
125
+
126
+ Promote a learning to QUEEN.md wisdom.
127
+
128
+ ```bash
129
+ bash .aether/aether-utils.sh queen-promote <type> <content> <colony_name>
130
+ ```
131
+
132
+ **Types:** `philosophy`, `pattern`, `redirect`, `stack`, `decree`
133
+
134
+ **Example:**
135
+ ```bash
136
+ bash .aether/aether-utils.sh queen-promote pattern "Always validate inputs" "my-colony"
137
+ ```
138
+
139
+ ## Integration with Commands
140
+
141
+ ### init.md
142
+
143
+ Calls `queen-init` after bootstrap to ensure QUEEN.md exists for the colony.
144
+
145
+ ### build.md
146
+
147
+ Calls `queen-read` before spawning workers to inject wisdom into worker prompts.
148
+
149
+ ### continue.md
150
+
151
+ After verification, promotes validated learnings to QUEEN.md using `queen-promote`.
152
+
153
+ ### seal.md
154
+
155
+ Before archiving, promotes significant patterns and decisions to QUEEN.md.
156
+
157
+ ### entomb.md
158
+
159
+ Before creating the chamber, promotes validated learnings to QUEEN.md.
160
+
161
+ ## Promotion Thresholds
162
+
163
+ | Type | Threshold | Rationale |
164
+ |------|-----------|-----------|
165
+ | Philosophy | 5 | Core beliefs need strongest validation |
166
+ | Pattern | 3 | Best practices need multiple confirmations |
167
+ | Redirect | 2 | Anti-patterns need fewer failures to document |
168
+ | Stack | 1 | Tech insights are domain-specific |
169
+ | Decree | 0 | User mandates are immediate |
170
+
171
+ ## Metadata
172
+
173
+ The QUEEN.md file includes a METADATA block at the end:
174
+
175
+ ```html
176
+ <!-- METADATA
177
+ {
178
+ "version": "1.0.0",
179
+ "last_evolved": "2026-02-15T13:08:40Z",
180
+ "colonies_contributed": ["colony-a"],
181
+ "promotion_thresholds": {
182
+ "philosophy": 5,
183
+ "pattern": 3,
184
+ "redirect": 2,
185
+ "stack": 1,
186
+ "decree": 0
187
+ },
188
+ "stats": {
189
+ "total_philosophies": 1,
190
+ "total_patterns": 1,
191
+ ...
192
+ }
193
+ }
194
+ -->
195
+ ```
196
+
197
+ ## Best Practices
198
+
199
+ 1. **Don't manually edit QUEEN.md** - Use `queen-promote` to ensure proper formatting
200
+ 2. **Validate before promoting** - Only promote learnings that have been tested
201
+ 3. **Use descriptive colony names** - Helps track wisdom origins
202
+ 4. **Read wisdom at build start** - Workers benefit from accumulated knowledge
203
+ 5. **Review periodically** - Some wisdom may become outdated as the system evolves
204
+
205
+ ## See Also
206
+
207
+ - `/ant:init` - Initializes QUEEN.md for new colonies
208
+ - `/ant:build` - Reads QUEEN.md wisdom for worker priming
209
+ - `/ant:continue` - Promotes validated learnings
210
+ - `/ant:seal` - Promotes final colony wisdom
211
+ - `/ant:entomb` - Promotes wisdom before archiving
@@ -0,0 +1,84 @@
1
+ # QUEEN.md — Colony Wisdom
2
+
3
+ > Last evolved: 2026-02-15T13:08:15Z
4
+ > Colonies contributed: 0
5
+ > Wisdom version: 1.0.0
6
+
7
+ ---
8
+
9
+ ## 📜 Philosophies
10
+
11
+ Core beliefs that guide all colony work. These are validated through repeated successful application across multiple colonies.
12
+
13
+ - **colony-a** (2026-02-15T13:08:24Z): Test-driven development ensures quality
14
+
15
+ ---
16
+
17
+ ## 🧭 Patterns
18
+
19
+ Validated approaches that consistently work. These represent discovered best practices that have proven themselves in the field.
20
+
21
+ - **colony-b** (2026-02-15T13:08:28Z): Always validate inputs
22
+
23
+ ---
24
+
25
+ ## ⚠️ Redirects
26
+
27
+ Anti-patterns to avoid. These represent approaches that have caused problems and should be redirected away from.
28
+
29
+ - **colony-c** (2026-02-15T13:08:31Z): Never skip security checks
30
+
31
+ ---
32
+
33
+ ## 🔧 Stack Wisdom
34
+
35
+ Technology-specific insights and constraints detected through codebase analysis.
36
+
37
+ - **colony-d** (2026-02-15T13:08:36Z): Use jq for JSON in bash
38
+
39
+ ---
40
+
41
+ ## 🏛️ Decrees
42
+
43
+ User-mandated rules that override other guidance. These represent explicit directives from the Queen.
44
+
45
+ - **colony-e** (2026-02-15T13:08:40Z): All code must have tests
46
+
47
+ ---
48
+
49
+ ## 📊 Evolution Log
50
+
51
+ Track how wisdom has evolved over time.
52
+
53
+ | Date | Colony | Change | Details |
54
+ |------|--------|--------|---------|
55
+ | 2026-02-15T13:08:40Z | colony-e | promoted_decree | Added: All code must have tests... |
56
+ | 2026-02-15T13:08:36Z | colony-d | promoted_stack | Added: Use jq for JSON in bash... |
57
+ | 2026-02-15T13:08:31Z | colony-c | promoted_redirect | Added: Never skip security checks... |
58
+ | 2026-02-15T13:08:28Z | colony-b | promoted_pattern | Added: Always validate inputs... |
59
+ | 2026-02-15T13:08:24Z | colony-a | promoted_philosophy | Added: Test-driven development ensures quality... |
60
+ | 2026-02-15T13:08:15Z | system | initialized | QUEEN.md created from template |
61
+
62
+ ---
63
+
64
+ <!-- METADATA
65
+ {
66
+ "version": "1.0.0",
67
+ "last_evolved": "2026-02-15T13:08:40Z",
68
+ "colonies_contributed": ["colony-a"],
69
+ "promotion_thresholds": {
70
+ "philosophy": 5,
71
+ "pattern": 3,
72
+ "redirect": 2,
73
+ "stack": 1,
74
+ "decree": 0
75
+ },
76
+ "stats": {
77
+ "total_philosophies": 1,
78
+ "total_patterns": 1,
79
+ "total_redirects": 1,
80
+ "total_stack_entries": 1,
81
+ "total_decrees": 1
82
+ }
83
+ }
84
+ -->
@@ -0,0 +1,68 @@
1
+ # Aether Documentation
2
+
3
+ This directory contains actively maintained documentation for the Aether colony system. 8 files total plus `disciplines/` subdirectory.
4
+
5
+ ---
6
+
7
+ ## User-Facing Docs
8
+
9
+ Distributed to target repos via `aether update` (update allowlist):
10
+
11
+ | File | Purpose |
12
+ |------|---------|
13
+ | `pheromones.md` | Pheromone system guide (FOCUS/REDIRECT/FEEDBACK signals) |
14
+
15
+ ---
16
+
17
+ ## Colony System Docs
18
+
19
+ Packaged in npm, available to all Aether installations:
20
+
21
+ | File | Purpose |
22
+ |------|---------|
23
+ | `caste-system.md` | Worker caste definitions and emoji assignments |
24
+ | `QUEEN-SYSTEM.md` | Queen wisdom promotion system |
25
+ | `queen-commands.md` | Queen command documentation |
26
+ | `QUEEN.md` | Generated Queen wisdom file (repo-specific, auto-updated) |
27
+ | `error-codes.md` | Error code reference (E_* constants) |
28
+
29
+ ---
30
+
31
+ ## Development Docs
32
+
33
+ Packaged in npm, documents active issues:
34
+
35
+ | File | Purpose |
36
+ |------|---------|
37
+ | `known-issues.md` | Active known issues and workarounds |
38
+
39
+ ---
40
+
41
+ ## Worker Disciplines
42
+
43
+ Training protocols that govern worker behavior (in `disciplines/` subdirectory):
44
+
45
+ | File | Purpose |
46
+ |------|---------|
47
+ | `disciplines/DISCIPLINES.md` | Discipline index and overview |
48
+ | `disciplines/verification.md` | No completion claims without evidence |
49
+ | `disciplines/verification-loop.md` | 6-phase quality gate before advancement |
50
+ | `disciplines/debugging.md` | Systematic root cause investigation |
51
+ | `disciplines/tdd.md` | Test-first development |
52
+ | `disciplines/learning.md` | Pattern detection with validation |
53
+ | `disciplines/coding-standards.md` | Universal code quality rules |
54
+
55
+ ---
56
+
57
+ ## Archived Docs
58
+
59
+ Historical documentation moved to `archive/` subdirectory:
60
+
61
+ - `QUEEN_ANT_ARCHITECTURE.md` - superseded by agent files
62
+ - `implementation-learnings.md` - historical findings
63
+ - `constraints.md` - content now in agent definitions
64
+ - `pathogen-schema.md` - specialized use case
65
+ - `pathogen-schema-example.json` - example for schema
66
+ - `progressive-disclosure.md` - design philosophy
67
+
68
+ Archived docs remain available for reference but are not actively maintained.
@@ -0,0 +1,48 @@
1
+ # Caste System Reference
2
+
3
+ This is the **canonical source** for Aether caste emoji definitions.
4
+
5
+ - All commands and documentation should reference this file
6
+ - The `get_caste_emoji()` function in `aether-utils.sh` implements these mappings
7
+ - To add a new caste: update this file AND the function
8
+
9
+ ## Display Format
10
+
11
+ Workers are displayed as: `{caste_emoji} {worker_name}`
12
+ Example: `🔨🐜 Hammer-42` (not "Hammer-42 (Builder)")
13
+
14
+ ## Caste Table
15
+
16
+ | Caste | Emoji | Role | Name Patterns |
17
+ |-------|-------|------|---------------|
18
+ | queen | 👑🐜 | Colony coordinator | Queen, QUEEN, queen |
19
+ | builder | 🔨🐜 | Implementation work | Builder, Bolt, Hammer, Forge, Mason, Brick, Anvil, Weld |
20
+ | watcher | 👁️🐜 | Monitoring, observation | Watcher, Vigil, Sentinel, Guard, Keen, Sharp, Hawk, Alert |
21
+ | scout | 🔍🐜 | Research, discovery | Scout, Swift, Dash, Ranger, Track, Seek, Path, Roam, Quest |
22
+ | colonizer | 🗺️🐜 | New project setup | Colonizer, Pioneer, Map, Chart, Venture, Explore, Compass, Atlas, Trek |
23
+ | surveyor | 📊🐜 | Measurement, assessment | Surveyor, Chart, Plot, Survey, Measure, Assess, Gauge, Sound, Fathom |
24
+ | architect | 🏛️🐜 | Planning, design (merged into Keeper — no dedicated agent file) | Architect, Blueprint, Draft, Design, Plan, Schema, Frame, Sketch, Model |
25
+ | chaos | 🎲🐜 | Edge case testing | Chaos, Probe, Stress, Shake, Twist, Snap, Breach, Surge, Jolt |
26
+ | archaeologist | 🏺🐜 | Git history excavation | Archaeologist, Relic, Fossil, Dig, Shard, Epoch, Strata, Lore, Glyph |
27
+ | oracle | 🔮🐜 | Deep research (RALF loop) | Oracle, Sage, Seer, Vision, Augur, Mystic, Sibyl, Delph, Pythia |
28
+ | route_setter | 📋🐜 | Direction setting | Route, route |
29
+ | ambassador | 🔌🐜 | Third-party API integration | Ambassador, Bridge, Connect, Link, Diplomat, Network, Protocol |
30
+ | auditor | 👥🐜 | Code review, quality audits | Auditor, Review, Inspect, Examine, Scrutin, Critical, Verify |
31
+ | chronicler | 📝🐜 | Documentation generation | Chronicler, Document, Record, Write, Chronicle, Archive, Scribe |
32
+ | gatekeeper | 📦🐜 | Dependency management | Gatekeeper, Guard, Protect, Secure, Shield, Depend, Supply |
33
+ | guardian | 🛡️🐜 | Security audits (merged into Auditor — no dedicated agent file) | Guardian, Defend, Patrol, Secure, Vigil, Watch, Safety, Security |
34
+ | includer | ♿🐜 | Accessibility audits | Includer, Access, Inclusive, A11y, WCAG, Barrier, Universal |
35
+ | keeper | 📚🐜 | Knowledge curation | Keeper, Archive, Store, Curate, Preserve, Knowledge, Wisdom, Pattern |
36
+ | measurer | ⚡🐜 | Performance profiling | Measurer, Metric, Benchmark, Profile, Optimize, Performance, Speed |
37
+ | probe | 🧪🐜 | Test generation | Probe, Test, Excavat, Uncover, Edge, Case, Mutant |
38
+ | tracker | 🐛🐜 | Bug investigation | Tracker, Debug, Trace, Follow, Bug, Hunt, Root |
39
+ | weaver | 🔄🐜 | Code refactoring | Weaver, Refactor, Restruct, Transform, Clean, Pattern, Weave |
40
+ | dreamer | 💭🐜 | Creative ideation | Dreamer, Muse, Imagine, Wonder, Ponder, Reverie |
41
+
42
+ ## Notes
43
+
44
+ - The global `get_caste_emoji()` function matches by **name pattern** (e.g., a worker named "Hammer-42" matches the builder caste)
45
+ - Castes without dedicated patterns fall back to the generic ant emoji `🐜`
46
+ - The `colonizer` canonical emoji is `🗺️🐜` — older references using `🌱🐜` should be updated
47
+ - The `route_setter` canonical emoji is `📋🐜` — older references using `🧭🐜` should be updated
48
+ - The `architect` and `guardian` castes are **merged**: their capabilities were absorbed by Keeper and Auditor respectively (Phase 25). The caste emoji rows remain because workers named after those patterns (e.g., "Blueprint-3", "Patrol-7") still resolve to the correct emojis via `get_caste_emoji()`. There are no longer dedicated agent files for these castes.
@@ -76,14 +76,14 @@ No workarounds. Fix issues and re-run.
76
76
  ```
77
77
  .aether/
78
78
  ├── workers.md # Worker roles + honest execution model
79
- ├── verification.md # Evidence before claims
80
- ├── verification-loop.md # 6-phase quality gate
81
- ├── debugging.md # Systematic debugging
82
- ├── tdd.md # Test-driven development
83
- ├── learning.md # Colony learning system
84
- ├── coding-standards.md # Code quality rules
85
- ├── planning.md # Bite-sized task planning
86
- ├── DISCIPLINES.md # This file
79
+ ├── docs/disciplines/
80
+ ├── verification.md # Evidence before claims
81
+ ├── verification-loop.md # 6-phase quality gate
82
+ ├── debugging.md # Systematic debugging
83
+ ├── tdd.md # Test-driven development
84
+ ├── learning.md # Colony learning system
85
+ ├── coding-standards.md # Code quality rules
86
+ │ └── DISCIPLINES.md # This file
87
87
  ```
88
88
 
89
89
  ## Reinstall After Updates