aether-colony 5.3.2 → 5.3.3

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 (165) hide show
  1. package/.aether/aether-utils.sh +181 -5
  2. package/.aether/commands/build.yaml +35 -0
  3. package/.aether/commands/entomb.yaml +1 -1
  4. package/.aether/commands/init.yaml +29 -12
  5. package/.aether/commands/oracle.yaml +70 -0
  6. package/.aether/commands/patrol.yaml +2 -2
  7. package/.aether/commands/run.yaml +3 -3
  8. package/.aether/commands/swarm.yaml +1 -1
  9. package/.aether/docs/command-playbooks/build-complete.md +41 -8
  10. package/.aether/docs/command-playbooks/build-full.md +7 -7
  11. package/.aether/docs/command-playbooks/build-prep.md +1 -1
  12. package/.aether/docs/command-playbooks/continue-advance.md +33 -0
  13. package/.aether/docs/command-playbooks/continue-finalize.md +15 -1
  14. package/.aether/docs/command-playbooks/continue-full.md +15 -1
  15. package/.aether/docs/source-of-truth-map.md +10 -10
  16. package/.aether/docs/structural-learning-stack.md +283 -0
  17. package/.aether/utils/consolidation-seal.sh +196 -0
  18. package/.aether/utils/consolidation.sh +127 -0
  19. package/.aether/utils/curation-ants/archivist.sh +97 -0
  20. package/.aether/utils/curation-ants/critic.sh +214 -0
  21. package/.aether/utils/curation-ants/herald.sh +102 -0
  22. package/.aether/utils/curation-ants/janitor.sh +121 -0
  23. package/.aether/utils/curation-ants/librarian.sh +99 -0
  24. package/.aether/utils/curation-ants/nurse.sh +153 -0
  25. package/.aether/utils/curation-ants/orchestrator.sh +181 -0
  26. package/.aether/utils/curation-ants/scribe.sh +164 -0
  27. package/.aether/utils/curation-ants/sentinel.sh +119 -0
  28. package/.aether/utils/event-bus.sh +301 -0
  29. package/.aether/utils/graph.sh +559 -0
  30. package/.aether/utils/instinct-store.sh +401 -0
  31. package/.aether/utils/learning.sh +79 -7
  32. package/.aether/utils/session.sh +13 -0
  33. package/.aether/utils/state-api.sh +1 -1
  34. package/.aether/utils/trust-scoring.sh +347 -0
  35. package/.aether/utils/worktree.sh +97 -0
  36. package/.claude/commands/ant/entomb.md +1 -1
  37. package/.claude/commands/ant/init.md +29 -12
  38. package/.claude/commands/ant/oracle.md +35 -0
  39. package/.claude/commands/ant/patrol.md +2 -2
  40. package/.claude/commands/ant/run.md +3 -3
  41. package/.claude/commands/ant/swarm.md +1 -1
  42. package/.opencode/commands/ant/build.md +35 -0
  43. package/.opencode/commands/ant/init.md +29 -12
  44. package/.opencode/commands/ant/oracle.md +35 -0
  45. package/.opencode/commands/ant/patrol.md +2 -2
  46. package/.opencode/commands/ant/run.md +3 -3
  47. package/CHANGELOG.md +83 -0
  48. package/README.md +22 -9
  49. package/bin/lib/update-transaction.js +8 -3
  50. package/bin/npx-entry.js +0 -0
  51. package/package.json +1 -1
  52. package/.aether/agents/aether-ambassador.md +0 -140
  53. package/.aether/agents/aether-archaeologist.md +0 -108
  54. package/.aether/agents/aether-architect.md +0 -133
  55. package/.aether/agents/aether-auditor.md +0 -144
  56. package/.aether/agents/aether-builder.md +0 -184
  57. package/.aether/agents/aether-chaos.md +0 -115
  58. package/.aether/agents/aether-chronicler.md +0 -122
  59. package/.aether/agents/aether-gatekeeper.md +0 -116
  60. package/.aether/agents/aether-includer.md +0 -117
  61. package/.aether/agents/aether-keeper.md +0 -177
  62. package/.aether/agents/aether-measurer.md +0 -128
  63. package/.aether/agents/aether-oracle.md +0 -137
  64. package/.aether/agents/aether-probe.md +0 -133
  65. package/.aether/agents/aether-queen.md +0 -286
  66. package/.aether/agents/aether-route-setter.md +0 -130
  67. package/.aether/agents/aether-sage.md +0 -106
  68. package/.aether/agents/aether-scout.md +0 -101
  69. package/.aether/agents/aether-surveyor-disciplines.md +0 -391
  70. package/.aether/agents/aether-surveyor-nest.md +0 -329
  71. package/.aether/agents/aether-surveyor-pathogens.md +0 -264
  72. package/.aether/agents/aether-surveyor-provisions.md +0 -334
  73. package/.aether/agents/aether-tracker.md +0 -137
  74. package/.aether/agents/aether-watcher.md +0 -174
  75. package/.aether/agents/aether-weaver.md +0 -130
  76. package/.aether/commands/claude/archaeology.md +0 -334
  77. package/.aether/commands/claude/build.md +0 -65
  78. package/.aether/commands/claude/chaos.md +0 -336
  79. package/.aether/commands/claude/colonize.md +0 -259
  80. package/.aether/commands/claude/continue.md +0 -60
  81. package/.aether/commands/claude/council.md +0 -507
  82. package/.aether/commands/claude/data-clean.md +0 -81
  83. package/.aether/commands/claude/dream.md +0 -268
  84. package/.aether/commands/claude/entomb.md +0 -498
  85. package/.aether/commands/claude/export-signals.md +0 -57
  86. package/.aether/commands/claude/feedback.md +0 -96
  87. package/.aether/commands/claude/flag.md +0 -151
  88. package/.aether/commands/claude/flags.md +0 -169
  89. package/.aether/commands/claude/focus.md +0 -76
  90. package/.aether/commands/claude/help.md +0 -154
  91. package/.aether/commands/claude/history.md +0 -140
  92. package/.aether/commands/claude/import-signals.md +0 -71
  93. package/.aether/commands/claude/init.md +0 -505
  94. package/.aether/commands/claude/insert-phase.md +0 -105
  95. package/.aether/commands/claude/interpret.md +0 -278
  96. package/.aether/commands/claude/lay-eggs.md +0 -210
  97. package/.aether/commands/claude/maturity.md +0 -113
  98. package/.aether/commands/claude/memory-details.md +0 -77
  99. package/.aether/commands/claude/migrate-state.md +0 -171
  100. package/.aether/commands/claude/oracle.md +0 -642
  101. package/.aether/commands/claude/organize.md +0 -232
  102. package/.aether/commands/claude/patrol.md +0 -620
  103. package/.aether/commands/claude/pause-colony.md +0 -233
  104. package/.aether/commands/claude/phase.md +0 -115
  105. package/.aether/commands/claude/pheromones.md +0 -156
  106. package/.aether/commands/claude/plan.md +0 -693
  107. package/.aether/commands/claude/preferences.md +0 -65
  108. package/.aether/commands/claude/quick.md +0 -100
  109. package/.aether/commands/claude/redirect.md +0 -76
  110. package/.aether/commands/claude/resume-colony.md +0 -197
  111. package/.aether/commands/claude/resume.md +0 -388
  112. package/.aether/commands/claude/run.md +0 -231
  113. package/.aether/commands/claude/seal.md +0 -774
  114. package/.aether/commands/claude/skill-create.md +0 -286
  115. package/.aether/commands/claude/status.md +0 -410
  116. package/.aether/commands/claude/swarm.md +0 -349
  117. package/.aether/commands/claude/tunnels.md +0 -426
  118. package/.aether/commands/claude/update.md +0 -132
  119. package/.aether/commands/claude/verify-castes.md +0 -143
  120. package/.aether/commands/claude/watch.md +0 -239
  121. package/.aether/commands/opencode/archaeology.md +0 -331
  122. package/.aether/commands/opencode/build.md +0 -1168
  123. package/.aether/commands/opencode/chaos.md +0 -329
  124. package/.aether/commands/opencode/colonize.md +0 -195
  125. package/.aether/commands/opencode/continue.md +0 -1436
  126. package/.aether/commands/opencode/council.md +0 -437
  127. package/.aether/commands/opencode/data-clean.md +0 -77
  128. package/.aether/commands/opencode/dream.md +0 -260
  129. package/.aether/commands/opencode/entomb.md +0 -377
  130. package/.aether/commands/opencode/export-signals.md +0 -54
  131. package/.aether/commands/opencode/feedback.md +0 -99
  132. package/.aether/commands/opencode/flag.md +0 -149
  133. package/.aether/commands/opencode/flags.md +0 -167
  134. package/.aether/commands/opencode/focus.md +0 -73
  135. package/.aether/commands/opencode/help.md +0 -157
  136. package/.aether/commands/opencode/history.md +0 -136
  137. package/.aether/commands/opencode/import-signals.md +0 -68
  138. package/.aether/commands/opencode/init.md +0 -518
  139. package/.aether/commands/opencode/insert-phase.md +0 -111
  140. package/.aether/commands/opencode/interpret.md +0 -272
  141. package/.aether/commands/opencode/lay-eggs.md +0 -213
  142. package/.aether/commands/opencode/maturity.md +0 -108
  143. package/.aether/commands/opencode/memory-details.md +0 -83
  144. package/.aether/commands/opencode/migrate-state.md +0 -165
  145. package/.aether/commands/opencode/oracle.md +0 -593
  146. package/.aether/commands/opencode/organize.md +0 -226
  147. package/.aether/commands/opencode/patrol.md +0 -626
  148. package/.aether/commands/opencode/pause-colony.md +0 -203
  149. package/.aether/commands/opencode/phase.md +0 -113
  150. package/.aether/commands/opencode/pheromones.md +0 -162
  151. package/.aether/commands/opencode/plan.md +0 -684
  152. package/.aether/commands/opencode/preferences.md +0 -71
  153. package/.aether/commands/opencode/quick.md +0 -91
  154. package/.aether/commands/opencode/redirect.md +0 -84
  155. package/.aether/commands/opencode/resume-colony.md +0 -190
  156. package/.aether/commands/opencode/resume.md +0 -394
  157. package/.aether/commands/opencode/run.md +0 -237
  158. package/.aether/commands/opencode/seal.md +0 -452
  159. package/.aether/commands/opencode/skill-create.md +0 -63
  160. package/.aether/commands/opencode/status.md +0 -307
  161. package/.aether/commands/opencode/swarm.md +0 -15
  162. package/.aether/commands/opencode/tunnels.md +0 -400
  163. package/.aether/commands/opencode/update.md +0 -127
  164. package/.aether/commands/opencode/verify-castes.md +0 -139
  165. package/.aether/commands/opencode/watch.md +0 -227
