aether-colony 5.3.1 → 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 +34 -37
  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,227 +0,0 @@
1
- <!-- Generated from .aether/commands/watch.yaml - DO NOT EDIT DIRECTLY -->
2
- ---
3
- name: ant:watch
4
- description: "👁️🔄🐜🏠🔄👁️ Set up tmux session to watch ants working in real-time"
5
- ---
6
-
7
- ### Step -1: Normalize Arguments
8
-
9
- Run: `normalized_args=$(bash .aether/aether-utils.sh normalize-args "$@")`
10
-
11
- This ensures arguments work correctly in both Claude Code and OpenCode. Use `$normalized_args` throughout this command.
12
-
13
- You are the **Queen**. Set up live visibility into colony activity.
14
-
15
- ## Instructions
16
-
17
- ### Step 1: Check Prerequisites
18
-
19
- Use Bash to check if tmux is available:
20
- ```bash
21
- command -v tmux >/dev/null 2>&1 && echo "tmux_available" || echo "tmux_missing"
22
- ```
23
-
24
- If tmux is missing:
25
- ```
26
- tmux is required for live colony viewing.
27
-
28
- Install with:
29
- macOS: brew install tmux
30
- Ubuntu: sudo apt install tmux
31
- Fedora: sudo dnf install tmux
32
- ```
33
- Stop here.
34
-
35
- ### Step 2: Initialize Activity Log
36
-
37
- Ensure activity log exists:
38
- ```bash
39
- mkdir -p .aether/data
40
- touch .aether/data/activity.log
41
- ```
42
-
43
- ### Step 3: Create Status File
44
-
45
- Write initial status to `.aether/data/watch-status.txt`:
46
-
47
- ```
48
- .-.
49
- (o o) AETHER COLONY
50
- | O | Live Status
51
- `-`
52
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
53
-
54
- State: IDLE
55
- Phase: -/-
56
-
57
- Active Workers:
58
- (none)
59
-
60
- Last Activity:
61
- (waiting for colony activity)
62
- ```
63
-
64
- ### Step 4: Create or Attach to tmux Session
65
-
66
- Check if session exists:
67
- ```bash
68
- tmux has-session -t aether-colony 2>/dev/null && echo "exists" || echo "new"
69
- ```
70
-
71
- **If session exists:** Attach to it
72
- ```bash
73
- tmux attach-session -t aether-colony
74
- ```
75
- Output: `Attached to existing aether-colony session.`
76
- Stop here.
77
-
78
- **If session is new:** Create the layout.
79
-
80
- ### Step 5: Create tmux Layout (4-Pane)
81
-
82
- Use Bash to create the session with 4 panes in a 2x2 grid:
83
-
84
- ```bash
85
- # Create session with first pane
86
- tmux new-session -d -s aether-colony -n colony
87
-
88
- # Split into 4 panes (2x2 grid)
89
- # First split horizontally (left|right)
90
- tmux split-window -h -t aether-colony:colony
91
-
92
- # Split left side vertically (top-left, bottom-left)
93
- tmux split-window -v -t aether-colony:colony.0
94
-
95
- # Split right side vertically (top-right, bottom-right)
96
- tmux split-window -v -t aether-colony:colony.2
97
-
98
- # Set pane contents:
99
- # Pane 0 (top-left): Status display
100
- tmux send-keys -t aether-colony:colony.0 'watch -n 1 cat .aether/data/watch-status.txt' C-m
101
-
102
- # Pane 1 (bottom-left): Progress bar
103
- tmux send-keys -t aether-colony:colony.1 'watch -n 1 cat .aether/data/watch-progress.txt' C-m
104
-
105
- # Pane 2 (top-right): Spawn tree visualization
106
- tmux send-keys -t aether-colony:colony.2 'bash .aether/utils/watch-spawn-tree.sh .aether/data' C-m
107
-
108
- # Pane 3 (bottom-right): Colorized activity log stream
109
- tmux send-keys -t aether-colony:colony.3 'bash .aether/utils/colorize-log.sh .aether/data/activity.log' C-m
110
-
111
- # Set pane titles (if supported)
112
- tmux select-pane -t aether-colony:colony.0 -T "Status"
113
- tmux select-pane -t aether-colony:colony.1 -T "Progress"
114
- tmux select-pane -t aether-colony:colony.2 -T "Spawn Tree"
115
- tmux select-pane -t aether-colony:colony.3 -T "Activity Log"
116
-
117
- # Balance panes for even 2x2 grid
118
- tmux select-layout -t aether-colony:colony tiled
119
-
120
- echo "Session created"
121
- ```
122
-
123
- ### Step 6: Create Progress File
124
-
125
- Write initial progress to `.aether/data/watch-progress.txt`:
126
-
127
- ```
128
- .-.
129
- (o o) AETHER COLONY
130
- | O | Progress
131
- `-`
132
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
133
-
134
- Phase: -/-
135
-
136
- [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%
137
-
138
- ⏳ Waiting for build...
139
-
140
- Target: 95% confidence
141
- ```
142
-
143
- ### Step 7: Attach and Display
144
-
145
- ```bash
146
- tmux attach-session -t aether-colony
147
- ```
148
-
149
- Before attaching, output:
150
-
151
- ```
152
- .-.
153
- (o o) AETHER COLONY :: WATCH
154
- | O |
155
- `-`
156
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
157
-
158
- tmux session 'aether-colony' created.
159
-
160
- Layout (4-pane 2x2 grid):
161
- +------------------+------------------+
162
- | Status | Spawn Tree |
163
- | Colony state | Worker hierarchy |
164
- +------------------+------------------+
165
- | Progress | Activity Log |
166
- | Phase progress | Live stream |
167
- +------------------+------------------+
168
-
169
- Commands:
170
- Ctrl+B D Detach from session
171
- Ctrl+B [ Scroll mode (q to exit)
172
- Ctrl+B Arrow Navigate between panes
173
- tmux kill-session -t aether-colony Stop watching
174
-
175
- The session will update in real-time as colony works.
176
- Attaching now...
177
- ```
178
-
179
- ---
180
-
181
- ## Status Update Protocol
182
-
183
- Workers and commands update watch files as they work:
184
-
185
- ### Activity Log
186
- Workers write via: `bash .aether/aether-utils.sh activity-log "ACTION" "caste" "description"`
187
-
188
- For named ants (recommended):
189
- ```bash
190
- # Generate a name first
191
- ant_name=$(bash .aether/aether-utils.sh generate-ant-name "builder" | jq -r '.result')
192
- # Log with ant name
193
- bash .aether/aether-utils.sh activity-log "CREATED" "$ant_name (Builder)" "Implemented auth module"
194
- ```
195
-
196
- ### Spawn Tracking
197
- Log spawns for tree visualization:
198
- ```bash
199
- bash .aether/aether-utils.sh spawn-log "Prime" "builder" "Hammer-42" "implementing auth"
200
- bash .aether/aether-utils.sh spawn-complete "Hammer-42" "completed" "auth module done"
201
- ```
202
-
203
- ### Status File
204
- Commands update `.aether/data/watch-status.txt` with current state:
205
- - State: PLANNING, EXECUTING, READY
206
- - Phase: current/total
207
- - Active Workers: list of named ants
208
- - Last Activity: most recent log entry
209
-
210
- ### Progress File
211
- Update via: `bash .aether/aether-utils.sh update-progress <percent> "<message>" <phase> <total>`
212
-
213
- Example:
214
- ```bash
215
- bash .aether/aether-utils.sh update-progress 45 "Building auth module..." 2 5
216
- ```
217
-
218
- ---
219
-
220
- ## Cleanup
221
-
222
- To stop watching:
223
- ```bash
224
- tmux kill-session -t aether-colony
225
- ```
226
-
227
- This stops the session but preserves all log files.