aether-colony 1.1.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.
- package/.aether/CONTEXT.md +160 -0
- package/.aether/QUEEN.md +84 -0
- package/.aether/aether-utils.sh +7749 -0
- package/.aether/docs/QUEEN-SYSTEM.md +211 -0
- package/.aether/docs/README.md +68 -0
- package/.aether/docs/caste-system.md +48 -0
- package/.aether/docs/disciplines/DISCIPLINES.md +93 -0
- package/.aether/docs/disciplines/coding-standards.md +197 -0
- package/.aether/docs/disciplines/debugging.md +207 -0
- package/.aether/docs/disciplines/learning.md +254 -0
- package/.aether/docs/disciplines/tdd.md +257 -0
- package/.aether/docs/disciplines/verification-loop.md +167 -0
- package/.aether/docs/disciplines/verification.md +116 -0
- package/.aether/docs/error-codes.md +268 -0
- package/.aether/docs/known-issues.md +233 -0
- package/.aether/docs/pheromones.md +205 -0
- package/.aether/docs/queen-commands.md +97 -0
- package/.aether/exchange/colony-registry.xml +11 -0
- package/.aether/exchange/pheromone-xml.sh +575 -0
- package/.aether/exchange/pheromones.xml +87 -0
- package/.aether/exchange/queen-wisdom.xml +14 -0
- package/.aether/exchange/registry-xml.sh +273 -0
- package/.aether/exchange/wisdom-xml.sh +319 -0
- package/.aether/midden/approach-changes.md +5 -0
- package/.aether/midden/build-failures.md +5 -0
- package/.aether/midden/test-failures.md +5 -0
- package/.aether/model-profiles.yaml +100 -0
- package/.aether/rules/aether-colony.md +134 -0
- package/.aether/schemas/aether-types.xsd +255 -0
- package/.aether/schemas/colony-registry.xsd +309 -0
- package/.aether/schemas/example-prompt-builder.xml +234 -0
- package/.aether/schemas/pheromone.xsd +163 -0
- package/.aether/schemas/prompt.xsd +416 -0
- package/.aether/schemas/queen-wisdom.xsd +325 -0
- package/.aether/schemas/worker-priming.xsd +276 -0
- package/.aether/templates/QUEEN.md.template +79 -0
- package/.aether/templates/colony-state-reset.jq.template +22 -0
- package/.aether/templates/colony-state.template.json +35 -0
- package/.aether/templates/constraints.template.json +9 -0
- package/.aether/templates/crowned-anthill.template.md +36 -0
- package/.aether/templates/handoff-build-error.template.md +30 -0
- package/.aether/templates/handoff-build-success.template.md +39 -0
- package/.aether/templates/handoff.template.md +40 -0
- package/.aether/templates/learning-observations.template.json +6 -0
- package/.aether/templates/midden.template.json +7 -0
- package/.aether/templates/pheromones.template.json +6 -0
- package/.aether/templates/session.template.json +9 -0
- package/.aether/utils/atomic-write.sh +219 -0
- package/.aether/utils/chamber-compare.sh +193 -0
- package/.aether/utils/chamber-utils.sh +297 -0
- package/.aether/utils/colorize-log.sh +132 -0
- package/.aether/utils/error-handler.sh +212 -0
- package/.aether/utils/file-lock.sh +158 -0
- package/.aether/utils/queen-to-md.xsl +395 -0
- package/.aether/utils/semantic-cli.sh +413 -0
- package/.aether/utils/spawn-tree.sh +428 -0
- package/.aether/utils/spawn-with-model.sh +56 -0
- package/.aether/utils/state-loader.sh +215 -0
- package/.aether/utils/swarm-display.sh +268 -0
- package/.aether/utils/watch-spawn-tree.sh +253 -0
- package/.aether/utils/xml-compose.sh +253 -0
- package/.aether/utils/xml-convert.sh +273 -0
- package/.aether/utils/xml-core.sh +186 -0
- package/.aether/utils/xml-query.sh +201 -0
- package/.aether/utils/xml-utils.sh +110 -0
- package/.aether/workers.md +765 -0
- package/.claude/agents/ant/aether-ambassador.md +264 -0
- package/.claude/agents/ant/aether-archaeologist.md +322 -0
- package/.claude/agents/ant/aether-auditor.md +266 -0
- package/.claude/agents/ant/aether-builder.md +187 -0
- package/.claude/agents/ant/aether-chaos.md +268 -0
- package/.claude/agents/ant/aether-chronicler.md +304 -0
- package/.claude/agents/ant/aether-gatekeeper.md +325 -0
- package/.claude/agents/ant/aether-includer.md +373 -0
- package/.claude/agents/ant/aether-keeper.md +271 -0
- package/.claude/agents/ant/aether-measurer.md +317 -0
- package/.claude/agents/ant/aether-probe.md +210 -0
- package/.claude/agents/ant/aether-queen.md +325 -0
- package/.claude/agents/ant/aether-route-setter.md +173 -0
- package/.claude/agents/ant/aether-sage.md +353 -0
- package/.claude/agents/ant/aether-scout.md +142 -0
- package/.claude/agents/ant/aether-surveyor-disciplines.md +416 -0
- package/.claude/agents/ant/aether-surveyor-nest.md +354 -0
- package/.claude/agents/ant/aether-surveyor-pathogens.md +288 -0
- package/.claude/agents/ant/aether-surveyor-provisions.md +359 -0
- package/.claude/agents/ant/aether-tracker.md +265 -0
- package/.claude/agents/ant/aether-watcher.md +244 -0
- package/.claude/agents/ant/aether-weaver.md +247 -0
- package/.claude/commands/ant/archaeology.md +341 -0
- package/.claude/commands/ant/build.md +1160 -0
- package/.claude/commands/ant/chaos.md +349 -0
- package/.claude/commands/ant/colonize.md +270 -0
- package/.claude/commands/ant/continue.md +1070 -0
- package/.claude/commands/ant/council.md +309 -0
- package/.claude/commands/ant/dream.md +265 -0
- package/.claude/commands/ant/entomb.md +487 -0
- package/.claude/commands/ant/feedback.md +78 -0
- package/.claude/commands/ant/flag.md +139 -0
- package/.claude/commands/ant/flags.md +155 -0
- package/.claude/commands/ant/focus.md +58 -0
- package/.claude/commands/ant/help.md +122 -0
- package/.claude/commands/ant/history.md +137 -0
- package/.claude/commands/ant/init.md +409 -0
- package/.claude/commands/ant/interpret.md +267 -0
- package/.claude/commands/ant/lay-eggs.md +201 -0
- package/.claude/commands/ant/maturity.md +102 -0
- package/.claude/commands/ant/memory-details.md +77 -0
- package/.claude/commands/ant/migrate-state.md +165 -0
- package/.claude/commands/ant/oracle.md +387 -0
- package/.claude/commands/ant/organize.md +227 -0
- package/.claude/commands/ant/pause-colony.md +247 -0
- package/.claude/commands/ant/phase.md +126 -0
- package/.claude/commands/ant/plan.md +544 -0
- package/.claude/commands/ant/redirect.md +58 -0
- package/.claude/commands/ant/resume-colony.md +182 -0
- package/.claude/commands/ant/resume.md +363 -0
- package/.claude/commands/ant/seal.md +306 -0
- package/.claude/commands/ant/status.md +272 -0
- package/.claude/commands/ant/swarm.md +361 -0
- package/.claude/commands/ant/tunnels.md +425 -0
- package/.claude/commands/ant/update.md +209 -0
- package/.claude/commands/ant/verify-castes.md +95 -0
- package/.claude/commands/ant/watch.md +238 -0
- package/.opencode/agents/aether-ambassador.md +140 -0
- package/.opencode/agents/aether-archaeologist.md +108 -0
- package/.opencode/agents/aether-auditor.md +144 -0
- package/.opencode/agents/aether-builder.md +184 -0
- package/.opencode/agents/aether-chaos.md +115 -0
- package/.opencode/agents/aether-chronicler.md +122 -0
- package/.opencode/agents/aether-gatekeeper.md +116 -0
- package/.opencode/agents/aether-includer.md +117 -0
- package/.opencode/agents/aether-keeper.md +177 -0
- package/.opencode/agents/aether-measurer.md +128 -0
- package/.opencode/agents/aether-probe.md +133 -0
- package/.opencode/agents/aether-queen.md +286 -0
- package/.opencode/agents/aether-route-setter.md +130 -0
- package/.opencode/agents/aether-sage.md +106 -0
- package/.opencode/agents/aether-scout.md +101 -0
- package/.opencode/agents/aether-surveyor-disciplines.md +386 -0
- package/.opencode/agents/aether-surveyor-nest.md +324 -0
- package/.opencode/agents/aether-surveyor-pathogens.md +259 -0
- package/.opencode/agents/aether-surveyor-provisions.md +329 -0
- package/.opencode/agents/aether-tracker.md +137 -0
- package/.opencode/agents/aether-watcher.md +174 -0
- package/.opencode/agents/aether-weaver.md +130 -0
- package/.opencode/commands/ant/archaeology.md +338 -0
- package/.opencode/commands/ant/build.md +1200 -0
- package/.opencode/commands/ant/chaos.md +346 -0
- package/.opencode/commands/ant/colonize.md +202 -0
- package/.opencode/commands/ant/continue.md +938 -0
- package/.opencode/commands/ant/council.md +305 -0
- package/.opencode/commands/ant/dream.md +262 -0
- package/.opencode/commands/ant/entomb.md +367 -0
- package/.opencode/commands/ant/feedback.md +80 -0
- package/.opencode/commands/ant/flag.md +137 -0
- package/.opencode/commands/ant/flags.md +153 -0
- package/.opencode/commands/ant/focus.md +56 -0
- package/.opencode/commands/ant/help.md +124 -0
- package/.opencode/commands/ant/history.md +127 -0
- package/.opencode/commands/ant/init.md +337 -0
- package/.opencode/commands/ant/interpret.md +256 -0
- package/.opencode/commands/ant/lay-eggs.md +141 -0
- package/.opencode/commands/ant/maturity.md +92 -0
- package/.opencode/commands/ant/memory-details.md +77 -0
- package/.opencode/commands/ant/migrate-state.md +153 -0
- package/.opencode/commands/ant/oracle.md +338 -0
- package/.opencode/commands/ant/organize.md +224 -0
- package/.opencode/commands/ant/pause-colony.md +220 -0
- package/.opencode/commands/ant/phase.md +123 -0
- package/.opencode/commands/ant/plan.md +531 -0
- package/.opencode/commands/ant/redirect.md +67 -0
- package/.opencode/commands/ant/resume-colony.md +178 -0
- package/.opencode/commands/ant/resume.md +363 -0
- package/.opencode/commands/ant/seal.md +247 -0
- package/.opencode/commands/ant/status.md +272 -0
- package/.opencode/commands/ant/swarm.md +357 -0
- package/.opencode/commands/ant/tunnels.md +406 -0
- package/.opencode/commands/ant/update.md +191 -0
- package/.opencode/commands/ant/verify-castes.md +85 -0
- package/.opencode/commands/ant/watch.md +220 -0
- package/.opencode/opencode.json +3 -0
- package/CHANGELOG.md +325 -0
- package/DISCLAIMER.md +74 -0
- package/LICENSE +21 -0
- package/README.md +258 -0
- package/bin/cli.js +2436 -0
- package/bin/generate-commands.sh +291 -0
- package/bin/lib/caste-colors.js +57 -0
- package/bin/lib/colors.js +76 -0
- package/bin/lib/errors.js +255 -0
- package/bin/lib/event-types.js +190 -0
- package/bin/lib/file-lock.js +695 -0
- package/bin/lib/init.js +454 -0
- package/bin/lib/logger.js +242 -0
- package/bin/lib/model-profiles.js +445 -0
- package/bin/lib/model-verify.js +288 -0
- package/bin/lib/nestmate-loader.js +130 -0
- package/bin/lib/proxy-health.js +253 -0
- package/bin/lib/spawn-logger.js +266 -0
- package/bin/lib/state-guard.js +602 -0
- package/bin/lib/state-sync.js +516 -0
- package/bin/lib/telemetry.js +441 -0
- package/bin/lib/update-transaction.js +1454 -0
- package/bin/npx-install.js +178 -0
- package/bin/sync-to-runtime.sh +6 -0
- package/bin/validate-package.sh +88 -0
- package/package.json +70 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ant:watch
|
|
3
|
+
description: "👁️🔄🐜🏠🔄👁️ Set up tmux session to watch ants working in real-time"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are the **Queen**. Set up live visibility into colony activity.
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### Step 1: Check Prerequisites
|
|
11
|
+
|
|
12
|
+
Use Bash to check if tmux is available:
|
|
13
|
+
```bash
|
|
14
|
+
command -v tmux >/dev/null 2>&1 && echo "tmux_available" || echo "tmux_missing"
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
If tmux is missing:
|
|
18
|
+
```
|
|
19
|
+
tmux is required for live colony viewing.
|
|
20
|
+
|
|
21
|
+
Install with:
|
|
22
|
+
macOS: brew install tmux
|
|
23
|
+
Ubuntu: sudo apt install tmux
|
|
24
|
+
Fedora: sudo dnf install tmux
|
|
25
|
+
```
|
|
26
|
+
Stop here.
|
|
27
|
+
|
|
28
|
+
### Step 2: Initialize Activity Log
|
|
29
|
+
|
|
30
|
+
Ensure activity log exists:
|
|
31
|
+
```bash
|
|
32
|
+
mkdir -p .aether/data
|
|
33
|
+
touch .aether/data/activity.log
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Step 3: Create Status File
|
|
37
|
+
|
|
38
|
+
Write initial status to `.aether/data/watch-status.txt`:
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
.-.
|
|
42
|
+
(o o) AETHER COLONY
|
|
43
|
+
| O | Live Status
|
|
44
|
+
`-`
|
|
45
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
46
|
+
|
|
47
|
+
State: IDLE
|
|
48
|
+
Phase: -/-
|
|
49
|
+
|
|
50
|
+
Active Workers:
|
|
51
|
+
(none)
|
|
52
|
+
|
|
53
|
+
Last Activity:
|
|
54
|
+
(waiting for colony activity)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Step 4: Create or Attach to tmux Session
|
|
58
|
+
|
|
59
|
+
Check if session exists:
|
|
60
|
+
```bash
|
|
61
|
+
tmux has-session -t aether-colony 2>/dev/null && echo "exists" || echo "new"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**If session exists:** Attach to it
|
|
65
|
+
```bash
|
|
66
|
+
tmux attach-session -t aether-colony
|
|
67
|
+
```
|
|
68
|
+
Output: `Attached to existing aether-colony session.`
|
|
69
|
+
Stop here.
|
|
70
|
+
|
|
71
|
+
**If session is new:** Create the layout.
|
|
72
|
+
|
|
73
|
+
### Step 5: Create tmux Layout (4-Pane)
|
|
74
|
+
|
|
75
|
+
Use Bash to create the session with 4 panes in a 2x2 grid:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Create session with first pane
|
|
79
|
+
tmux new-session -d -s aether-colony -n colony
|
|
80
|
+
|
|
81
|
+
# Split into 4 panes (2x2 grid)
|
|
82
|
+
# First split horizontally (left|right)
|
|
83
|
+
tmux split-window -h -t aether-colony:colony
|
|
84
|
+
|
|
85
|
+
# Split left side vertically (top-left, bottom-left)
|
|
86
|
+
tmux split-window -v -t aether-colony:colony.0
|
|
87
|
+
|
|
88
|
+
# Split right side vertically (top-right, bottom-right)
|
|
89
|
+
tmux split-window -v -t aether-colony:colony.2
|
|
90
|
+
|
|
91
|
+
# Set pane contents:
|
|
92
|
+
# Pane 0 (top-left): Status display
|
|
93
|
+
tmux send-keys -t aether-colony:colony.0 'watch -n 1 cat .aether/data/watch-status.txt' C-m
|
|
94
|
+
|
|
95
|
+
# Pane 1 (bottom-left): Progress bar
|
|
96
|
+
tmux send-keys -t aether-colony:colony.1 'watch -n 1 cat .aether/data/watch-progress.txt' C-m
|
|
97
|
+
|
|
98
|
+
# Pane 2 (top-right): Spawn tree visualization
|
|
99
|
+
tmux send-keys -t aether-colony:colony.2 'bash .aether/utils/watch-spawn-tree.sh .aether/data' C-m
|
|
100
|
+
|
|
101
|
+
# Pane 3 (bottom-right): Colorized activity log stream
|
|
102
|
+
tmux send-keys -t aether-colony:colony.3 'bash .aether/utils/colorize-log.sh .aether/data/activity.log' C-m
|
|
103
|
+
|
|
104
|
+
# Set pane titles (if supported)
|
|
105
|
+
tmux select-pane -t aether-colony:colony.0 -T "Status"
|
|
106
|
+
tmux select-pane -t aether-colony:colony.1 -T "Progress"
|
|
107
|
+
tmux select-pane -t aether-colony:colony.2 -T "Spawn Tree"
|
|
108
|
+
tmux select-pane -t aether-colony:colony.3 -T "Activity Log"
|
|
109
|
+
|
|
110
|
+
# Balance panes for even 2x2 grid
|
|
111
|
+
tmux select-layout -t aether-colony:colony tiled
|
|
112
|
+
|
|
113
|
+
echo "Session created"
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Step 6: Create Progress File
|
|
117
|
+
|
|
118
|
+
Write initial progress to `.aether/data/watch-progress.txt`:
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
.-.
|
|
122
|
+
(o o) AETHER COLONY
|
|
123
|
+
| O | Progress
|
|
124
|
+
`-`
|
|
125
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
126
|
+
|
|
127
|
+
Phase: -/-
|
|
128
|
+
|
|
129
|
+
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%
|
|
130
|
+
|
|
131
|
+
⏳ Waiting for build...
|
|
132
|
+
|
|
133
|
+
Target: 95% confidence
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Step 7: Attach and Display
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
tmux attach-session -t aether-colony
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Before attaching, output:
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
.-.
|
|
146
|
+
(o o) AETHER COLONY :: WATCH
|
|
147
|
+
| O |
|
|
148
|
+
`-`
|
|
149
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
150
|
+
|
|
151
|
+
tmux session 'aether-colony' created.
|
|
152
|
+
|
|
153
|
+
Layout (4-pane 2x2 grid):
|
|
154
|
+
+------------------+------------------+
|
|
155
|
+
| Status | Spawn Tree |
|
|
156
|
+
| Colony state | Worker hierarchy |
|
|
157
|
+
+------------------+------------------+
|
|
158
|
+
| Progress | Activity Log |
|
|
159
|
+
| Phase progress | Live stream |
|
|
160
|
+
+------------------+------------------+
|
|
161
|
+
|
|
162
|
+
Commands:
|
|
163
|
+
Ctrl+B D Detach from session
|
|
164
|
+
Ctrl+B [ Scroll mode (q to exit)
|
|
165
|
+
Ctrl+B Arrow Navigate between panes
|
|
166
|
+
tmux kill-session -t aether-colony Stop watching
|
|
167
|
+
|
|
168
|
+
The session will update in real-time as colony works.
|
|
169
|
+
Attaching now...
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Status Update Protocol
|
|
175
|
+
|
|
176
|
+
Workers and commands update watch files as they work:
|
|
177
|
+
|
|
178
|
+
### Activity Log
|
|
179
|
+
Workers write via: `bash .aether/aether-utils.sh activity-log "ACTION" "caste" "description"`
|
|
180
|
+
|
|
181
|
+
For named ants (recommended):
|
|
182
|
+
```bash
|
|
183
|
+
# Generate a name first
|
|
184
|
+
ant_name=$(bash .aether/aether-utils.sh generate-ant-name "builder" | jq -r '.result')
|
|
185
|
+
# Log with ant name
|
|
186
|
+
bash .aether/aether-utils.sh activity-log "CREATED" "$ant_name (Builder)" "Implemented auth module"
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Spawn Tracking
|
|
190
|
+
Log spawns for tree visualization:
|
|
191
|
+
```bash
|
|
192
|
+
bash .aether/aether-utils.sh spawn-log "Prime" "builder" "Hammer-42" "implementing auth"
|
|
193
|
+
bash .aether/aether-utils.sh spawn-complete "Hammer-42" "completed" "auth module done"
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Status File
|
|
197
|
+
Commands update `.aether/data/watch-status.txt` with current state:
|
|
198
|
+
- State: PLANNING, EXECUTING, READY
|
|
199
|
+
- Phase: current/total
|
|
200
|
+
- Active Workers: list of named ants
|
|
201
|
+
- Last Activity: most recent log entry
|
|
202
|
+
|
|
203
|
+
### Progress File
|
|
204
|
+
Update via: `bash .aether/aether-utils.sh update-progress <percent> "<message>" <phase> <total>`
|
|
205
|
+
|
|
206
|
+
Example:
|
|
207
|
+
```bash
|
|
208
|
+
bash .aether/aether-utils.sh update-progress 45 "Building auth module..." 2 5
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Cleanup
|
|
214
|
+
|
|
215
|
+
To stop watching:
|
|
216
|
+
```bash
|
|
217
|
+
tmux kill-session -t aether-colony
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
This stops the session but preserves all log files.
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to the Aether Colony project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- README updated to v5.0.0
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## v5.0.0 — Worker Emergence (2026-02-20)
|
|
16
|
+
|
|
17
|
+
**Major milestone:** Every ant caste is now a real Claude Code subagent. 22 agents ship through the hub, ready for resolution via the Task tool.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- **22 Claude Code subagents**: Every ant caste is now a first-class subagent resolvable via the Task tool
|
|
21
|
+
- Core: Builder, Watcher
|
|
22
|
+
- Orchestration: Queen, Scout, Route-Setter, 4 Surveyors (nest, disciplines, pathogens, provisions)
|
|
23
|
+
- Specialists: Keeper, Tracker, Probe, Weaver, Auditor
|
|
24
|
+
- Niche: Chaos, Archaeologist, Gatekeeper, Includer, Measurer, Sage, Ambassador, Chronicler
|
|
25
|
+
- **Agent distribution pipeline**: `npm install -g .` syncs agents to hub at `~/.aether/system/agents-claude/`, `aether update` delivers to target repos
|
|
26
|
+
- **6 AVA tests for agent quality**: Frontmatter validation, tool restrictions, naming conventions, content standards
|
|
27
|
+
- **repo-structure.md**: Quick re-orientation guide for the codebase
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- **Bash line wrapping bug**: Fixed 58 instances across 7 command files where description text was inside code blocks causing "with: command not found" errors
|
|
31
|
+
- **Lint regression test**: CLEAN-03 test scans both Claude and OpenCode command directories
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- **.aether/docs/ curated**: 8 keepers at root, 6 archived for reference
|
|
35
|
+
- **README.md updated**: Action-oriented tone, v5.0 agent capabilities featured, caste table by tier
|
|
36
|
+
- **ROADMAP.md and STATE.md**: v5.0 marked shipped, all 31 phases complete at 100%
|
|
37
|
+
|
|
38
|
+
### Phases Shipped
|
|
39
|
+
- **Phase 27**: Distribution Infrastructure + First Core Agents (4 plans)
|
|
40
|
+
- **Phase 28**: Orchestration Layer + Surveyor Variants (3 plans)
|
|
41
|
+
- **Phase 29**: Specialist Agents + Agent Tests (3 plans)
|
|
42
|
+
- **Phase 30**: Niche Agents (3 plans)
|
|
43
|
+
- **Phase 31**: Integration Verification + Cleanup (3 plans)
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
### Removed
|
|
48
|
+
- Old planning phases 10-19 archived to docs/plans/ (completed phases)
|
|
49
|
+
- Orphaned worktree salvage files moved to docs/worktree-salvage/
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## v4.0.0 -- Distribution Simplification
|
|
54
|
+
|
|
55
|
+
**Breaking change:** The `runtime/` staging directory has been removed. The npm package now reads directly from `.aether/`, with private directories (data/, dreams/, oracle/, etc.) excluded by `.aether/.npmignore`.
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
- `.aether/` is now directly included in the npm package (private dirs excluded by `.aether/.npmignore`)
|
|
59
|
+
- `bin/validate-package.sh` replaces `bin/sync-to-runtime.sh` — validates required files, no copying
|
|
60
|
+
- Hub sync uses exclude-based approach instead of triplicate 59-62 file allowlists
|
|
61
|
+
- Pre-commit hook repurposed for validation (no more runtime/ sync)
|
|
62
|
+
- `aether update` uses `syncAetherToRepo` (exclude-based) for all system file distribution
|
|
63
|
+
- All three distribution paths (system files, commands, agents) unified in `setupHub()`
|
|
64
|
+
|
|
65
|
+
### Removed
|
|
66
|
+
- `runtime/` staging directory — eliminated entirely
|
|
67
|
+
- `bin/sync-to-runtime.sh` — replaced by validation-only script
|
|
68
|
+
- `SYSTEM_FILES` allowlist arrays in cli.js and update-transaction.js
|
|
69
|
+
- `copySystemFiles()` and `syncSystemFilesWithCleanup()` functions
|
|
70
|
+
|
|
71
|
+
### Added
|
|
72
|
+
- `bin/validate-package.sh` — pre-packaging validation with `--dry-run` mode
|
|
73
|
+
- Private data exposure guard — blocks packaging if .npmignore doesn't cover private dirs
|
|
74
|
+
- Migration message for users upgrading from v3.x
|
|
75
|
+
- `npm pack --dry-run` recommended for verifying package contents
|
|
76
|
+
|
|
77
|
+
### Fixed
|
|
78
|
+
- ISSUE-004: Template path hardcoded to runtime/ — resolved by eliminating runtime/ entirely
|
|
79
|
+
|
|
80
|
+
### Migration
|
|
81
|
+
- Run `npm install -g aether-colony` to get v4.0
|
|
82
|
+
- Your colony state and data are unaffected
|
|
83
|
+
- The only change is how the package is built — distributed content is identical
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## [3.1.5] - 2026-02-15
|
|
88
|
+
|
|
89
|
+
### Fixed
|
|
90
|
+
- **Agent Type Correction** — Changed all occurrences of `subagent_type="general"` to `subagent_type="general-purpose"` across all command files. The error "Agent type 'general' not found" was occurring because the correct agent type name is `general-purpose`. Fixed in: build.md, plan.md, organize.md, and workers.md (both Claude and OpenCode versions, plus runtime copy). (`.claude/commands/ant/build.md`, `.claude/commands/ant/plan.md`, `.claude/commands/ant/organize.md`, `.opencode/commands/ant/build.md`, `.opencode/commands/ant/plan.md`, `.opencode/commands/ant/organize.md`, `.aether/workers.md`, `runtime/workers.md`)
|
|
91
|
+
|
|
92
|
+
## [3.1.4] - 2026-02-15
|
|
93
|
+
|
|
94
|
+
### Fixed
|
|
95
|
+
- **Archaeologist Visualization** — Added swarm display integration for the Archaeologist scout (Step 4.5). The archaeologist now appears in the visual display with proper emoji (🏺), progress tracking (15% → 100%), and tool usage stats when spawned during pre-build scans. (`.claude/commands/ant/build.md`, `.opencode/commands/ant/build.md`)
|
|
96
|
+
|
|
97
|
+
## [3.1.3] - 2026-02-15
|
|
98
|
+
|
|
99
|
+
### Fixed
|
|
100
|
+
- **Nested Spawn Visualization** — When builders or watchers spawn sub-workers, the swarm display now updates to show those nested spawns with colors and emojis. Added `swarm-display-update` calls to workers.md spawn protocol (Step 3 and Step 5), builder prompts, and watcher prompts. (`.aether/workers.md`, `.claude/commands/ant/build.md`, `.opencode/commands/ant/build.md`)
|
|
101
|
+
|
|
102
|
+
## [3.1.2] - 2026-02-15
|
|
103
|
+
|
|
104
|
+
### Fixed
|
|
105
|
+
- **Swarm Display Integration in Build Command** — The visualization system was fully implemented but never integrated into `/ant:build`. Added `swarm-display-init` at build start, `swarm-display-update` calls when spawning builders/watchers/chaos ants, progress updates when workers complete (updating to 100% completion), and final `swarm-display-render` at build completion. The build now shows real-time ant-themed visualization with caste emojis, colors, tool usage stats, and chamber activity maps. (`.claude/commands/ant/build.md`, `.opencode/commands/ant/build.md`)
|
|
106
|
+
- **Missing swarm-display-render Command** — Added new `swarm-display-render` command to `aether-utils.sh` that executes the visualization script to render the current swarm state to terminal. (`.aether/aether-utils.sh`)
|
|
107
|
+
|
|
108
|
+
### Changed
|
|
109
|
+
- **OpenCode Build Command Parity** — Synchronized OpenCode build.md with Claude version: added `--model` flag support, proxy health check (Step 0.6), colony state loading (Step 0.5), and full swarm display integration. (`.opencode/commands/ant/build.md`)
|
|
110
|
+
|
|
111
|
+
## [3.1.1] - 2026-02-15
|
|
112
|
+
|
|
113
|
+
### Fixed
|
|
114
|
+
- **Missing Visualization Assets** — Added `.aether/visualizations/` directory to npm package files array. The ASCII art anthill files required by `/ant:maturity` command were not being published, causing the command to fail in repos that installed/updated via npm. (`package.json`)
|
|
115
|
+
- **Visualization Sync in Install** — Updated `setupHub()` function in CLI to sync visualization files from package to hub (`~/.aether/visualizations/`). (`bin/cli.js`)
|
|
116
|
+
- **Visualization Sync in Update** — Updated `UpdateTransaction` to sync visualization files from hub to repos during `aether update`. Added `HUB_VISUALIZATIONS` constant and visualization sync result tracking. (`bin/lib/update-transaction.js`)
|
|
117
|
+
|
|
118
|
+
### Changed
|
|
119
|
+
- Version bump to 3.1.1 to trigger fresh installs with visualization assets. (`package.json`)
|
|
120
|
+
|
|
121
|
+
## [Unreleased]
|
|
122
|
+
|
|
123
|
+
### Added
|
|
124
|
+
- **Session Freshness Detection System** — Global system to prevent stale session files from silently breaking Aether workflows. Implements `session-verify-fresh` and `session-clear` commands with support for 7 commands (survey, oracle, watch, swarm, init, seal, entomb). Features cross-platform timestamp detection (macOS/Linux), environment variable overrides for testing, and protected operations (init/seal/entomb never auto-clear). Backward compatibility maintained with `survey-verify-fresh` and `survey-clear` wrappers. Added comprehensive test suite (`tests/bash/test-session-freshness.sh`) and API documentation (`docs/session-freshness-api.md`). (`.aether/aether-utils.sh`, `tests/bash/test-session-freshness.sh`, `docs/session-freshness-api.md`)
|
|
125
|
+
- `/ant:colonize` — Added `--force-resurvey` flag, stale survey detection, and verification
|
|
126
|
+
- `/ant:oracle` — Added `--force` flag, stale session detection with user options
|
|
127
|
+
- `/ant:watch` — Added session timestamp capture and stale file handling
|
|
128
|
+
- `/ant:swarm` — Added auto-clear for stale findings with verification
|
|
129
|
+
- `/ant:init` — Added freshness check with protected state (no auto-clear)
|
|
130
|
+
- `/ant:seal` — Added incomplete archive detection and integrity verification
|
|
131
|
+
- `/ant:entomb` — Added incomplete chamber detection and integrity verification
|
|
132
|
+
|
|
133
|
+
### Fixed
|
|
134
|
+
- **Architecture Cleanup: Source of Truth Flipped** — Complete review and cleanup of the flipped source-of-truth architecture. `.aether/` is now the source of truth for system files, with `runtime/` auto-populated by `bin/sync-to-runtime.sh` during npm install. Fixed 6 stale documentation files, updated 5 planning files, expanded allowlist from 20 to 36 files, handled 4 orphan files, and verified zero drift between directories. (`.aether/recover.sh`, `.aether/RECOVERY-PLAN.md`, `.planning/codebase/STRUCTURE.md`, `.planning/codebase/ARCHITECTURE.md`, `.planning/codebase/CONVENTIONS.md`, `TO-DOS.md`, `bin/sync-to-runtime.sh`, `bin/lib/update-transaction.js`)
|
|
135
|
+
|
|
136
|
+
### Changed
|
|
137
|
+
- **Phase 4: UX Improvements to Lay-Eggs** — Enhanced lay-eggs.md with visual lifecycle diagrams (🟢 ACTIVE COLONY → 🏺 SEAL/ENTOMB → 🥚 LAY EGGS) in error messages to clarify workflow progression. Updated success output to explicitly distinguish between sealing vs laying eggs for new projects, preserving wisdom across colony lifecycles. (`.claude/commands/ant/lay-eggs.md`)
|
|
138
|
+
|
|
139
|
+
### Fixed
|
|
140
|
+
- **Phase 2: Fix Blocker Severity and Auto-Resolve Logic** — Made auto_resolve_on conditional by flag source: chaos-sourced blockers require manual resolution (auto_resolve_on: null), verification blockers auto-resolve on build pass. Reordered continue.md Flags Gate to run auto-resolve before blocker count check. Added advisory blocker warning (Step 1.5) to build.md so builders see active blockers before execution. (`.aether/aether-utils.sh`, `runtime/aether-utils.sh`, `.claude/commands/ant/continue.md`, `.opencode/commands/ant/continue.md`, `.claude/commands/ant/build.md`, `.opencode/commands/ant/build.md`)
|
|
141
|
+
- **Phase 1: Fix Chaos Ant Duplicate Flagging** — Eliminated duplicate flag creation during build-rebuild cycles by removing redundant chaos flagging from build.md Step 5.5 (Step 5.4.2 already handles it), injected existing flag titles into Chaos Ant spawn prompt to prevent re-investigating known issues, and added flag persistence to standalone /ant:chaos for critical/high findings using source 'chaos-standalone'. (`.claude/commands/ant/build.md`, `.opencode/commands/ant/build.md`, `.claude/commands/ant/chaos.md`, `.opencode/commands/ant/chaos.md`)
|
|
142
|
+
|
|
143
|
+
### Added
|
|
144
|
+
- **Phase 6: Final Verification and Integration Testing** — Added milestone display to /ant:status command (now shows "Milestone: <name>" in output), expanded milestone progression in /ant:archive to handle all 6 stages (First Mound, Open Chambers, Brood Stable, Ventilated Nest, Sealed Chambers, Crowned Anthill), added unrecognized milestone error handling. Full lint suite passes (shell, JSON, sync - 28 commands verified). (`.claude/commands/ant/status.md`, `.claude/commands/ant/archive.md`, `.opencode/commands/ant/status.md`, `.opencode/commands/ant/archive.md`)
|
|
145
|
+
|
|
146
|
+
- **Phase 1: Create Oracle infrastructure and command** — Added Oracle Ant deep research agent with RALF-pattern bash loop, agent prompt, /ant:oracle command definition (mirrored), and oracle caste registration in aether-utils.sh. (`.aether/oracle/oracle.sh`, `.aether/oracle/oracle.md`, `.claude/commands/ant/oracle.md`, `.opencode/commands/ant/oracle.md`, `.aether/aether-utils.sh`, `runtime/aether-utils.sh`)
|
|
147
|
+
|
|
148
|
+
### Verified
|
|
149
|
+
- **Phase 2: Verification and smoke test** — All Oracle Ant files verified: generate-commands.sh check passes (26/26 in sync, SHA-1 checksums verified), oracle.sh error handling works (exits code 1 with descriptive error when no research.json), oracle caste generates themed names (Vision-NN, Delph-NN), file structure matches spec (oracle.sh executable, oracle.md exists, command mirrors byte-identical, no stray files). Full lint suite passes (shell, JSON, sync).
|
|
150
|
+
|
|
151
|
+
### Verified
|
|
152
|
+
- **Phase 5: Path Localization Complete** — Full-repo audit confirmed zero actionable `~/.aether/` or `~/.config/opencode/` references in commands, scripts, or CLI. Remaining 4 `$HOME/.aether` references in aether-utils.sh are intentional hub/registry functions for multi-repo management. `generate-commands.sh check` passes (25/25 in sync, SHA-1 checksums verified). `aether-utils.sh` smoke tests pass (help, version, generate-ant-name). All three original goals met: no root access prompts, no cross-repo contamination, no out-of-project file operations.
|
|
153
|
+
|
|
154
|
+
### Changed
|
|
155
|
+
- **Phase 4: Implement Hash-Based Idempotency** — Added SHA256 hash comparison to syncDirWithCleanup function - files are now only copied when content actually changes, reducing unnecessary I/O. Added error handling with try-catch to hashFileSync, copyFileSync, unlinkSync operations to prevent crashes on single file errors. Added validateManifest function to verify manifest.json structure before use. Added optional --backup flag to preserve user-modified files before overwriting. 13 tests added covering hash comparison, user modification detection, and backward compatibility. (`bin/cli.js`, `test/sync-dir-hash.test.js`, `test/user-modification-detection.test.js`)
|
|
156
|
+
|
|
157
|
+
- **Phase 4: Remove global path operations from cli.js** — Removed `~/.aether/` runtime copy logic (RUNTIME_DEST, RUNTIME_SRC, learnings.json creation, execSync import) and `~/.config/opencode/` global install logic (OPENCODE_GLOBAL_COMMANDS_DEST, OPENCODE_GLOBAL_AGENTS_DEST) from install/uninstall commands. Updated help text to reflect new architecture. cli.js now only installs Claude Code slash-commands to `~/.claude/commands/ant/`. Net reduction of 130 lines. (`bin/cli.js`)
|
|
158
|
+
- **Phase 3: Document repo-local path architecture** — Updated CHANGELOG.md and documentation references to reflect the completed path localization migration. All runtime paths now use repo-local `.aether/` instead of `~/.aether/`. Phases 1-2 localized command files, agent definitions, system docs, planning docs, shell utilities, and cross-project state functions. Phase 3 updates documentation to reflect the new architecture where running colonies only read/write repo-local `.aether/`, while global install remains functional for command distribution. (`README.md`, `CHANGELOG.md`, `TO-DOS.md`)
|
|
159
|
+
- **Phase 2: Localize cross-project state in aether-utils.sh** — Redirected 6 `$HOME/.aether` references to repo-local `$DATA_DIR` paths in learning-promote, learning-inject, error-flag-pattern, error-patterns-check, signature-scan, and signature-match functions. Fixed atomic-write.sh `$HOME/.aether/utils` fallback to use SCRIPT_DIR-based resolution. Updated usage comment headers in all .sh files. Applied to both `.aether/` and `runtime/` copies (verified identical). (`.aether/aether-utils.sh`, `runtime/aether-utils.sh`, `.aether/utils/atomic-write.sh`, `runtime/utils/atomic-write.sh`, `.aether/utils/file-lock.sh`, `runtime/utils/file-lock.sh`)
|
|
160
|
+
- **Phase 1: Localize ~/.aether/ path references** — Replaced all `~/.aether/` paths with repo-relative `.aether/` across 50 files: command prompts, agent definitions, system docs, planning docs, and template.yaml. Fixed 3 pre-existing mirror drifts (migrate-state.md, organize.md, plan.md) discovered during verification. (`.claude/commands/ant/*.md`, `.opencode/commands/ant/*.md`, `.opencode/agents/*.md`, `.aether/workers.md`, `runtime/workers.md`, `.aether/docs/*.md`, `runtime/docs/*.md`, `.planning/*.md`, `src/commands/_meta/template.yaml`)
|
|
161
|
+
- **Phase 2: Upgrade Sync Checking to Content-Aware** — `generate-commands.sh check` now performs SHA-1 checksum comparison (Pass 2) after filename matching (Pass 1), detecting content drift between `.claude/` and `.opencode/` mirrors. Revealed 3 pre-existing drifts previously invisible to filename-only checks. (`bin/generate-commands.sh`)
|
|
162
|
+
|
|
163
|
+
### Verified
|
|
164
|
+
- **Phase 5: Verify Full System Integrity** — Final verification phase confirming all global install locations match repo sources. Full lint suite passed (lint:shell, lint:json, lint:sync). All 4 global locations verified: ~/.claude/commands/ant/ (24 files), ~/.config/opencode/commands/ant/ (24 files), ~/.config/opencode/agents/ (4 files), ~/.aether/ system files. Watcher quality 9/10, Chaos resilience moderate (1 high finding: lint:sync content blind spot, 3 medium, 1 low — all pre-existing infrastructure gaps). Colony goal achieved.
|
|
165
|
+
|
|
166
|
+
### Fixed
|
|
167
|
+
- **Phase 6: Document and Test the System** — Created command-sync.md documenting the sync strategy: Claude Code uses global sync to ~/.claude/commands/ant/, OpenCode uses hub-based repo-local distribution (no global discovery). Verified end-to-end sync with dry-run tests: install, update, update --all all work correctly. Idempotency confirmed - hash-based comparison skips unchanged files. All lint and tests pass. (`.aether/docs/command-sync.md`, `.aether/docs/namespace.md`, `test/namespace-isolation.test.js`)
|
|
168
|
+
|
|
169
|
+
- **Phase 5: Implement Conflict Prevention System** — Added namespace isolation documentation (`.aether/docs/namespace.md`) explaining why 'ant' namespace is distinct from cds, mds, st: namespaces. Created namespace-isolation.test.js with 8 tests verifying bulletproof directory-based isolation. Fixed critical bugs discovered by Chaos Ant: added hash comparison to syncDirWithCleanup (files now only copied when content changes) and added HOME environment variable validation to prevent path.join failures. All 14 tests pass. (`bin/cli.js`, `.aether/docs/namespace.md`, `test/namespace-isolation.test.js`)
|
|
170
|
+
|
|
171
|
+
- **Phase 3: Fix Pheromone Model Consistency** — Aligned all pheromone documentation to TTL-based model. Replaced decay/half-life/exponential language in runtime/docs/pheromones.md (now identical to .aether/docs/ source of truth), help.md (4 references fixed, mirrored to .opencode/), and README.md pheromone table (Decay column replaced with Priority/Default Expiration). (`runtime/docs/pheromones.md`, `.claude/commands/ant/help.md`, `.opencode/commands/ant/help.md`, `README.md`)
|
|
172
|
+
- **Phase 1: Fix Command Mirror Sync Bugs** — Synced status.md, continue.md, and phase.md between Claude and OpenCode mirrors (zero diff verified), added missing YAML frontmatter to Claude's migrate-state.md, verified cli.js install paths are correct. (`.opencode/commands/ant/status.md`, `.opencode/commands/ant/continue.md`, `.opencode/commands/ant/phase.md`, `.claude/commands/ant/migrate-state.md`)
|
|
173
|
+
- **Phase 2: Sync runtime copy to .aether mirror** — Full file copy of runtime/aether-utils.sh to .aether/aether-utils.sh eliminating all drift including missing signature-scan and signature-match commands. Both copies now byte-identical. (`.aether/aether-utils.sh`)
|
|
174
|
+
- **Phase 1: Fix bugs in canonical runtime/aether-utils.sh** — Fixed learning-promote jq crash on non-numeric phase strings (--argjson to --arg), fixed flag-auto-resolve missing exit after early-return when flags file absent, confirmed file-lock.sh transitive usage via atomic-write.sh is intentional. (`runtime/aether-utils.sh`)
|
|
175
|
+
|
|
176
|
+
### Changed
|
|
177
|
+
- **Phase 4: Clean Up Global ~/.aether/** — Removed unrelated `LIGHT_MODE_TRANSPARENCY_TEST.md` from global `~/.aether/`, adopted orphaned `progressive-disclosure.md` into repo at both `.aether/docs/` and `runtime/docs/`. Both copies verified identical to global source. (`.aether/docs/progressive-disclosure.md`, `runtime/docs/progressive-disclosure.md`)
|
|
178
|
+
- **Phase 3: Sync Global OpenCode Commands** — Replaced stale global OpenCode commands at `~/.config/opencode/commands/ant/` with all 24 current repo commands. Removed orphan `ant.md`, cleared old files, installed fresh copies. All 24 files verified identical to repo source. (`~/.config/opencode/commands/ant/*.md`)
|
|
179
|
+
- **Phase 2: Sync Content Between Repo and Runtime** — Synced runtime/QUEEN_ANT_ARCHITECTURE.md with .aether/ source (+56 lines: Council, Swarm sections, heading rename), added 3 missing docs to runtime/docs/ (constraints.md, pathogen-schema.md, pathogen-schema-example.json), synced aether-watcher.md to global install with Command Resolution section. (`runtime/QUEEN_ANT_ARCHITECTURE.md`, `runtime/docs/*`, `~/.config/opencode/agents/aether-watcher.md`)
|
|
180
|
+
- **Phase 1: Fix OpenCode Command Naming Convention** — Renamed all 24 `.opencode/commands/ant/` files from `ant:*.md` to bare `*.md` names to match `.claude/commands/ant/` convention. OpenCode uses frontmatter `name:` field for command resolution, so filenames are cosmetic. `npm run lint:sync` now passes. (`.opencode/commands/ant/*.md`)
|
|
181
|
+
- **Phase 4: Documentation and Validation (Chaos + Archaeologist)** — Updated help.md with /ant:chaos and /ant:archaeology in ADVANCED and WORKER CASTES sections, updated README.md command count from 22 to 24 in all 6 locations, added CHANGELOG entries for all phases, marked both TO-DOS.md entries as DONE with implementation references. Validated 24 files in each command directory, name generation, and emoji resolution. (`.claude/commands/ant/help.md`, `.opencode/commands/ant/ant:help.md`, `README.md`, `CHANGELOG.md`, `TO-DOS.md`)
|
|
182
|
+
- 2026-02-12: TO-DOS.md — Marked Chaos Ant and Archaeologist Ant entries as DONE with implementation references
|
|
183
|
+
- **Phase 1: Threshold and Quoting Fixes** — Lowered instinct confidence threshold from 0.7 to 0.5 in both init.md mirrors, standardized YAML description quoting across all 26 command files. (`init.md`, `build.md`, `colonize.md`, `continue.md`, `council.md`, `dream.md`, `feedback.md`, `flag.md`, `flags.md`, `focus.md`, `help.md`, `interpret.md`, `organize.md`, `pause-colony.md`, `phase.md`, `plan.md`, `redirect.md`, `resume-colony.md`, `status.md`, `swarm.md`, `watch.md` + .opencode mirrors)
|
|
184
|
+
- **Phase 3: Watcher, Builder, and Swarm command resolution** — Watcher prompt in build.md, swarm.md Step 8, and aether-watcher.md now resolve build/test/lint commands via the 3-tier priority chain (CLAUDE.md > CODEBASE.md > heuristic fallback) instead of leaving commands unspecified or hardcoded. (`build.md`, `swarm.md`, `aether-watcher.md` + .opencode mirrors)
|
|
185
|
+
- **Phase 2: Verification loop priority chain** — Command detection in continue.md and verification-loop.md now uses 3-tier priority chain (CLAUDE.md > CODEBASE.md > heuristic table) instead of heuristic table alone. Heuristic table preserved as fallback. (`continue.md`, `runtime/verification-loop.md` + .opencode/.aether mirrors)
|
|
186
|
+
- **Phase 3: Build Pipeline Integration (Chaos + Archaeologist)** — Integrated both new ant types into the build.md pipeline. Archaeologist Ant spawns as conditional pre-build step (Step 4.5) when phase modifies existing files, injecting history context into builder prompts. Chaos Ant spawns as post-build resilience tester (Step 5.4.2) alongside Watcher, limited to 5 edge case scenarios. Added `chaos_count` and `archaeologist_count` to spawn_metrics and `archaeology` field to synthesis JSON. (`.claude/commands/ant/build.md`, `.opencode/commands/ant/ant:build.md`)
|
|
187
|
+
|
|
188
|
+
### Added
|
|
189
|
+
- **Phase 2: `/ant:chaos` command** — Standalone Chaos Ant (Resilience Tester) command that probes code for edge cases, boundary conditions, error handling gaps, state corruption, and unexpected inputs. Produces structured findings reports with reproduction steps and severity ratings. Read-only by design (Tester's Law). (`.claude/commands/ant/chaos.md`, `.opencode/commands/ant/ant:chaos.md`)
|
|
190
|
+
- **Phase 2: `/ant:archaeology` command** — Standalone Archaeologist Ant command that excavates git history for any file or directory. Uses git log, blame, show, and follow to analyze commit patterns, surface tribal knowledge, identify tech debt markers, map churn hotspots, and produce structured archaeology reports. Read-only by design (Archaeologist's Law). (`.claude/commands/ant/archaeology.md`, `.opencode/commands/ant/ant:archaeology.md`)
|
|
191
|
+
- **Phase 1: Utility Foundation (Chaos + Archaeologist)** — Added chaos and archaeologist castes to `generate-ant-name` (8 prefixes each) and `get_caste_emoji` (🎲 and 🏺) in both `.aether/aether-utils.sh` and `runtime/aether-utils.sh`. (`.aether/aether-utils.sh`, `runtime/aether-utils.sh`)
|
|
192
|
+
- **Phase 1: Immune Memory Schema** — Defined JSON schema for pathogen signatures extending existing error-patterns.json format. Schema adds signature_type, pattern_string, confidence_threshold, escalation_level fields while preserving backward compatibility. Created .aether/docs/pathogen-schema.md documentation, .aether/docs/pathogen-schema-example.json with sample entries, and .aether/data/pathogens.json empty storage file. Watcher verified 6/6 jq validation tests pass. (`.aether/docs/pathogen-schema.md`, `.aether/docs/pathogen-schema-example.json`, `.aether/data/pathogens.json`)
|
|
193
|
+
- **Phase 2: Add Lint Scripts** — Added `lint:shell`, `lint:json`, `lint:sync`, and top-level `lint` scripts to package.json for shell validation, JSON validation, and mirror sync checking. (`package.json`)
|
|
194
|
+
- **CLAUDE.md-aware command detection** — Colonize now extracts build/test/lint commands from CLAUDE.md and package manifests into CODEBASE.md with user suggestions. Verification loop and worker prompts resolve commands via 3-tier priority chain (CLAUDE.md > CODEBASE.md > heuristic fallback) instead of heuristic table alone. (`colonize.md`, `continue.md`, `build.md`, `swarm.md`, `verification-loop.md`, `aether-watcher.md` + .opencode/.aether mirrors)
|
|
195
|
+
- **Phase 4: Tier 2 Gate-Based Commit Suggestions** — Colony now suggests commits at verified boundaries (post-advance and session-pause) via user prompt instead of auto-committing. Added `generate-commit-message` utility to aether-utils.sh for consistent formatting across commit types. (`continue.md`, `pause-colony.md`, `aether-utils.sh` + .opencode mirrors)
|
|
196
|
+
- **Phase 3: Tier 1 Safety Formalization** — Switched build.md checkpoint from `git commit` to `git stash push --include-untracked`, standardized checkpoint naming under `aether-checkpoint:` prefix, added label parameter to `autofix-checkpoint` in aether-utils.sh, added rollback verification to build.md output header, documented rollback procedure in continue.md, updated swarm.md to pass descriptive labels. (`build.md`, `swarm.md`, `continue.md`, `aether-utils.sh` + .opencode mirrors)
|
|
197
|
+
- **Phase 2: Git Staging Strategy Proposal** — 4-tier strategy proposal with comparison matrix and implementation recommendation. Tier 1 (Safety-Only), Tier 2 (Gate-Based Suggestions), Tier 3 (Hooks-Based Automation), Tier 4 (Branch-Aware Colony). Recommends Tiers 1+2 for initial implementation. (`.planning/git-staging-proposal.md`, `.planning/git-staging-tier{1-4}.md`)
|
|
198
|
+
- **Phase 1: Deep Research on Git Staging Strategies** — 7 research documents (1573 lines) covering: Aether's 20 git touchpoints, industry comparison of 5 AI tools, worktree applicability, user git rule tensions, ranked commit points (POST-ADVANCE strongest), commit message conventions, and GitHub integration opportunities. (`.planning/git-staging-research-1.{1-7}.md`)
|
|
199
|
+
- **Auto-recovery headers** — All ant commands now show `🔄 Resuming: Phase X - Name` after `/clear`. `status.md` has Step 1.5 with extended format including last activity timestamp. `build.md`, `plan.md`, `continue.md` show brief one-line context. `resume-colony.md` documents the tiered pattern. (`status.md`, `build.md`, `plan.md`, `continue.md`, `resume-colony.md`)
|
|
200
|
+
- **Ant Graveyards** — `grave-add` and `grave-check` commands in `aether-utils.sh`. When builders fail, grave markers record the file, ant name, and failure summary. Future builders check for nearby graves before modifying files and adjust caution level accordingly. Capped at 30 entries. (`aether-utils.sh`, `init.md`, `build.md`)
|
|
201
|
+
- **Colony knowledge in builder prompts** — Spawned workers now receive top instincts (confidence >= 0.5), recent validated learnings, and flagged error patterns via `--- COLONY KNOWLEDGE ---` section in builder prompt template. (`build.md`)
|
|
202
|
+
- **Automatic changelog updates** — `/ant:continue` now appends a changelog entry for each completed phase under `## [Unreleased]`. (`continue.md`)
|
|
203
|
+
- **Colony memory inheritance** — `/ant:init` now reads the most recent `completion-report.md` (if it exists) and seeds the new colony's `memory.instincts` with high-confidence instincts (>= 0.7) and validated learnings from prior sessions. Colonies no longer start completely blind. (`init.md` + .opencode mirror)
|
|
204
|
+
- **Unbuilt design status markers** — Added `STATUS: NOT IMPLEMENTED` headers to `.planning/git-staging-tier3.md` and `.planning/git-staging-tier4.md` to prevent confusion with implemented features. (`git-staging-tier3.md`, `git-staging-tier4.md`)
|
|
205
|
+
- **`/ant:interpret` command** — Dream reviewer that loads dream sessions, investigates each observation against the actual codebase with evidence and verdicts (confirmed/partially confirmed/unconfirmed/refuted), assesses concern severity, estimates implementation scope, and facilitates discussion before injecting pheromones or adding TO-DOs. (`interpret.md`)
|
|
206
|
+
- **`/ant:dream` command** — Philosophical wanderer agent that reads codebase, git history, colony state, and TO-DOs, performs random exploration cycles and writes observations to `.aether/dreams/`. (`dream.md`)
|
|
207
|
+
- **`/ant:help` command** — Renamed from `/ant:ant` with updated content covering all 20 commands, session resume workflow, colony memory system, and full state file inventory. (`help.md`)
|
|
208
|
+
- **OpenCode command sync** — All `.claude/commands/ant/` prompts synced to `.opencode/commands/ant/` for cross-tool parity
|
|
209
|
+
|
|
210
|
+
### Changed
|
|
211
|
+
- **Checkpoint messaging** — Now suggests actual next command (e.g., `/ant:continue` or `/ant:build 3`) instead of generic `/ant:status`. Format: "safe to /clear, then run /ant:continue"
|
|
212
|
+
- **Caste emoji in spawn output** — Spawn-log and spawn-complete in `aether-utils.sh` show caste emoji adjacent to ant name (e.g., `🔨Chip-36`). Build.md SPAWN PLAN and Colony Work Tree use emoji-first format. (`aether-utils.sh`, `build.md`)
|
|
213
|
+
- **Phase context in command suggestions** — Next Steps sections now include phase names alongside numbers (e.g., `/ant:build 3 Phase 3: Add Authentication`). (`status.md`, `plan.md`, `phase.md`)
|
|
214
|
+
- **OpenCode plan.md** — Now dynamically calculates first incomplete phase instead of hardcoding Phase 1. (`plan.md`)
|
|
215
|
+
|
|
216
|
+
### Fixed
|
|
217
|
+
- **Output appears before agents finish** — `build.md` now enforces blocking behavior; Steps 5.2, 5.4.1, and 5.6 wait for all TaskOutput calls before proceeding
|
|
218
|
+
- **Command suggestions use real phase numbers** — `status.md`, `continue.md`, `plan.md`, and `phase.md` calculate actual phase numbers instead of showing template placeholders
|
|
219
|
+
- **Progressive disclosure UI** — Compact-by-default output with `--verbose` flag; `status.md` (8-10 lines) and `build.md` (12 lines) default to compact mode
|
|
220
|
+
|
|
221
|
+
## [1.0.0] - 2026-02-09
|
|
222
|
+
|
|
223
|
+
### First Stable Release
|
|
224
|
+
|
|
225
|
+
Aether Colony is a multi-agent system using ant colony intelligence for Claude Code and OpenCode. Workers self-organize via pheromone signals to complete complex tasks autonomously.
|
|
226
|
+
|
|
227
|
+
### Added
|
|
228
|
+
- **20 ant commands** for autonomous project planning, building, and management (`ant:init`, `ant:plan`, `ant:build`, `ant:continue`, `ant:status`, `ant:phase`, `ant:colonize`, `ant:watch`, `ant:flag`, `ant:flags`, `ant:focus`, `ant:redirect`, `ant:feedback`, `ant:pause-colony`, `ant:resume-colony`, `ant:organize`, `ant:council`, `ant:swarm`, `ant:ant`, `ant:migrate-state`)
|
|
229
|
+
- **Multi-agent emergence** — Queen spawns workers directly; workers can spawn sub-workers up to depth 3
|
|
230
|
+
- **Pheromone signals** — FOCUS, REDIRECT, and FEEDBACK with TTL-based filtering
|
|
231
|
+
- **Project flags** — Blockers, issues, and notes with auto-resolve triggers
|
|
232
|
+
- **State persistence** — v3.0 consolidated `COLONY_STATE.json` with session handoff via pause/resume
|
|
233
|
+
- **Command output styling** — Emoji sandwich styling across all ant commands
|
|
234
|
+
- **Git checkpoint/rollback** — Automatic commits before each phase for safety
|
|
235
|
+
- **`aether-utils.sh` utility layer** — Single entry point for deterministic colony operations (error tracking, activity logging, spawn management, flag system, antipattern checks, autofix checkpoints)
|
|
236
|
+
- **OpenCode compatibility** — Full command mirror in `.opencode/commands/ant/`
|
|
237
|
+
|
|
238
|
+
### Architecture
|
|
239
|
+
- Queen ant orchestrates via pheromone signals
|
|
240
|
+
- Worker castes: Builder, Scout, Watcher, Architect, Route-Setter
|
|
241
|
+
- Wave-based parallel spawning with dependency analysis
|
|
242
|
+
- Independent Watcher verification with execution checks
|
|
243
|
+
- Consolidated `workers.md` for all caste disciplines
|
|
244
|
+
|
|
245
|
+
## [Pre-1.0] - 2026-02-01 to 2026-02-08
|
|
246
|
+
|
|
247
|
+
Development releases (versions 2.0.0-2.4.2) building toward stable release. Key milestones:
|
|
248
|
+
|
|
249
|
+
### 2026-02-08
|
|
250
|
+
- **v2.0 nested spawning** — Direct Queen spawning, enforcement gates, flagging system
|
|
251
|
+
- **OpenCode cross-tool compatibility** — Commands available in both Claude Code and OpenCode
|
|
252
|
+
- **ant:swarm** — Parallel scout investigation for stubborn bugs
|
|
253
|
+
- **ant:council** — Multi-choice intent clarification
|
|
254
|
+
|
|
255
|
+
### 2026-02-07
|
|
256
|
+
- **True emergence system** — Worker-spawns-worker architecture
|
|
257
|
+
- **Verification gates** — Worker disciplines enforced
|
|
258
|
+
- **v1.0.0 release prep** — Auto-upgrade from old state formats
|
|
259
|
+
|
|
260
|
+
### 2026-02-06
|
|
261
|
+
- **State consolidation (v2.0 → v3.0)** — 5 state files merged into single `COLONY_STATE.json`
|
|
262
|
+
- **State migration command** — `ant:migrate-state` for upgrading existing colonies
|
|
263
|
+
- **Signal schema unification** — TTL-based signal filtering replacing decay system
|
|
264
|
+
- **Command trim** — Reduced `status.md` from 308 to 65 lines, signal commands to 36 lines each, `aether-utils.sh` from 317 to 85 lines (later expanded with new features)
|
|
265
|
+
- **Worker spec consolidation** — 6 separate worker specs merged into single `workers.md`
|
|
266
|
+
- **Build/continue rewrite** — Minimal state writes, detection and reconciliation pattern
|
|
267
|
+
|
|
268
|
+
### 2026-02-05
|
|
269
|
+
- **NPM distribution** — Global install via `npm install -g`
|
|
270
|
+
- **Global learning system** — `learning-promote` and `learning-inject` for cross-project knowledge
|
|
271
|
+
- **Queen-mediated spawn tree** — Depth-limited spawning with tree visualization
|
|
272
|
+
- **ant:organize** — Codebase hygiene scanning (report-only)
|
|
273
|
+
- **Debugger spawn on retry failure** — Automatic debugging assistance
|
|
274
|
+
- **Multi-colonizer synthesis** — Disagreement flagging during analysis
|
|
275
|
+
- **Multi-dimensional watcher scoring** — Richer verification rubrics
|
|
276
|
+
|
|
277
|
+
### 2026-02-04
|
|
278
|
+
- **Auto-continue mode** — `--all` flag for `/ant:continue`
|
|
279
|
+
- **Safe-to-clear messaging** — State persistence indicators on all commands
|
|
280
|
+
- **Conflict prevention** — File overlap validation between parallel workers
|
|
281
|
+
- **Phase-aware error tracking** — Error-add wired to phase numbers
|
|
282
|
+
|
|
283
|
+
### 2026-02-01 to 2026-02-03
|
|
284
|
+
- **Initial AETHER system** — Autonomous agent spawning core
|
|
285
|
+
- **Queen Ant Colony** — Phased autonomy with pheromone-based guidance
|
|
286
|
+
- **Pheromone communication** — FOCUS, REDIRECT, FEEDBACK emission commands with worker response
|
|
287
|
+
- **Triple-Layer Memory** — Working memory, short-term compression, long-term patterns
|
|
288
|
+
- **State machine orchestration** — Transition validation with checkpointing
|
|
289
|
+
- **Voting-based verification** — Belief calibration for quality assessment
|
|
290
|
+
- **Semantic communication layer** — 10-100x bandwidth reduction
|
|
291
|
+
- **Error logging and pattern flagging** — Recurring issue detection
|
|
292
|
+
- **Claude-native prompts** — All commands converted from scripts to prompt-based system
|
|
293
|
+
|
|
294
|
+
- 2026-02-11: README.md — Major update reflecting all new features: 22 commands (was 20), dream/interpret commands, colony memory inheritance, graveyards, auto-recovery headers, git safety, lint suite, CLAUDE.md-aware command detection, Colony Memory section, restructured Features section
|
|
295
|
+
- 2026-02-11: .aether/data/review-2026-02-11.md — Comprehensive daily review report covering 3 colony sessions, 10 achievements, 3 regressions, 5 concerns, 3 debunked concerns, and prioritized recommendations
|
|
296
|
+
- 2026-02-12: README.md, CHANGELOG.md — Added /ant:chaos (resilience testing) and /ant:archaeology (git history analysis) commands with build pipeline integration
|
|
297
|
+
- 2026-02-12: CHANGELOG.md — added repo-local path migration entry
|
|
298
|
+
- 2026-02-12: README.md — Updated to describe repo-local .aether/ architecture; removed global ~/.aether/ runtime references, restructured File Structure section with repo-local paths primary
|
|
299
|
+
- 2026-02-13: bin/cli.js, update.md — Added orphan cleanup (syncDirWithCleanup), git dirty-file detection with --force stash, --dry-run preview, hub manifest generation
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## Colony Work Log
|
|
304
|
+
|
|
305
|
+
The following entries are automatically generated by the colony during work phases.
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
## 2026-02-21
|
|
309
|
+
|
|
310
|
+
### Phase 37 — Plan 02
|
|
311
|
+
|
|
312
|
+
- **Files:** `aether-utils.sh`, `CHANGELOG.md`
|
|
313
|
+
- **Decisions:** Created changelog-append function; Added changelog-collect-plan-data helper
|
|
314
|
+
- **What Worked:** Function works correctly
|
|
315
|
+
- **Requirements:** LOG-01 addressed
|
|
316
|
+
|
|
317
|
+
### Phase 37 — Plan 99
|
|
318
|
+
|
|
319
|
+
- **Files:** `test.md`
|
|
320
|
+
- **Decisions:** Test
|
|
321
|
+
- **What Worked:** Works
|
|
322
|
+
- **Requirements:** TEST-01 addressed
|
|
323
|
+
|
|
324
|
+
### Phase 0 — Plan
|
|
325
|
+
|
package/DISCLAIMER.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# DISCLAIMER
|
|
2
|
+
|
|
3
|
+
**PLEASE READ THIS CAREFULLY BEFORE USING AETHER COLONY**
|
|
4
|
+
|
|
5
|
+
## TL;DR
|
|
6
|
+
|
|
7
|
+
Use this software at your own risk. Always review AI-generated code before committing.
|
|
8
|
+
|
|
9
|
+
## Full Disclaimer
|
|
10
|
+
|
|
11
|
+
**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.**
|
|
12
|
+
|
|
13
|
+
### NO WARRANTY
|
|
14
|
+
|
|
15
|
+
- The software may contain bugs, errors, or produce incorrect results
|
|
16
|
+
- AI-generated code may not always be optimal or secure
|
|
17
|
+
- The colony system may make autonomous decisions that affect your codebase
|
|
18
|
+
- **You are responsible for all code changes made to your projects**
|
|
19
|
+
|
|
20
|
+
### Your Responsibilities
|
|
21
|
+
|
|
22
|
+
1. **REVIEW ALL CODE** — Always review generated code before committing
|
|
23
|
+
2. **BACKUP YOUR WORK** — Use version control (git) and create checkpoints
|
|
24
|
+
3. **TEST THOROUGHLY** — Run tests and verify functionality in production-like environments
|
|
25
|
+
4. **SECURITY REVIEW** — Have security-sensitive code reviewed by experts
|
|
26
|
+
5. **DATA INTEGRITY** — The colony may delete, modify, or create files — ensure backups exist
|
|
27
|
+
|
|
28
|
+
### What This Tool Does
|
|
29
|
+
|
|
30
|
+
Aether Colony is an **autonomous multi-agent system** that:
|
|
31
|
+
- Reads your codebase
|
|
32
|
+
- Generates, modifies, and deletes files
|
|
33
|
+
- Executes commands on your system
|
|
34
|
+
- Makes decisions about implementation approaches
|
|
35
|
+
- Spawns sub-agents to handle complex tasks
|
|
36
|
+
|
|
37
|
+
**These actions can significantly impact your project.**
|
|
38
|
+
|
|
39
|
+
### Limitations of Liability
|
|
40
|
+
|
|
41
|
+
**IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**
|
|
42
|
+
|
|
43
|
+
This includes but is not limited to:
|
|
44
|
+
- Data loss or corruption
|
|
45
|
+
- System crashes or instability
|
|
46
|
+
- Security vulnerabilities introduced
|
|
47
|
+
- Lost productivity or time
|
|
48
|
+
- Any direct or indirect damages
|
|
49
|
+
|
|
50
|
+
### Best Practices
|
|
51
|
+
|
|
52
|
+
To use Aether Colony safely:
|
|
53
|
+
|
|
54
|
+
1. ✅ Use git with frequent commits
|
|
55
|
+
2. ✅ Review the colony's plan before building (`/ant:plan`)
|
|
56
|
+
3. ✅ Read generated code before committing
|
|
57
|
+
4. ✅ Run tests after each phase (`/ant:continue` does this)
|
|
58
|
+
5. ✅ Use flags to track concerns (`/ant:flag`)
|
|
59
|
+
6. ✅ Use `/ant:swarm` cautiously (it makes automatic changes)
|
|
60
|
+
7. ✅ Keep backups of important data
|
|
61
|
+
|
|
62
|
+
### Acknowledgment
|
|
63
|
+
|
|
64
|
+
By installing and using Aether Colony, you acknowledge that:
|
|
65
|
+
- You understand this is an AI tool that can make mistakes
|
|
66
|
+
- You are responsible for reviewing all generated code
|
|
67
|
+
- The authors cannot be held liable for any damages
|
|
68
|
+
- You will use this tool responsibly and ethically
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
**For questions or concerns, please open an issue on GitHub.**
|
|
73
|
+
|
|
74
|
+
This disclaimer is last updated: 2025-02-09
|