@@ -1,151 +0,0 @@
1
- <!-- Generated from .aether/commands/flag.yaml - DO NOT EDIT DIRECTLY -->
2
- ---
3
- name: ant:flag
4
- description: "🚩🐜📋🐜🚩 Create a project-specific flag (blocker, issue, or note)"
5
- ---
6
-
7
- You are the **Queen**. Create a project-specific flag.
8
-
9
- ## Instructions
10
-
11
- The flag is: `$ARGUMENTS`
12
-
13
- ### Step 1: Parse Arguments
14
-
15
- Parse `$ARGUMENTS` for:
16
- - `--type` or `-t`: blocker | issue | note (default: issue)
17
- - `--phase` or `-p`: phase number (optional)
18
- - Remaining text: the flag title/description
19
-
20
- Examples:
21
- - `/ant:flag "Build fails on auth module"` → issue type
22
- - `/ant:flag --type blocker "API rate limit hit"` → blocker type
23
- - `/ant:flag -t note -p 3 "Consider refactoring later"` → note for phase 3
24
-
25
- If `$ARGUMENTS` is empty:
26
- ```
27
- Usage: /ant:flag "<description>" [--type blocker|issue|note] [--phase N]
28
-
29
- Types:
30
- blocker Critical issue that blocks phase advancement
31
- issue Warning that should be addressed (default)
32
- note Informational for future reference
33
-
34
- Examples:
35
- /ant:flag "Build fails on auth"
36
- /ant:flag --type blocker "Tests hanging"
37
- /ant:flag -t note "Consider refactoring"
38
- ```
39
- Stop here.
40
-
41
- ### Step 2: Validate Colony
42
-
43
- Read `.aether/data/COLONY_STATE.json`.
44
- If file missing or `goal: null`:
45
- ```
46
- No colony initialized. Run /ant:init first.
47
- ```
48
- Stop here.
49
-
50
- ### Step 3: Create Flag
51
-
52
- Run using the Bash tool with description "Raising colony flag...":
53
- ```bash
54
- bash .aether/aether-utils.sh flag-add "{type}" "{title}" "{description}" "manual" {phase_or_null}
55
- ```
56
-
57
- Parse the result for the flag ID.
58
-
59
- ### Step 4: Confirm
60
-
61
- Output header based on flag type:
62
-
63
- **For blocker:**
64
- ```
65
-
66
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
67
- 🚩🐜📋🐜🚩 B L O C K E R F L A G C R E A T E D
68
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
69
-
70
-
71
- ```
72
-
73
- **For issue:**
74
- ```
75
-
76
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
77
- 🚩🐜📋🐜🚩 I S S U E F L A G C R E A T E D
78
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
79
-
80
-
81
- ```
82
-
83
- **For note:**
84
- ```
85
-
86
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
87
- 🚩🐜📋🐜🚩 N O T E F L A G C R E A T E D
88
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
89
-
90
-
91
- ```
92
-
93
- Then output based on flag type:
94
-
95
- **For blocker:**
96
- ```
97
- 🚫 BLOCKER flag created
98
-
99
- "{title}"
100
-
101
- ID: {flag_id}
102
- Phase: {phase or "all"}
103
-
104
- ⚠️ This will BLOCK phase advancement until resolved.
105
- Use /ant:flags to view all flags.
106
- ```
107
-
108
- **For issue:**
109
- ```
110
- ⚠️ ISSUE flag created
111
-
112
- "{title}"
113
-
114
- ID: {flag_id}
115
- Phase: {phase or "all"}
116
-
117
- Use /ant:flags to view all flags.
118
- ```
119
-
120
- **For note:**
121
- ```
122
- 📝 NOTE flag created
123
-
124
- "{title}"
125
-
126
- ID: {flag_id}
127
- Phase: {phase or "all"}
128
-
129
- Use /ant:flags to view all flags.
130
- ```
131
-
132
-
133
- Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
134
- ```bash
135
- state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
136
- current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
137
- total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
138
- bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
139
- ```
140
-
141
-
142
- ---
143
-
144
- ## Flag Lifecycle
145
-
146
- 1. **Created** - Flag is active and visible
147
- 2. **Acknowledged** - Flag noted but continuing (issues/notes only)
148
- 3. **Resolved** - Flag closed with resolution message
149
- 4. **Auto-resolved** - Blockers auto-resolve on build_pass
150
-
151
- Blockers CANNOT be acknowledged - they must be resolved before phase advancement.
@@ -1,169 +0,0 @@
1
- <!-- Generated from .aether/commands/flags.yaml - DO NOT EDIT DIRECTLY -->
2
- ---
3
- name: ant:flags
4
- description: "📋🐜🚩🐜📋 List project flags (blockers, issues, notes)"
5
- ---
6
-
7
- You are the **Queen**. Display project flags.
8
-
9
- ## Instructions
10
-
11
- Arguments: `$ARGUMENTS`
12
-
13
- ### Step 1: Parse Arguments
14
-
15
- Parse `$ARGUMENTS` for:
16
- - `--all` or `-a`: Show resolved flags too
17
- - `--type` or `-t`: Filter by type (blocker|issue|note)
18
- - `--phase` or `-p`: Filter by phase number
19
- - `--resolve` or `-r`: Resolve a specific flag ID
20
- - `--ack` or `-k`: Acknowledge a specific flag ID
21
-
22
- Examples:
23
- - `/ant:flags` → Show active flags
24
- - `/ant:flags --all` → Include resolved flags
25
- - `/ant:flags -t blocker` → Show only blockers
26
- - `/ant:flags --resolve flag_123 "Fixed by commit abc"` → Resolve a flag
27
- - `/ant:flags --ack flag_456` → Acknowledge an issue
28
-
29
- ### Step 2: Handle Resolution/Acknowledgment
30
-
31
-
32
- If `--resolve` was provided, run using the Bash tool with description "Resolving colony flag...":
33
-
34
-
35
- ```bash
36
- bash .aether/aether-utils.sh flag-resolve "{flag_id}" "{resolution_message}"
37
- ```
38
- Output:
39
- ```
40
- ✅ Flag resolved: {flag_id}
41
-
42
- Resolution: {message}
43
- ```
44
- Stop here.
45
-
46
-
47
- If `--ack` was provided, run using the Bash tool with description "Acknowledging colony flag...":
48
-
49
-
50
- ```bash
51
- bash .aether/aether-utils.sh flag-acknowledge "{flag_id}"
52
- ```
53
- Output:
54
- ```
55
- 👁️ Flag acknowledged: {flag_id}
56
-
57
- Flag noted. Continuing with work.
58
- ```
59
- Stop here.
60
-
61
- ### Step 3: List Flags
62
-
63
-
64
- Run using the Bash tool with description "Loading colony flags...":
65
-
66
-
67
- ```bash
68
- bash .aether/aether-utils.sh flag-list {options}
69
- ```
70
-
71
- Parse result for flags array.
72
-
73
- ### Step 4: Display
74
-
75
- Output header:
76
-
77
-
78
- ```
79
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
80
- 📋🐜🚩🐜📋 P R O J E C T F L A G S
81
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
82
-
83
-
84
-
85
- If no flags:
86
- ```
87
- .-.
88
- (o o) AETHER COLONY
89
- | O | Flags
90
- `-"
91
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
92
-
93
- ✨ No active flags! Colony is clear.
94
-
95
- {if --all was used: "No resolved flags either."}
96
- ```
97
-
98
- If flags exist:
99
- ```
100
- .-.
101
- (o o) AETHER COLONY
102
- | O | Flags
103
- `-"
104
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
105
-
106
- {for each flag, grouped by type:}
107
-
108
- 🚫 BLOCKERS ({count})
109
- {flag_id}: {title}
110
- Phase: {phase or "all"} | Created: {date}
111
- └─ {description preview}
112
-
113
- ⚠️ ISSUES ({count})
114
- {flag_id}: {title} {if acknowledged: "[ACK]"}
115
- Phase: {phase or "all"} | Created: {date}
116
- └─ {description preview}
117
-
118
- 📝 NOTES ({count})
119
- {flag_id}: {title}
120
- Phase: {phase or "all"} | Created: {date}
121
- └─ {description preview}
122
-
123
- {if --all and resolved flags exist:}
124
-
125
- ✅ RESOLVED ({count})
126
- {flag_id}: {title}
127
- Resolved: {date} | {resolution}
128
-
129
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
130
-
131
- Summary: {blockers} blockers | {issues} issues | {notes} notes
132
-
133
- {if blockers > 0:}
134
- ⚠️ Blockers must be resolved before /ant:continue
135
-
136
- Commands:
137
- /ant:flags --resolve {id} "message" Resolve a flag
138
- /ant:flags --ack {id} Acknowledge an issue
139
- /ant:flag "description" Create new flag
140
- ```
141
-
142
-
143
- Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
144
- ```bash
145
- state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
146
- current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
147
- total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
148
- bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
149
- ```
150
-
151
-
152
- ---
153
-
154
- ## Quick Actions
155
-
156
- **Resolve a flag:**
157
- ```
158
- /ant:flags --resolve flag_123456 "Fixed in commit abc123"
159
- ```
160
-
161
- **Acknowledge an issue:**
162
- ```
163
- /ant:flags --ack flag_789012
164
- ```
165
-
166
- **Create a new flag:**
167
- ```
168
- /ant:flag --type blocker "Critical issue here"
169
- ```
@@ -1,76 +0,0 @@
1
- <!-- Generated from .aether/commands/focus.yaml - DO NOT EDIT DIRECTLY -->
2
- ---
3
- name: ant:focus
4
- description: "Emit FOCUS signal to guide colony attention"
5
- ---
6
-
7
-
8
- You are the **Queen**. Emit a FOCUS pheromone signal.
9
-
10
-
11
-
12
- ## Instructions
13
-
14
- The focus area is: `$ARGUMENTS`
15
-
16
- ### Step 1: Validate
17
-
18
- If `$ARGUMENTS` empty -> show usage: `/ant:focus <area>`, stop.
19
- If content > 500 chars -> "Focus content too long (max 500 chars)", stop.
20
-
21
-
22
- Parse optional flags from `$ARGUMENTS`:
23
- - `--ttl <value>`: signal lifetime (e.g., `2h`, `1d`, `7d`). Default: `phase_end`.
24
- - Strip flags from content before using it as the focus area.
25
-
26
-
27
- ### Step 2: Write Signal
28
-
29
- Read `.aether/data/COLONY_STATE.json`.
30
- If `goal: null` -> "No colony initialized.", stop.
31
-
32
-
33
- Run using the Bash tool with description "Setting colony focus...":
34
- ```bash
35
- bash .aether/aether-utils.sh pheromone-write FOCUS "<content>" --strength 0.8 --reason "User directed colony attention" --ttl <ttl>
36
- ```
37
-
38
- Parse the returned JSON for the signal ID.
39
-
40
- ### Step 2.5: Update Context Document
41
-
42
- Run using the Bash tool with description "Updating context document...":
43
- ```bash
44
- bash .aether/aether-utils.sh context-update constraint focus "<content>" "user" 2>/dev/null || true
45
- ```
46
-
47
- ### Step 3: Get Active Counts
48
-
49
- Run using the Bash tool with description "Counting active signals...":
50
- ```bash
51
- bash .aether/aether-utils.sh pheromone-count
52
- ```
53
-
54
- ### Step 4: Confirm
55
-
56
- Output (3-4 lines, no banners):
57
- ```
58
- FOCUS signal emitted
59
- Area: "<content truncated to 60 chars>"
60
- Strength: 0.8 | Expires: <phase end or ttl value>
61
- Active signals: <focus_count> FOCUS, <redirect_count> REDIRECT, <feedback_count> FEEDBACK
62
- ```
63
-
64
-
65
-
66
-
67
- ### Step 5: Next Up
68
-
69
- Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
70
- ```bash
71
- state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
72
- current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
73
- total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
74
- bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
75
- ```
76
-
@@ -1,154 +0,0 @@
1
- <!-- Generated from .aether/commands/help.yaml - DO NOT EDIT DIRECTLY -->
2
- ---
3
- name: ant:help
4
- description: "Aether Colony - command reference and system overview"
5
- ---
6
-
7
- You are the **Queen Ant Colony**. Display the system overview and available commands.
8
-
9
- ## Instructions
10
-
11
- Output the following:
12
-
13
- ```
14
- 👑 AETHER QUEEN ANT COLONY
15
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
16
-
17
-
18
- A multi-agent system built on ant colony intelligence.
19
- Workers self-organize via pheromone signals. You guide with intention.
20
-
21
- SETUP & GETTING STARTED
22
-
23
- /ant:lay-eggs Set up Aether in this repo (one-time, creates .aether/)
24
- /ant:init "<goal>" Start a colony with a goal
25
- /ant:colonize Analyze existing codebase (optional)
26
- /ant:plan Generate project plan
27
- /ant:build <phase> Execute a phase (spawns parallel workers)
28
- /ant:continue Verify work, extract learnings, advance
29
-
30
- PHEROMONE COMMANDS
31
-
32
- /ant:focus "<area>" Guide colony attention (priority: normal, expires: phase end)
33
- /ant:redirect "<pat>" Warn away from pattern (priority: high, expires: phase end)
34
- /ant:feedback "<msg>" Adjust behavior (priority: low, expires: phase end)
35
- /ant:pheromones View and manage active pheromone signals
36
- /ant:export-signals [path] Export pheromone signals to portable XML
37
- /ant:import-signals <file> [colony] Import signals from another colony's XML
38
-
39
- STATUS & UPDATES
40
-
41
- /ant:status Colony dashboard — goal, phase, instincts, flags
42
- /ant:update Update system files from global hub (~/.aether/)
43
- /ant:phase [N|list] View phase details or list all phases
44
- /ant:insert-phase Insert a corrective phase after current phase
45
- /ant:flags List active flags (blockers, issues, notes)
46
- /ant:flag "<title>" Create a flag (blocker, issue, or note)
47
-
48
- /ant:memory-details Show detailed colony memory — wisdom, promotions, failures
49
- /ant:maturity View colony maturity journey and milestone progress
50
-
51
-
52
- SESSION COMMANDS
53
-
54
- /ant:pause-colony Save state and create handoff document
55
- /ant:resume-colony Restore from pause (full state + context)
56
-
57
- /ant:resume Quick session restore (memory health + next steps)
58
-
59
- /ant:watch Set up tmux session for live colony visibility
60
-
61
- COLONY LIFECYCLE
62
-
63
- /ant:seal Seal colony with Crowned Anthill milestone
64
- /ant:entomb Archive completed colony into chambers
65
- /ant:history Browse colony event history
66
-
67
- ADVANCED
68
-
69
- /ant:swarm "<bug>" Parallel scouts investigate stubborn bugs
70
- /ant:organize Codebase hygiene report (stale files, dead code)
71
- /ant:council Convene council for intent clarification
72
- /ant:dream Philosophical wanderer — observes and writes wisdom
73
- /ant:interpret Review dreams — validate against codebase, discuss action
74
- /ant:chaos 🎲 Resilience testing — adversarial probing of the codebase
75
- /ant:archaeology 🏺 Git history analysis — excavate patterns from commit history
76
- /ant:tunnels Browse archived colonies and compare chambers
77
-
78
- TYPICAL WORKFLOW
79
-
80
- First time in a repo:
81
- 0. /ant:lay-eggs (set up Aether in this repo)
82
-
83
- Starting a colony:
84
- 1. /ant:init "Build a REST API with auth" (start colony with a goal)
85
- 2. /ant:colonize (if existing code)
86
- 3. /ant:plan (generates phases)
87
- 4. /ant:focus "security" (optional guidance)
88
- 5. /ant:build 1 (workers execute phase 1)
89
- 6. /ant:continue (verify, learn, advance)
90
- 7. /ant:build 2 (repeat until complete)
91
-
92
- After /clear or session break:
93
- 8. /ant:resume-colony (restore full context)
94
- 9. /ant:status (see where you left off)
95
-
96
- After completing a colony:
97
- 10. /ant:seal (mark as complete)
98
- 11. /ant:entomb (archive to chambers)
99
- 12. /ant:init "next project goal" (start fresh colony)
100
-
101
- WORKER CASTES
102
-
103
- 👑 Queen — orchestrates, spawns workers, synthesizes results
104
- 🗺️ colonizer — explores codebase, maps structure
105
- 📋 route-setter — plans phases, breaks down goals
106
- 🔨 builder — implements code, runs commands
107
- 👁️ watcher — validates, tests, independent quality checks
108
- 🔍 scout — researches, gathers information
109
- 🏛️ architect — synthesizes knowledge, extracts patterns
110
- 🎲 chaos — resilience tester, adversarial probing
111
- 🏺 archaeologist — git history analyst, excavates commit patterns
112
-
113
- HOW IT WORKS
114
-
115
- Colony Lifecycle:
116
-
117
- INIT → PLAN → BUILD → CONTINUE → BUILD → ... → COMPLETE
118
-
119
-
120
-
121
- Workers spawn sub-workers autonomously (max depth 3).
122
- Builders receive colony knowledge (instincts, learnings, error patterns).
123
- Watchers independently verify work — builders never self-approve.
124
- Phase boundaries are control points: emergence within, gates between.
125
-
126
- Pheromone System:
127
- Signals expire after their TTL. Workers sense active signals
128
- and adjust behavior. FOCUS attracts, REDIRECT repels, FEEDBACK calibrates.
129
-
130
- Colony Memory:
131
- Instincts — learned patterns with confidence scores (validated through use)
132
- Learnings — per-phase observations (hypothesis → validated → disproven)
133
- Graveyards — markers on files where workers previously failed
134
-
135
- State Files (.aether/data/):
136
- COLONY_STATE.json Goal, phases, tasks, memory, events
137
- activity.log Timestamped worker activity
138
- spawn-tree.txt Worker spawn hierarchy
139
- pheromones.json Active FOCUS/REDIRECT/FEEDBACK signals
140
- constraints.json Compatibility mirror for focus/redirect data
141
-
142
- ```
143
-
144
-
145
- ### Next Up
146
-
147
- Generate the state-based Next Up block by Run using the Bash tool with description "Generating Next Up suggestions..."::
148
- ```bash
149
- state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
150
- current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
151
- total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
152
- bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
153
- ```
154
-
@@ -1,140 +0,0 @@
1
- <!-- Generated from .aether/commands/history.yaml - DO NOT EDIT DIRECTLY -->
2
- ---
3
- name: ant:history
4
- description: "📜🐜📜 Show colony event history"
5
- ---
6
-
7
- You are the **Queen**. Show colony history.
8
-
9
- ## Instructions
10
-
11
- ### Step 1: Read State
12
-
13
- Read `.aether/data/COLONY_STATE.json`.
14
-
15
- If file missing or `goal: null`:
16
- ```
17
- No colony initialized. Run /ant:init first.
18
- ```
19
- Stop here.
20
-
21
- ### Step 2: Parse Events
22
-
23
- Extract the `events` array from the state.
24
-
25
- Each event is in format: `timestamp|type|source|description`
26
-
27
- Parse each event into components:
28
- - timestamp: before first `|`
29
- - type: between first and second `|`
30
- - source: between second and third `|`
31
- - description: after third `|`
32
-
33
- ### Step 3: Parse Filter Arguments
34
-
35
- Parse optional filter arguments:
36
-
37
- **Event Type Filter:**
38
- - `--type TYPE` or `-t TYPE`: Filter by event type
39
- - Multiple types can be specified (comma-separated)
40
- - Valid types: `colony_initialized`, `phase_started`, `phase_advanced`, `plan_generated`, `milestone_reached`, `state_upgraded`
41
-
42
- **Date Range Filter:**
43
- - `--since DATE`: Show events since DATE
44
- - ISO format: `2026-02-13`, `2026-02-13T14:30:00`
45
- - Relative: `1d` (1 day ago), `2h` (2 hours ago), `30m` (30 minutes ago)
46
- - `--until DATE`: Show events until DATE
47
- - Same format options as `--since`
48
-
49
- ### Step 4: Apply Limit
50
-
51
- Parse optional `--limit N` argument (default: 10).
52
-
53
- If `--limit` is provided, only show N events.
54
-
55
- ### Step 5: Filter Events
56
-
57
- Apply filters to the events array:
58
-
59
- **Type Filtering:**
60
- - If `--type` is provided, split by comma to get list of types
61
- - Filter events to only include those where type matches any of the specified types (case-insensitive)
62
-
63
- **Date Range Filtering:**
64
- - For `--since`: Parse the date value
65
- - If relative (e.g., "1d", "2h", "30m"), calculate timestamp by subtracting from current time
66
- - If ISO format, parse directly
67
- - Filter events with timestamp >= since date
68
- - For `--until`: Same parsing logic
69
- - Filter events with timestamp <= until date
70
-
71
- **Track Active Filters:**
72
- - Record which filters are active for display indicator
73
-
74
- ### Step 6: Sort and Display
75
-
76
- Sort events in reverse chronological order (most recent first).
77
-
78
- If events array is empty:
79
- ```
80
- No colony events recorded yet.
81
- ```
82
-
83
- **Filter Indicators:**
84
- - If any filters are active, show at the top:
85
- - Type filter: `Filters: type=<TYPE>[,<TYPE>...]`
86
- - Since filter: `Filters: since=<DATE>`
87
- - Until filter: `Filters: until=<DATE>`
88
- - Multiple filters: Combine on same line (e.g., `Filters: type=phase_started,phase_advanced since=1d`)
89
- - Show filtered count: "Showing X of Y events (filtered from Z total)"
90
-
91
- Otherwise, display in format:
92
- ```
93
- ━━━ Colony History (most recent first) ━━━
94
-
95
- [TIMESTAMP] [TYPE] from [SOURCE]
96
- Description: [description]
97
-
98
- [TIMESTAMP] [TYPE] from [SOURCE]
99
- Description: [description]
100
-
101
- ... (up to limit)
102
- ```
103
-
104
- **Format:**
105
- - Timestamp: Show in readable format (e.g., "2026-02-13 14:30:00")
106
- - Type: Uppercase event type
107
- - Source: Italics for source
108
- - Description: Plain text
109
-
110
- **Event type icons:**
111
- - `colony_initialized`: 🏠
112
- - `phase_started`: 🚀
113
- - `phase_advanced`: ➡️
114
- - `plan_generated`: 📋
115
- - `milestone_reached`: 🏆
116
- - `state_upgraded`: 🔄
117
- - `default`: 📌
118
-
119
- **Limit display:**
120
- - If filtering is active, show: "Showing X of Y events (filtered from Z total)"
121
- - If only limit is applied (no filters), show: "Showing X of Y events"
122
-
123
- ### Step 7: Display Summary
124
-
125
- Show total event count at the end:
126
- ```
127
- Total events recorded: <count>
128
- ```
129
-
130
-
131
- ### Step 8: Next Up
132
-
133
- Generate the state-based Next Up block using the Bash tool with description "Generating Next Up suggestions...":
134
- ```bash
135
- state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
136
- current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
137
- total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
138
- bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
139
- ```
140
-