aether-colony 3.1.17 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{runtime → .aether}/CONTEXT.md +1 -1
- package/{runtime → .aether}/aether-utils.sh +1772 -98
- package/.aether/docs/QUEEN-SYSTEM.md +211 -0
- package/.aether/docs/QUEEN.md +84 -0
- package/.aether/docs/README.md +68 -0
- package/.aether/docs/caste-system.md +48 -0
- package/{runtime → .aether/docs/disciplines}/DISCIPLINES.md +8 -8
- package/.aether/docs/error-codes.md +268 -0
- package/{runtime → .aether}/docs/known-issues.md +42 -26
- package/.aether/docs/queen-commands.md +97 -0
- package/.aether/exchange/colony-registry.xml +11 -0
- package/{runtime → .aether}/exchange/pheromone-xml.sh +2 -1
- package/.aether/exchange/pheromones.xml +87 -0
- package/.aether/exchange/queen-wisdom.xml +14 -0
- package/{runtime → .aether}/exchange/registry-xml.sh +7 -3
- package/{runtime → .aether}/exchange/wisdom-xml.sh +11 -4
- package/.aether/rules/aether-colony.md +134 -0
- package/.aether/schemas/example-prompt-builder.xml +234 -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/{runtime → .aether}/utils/atomic-write.sh +5 -5
- package/{runtime → .aether}/utils/chamber-compare.sh +23 -10
- package/{runtime → .aether}/utils/chamber-utils.sh +32 -20
- package/{runtime → .aether}/utils/error-handler.sh +13 -1
- package/{runtime → .aether}/utils/file-lock.sh +49 -13
- package/.aether/utils/semantic-cli.sh +413 -0
- package/{runtime → .aether}/utils/xml-compose.sh +7 -1
- package/.aether/utils/xml-convert.sh +273 -0
- package/.aether/utils/xml-query.sh +201 -0
- package/.aether/utils/xml-utils.sh +110 -0
- package/{runtime → .aether}/workers.md +14 -17
- 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 +16 -7
- package/.claude/commands/ant/build.md +415 -284
- package/.claude/commands/ant/chaos.md +19 -10
- package/.claude/commands/ant/colonize.md +58 -24
- package/.claude/commands/ant/continue.md +155 -145
- package/.claude/commands/ant/council.md +15 -5
- package/.claude/commands/ant/dream.md +16 -7
- package/.claude/commands/ant/entomb.md +274 -157
- package/.claude/commands/ant/feedback.md +33 -29
- package/.claude/commands/ant/flag.md +18 -10
- package/.claude/commands/ant/flags.md +14 -6
- package/.claude/commands/ant/focus.md +29 -21
- package/.claude/commands/ant/help.md +11 -1
- package/.claude/commands/ant/history.md +10 -0
- package/.claude/commands/ant/init.md +91 -65
- package/.claude/commands/ant/interpret.md +15 -4
- package/.claude/commands/ant/lay-eggs.md +55 -7
- package/.claude/commands/ant/maturity.md +11 -1
- package/.claude/commands/ant/migrate-state.md +14 -2
- package/.claude/commands/ant/oracle.md +23 -15
- package/.claude/commands/ant/organize.md +29 -20
- package/.claude/commands/ant/pause-colony.md +17 -7
- package/.claude/commands/ant/phase.md +17 -8
- package/.claude/commands/ant/plan.md +20 -9
- package/.claude/commands/ant/redirect.md +29 -32
- package/.claude/commands/ant/resume-colony.md +19 -9
- package/.claude/commands/ant/resume.md +272 -96
- package/.claude/commands/ant/seal.md +201 -191
- package/.claude/commands/ant/status.md +71 -32
- package/.claude/commands/ant/swarm.md +26 -44
- package/.claude/commands/ant/tunnels.md +279 -105
- package/.claude/commands/ant/update.md +81 -20
- package/.claude/commands/ant/verify-castes.md +14 -4
- package/.claude/commands/ant/watch.md +13 -12
- package/.opencode/agents/aether-ambassador.md +63 -20
- package/.opencode/agents/aether-archaeologist.md +29 -12
- package/.opencode/agents/aether-auditor.md +51 -18
- package/.opencode/agents/aether-builder.md +69 -19
- package/.opencode/agents/aether-chaos.md +29 -12
- package/.opencode/agents/aether-chronicler.md +60 -18
- package/.opencode/agents/aether-gatekeeper.md +27 -18
- package/.opencode/agents/aether-includer.md +27 -18
- package/.opencode/agents/aether-keeper.md +89 -18
- package/.opencode/agents/aether-measurer.md +27 -18
- package/.opencode/agents/aether-probe.md +60 -18
- package/.opencode/agents/aether-queen.md +172 -24
- package/.opencode/agents/aether-route-setter.md +57 -12
- package/.opencode/agents/aether-sage.md +26 -18
- package/.opencode/agents/aether-scout.md +27 -19
- package/.opencode/agents/aether-surveyor-disciplines.md +53 -1
- package/.opencode/agents/aether-surveyor-nest.md +53 -1
- package/.opencode/agents/aether-surveyor-pathogens.md +51 -1
- package/.opencode/agents/aether-surveyor-provisions.md +53 -1
- package/.opencode/agents/aether-tracker.md +64 -18
- package/.opencode/agents/aether-watcher.md +66 -19
- package/.opencode/agents/aether-weaver.md +61 -18
- package/.opencode/commands/ant/build.md +406 -192
- package/.opencode/commands/ant/continue.md +66 -76
- package/.opencode/commands/ant/entomb.md +106 -45
- package/.opencode/commands/ant/init.md +46 -48
- package/.opencode/commands/ant/organize.md +5 -5
- package/.opencode/commands/ant/resume.md +334 -0
- package/.opencode/commands/ant/seal.md +33 -24
- package/.opencode/commands/ant/status.md +11 -0
- package/.opencode/commands/ant/tunnels.md +149 -0
- package/.opencode/commands/ant/update.md +59 -16
- package/CHANGELOG.md +79 -0
- package/README.md +135 -353
- package/bin/cli.js +243 -122
- package/bin/generate-commands.sh +2 -2
- package/bin/lib/init.js +13 -3
- package/bin/lib/update-transaction.js +119 -117
- package/bin/sync-to-runtime.sh +5 -137
- package/bin/validate-package.sh +84 -0
- package/package.json +9 -6
- package/.opencode/agents/aether-architect.md +0 -66
- package/.opencode/agents/aether-guardian.md +0 -107
- package/.opencode/agents/workers.md +0 -1034
- package/runtime/QUEEN_ANT_ARCHITECTURE.md +0 -402
- package/runtime/data/signatures.json +0 -41
- package/runtime/docs/AETHER-2.0-IMPLEMENTATION-PLAN.md +0 -1343
- package/runtime/docs/AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md +0 -2642
- package/runtime/docs/PHEROMONE-INJECTION.md +0 -240
- package/runtime/docs/PHEROMONE-INTEGRATION.md +0 -192
- package/runtime/docs/PHEROMONE-SYSTEM-DESIGN.md +0 -426
- package/runtime/docs/README.md +0 -94
- package/runtime/docs/VISUAL-OUTPUT-SPEC.md +0 -219
- package/runtime/docs/biological-reference.md +0 -272
- package/runtime/docs/codebase-review.md +0 -399
- package/runtime/docs/command-sync.md +0 -164
- package/runtime/docs/constraints.md +0 -116
- package/runtime/docs/implementation-learnings.md +0 -89
- package/runtime/docs/namespace.md +0 -148
- package/runtime/docs/pathogen-schema-example.json +0 -36
- package/runtime/docs/pathogen-schema.md +0 -111
- package/runtime/docs/planning-discipline.md +0 -159
- package/runtime/docs/progressive-disclosure.md +0 -184
- package/runtime/lib/queen-utils.sh +0 -729
- package/runtime/planning.md +0 -159
- package/runtime/recover.sh +0 -136
- package/runtime/utils/xml-utils.sh +0 -2196
- package/runtime/workers-new-castes.md +0 -516
- /package/{runtime → .aether/docs/disciplines}/coding-standards.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/debugging.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/learning.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/tdd.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/verification-loop.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/verification.md +0 -0
- /package/{runtime → .aether}/docs/pheromones.md +0 -0
- /package/{runtime → .aether}/model-profiles.yaml +0 -0
- /package/{runtime → .aether}/schemas/aether-types.xsd +0 -0
- /package/{runtime → .aether}/schemas/colony-registry.xsd +0 -0
- /package/{runtime → .aether}/schemas/pheromone.xsd +0 -0
- /package/{runtime → .aether}/schemas/prompt.xsd +0 -0
- /package/{runtime → .aether}/schemas/queen-wisdom.xsd +0 -0
- /package/{runtime → .aether}/schemas/worker-priming.xsd +0 -0
- /package/{runtime → .aether}/templates/QUEEN.md.template +0 -0
- /package/{runtime → .aether}/utils/colorize-log.sh +0 -0
- /package/{runtime → .aether}/utils/queen-to-md.xsl +0 -0
- /package/{runtime → .aether}/utils/spawn-tree.sh +0 -0
- /package/{runtime → .aether}/utils/spawn-with-model.sh +0 -0
- /package/{runtime → .aether}/utils/state-loader.sh +0 -0
- /package/{runtime → .aether}/utils/swarm-display.sh +0 -0
- /package/{runtime → .aether}/utils/watch-spawn-tree.sh +0 -0
- /package/{runtime → .aether}/utils/xml-core.sh +0 -0
|
@@ -1,426 +0,0 @@
|
|
|
1
|
-
# Aether Pheromone System - Complete Design
|
|
2
|
-
|
|
3
|
-
**Status:** Design Phase
|
|
4
|
-
**Last Updated:** 2026-02-15
|
|
5
|
-
**Context:** Consolidation of all pheromone-related design discussions
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## 1. Core Philosophy
|
|
10
|
-
|
|
11
|
-
**Pheromones are the Queen's Eternal Memory made manifest.**
|
|
12
|
-
|
|
13
|
-
Workers don't read files—they follow scent trails left by previous colonies, stronger where many ants have walked. The system learns as it works. The Queen guides without interrupting.
|
|
14
|
-
|
|
15
|
-
**Key Principles:**
|
|
16
|
-
- Emergence over explicit commands
|
|
17
|
-
- No new commands needed—integrated into existing flow
|
|
18
|
-
- Pheromones are invisible substrate, visible only when relevant
|
|
19
|
-
- Auto-deposition at critical moments with user signaling
|
|
20
|
-
- Mid-work injection without stopping workers
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## 2. Pheromone Taxonomy
|
|
25
|
-
|
|
26
|
-
| Type | Source | Decay | Purpose | Example |
|
|
27
|
-
|------|--------|-------|---------|---------|
|
|
28
|
-
| **FOCUS** | `/ant:focus`, planning | 30 days | What to pay attention to | FOCUS[authentication] |
|
|
29
|
-
| **REDIRECT** | `/ant:redirect`, errors | 60 days | Patterns to avoid | REDIRECT[regex-parsing] |
|
|
30
|
-
| **PHILOSOPHY** | Queen's Will, Eternal | Never | Core beliefs | PHILOSOPHY[emergence-over-orchestration] |
|
|
31
|
-
| **STACK** | `/ant:colonize`, detection | When stack changes | Tech constraints | STACK[nodejs-bash-jq] |
|
|
32
|
-
| **PATTERN** | Milestones, workers | 90 days | Discovered best practices | PATTERN[bash-for-file-ops] |
|
|
33
|
-
| **DECREE** | User override | Never | Explicit commands | DECREE[no-force-push] |
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 3. Eternal Memory Architecture
|
|
38
|
-
|
|
39
|
-
### Global Eternal Memory
|
|
40
|
-
```
|
|
41
|
-
~/.aether/eternal/
|
|
42
|
-
├── queen-will.md # Core philosophies (never changes without decree)
|
|
43
|
-
├── pheromones.json # Active eternal pheromones
|
|
44
|
-
├── stack-profile/ # Tech fingerprints from all colonies
|
|
45
|
-
│ ├── nodejs.md
|
|
46
|
-
│ ├── python.md
|
|
47
|
-
│ └── ...
|
|
48
|
-
├── patterns/ # Validated patterns across colonies
|
|
49
|
-
│ ├── emergence.md
|
|
50
|
-
│ ├── minimal-change.md
|
|
51
|
-
│ └── ...
|
|
52
|
-
└── lineage/ # Inheritable from specific colonies
|
|
53
|
-
└── chamber-{id}/
|
|
54
|
-
├── decisions.md
|
|
55
|
-
├── lessons.md
|
|
56
|
-
└── pheromones.json
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### Per-Colony Pheromones
|
|
60
|
-
```
|
|
61
|
-
.aether/data/
|
|
62
|
-
├── pheromones.json # Active trails for this colony
|
|
63
|
-
├── pheromone-queue.json # Queued for worker pickup
|
|
64
|
-
└── midden/ # Expired/faded pheromones
|
|
65
|
-
└── pheromones.json
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Pheromone JSON Structure
|
|
69
|
-
```json
|
|
70
|
-
{
|
|
71
|
-
"trails": [
|
|
72
|
-
{
|
|
73
|
-
"id": "phem_abc123",
|
|
74
|
-
"type": "FOCUS",
|
|
75
|
-
"substance": "authentication",
|
|
76
|
-
"strength": 0.9,
|
|
77
|
-
"source": "user:focus",
|
|
78
|
-
"deposited_at": "2026-02-15T10:30:00Z",
|
|
79
|
-
"decay": "30d",
|
|
80
|
-
"decays_at": "2026-03-17T10:30:00Z"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## 4. Auto-Injection at Critical Points
|
|
89
|
-
|
|
90
|
-
| Moment | Auto-Pheromone | User Signal | Purpose |
|
|
91
|
-
|--------|---------------|-------------|---------|
|
|
92
|
-
| `/ant:init` completes | PHILOSOPHY[emergence], PHILOSOPHY[minimal-change] | "🐜 Queen's scent laid: Emergence" | Foundation |
|
|
93
|
-
| First `/ant:plan` | PHILOSOPHY[minimal-planning] | "🐜 Trail: Plan just enough" | Planning bias |
|
|
94
|
-
| Worker error | REDIRECT[error-pattern] | "🐜 Warning: {pattern}" | Learn from failure |
|
|
95
|
-
| Phase complete | PATTERN[what-worked] | "🐜 Success: {pattern}" | Reinforce |
|
|
96
|
-
| `/ant:seal` | PHILOSOPHY[milestone] + PATTERN[conventions] | "🐜 Wisdom archived" | Lineage |
|
|
97
|
-
| `/ant:swarm` fix | PATTERN[fix] + REDIRECT[failed] | "🐜 Immunity: {pattern}" | Bug prevention |
|
|
98
|
-
| User override | DECREE[reason] | "🐜 Decree recorded" | Authority |
|
|
99
|
-
|
|
100
|
-
### User Signaling Format
|
|
101
|
-
```
|
|
102
|
-
═══════════════════════════════════════════════════════
|
|
103
|
-
🐜 PHEROMONE DEPOSITED
|
|
104
|
-
═══════════════════════════════════════════════════════
|
|
105
|
-
|
|
106
|
-
Type: PATTERN
|
|
107
|
-
Substance: prefer-bash-over-node-for-file-ops
|
|
108
|
-
Strength: 0.7
|
|
109
|
-
Source: milestone:phase-3-complete
|
|
110
|
-
Why: Workers used bash 5x more than node
|
|
111
|
-
|
|
112
|
-
This trail guides future workers.
|
|
113
|
-
View all: /ant:status
|
|
114
|
-
|
|
115
|
-
═══════════════════════════════════════════════════════
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## 5. Mid-Work Injection System
|
|
121
|
-
|
|
122
|
-
### The Challenge
|
|
123
|
-
User wants to inject pheromone while workers are active, without interrupting flow.
|
|
124
|
-
|
|
125
|
-
### Solution: Pheromone Queue + Checkpoint Polling
|
|
126
|
-
|
|
127
|
-
```
|
|
128
|
-
User: /ant:focus "error-handling" (while workers building)
|
|
129
|
-
|
|
130
|
-
System:
|
|
131
|
-
1. Deposit to pheromone-queue.json immediately
|
|
132
|
-
2. Display: "🐜 FOCUS queued - workers detect at next checkpoint"
|
|
133
|
-
3. Worker flow continues uninterrupted
|
|
134
|
-
|
|
135
|
-
Workers:
|
|
136
|
-
- Poll queue at natural breakpoints
|
|
137
|
-
- Pick up without breaking context
|
|
138
|
-
- Log: "[Worker] New scent: FOCUS[error-handling]"
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Queue Structure
|
|
142
|
-
```json
|
|
143
|
-
{
|
|
144
|
-
"queue": [
|
|
145
|
-
{
|
|
146
|
-
"id": "phem_queued_123",
|
|
147
|
-
"type": "FOCUS",
|
|
148
|
-
"substance": "error-handling",
|
|
149
|
-
"strength": 0.9,
|
|
150
|
-
"status": "queued",
|
|
151
|
-
"picked_up_by": null,
|
|
152
|
-
"picked_up_at": null
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
}
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
### Worker Checkpoint Protocol
|
|
159
|
-
Natural breakpoints for pheromone detection:
|
|
160
|
-
- After completing a task
|
|
161
|
-
- Before spawning a sub-worker
|
|
162
|
-
- After tool use (Read/Edit/Bash)
|
|
163
|
-
- Every 5 minutes of continuous work
|
|
164
|
-
|
|
165
|
-
---
|
|
166
|
-
|
|
167
|
-
## 6. Worker Spawn-Time Priming
|
|
168
|
-
|
|
169
|
-
Every worker, at spawn:
|
|
170
|
-
|
|
171
|
-
1. **Inhales the eternal** - Reads `~/.aether/eternal/queen-will.md`
|
|
172
|
-
2. **Checks active trails** - Loads `.aether/data/pheromones.json`
|
|
173
|
-
3. **Smells the stack** - Loads relevant stack-profile
|
|
174
|
-
4. **Polls queue** - Checks for queued pheromones
|
|
175
|
-
5. **Begins work** - Carries context, may deposit new trails
|
|
176
|
-
|
|
177
|
-
**Example spawn log:**
|
|
178
|
-
```
|
|
179
|
-
[Prime Worker] Spawned for Phase 7
|
|
180
|
-
[Prime Worker] Inhaling Queen's Will... (emergence, minimal-change, no-emojis)
|
|
181
|
-
[Prime Worker] Trails: FOCUS[security,0.9] REDIRECT[force-push,0.8]
|
|
182
|
-
[Prime Worker] Stack: nodejs-bash-jq (matches eternal profile)
|
|
183
|
-
[Prime Worker] Ready to coordinate
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
|
-
## 7. Biological Patterns to Implement
|
|
189
|
-
|
|
190
|
-
### Stimulus-Driven Worker Assignment
|
|
191
|
-
Workers check pheromone gradients before spawning specialists:
|
|
192
|
-
- High REDIRECT[regex-parsing] → spawn Parser Specialist
|
|
193
|
-
- High FOCUS[performance] → spawn Watcher before Builder
|
|
194
|
-
- PATTERN[error-recovery] detected → Chaos ant joins automatically
|
|
195
|
-
|
|
196
|
-
### Trophallaxis (Food Sharing)
|
|
197
|
-
Senior workers pass "digested learnings" to new workers:
|
|
198
|
-
- `/ant:mentor` - Explicitly share chamber wisdom to new colony
|
|
199
|
-
- Auto-mentoring: New colonies inherit from sealed chambers
|
|
200
|
-
|
|
201
|
-
### Midden Piles (Waste Management)
|
|
202
|
-
Failed patterns go to `.aether/data/midden/`:
|
|
203
|
-
- Not deleted, just marked as "don't go here"
|
|
204
|
-
- REDIRECT pheromones point to midden
|
|
205
|
-
- Historical record of what didn't work
|
|
206
|
-
|
|
207
|
-
### Trail Following
|
|
208
|
-
Workers follow strongest pheromone trails:
|
|
209
|
-
- FOCUS trails attract attention
|
|
210
|
-
- REDIRECT trails create avoidance zones
|
|
211
|
-
- PATTERN trails create preferred paths
|
|
212
|
-
|
|
213
|
-
---
|
|
214
|
-
|
|
215
|
-
## 8. Integration with Existing Commands
|
|
216
|
-
|
|
217
|
-
### `/ant:init` → Foundation
|
|
218
|
-
```
|
|
219
|
-
🌱 First colony initialized
|
|
220
|
-
🐜 Queen's scent established:
|
|
221
|
-
• Emergence over orchestration
|
|
222
|
-
• Minimal changes preferred
|
|
223
|
-
|
|
224
|
-
These guide all workers. View with /ant:status
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### `/ant:focus "area"` → FOCUS Pheromone
|
|
228
|
-
```
|
|
229
|
-
🐜 Focus trail laid: authentication
|
|
230
|
-
Workers will prioritize auth concerns.
|
|
231
|
-
Strength: 0.9 (30-day decay)
|
|
232
|
-
|
|
233
|
-
Active: FOCUS[auth,0.9] FOCUS[perf,0.6]
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
### `/ant:redirect "pattern"` → REDIRECT Pheromone
|
|
237
|
-
```
|
|
238
|
-
🐜 Warning trail laid: regex-parsing
|
|
239
|
-
Workers will avoid or carefully consider.
|
|
240
|
-
Strength: 0.8 (60-day decay)
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
### `/ant:status` → Show Pheromones
|
|
244
|
-
```
|
|
245
|
-
📈🐜🏘️🐜📊 Colony Status
|
|
246
|
-
═══════════════════════════════════════════════════════
|
|
247
|
-
|
|
248
|
-
State: EXECUTING
|
|
249
|
-
Phase: 2 of 4
|
|
250
|
-
|
|
251
|
-
Active Pheromone Trails:
|
|
252
|
-
🎯 FOCUS: authentication (0.9), error-handling (0.7)
|
|
253
|
-
⚠️ REDIRECT: regex-parsing (0.8)
|
|
254
|
-
📚 PATTERN: bash-for-file-ops (0.8)
|
|
255
|
-
|
|
256
|
-
[rest of status...]
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
### `/ant:seal` → Wisdom Extraction
|
|
260
|
-
```
|
|
261
|
-
🏺 Colony Sealed - Crowned Anthill
|
|
262
|
-
|
|
263
|
-
3 phases, 47 tasks completed
|
|
264
|
-
|
|
265
|
-
🐜 Wisdom archived:
|
|
266
|
-
• PATTERN[prefer-joi-over-zod] (validated 5x)
|
|
267
|
-
• PATTERN[bash-for-file-ops] (used 12x)
|
|
268
|
-
• REDIRECT[avoid-sync-fs] (failed once)
|
|
269
|
-
|
|
270
|
-
Preserved in eternal memory.
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
---
|
|
274
|
-
|
|
275
|
-
## 9. `/ant:colonize` - CDS-Style Codebase Mapping
|
|
276
|
-
|
|
277
|
-
Deep codebase analysis producing pheromone trails:
|
|
278
|
-
|
|
279
|
-
```
|
|
280
|
-
/ant:colonize → Scouts map codebase → Deposit trails → Update eternal memory
|
|
281
|
-
|
|
282
|
-
Outputs:
|
|
283
|
-
- .aether/colony/stack.md (emergent detection)
|
|
284
|
-
- .aether/colony/conventions.md (pattern analysis)
|
|
285
|
-
- .aether/colony/concerns.md (TODO/FIXME mining)
|
|
286
|
-
- Updates ~/.aether/eternal/stack-profile/{detected}.md
|
|
287
|
-
- Deposits STACK pheromones
|
|
288
|
-
- Deposits PATTERN pheromones for discovered conventions
|
|
289
|
-
```
|
|
290
|
-
|
|
291
|
-
**Integration:**
|
|
292
|
-
- Called automatically during `/ant:init` (basic)
|
|
293
|
-
- Can be called explicitly for deep analysis
|
|
294
|
-
- Updates at milestones (what actually got used vs planned)
|
|
295
|
-
|
|
296
|
-
---
|
|
297
|
-
|
|
298
|
-
## 10. Lineage System
|
|
299
|
-
|
|
300
|
-
### Chamber Inheritance
|
|
301
|
-
When sealing a colony (`/ant:seal`):
|
|
302
|
-
1. Extract phase learnings → PATTERN pheromones
|
|
303
|
-
2. Archive to `~/.aether/eternal/lineage/{chamber}/`
|
|
304
|
-
3. Update stack-profiles if new tech discovered
|
|
305
|
-
4. Strengthen successful pattern trails
|
|
306
|
-
|
|
307
|
-
### Starting New Colony with Lineage
|
|
308
|
-
```
|
|
309
|
-
/ant:lay-eggs "New goal" --inherit
|
|
310
|
-
|
|
311
|
-
🐜 Inheriting from chamber-{id}:
|
|
312
|
-
• 12 patterns adopted
|
|
313
|
-
• 3 redirects (avoidances)
|
|
314
|
-
• Stack profile: nodejs-bash-jq
|
|
315
|
-
|
|
316
|
-
New colony carries ancestral wisdom.
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
---
|
|
320
|
-
|
|
321
|
-
## 11. Onboarding UX
|
|
322
|
-
|
|
323
|
-
### First Colony Experience
|
|
324
|
-
Auto-deposit foundation pheromones with explanation:
|
|
325
|
-
```
|
|
326
|
-
🐜 FIRST COLONY DETECTED
|
|
327
|
-
═══════════════════════════════════════════════════════
|
|
328
|
-
|
|
329
|
-
Your Queen's scent is being established.
|
|
330
|
-
|
|
331
|
-
Auto-deposited:
|
|
332
|
-
✓ PHILOSOPHY[emergence-over-orchestration]
|
|
333
|
-
✓ PHILOSOPHY[minimal-change]
|
|
334
|
-
|
|
335
|
-
These guide all workers.
|
|
336
|
-
|
|
337
|
-
💡 Tip: Adjust mid-flight: /ant:focus "security"
|
|
338
|
-
═══════════════════════════════════════════════════════
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
### Pattern Suggestions (Non-blocking)
|
|
342
|
-
```
|
|
343
|
-
[Worker completed 3 similar tasks]
|
|
344
|
-
|
|
345
|
-
💡 Pattern noticed: check-file-exists-before-write
|
|
346
|
-
Will be deposited as PATTERN at phase completion.
|
|
347
|
-
```
|
|
348
|
-
|
|
349
|
-
---
|
|
350
|
-
|
|
351
|
-
## 12. Implementation Phases
|
|
352
|
-
|
|
353
|
-
### Phase 1: Foundation
|
|
354
|
-
- [ ] Create `~/.aether/eternal/` structure
|
|
355
|
-
- [ ] Implement pheromones.json schema
|
|
356
|
-
- [ ] Worker spawn-time priming
|
|
357
|
-
- [ ] Auto-deposition in `/ant:init`
|
|
358
|
-
|
|
359
|
-
### Phase 2: Integration
|
|
360
|
-
- [ ] Enhance `/ant:focus` with visibility
|
|
361
|
-
- [ ] Enhance `/ant:redirect` with visibility
|
|
362
|
-
- [ ] Add pheromone section to `/ant:status`
|
|
363
|
-
- [ ] Pheromone queue system
|
|
364
|
-
|
|
365
|
-
### Phase 3: Learning
|
|
366
|
-
- [ ] Phase completion pattern detection
|
|
367
|
-
- [ ] Milestone wisdom extraction
|
|
368
|
-
- [ ] Swarm immunity deposition
|
|
369
|
-
- [ ] Midden pile system
|
|
370
|
-
|
|
371
|
-
### Phase 4: Colonize
|
|
372
|
-
- [ ] `/ant:colonize` command
|
|
373
|
-
- [ ] Stack-profile updates
|
|
374
|
-
- [ ] Convention detection
|
|
375
|
-
- [ ] Auto-update at milestones
|
|
376
|
-
|
|
377
|
-
### Phase 5: Lineage
|
|
378
|
-
- [ ] Chamber inheritance
|
|
379
|
-
- [ ] `/ant:lay-eggs --inherit`
|
|
380
|
-
- [ ] Trophallaxis (`/ant:mentor`)
|
|
381
|
-
- [ ] Cross-colony pattern validation
|
|
382
|
-
|
|
383
|
-
---
|
|
384
|
-
|
|
385
|
-
## 13. Context Window Management
|
|
386
|
-
|
|
387
|
-
Workers don't carry full pheromone history:
|
|
388
|
-
|
|
389
|
-
```
|
|
390
|
-
[Worker Context Header]
|
|
391
|
-
[Pheromones: FOCUS(auth,0.9) REDIRECT(regex,0.7) PATTERN(bash-files,0.8)]
|
|
392
|
-
[Stack: nodejs-bash-jq]
|
|
393
|
-
[Queen's Will: emergence, minimal-change]
|
|
394
|
-
|
|
395
|
-
[Worker continues with work...]
|
|
396
|
-
```
|
|
397
|
-
|
|
398
|
-
Full details available via tool call if needed.
|
|
399
|
-
|
|
400
|
-
---
|
|
401
|
-
|
|
402
|
-
## 14. Persistence Model
|
|
403
|
-
|
|
404
|
-
| Storage | Location | Lifetime | Access |
|
|
405
|
-
|---------|----------|----------|--------|
|
|
406
|
-
| Eternal | `~/.aether/eternal/` | Forever | All colonies |
|
|
407
|
-
| Colony | `.aether/data/pheromones.json` | Colony lifetime | This colony |
|
|
408
|
-
| Queue | `.aether/data/pheromone-queue.json` | Until picked up | Active workers |
|
|
409
|
-
| Midden | `.aether/data/midden/` | Forever (archived) | Debug/analysis |
|
|
410
|
-
| Chamber | `~/.aether/eternal/lineage/{id}/` | Forever | Inheritance |
|
|
411
|
-
|
|
412
|
-
---
|
|
413
|
-
|
|
414
|
-
## Design Decisions
|
|
415
|
-
|
|
416
|
-
1. **No new commands** - Integrate into existing flow
|
|
417
|
-
2. **Auto-deposition** - System learns without user action
|
|
418
|
-
3. **Visible signals** - User sees what the colony learned
|
|
419
|
-
4. **Mid-work injection** - Queue system for continuous work
|
|
420
|
-
5. **Biological fidelity** - Real ant behaviors (stimulus-driven, trophallaxis, midden)
|
|
421
|
-
6. **Eternal memory** - Cross-colony persistence via ~/.aether/
|
|
422
|
-
7. **Emergence-first** - Pheromones guide, don't command
|
|
423
|
-
|
|
424
|
-
---
|
|
425
|
-
|
|
426
|
-
*The colony remembers. The colony learns. The colony evolves.*
|
package/runtime/docs/README.md
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
# Aether Documentation
|
|
2
|
-
|
|
3
|
-
## Implementation Framework
|
|
4
|
-
|
|
5
|
-
This directory contains the complete specification and implementation guidance for the Aether colony system.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Priority Documents (Today's Work)
|
|
10
|
-
|
|
11
|
-
These documents represent the current state of the system and should be read first:
|
|
12
|
-
|
|
13
|
-
| Document | Size | Purpose |
|
|
14
|
-
|----------|------|---------|
|
|
15
|
-
| **AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md** | 73KB | Complete pheromone & multi-colony spec (v1.1) |
|
|
16
|
-
| **AETHER-2.0-IMPLEMENTATION-PLAN.md** | 36KB | 10 paradigm-shifting features roadmap |
|
|
17
|
-
| **PHEROMONE-INJECTION.md** | 8KB | Injection timing and UX flows |
|
|
18
|
-
| **PHEROMONE-INTEGRATION.md** | 6KB | Command integration patterns |
|
|
19
|
-
| **PHEROMONE-SYSTEM-DESIGN.md** | 13KB | Core philosophy and taxonomy |
|
|
20
|
-
| **VISUAL-OUTPUT-SPEC.md** | 6KB | UI/UX standards for all commands |
|
|
21
|
-
|
|
22
|
-
**Note:** The three `PHEROMONE-*.md` documents have been consolidated into the MASTER-SPEC but are preserved here as reference.
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## Directory Structure
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
docs/
|
|
30
|
-
├── README.md # This file
|
|
31
|
-
├── AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md # ← START HERE
|
|
32
|
-
├── AETHER-2.0-IMPLEMENTATION-PLAN.md # ← Then this
|
|
33
|
-
├── PHEROMONE-INJECTION.md # (consolidated into master)
|
|
34
|
-
├── PHEROMONE-INTEGRATION.md # (consolidated into master)
|
|
35
|
-
├── PHEROMONE-SYSTEM-DESIGN.md # (consolidated into master)
|
|
36
|
-
├── VISUAL-OUTPUT-SPEC.md # Visual standards
|
|
37
|
-
│
|
|
38
|
-
├── architecture/ # System design
|
|
39
|
-
│ └── MULTI-COLONY-ARCHITECTURE.md
|
|
40
|
-
│
|
|
41
|
-
├── implementation/ # Additional implementation guides
|
|
42
|
-
│ ├── pheromones.md
|
|
43
|
-
│ ├── pathogen-schema.md
|
|
44
|
-
│ └── pathogen-schema-example.json
|
|
45
|
-
│
|
|
46
|
-
└── reference/ # Supporting materials
|
|
47
|
-
├── biological-reference.md
|
|
48
|
-
├── namespace.md
|
|
49
|
-
├── constraints.md
|
|
50
|
-
├── command-sync.md
|
|
51
|
-
└── progressive-disclosure.md
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## Quick Start
|
|
57
|
-
|
|
58
|
-
### For Implementers
|
|
59
|
-
|
|
60
|
-
1. **Start with:** `AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md`
|
|
61
|
-
- Complete v1.1 specification
|
|
62
|
-
- 5 implementation phases with agent assignments (A-J)
|
|
63
|
-
- Pheromone taxonomy, injection timing, multi-colony architecture
|
|
64
|
-
- Sections 14-22: hooks, plugins, custom agents, best practices
|
|
65
|
-
|
|
66
|
-
2. **Then read:** `AETHER-2.0-IMPLEMENTATION-PLAN.md`
|
|
67
|
-
- 10 paradigm-shifting features
|
|
68
|
-
- Research phases and implementation strategy
|
|
69
|
-
- Dependencies and recommended order
|
|
70
|
-
|
|
71
|
-
3. **Reference:** `VISUAL-OUTPUT-SPEC.md`
|
|
72
|
-
- Visual standards for all commands
|
|
73
|
-
- Worker output rules
|
|
74
|
-
- Caste emoji mappings
|
|
75
|
-
|
|
76
|
-
### For Context
|
|
77
|
-
|
|
78
|
-
- `PHEROMONE-INJECTION.md` - Detailed injection timing (now in master spec Section 3.4-3.6)
|
|
79
|
-
- `PHEROMONE-INTEGRATION.md` - Command integration patterns (now in master spec Section 10)
|
|
80
|
-
- `PHEROMONE-SYSTEM-DESIGN.md` - Original philosophy (now in master spec Section 2-3)
|
|
81
|
-
|
|
82
|
-
---
|
|
83
|
-
|
|
84
|
-
## Document Status
|
|
85
|
-
|
|
86
|
-
| Document | Status | Lines | Content |
|
|
87
|
-
|----------|--------|-------|---------|
|
|
88
|
-
| Master Spec | Complete | 2,642 | Single source of truth |
|
|
89
|
-
| 2.0 Plan | Planning | 1,344 | 10-feature roadmap |
|
|
90
|
-
| Visual Spec | Design | ~200 | UI standards |
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
*The colony remembers. The colony learns. The colony evolves.*
|