aether-colony 3.1.4 → 3.1.15
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/.claude/commands/ant/archaeology.md +12 -0
- package/.claude/commands/ant/build.md +382 -319
- package/.claude/commands/ant/chaos.md +23 -1
- package/.claude/commands/ant/colonize.md +147 -87
- package/.claude/commands/ant/continue.md +213 -23
- package/.claude/commands/ant/council.md +22 -0
- package/.claude/commands/ant/dream.md +18 -0
- package/.claude/commands/ant/entomb.md +178 -6
- package/.claude/commands/ant/init.md +87 -13
- package/.claude/commands/ant/lay-eggs.md +45 -5
- package/.claude/commands/ant/oracle.md +82 -9
- package/.claude/commands/ant/organize.md +2 -2
- package/.claude/commands/ant/pause-colony.md +86 -28
- package/.claude/commands/ant/phase.md +26 -0
- package/.claude/commands/ant/plan.md +204 -111
- package/.claude/commands/ant/resume-colony.md +23 -1
- package/.claude/commands/ant/resume.md +159 -0
- package/.claude/commands/ant/seal.md +177 -3
- package/.claude/commands/ant/swarm.md +78 -97
- package/.claude/commands/ant/verify-castes.md +7 -7
- package/.claude/commands/ant/watch.md +17 -0
- package/.opencode/agents/aether-ambassador.md +97 -0
- package/.opencode/agents/aether-archaeologist.md +91 -0
- package/.opencode/agents/aether-architect.md +66 -0
- package/.opencode/agents/aether-auditor.md +111 -0
- package/.opencode/agents/aether-builder.md +28 -10
- package/.opencode/agents/aether-chaos.md +98 -0
- package/.opencode/agents/aether-chronicler.md +80 -0
- package/.opencode/agents/aether-gatekeeper.md +107 -0
- package/.opencode/agents/aether-guardian.md +107 -0
- package/.opencode/agents/aether-includer.md +108 -0
- package/.opencode/agents/aether-keeper.md +106 -0
- package/.opencode/agents/aether-measurer.md +119 -0
- package/.opencode/agents/aether-probe.md +91 -0
- package/.opencode/agents/aether-queen.md +72 -19
- package/.opencode/agents/aether-route-setter.md +85 -0
- package/.opencode/agents/aether-sage.md +98 -0
- package/.opencode/agents/aether-scout.md +33 -15
- package/.opencode/agents/aether-surveyor-disciplines.md +334 -0
- package/.opencode/agents/aether-surveyor-nest.md +272 -0
- package/.opencode/agents/aether-surveyor-pathogens.md +209 -0
- package/.opencode/agents/aether-surveyor-provisions.md +277 -0
- package/.opencode/agents/aether-tracker.md +91 -0
- package/.opencode/agents/aether-watcher.md +30 -12
- package/.opencode/agents/aether-weaver.md +87 -0
- package/.opencode/agents/workers.md +1034 -0
- package/.opencode/commands/ant/archaeology.md +44 -26
- package/.opencode/commands/ant/build.md +327 -295
- package/.opencode/commands/ant/chaos.md +32 -4
- package/.opencode/commands/ant/colonize.md +119 -93
- package/.opencode/commands/ant/continue.md +98 -10
- package/.opencode/commands/ant/council.md +28 -0
- package/.opencode/commands/ant/dream.md +24 -0
- package/.opencode/commands/ant/entomb.md +73 -1
- package/.opencode/commands/ant/feedback.md +8 -2
- package/.opencode/commands/ant/flag.md +9 -3
- package/.opencode/commands/ant/flags.md +8 -2
- package/.opencode/commands/ant/focus.md +8 -2
- package/.opencode/commands/ant/help.md +12 -0
- package/.opencode/commands/ant/init.md +49 -4
- package/.opencode/commands/ant/lay-eggs.md +30 -2
- package/.opencode/commands/ant/oracle.md +39 -7
- package/.opencode/commands/ant/organize.md +9 -3
- package/.opencode/commands/ant/pause-colony.md +54 -1
- package/.opencode/commands/ant/phase.md +36 -4
- package/.opencode/commands/ant/plan.md +225 -117
- package/.opencode/commands/ant/redirect.md +8 -2
- package/.opencode/commands/ant/resume-colony.md +51 -26
- package/.opencode/commands/ant/seal.md +76 -0
- package/.opencode/commands/ant/status.md +50 -20
- package/.opencode/commands/ant/swarm.md +108 -104
- package/.opencode/commands/ant/tunnels.md +107 -2
- package/CHANGELOG.md +21 -0
- package/README.md +199 -86
- package/bin/cli.js +142 -25
- package/bin/generate-commands.sh +100 -16
- package/bin/lib/caste-colors.js +5 -5
- package/bin/lib/errors.js +16 -0
- package/bin/lib/file-lock.js +279 -44
- package/bin/lib/state-sync.js +206 -23
- package/bin/lib/update-transaction.js +206 -24
- package/bin/sync-to-runtime.sh +129 -0
- package/package.json +2 -2
- package/runtime/CONTEXT.md +160 -0
- package/runtime/aether-utils.sh +1421 -55
- package/runtime/docs/AETHER-2.0-IMPLEMENTATION-PLAN.md +1343 -0
- package/runtime/docs/AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md +2642 -0
- package/runtime/docs/PHEROMONE-INJECTION.md +240 -0
- package/runtime/docs/PHEROMONE-INTEGRATION.md +192 -0
- package/runtime/docs/PHEROMONE-SYSTEM-DESIGN.md +426 -0
- package/runtime/docs/README.md +94 -0
- package/runtime/docs/VISUAL-OUTPUT-SPEC.md +219 -0
- package/runtime/docs/biological-reference.md +272 -0
- package/runtime/docs/codebase-review.md +399 -0
- package/runtime/docs/command-sync.md +164 -0
- package/runtime/docs/implementation-learnings.md +89 -0
- package/runtime/docs/known-issues.md +217 -0
- package/runtime/docs/namespace.md +148 -0
- package/runtime/docs/planning-discipline.md +159 -0
- package/runtime/lib/queen-utils.sh +729 -0
- package/runtime/model-profiles.yaml +100 -0
- package/runtime/recover.sh +136 -0
- package/runtime/templates/QUEEN.md.template +79 -0
- package/runtime/utils/atomic-write.sh +5 -5
- package/runtime/utils/chamber-utils.sh +6 -3
- package/runtime/utils/error-handler.sh +200 -0
- package/runtime/utils/queen-to-md.xsl +395 -0
- package/runtime/utils/spawn-tree.sh +428 -0
- package/runtime/utils/spawn-with-model.sh +56 -0
- package/runtime/utils/state-loader.sh +215 -0
- package/runtime/utils/swarm-display.sh +5 -5
- package/runtime/utils/watch-spawn-tree.sh +90 -22
- package/runtime/utils/xml-compose.sh +247 -0
- package/runtime/utils/xml-core.sh +186 -0
- package/runtime/utils/xml-utils.sh +2161 -0
- package/runtime/verification-loop.md +1 -1
- package/runtime/workers-new-castes.md +516 -0
- package/runtime/workers.md +20 -8
- package/.aether/visualizations/anthill-stages/brood-stable.txt +0 -26
- package/.aether/visualizations/anthill-stages/crowned-anthill.txt +0 -30
- package/.aether/visualizations/anthill-stages/first-mound.txt +0 -18
- package/.aether/visualizations/anthill-stages/open-chambers.txt +0 -24
- package/.aether/visualizations/anthill-stages/sealed-chambers.txt +0 -28
- package/.aether/visualizations/anthill-stages/ventilated-nest.txt +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to the Aether Colony project will be documented in this file
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.1.5] - 2026-02-15
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **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`)
|
|
12
|
+
|
|
8
13
|
## [3.1.4] - 2026-02-15
|
|
9
14
|
|
|
10
15
|
### Fixed
|
|
@@ -36,6 +41,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
36
41
|
|
|
37
42
|
## [Unreleased]
|
|
38
43
|
|
|
44
|
+
### Added
|
|
45
|
+
- **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`)
|
|
46
|
+
- `/ant:colonize` — Added `--force-resurvey` flag, stale survey detection, and verification
|
|
47
|
+
- `/ant:oracle` — Added `--force` flag, stale session detection with user options
|
|
48
|
+
- `/ant:watch` — Added session timestamp capture and stale file handling
|
|
49
|
+
- `/ant:swarm` — Added auto-clear for stale findings with verification
|
|
50
|
+
- `/ant:init` — Added freshness check with protected state (no auto-clear)
|
|
51
|
+
- `/ant:seal` — Added incomplete archive detection and integrity verification
|
|
52
|
+
- `/ant:entomb` — Added incomplete chamber detection and integrity verification
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
- **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`)
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
- **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`)
|
|
59
|
+
|
|
39
60
|
### Fixed
|
|
40
61
|
- **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`)
|
|
41
62
|
- **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`)
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
[](https://www.npmjs.com/package/aether-colony)
|
|
19
19
|
[](https://opensource.org/licenses/MIT)
|
|
20
20
|
|
|
21
|
-
**
|
|
21
|
+
**v3.1.14** — Production ready with model routing
|
|
22
22
|
</div>
|
|
23
23
|
|
|
24
24
|
---
|
|
@@ -43,9 +43,9 @@ Aether brings **ant colony intelligence** to Claude Code. Instead of one agent d
|
|
|
43
43
|
├── 🔍 Scouts — research docs
|
|
44
44
|
├── 🗺️ Colonizers — explore codebases
|
|
45
45
|
├── 📋 Route-setters — plan phases
|
|
46
|
-
├──
|
|
46
|
+
├── 🏗️ Architects — extract patterns
|
|
47
47
|
├── 🏺 Archaeologists — excavate git history
|
|
48
|
-
├── 🔮 Oracles — deep research
|
|
48
|
+
├── 🔮 Oracles — deep research (RALF pattern)
|
|
49
49
|
└── 🎲 Chaos Ants — resilience testing
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -59,6 +59,8 @@ When a Builder hits something complex, it spawns a Scout to research. When code
|
|
|
59
59
|
- **6-Phase Verification** — Build, types, lint, tests, security, diff before advancing
|
|
60
60
|
- **Colony Memory** — Learnings and instincts persist across sessions
|
|
61
61
|
- **Pause/Resume** — Full state serialization for context breaks
|
|
62
|
+
- **Oracle Deep Research** — 50+ iteration autonomous research loop (RALF pattern)
|
|
63
|
+
- **Multi-Agent Surveys** — 4 parallel scouts for codebase analysis
|
|
62
64
|
|
|
63
65
|
---
|
|
64
66
|
|
|
@@ -96,74 +98,101 @@ That's it. The colony takes over from there.
|
|
|
96
98
|
|
|
97
99
|
---
|
|
98
100
|
|
|
99
|
-
## Commands
|
|
101
|
+
## Complete Command Reference (33 Commands)
|
|
100
102
|
|
|
101
|
-
|
|
103
|
+
### 🌱 Core Lifecycle Commands
|
|
102
104
|
|
|
103
|
-
|
|
105
|
+
| Command | Emoji | Description |
|
|
106
|
+
|---------|-------|-------------|
|
|
107
|
+
| `/ant:init "goal"` | 🌱 | Initialize colony with mission |
|
|
108
|
+
| `/ant:plan` | 📝 | Generate phased roadmap (50-iteration research loop) |
|
|
109
|
+
| `/ant:build N` | 🔨 | Execute phase N with worker waves |
|
|
110
|
+
| `/ant:continue` | ➡️ | 6-phase verification, then advance to next phase |
|
|
111
|
+
| `/ant:pause-colony` | 💾 | Save state for context break |
|
|
112
|
+
| `/ant:resume-colony` | ▶️ | Restore from pause |
|
|
113
|
+
| `/ant:lay-eggs "new goal"` | 🥚 | Start fresh colony (preserves instincts) |
|
|
114
|
+
| `/ant:seal` | 🏺 | Complete and archive colony |
|
|
115
|
+
| `/ant:entomb` | ⚰️ | Create chamber from completed colony |
|
|
104
116
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
| `/ant:build N` | Execute phase N with worker waves |
|
|
110
|
-
| `/ant:continue` | 6-phase verification, then advance |
|
|
111
|
-
| `/ant:status` | Colony overview |
|
|
112
|
-
| `/ant:pause-colony` | Save state for context break |
|
|
113
|
-
| `/ant:resume-colony` | Restore from pause |
|
|
114
|
-
|
|
115
|
-
### Pheromone Signals
|
|
116
|
-
|
|
117
|
-
| Command | Purpose |
|
|
118
|
-
|---------|---------|
|
|
119
|
-
| `/ant:focus "area"` | Guide colony attention |
|
|
120
|
-
| `/ant:redirect "pattern"` | Warn away from approaches |
|
|
121
|
-
| `/ant:feedback "msg"` | Teach preferences |
|
|
122
|
-
|
|
123
|
-
### Power Commands
|
|
124
|
-
|
|
125
|
-
| Command | Purpose |
|
|
126
|
-
|---------|---------|
|
|
127
|
-
| `/ant:swarm "problem"` | Deploy 4 parallel scouts for stubborn bugs |
|
|
128
|
-
| `/ant:council` | Clarify intent via multi-choice questions |
|
|
129
|
-
| `/ant:oracle` | Deep research with 50+ iterations |
|
|
130
|
-
|
|
131
|
-
### Research & Analysis
|
|
132
|
-
|
|
133
|
-
| Command | Purpose |
|
|
134
|
-
|---------|---------|
|
|
135
|
-
| `/ant:colonize` | Analyze existing codebase |
|
|
136
|
-
| `/ant:archaeology <path>` | Excavate git history |
|
|
137
|
-
| `/ant:chaos <target>` | Resilience testing |
|
|
138
|
-
| `/ant:organize` | Codebase hygiene report |
|
|
139
|
-
| `/ant:dream` | Philosophical codebase wanderer |
|
|
140
|
-
| `/ant:interpret` | Ground dreams in reality |
|
|
141
|
-
|
|
142
|
-
### Issue Tracking
|
|
143
|
-
|
|
144
|
-
| Command | Purpose |
|
|
145
|
-
|---------|---------|
|
|
146
|
-
| `/ant:flag "issue"` | Create blocker/issue/note |
|
|
147
|
-
| `/ant:flags` | List and manage flags |
|
|
148
|
-
|
|
149
|
-
### Visibility
|
|
150
|
-
|
|
151
|
-
| Command | Purpose |
|
|
152
|
-
|---------|---------|
|
|
153
|
-
| `/ant:watch` | Live tmux monitoring |
|
|
154
|
-
| `/ant:phase N` | View phase details |
|
|
155
|
-
| `/ant:history` | Recent colony activity |
|
|
156
|
-
| `/ant:help` | Full command reference |
|
|
157
|
-
|
|
158
|
-
### System
|
|
117
|
+
**Core Lifecycle Flow:**
|
|
118
|
+
```
|
|
119
|
+
/ant:init → /ant:plan → /ant:build 1 → /ant:continue → /ant:build 2 → ... → /ant:seal → /ant:entomb
|
|
120
|
+
```
|
|
159
121
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
|
163
|
-
|
|
164
|
-
| `/ant:
|
|
165
|
-
| `/ant:
|
|
166
|
-
| `/ant:
|
|
122
|
+
### 📊 Research & Analysis Commands
|
|
123
|
+
|
|
124
|
+
| Command | Emoji | Description |
|
|
125
|
+
|---------|-------|-------------|
|
|
126
|
+
| `/ant:colonize` | 🗺️ | **Multi-agent territory survey** — 4 parallel scouts analyze your codebase and produce: `STRUCTURE.md`, `INTEGRATIONS.md`, `CONVENTIONS.md`, `ARCHITECTURE.md`, `CONCERNS.md` |
|
|
127
|
+
| `/ant:archaeology <path>` | 🏺 | Excavate git history for any file/directory — traces why code exists, surfaces tribal knowledge, identifies "don't touch" areas |
|
|
128
|
+
| `/ant:oracle ["topic"]` | 🔮 | **Deep research with RALF pattern** — 50+ iteration autonomous research loop. Use `stop` or `status` as arguments |
|
|
129
|
+
| `/ant:chaos <target>` | 🎲 | Resilience testing — probes edge cases, boundary conditions, finds cracks before they break |
|
|
130
|
+
| `/ant:swarm ["problem"]` | 🔥 | Deploy 4 parallel scouts for stubborn bugs OR view real-time swarm display |
|
|
131
|
+
| `/ant:dream` | 💭 | The Dreamer — philosophical codebase wanderer that observes and imagines |
|
|
132
|
+
| `/ant:interpret` | 🔍 | Ground dreams in reality — validates observations against actual code |
|
|
133
|
+
| `/ant:organize` | 🧹 | Codebase hygiene report — scans for stale files, dead code, orphaned configs |
|
|
134
|
+
|
|
135
|
+
**Research Command Details:**
|
|
136
|
+
|
|
137
|
+
#### `/ant:colonize` — Territory Survey
|
|
138
|
+
Dispatches 4 parallel Scout agents to analyze your codebase:
|
|
139
|
+
- **Scout 1**: Maps directory structure, identifies entry points, dependencies
|
|
140
|
+
- **Scout 2**: Maps integrations (databases, APIs, third-party services)
|
|
141
|
+
- **Scout 3**: Documents conventions (naming, patterns, architecture decisions)
|
|
142
|
+
- **Scout 4**: Identifies concerns (tech debt, risks, areas needing attention)
|
|
143
|
+
|
|
144
|
+
Produces 5 documentation files in `.aether/docs/`.
|
|
145
|
+
|
|
146
|
+
#### `/ant:oracle` — Deep Research (RALF Pattern)
|
|
147
|
+
The Oracle runs autonomously in a separate process using the Recursive Agent Loop Framework:
|
|
148
|
+
1. Configure research topic via interactive wizard
|
|
149
|
+
2. Oracle iterates 50+ times, accumulating knowledge
|
|
150
|
+
3. Each iteration reads previous progress, researches gaps
|
|
151
|
+
4. Produces comprehensive findings in `.aether/oracle/discoveries/`
|
|
152
|
+
|
|
153
|
+
Non-invasive: Never touches colony state, only writes to `.aether/oracle/`.
|
|
154
|
+
|
|
155
|
+
### 🧭 Planning & Coordination Commands
|
|
156
|
+
|
|
157
|
+
| Command | Emoji | Description |
|
|
158
|
+
|---------|-------|-------------|
|
|
159
|
+
| `/ant:council` | 🏛️ | Clarify intent via multi-choice questions |
|
|
160
|
+
| `/ant:focus "area"` | 🔦 | Emit FOCUS signal — guide colony attention |
|
|
161
|
+
| `/ant:redirect "pattern"` | ⚠️ | Emit REDIRECT signal — warn away from approaches |
|
|
162
|
+
| `/ant:feedback "msg"` | 💬 | Emit FEEDBACK signal — teach preferences |
|
|
163
|
+
|
|
164
|
+
**Pheromone Signals:**
|
|
165
|
+
- **FOCUS** (normal priority): "Pay attention here"
|
|
166
|
+
- **REDIRECT** (high priority): "Don't do this" (hard constraint)
|
|
167
|
+
- **FEEDBACK** (low priority): "Adjust based on this"
|
|
168
|
+
|
|
169
|
+
### 📋 Visibility & Status Commands
|
|
170
|
+
|
|
171
|
+
| Command | Emoji | Description |
|
|
172
|
+
|---------|-------|-------------|
|
|
173
|
+
| `/ant:status` | 📈 | Colony overview — current phase, progress, active workers |
|
|
174
|
+
| `/ant:phase N` | 📝 | View phase details — tasks, status, assignments |
|
|
175
|
+
| `/ant:history` | 📜 | Recent colony activity log |
|
|
176
|
+
| `/ant:maturity` | 👑 | View colony maturity journey with ASCII art anthill |
|
|
177
|
+
| `/ant:watch` | 👁️ | Set up tmux session to watch ants working in real-time |
|
|
178
|
+
| `/ant:tunnels [ch1] [ch2]` | 🕳️ | Explore tunnels — browse archived colonies, compare chambers |
|
|
179
|
+
| `/ant:flags` | 🚩 | List and manage flags (blockers, issues, notes) |
|
|
180
|
+
| `/ant:help` | 📖 | Full command reference |
|
|
181
|
+
|
|
182
|
+
### 🚩 Issue Tracking Commands
|
|
183
|
+
|
|
184
|
+
| Command | Emoji | Description |
|
|
185
|
+
|---------|-------|-------------|
|
|
186
|
+
| `/ant:flag "issue"` | 🚩 | Create blocker/issue/note |
|
|
187
|
+
| `/ant:flags` | 📋 | List and manage flags |
|
|
188
|
+
|
|
189
|
+
### ⚙️ System Commands
|
|
190
|
+
|
|
191
|
+
| Command | Emoji | Description |
|
|
192
|
+
|---------|-------|-------------|
|
|
193
|
+
| `/ant:update` | 🔄 | Sync system files from global hub |
|
|
194
|
+
| `/ant:verify-castes` | ✓ | Check caste model assignments and system status |
|
|
195
|
+
| `/ant:migrate-state` | 🚚 | One-time state migration from v1 to v2.0 format |
|
|
167
196
|
|
|
168
197
|
---
|
|
169
198
|
|
|
@@ -175,20 +204,36 @@ The `aether` CLI provides additional utilities:
|
|
|
175
204
|
# View version and status
|
|
176
205
|
aether version
|
|
177
206
|
|
|
207
|
+
# Update all registered repos
|
|
208
|
+
aether update --all
|
|
209
|
+
aether update --all --force # Force even with dirty repos
|
|
210
|
+
|
|
178
211
|
# Manage model routing
|
|
179
212
|
aether caste-models list
|
|
180
213
|
aether caste-models set builder=kimi-k2.5
|
|
214
|
+
aether caste-models reset builder
|
|
181
215
|
|
|
182
|
-
# Checkpoints
|
|
216
|
+
# Checkpoints (safe snapshots)
|
|
183
217
|
aether checkpoint create "before refactor"
|
|
184
218
|
aether checkpoint list
|
|
185
219
|
aether checkpoint restore <id>
|
|
220
|
+
aether checkpoint verify <id>
|
|
186
221
|
|
|
187
222
|
# View telemetry
|
|
188
223
|
aether telemetry
|
|
224
|
+
aether telemetry model kimi-k2.5
|
|
225
|
+
aether telemetry performance
|
|
189
226
|
|
|
190
227
|
# Sync state with planning docs
|
|
191
228
|
aether sync-state
|
|
229
|
+
|
|
230
|
+
# Context
|
|
231
|
+
aether context # Show auto-loaded context including nestmates
|
|
232
|
+
aether nestmates # List sibling colonies
|
|
233
|
+
aether spawn-tree # Display worker spawn tree
|
|
234
|
+
|
|
235
|
+
# Initialize in current repo
|
|
236
|
+
aether init --goal "My project"
|
|
192
237
|
```
|
|
193
238
|
|
|
194
239
|
---
|
|
@@ -226,18 +271,18 @@ Set `LITELLM_AUTH_TOKEN` environment variable for custom auth.
|
|
|
226
271
|
|
|
227
272
|
## The Castes
|
|
228
273
|
|
|
229
|
-
| Caste | Role | Model |
|
|
230
|
-
|
|
231
|
-
| 👑 **Queen** | Orchestrates, spawns workers, synthesizes | glm-5 |
|
|
232
|
-
| 🔨 **Builder** | Writes code, TDD-first | kimi-k2.5 |
|
|
233
|
-
| 👁️ **Watcher** | Tests, validates, quality gates | kimi-k2.5 |
|
|
234
|
-
| 🔍 **Scout** | Researches docs, finds answers | minimax-2.5 |
|
|
235
|
-
| 🗺️ **Colonizer** | Explores codebases, maps structure | minimax-2.5 |
|
|
236
|
-
|
|
|
237
|
-
| 📋 **Route-Setter** | Plans phases, breaks down goals | kimi-k2.5 |
|
|
238
|
-
| 🏺 **Archaeologist** | Excavates git history | glm-5 |
|
|
239
|
-
| 🔮 **Oracle** | Deep research, architecture analysis | minimax-2.5 |
|
|
240
|
-
| 🎲 **Chaos** | Resilience testing, adversarial probing | kimi-k2.5 |
|
|
274
|
+
| Caste | Emoji | Role | Model |
|
|
275
|
+
|-------|-------|------|-------|
|
|
276
|
+
| 👑 **Queen** | — | Orchestrates, spawns workers, synthesizes | glm-5 |
|
|
277
|
+
| 🔨 **Builder** | 🛠️ | Writes code, TDD-first | kimi-k2.5 |
|
|
278
|
+
| 👁️ **Watcher** | 👀 | Tests, validates, quality gates | kimi-k2.5 |
|
|
279
|
+
| 🔍 **Scout** | 🗺️ | Researches docs, finds answers | minimax-2.5 |
|
|
280
|
+
| 🗺️ **Colonizer** | 📊 | Explores codebases, maps structure | minimax-2.5 |
|
|
281
|
+
| 🏗️ **Architect** | 🏛️ | Synthesizes patterns, coordinates docs | glm-5 |
|
|
282
|
+
| 📋 **Route-Setter** | 🧭 | Plans phases, breaks down goals | kimi-k2.5 |
|
|
283
|
+
| 🏺 **Archaeologist** | 📜 | Excavates git history | glm-5 |
|
|
284
|
+
| 🔮 **Oracle** | 🔮 | Deep research, architecture analysis | minimax-2.5 |
|
|
285
|
+
| 🎲 **Chaos** | 🎲 | Resilience testing, adversarial probing | kimi-k2.5 |
|
|
241
286
|
|
|
242
287
|
---
|
|
243
288
|
|
|
@@ -328,8 +373,33 @@ Detected automatically via `milestone-detect` utility.
|
|
|
328
373
|
├── aether-utils.sh # Utility layer (50+ subcommands)
|
|
329
374
|
├── model-profiles.yaml # Caste-to-model routing
|
|
330
375
|
├── verification-loop.md # 6-phase verification reference
|
|
376
|
+
├── QUEEN_ANT_ARCHITECTURE.md # Complete system architecture
|
|
377
|
+
├── coding-standards.md # Coding standards reference
|
|
378
|
+
├── debugging.md # Debugging discipline
|
|
379
|
+
├── tdd.md # TDD discipline
|
|
380
|
+
│
|
|
381
|
+
├── docs/ # Documentation
|
|
382
|
+
│ ├── known-issues.md # Known bugs and workarounds
|
|
383
|
+
│ ├── implementation-learnings.md # Workflow patterns
|
|
384
|
+
│ ├── codebase-review.md # Command inventory
|
|
385
|
+
│ ├── planning-discipline.md # Planning guidelines
|
|
386
|
+
│ └── ...
|
|
331
387
|
│
|
|
332
|
-
├──
|
|
388
|
+
├── utils/ # Utility scripts
|
|
389
|
+
│ ├── atomic-write.sh
|
|
390
|
+
│ ├── colorize-log.sh
|
|
391
|
+
│ ├── file-lock.sh
|
|
392
|
+
│ ├── spawn-tree.sh
|
|
393
|
+
│ └── ...
|
|
394
|
+
│
|
|
395
|
+
├── oracle/ # Oracle research infrastructure
|
|
396
|
+
│ ├── oracle.sh # RALF loop script
|
|
397
|
+
│ ├── oracle.md # Oracle agent prompt
|
|
398
|
+
│ ├── research.json # Active research config
|
|
399
|
+
│ ├── progress.md # Research progress
|
|
400
|
+
│ └── discoveries/ # Research findings
|
|
401
|
+
│
|
|
402
|
+
├── data/ # Per-project state (NEVER synced)
|
|
333
403
|
│ ├── COLONY_STATE.json # Goal, plan, memory, instincts
|
|
334
404
|
│ ├── flags.json # Blockers, issues, notes
|
|
335
405
|
│ ├── constraints.json # Focus areas and redirects
|
|
@@ -338,7 +408,8 @@ Detected automatically via `milestone-detect` utility.
|
|
|
338
408
|
│ ├── telemetry.json # Model performance data
|
|
339
409
|
│ └── completion-report.md # End-of-project summary
|
|
340
410
|
│
|
|
341
|
-
├── dreams/ # Dream session files
|
|
411
|
+
├── dreams/ # Dream session files (NEVER synced)
|
|
412
|
+
├── checkpoints/ # Update rollback data (NEVER synced)
|
|
342
413
|
└── chambers/ # Entombed (archived) colonies
|
|
343
414
|
|
|
344
415
|
bin/ # CLI
|
|
@@ -354,7 +425,9 @@ bin/ # CLI
|
|
|
354
425
|
|
|
355
426
|
---
|
|
356
427
|
|
|
357
|
-
## Typical
|
|
428
|
+
## Typical Workflows
|
|
429
|
+
|
|
430
|
+
### Starting a New Project
|
|
358
431
|
|
|
359
432
|
```
|
|
360
433
|
1. /ant:init "Build feature X" # Set the goal
|
|
@@ -367,6 +440,26 @@ bin/ # CLI
|
|
|
367
440
|
8. /ant:seal # Complete and archive
|
|
368
441
|
```
|
|
369
442
|
|
|
443
|
+
### Deep Research Workflow
|
|
444
|
+
|
|
445
|
+
```
|
|
446
|
+
/ant:oracle "research topic" # Configure and launch Oracle
|
|
447
|
+
# Oracle runs autonomously for 50+ iterations
|
|
448
|
+
/ant:oracle status # Check progress
|
|
449
|
+
/ant:oracle stop # Stop if needed
|
|
450
|
+
# Read findings in .aether/oracle/discoveries/
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
### Codebase Analysis Workflow
|
|
454
|
+
|
|
455
|
+
```
|
|
456
|
+
/ant:colonize # 4 scouts survey territory
|
|
457
|
+
# Read generated docs in .aether/docs/
|
|
458
|
+
/ant:archaeology src/legacy/ # Excavate git history
|
|
459
|
+
/ant:organize # Hygiene report
|
|
460
|
+
/ant:chaos "auth module" # Resilience test
|
|
461
|
+
```
|
|
462
|
+
|
|
370
463
|
### Between Sessions
|
|
371
464
|
|
|
372
465
|
```bash
|
|
@@ -390,7 +483,7 @@ bin/ # CLI
|
|
|
390
483
|
|
|
391
484
|
## OpenCode Agents
|
|
392
485
|
|
|
393
|
-
Aether includes
|
|
486
|
+
Aether includes specialized OpenCode agents:
|
|
394
487
|
|
|
395
488
|
| Agent | Purpose | Temperature |
|
|
396
489
|
|-------|---------|-------------|
|
|
@@ -424,15 +517,30 @@ Aether includes 4 specialized OpenCode agents:
|
|
|
424
517
|
└─────────────────────────────────────────────────────────────┘
|
|
425
518
|
```
|
|
426
519
|
|
|
520
|
+
### Three-Tier Distribution
|
|
521
|
+
|
|
522
|
+
```
|
|
523
|
+
Aether Repo (.aether/) → Hub (~/.aether/) → Target Repos (.aether/)
|
|
524
|
+
│ │ │
|
|
525
|
+
│ npm install -g . │ aether update │
|
|
526
|
+
└───────────────────────→┴───────────────────────→┘
|
|
527
|
+
(excluding user data)
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
**User data directories are NEVER synced:** `data/`, `dreams/`, `checkpoints/`, `locks/`, `temp/`
|
|
531
|
+
|
|
427
532
|
---
|
|
428
533
|
|
|
429
534
|
## Safety Features
|
|
430
535
|
|
|
431
|
-
- **File Locking** — Prevents concurrent modification of state
|
|
536
|
+
- **File Locking** — Prevents concurrent modification of state with configurable stale lock detection
|
|
432
537
|
- **Atomic Writes** — Temp file + rename pattern
|
|
433
538
|
- **Update Transactions** — Two-phase commit with rollback
|
|
539
|
+
- **State Validation** — Schema validation before any state modifications
|
|
540
|
+
- **Event Pruning** — Automatic cleanup prevents unbounded event history
|
|
434
541
|
- **Git Checkpoints** — Automatic commits before phases
|
|
435
542
|
- **Ant Graveyards** — Failed files marked for future caution
|
|
543
|
+
- **Checkpoint System** — Safe snapshots before updates with `aether checkpoint`
|
|
436
544
|
|
|
437
545
|
---
|
|
438
546
|
|
|
@@ -459,11 +567,16 @@ npm install -g aether-colony
|
|
|
459
567
|
# Verify install
|
|
460
568
|
aether version
|
|
461
569
|
ls ~/.claude/commands/ant/
|
|
570
|
+
ls ~/.aether/ # Check hub structure
|
|
462
571
|
|
|
463
572
|
# Verify runtime (from inside any repo)
|
|
464
573
|
ls .aether/
|
|
465
574
|
|
|
466
|
-
# Update
|
|
575
|
+
# Update system files in all registered repos
|
|
576
|
+
aether update --all
|
|
577
|
+
aether update --all --force # Force even with dirty repos
|
|
578
|
+
|
|
579
|
+
# Update npm package
|
|
467
580
|
npm update -g aether-colony
|
|
468
581
|
|
|
469
582
|
# Uninstall (preserves project state)
|