aether-colony 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.aether/aether-utils.sh +3150 -3349
- package/.aether/agents-claude/aether-ambassador.md +265 -0
- package/.aether/agents-claude/aether-archaeologist.md +327 -0
- package/.aether/agents-claude/aether-architect.md +236 -0
- package/.aether/agents-claude/aether-auditor.md +271 -0
- package/.aether/agents-claude/aether-builder.md +224 -0
- package/.aether/agents-claude/aether-chaos.md +269 -0
- package/.aether/agents-claude/aether-chronicler.md +305 -0
- package/.aether/agents-claude/aether-gatekeeper.md +330 -0
- package/.aether/agents-claude/aether-includer.md +374 -0
- package/.aether/agents-claude/aether-keeper.md +272 -0
- package/.aether/agents-claude/aether-measurer.md +322 -0
- package/.aether/agents-claude/aether-oracle.md +237 -0
- package/.aether/agents-claude/aether-probe.md +211 -0
- package/.aether/agents-claude/aether-queen.md +330 -0
- package/.aether/agents-claude/aether-route-setter.md +178 -0
- package/.aether/agents-claude/aether-sage.md +418 -0
- package/.aether/agents-claude/aether-scout.md +179 -0
- package/.aether/agents-claude/aether-surveyor-disciplines.md +417 -0
- package/.aether/agents-claude/aether-surveyor-nest.md +355 -0
- package/.aether/agents-claude/aether-surveyor-pathogens.md +289 -0
- package/.aether/agents-claude/aether-surveyor-provisions.md +360 -0
- package/.aether/agents-claude/aether-tracker.md +270 -0
- package/.aether/agents-claude/aether-watcher.md +280 -0
- package/.aether/agents-claude/aether-weaver.md +248 -0
- package/.aether/commands/archaeology.yaml +653 -0
- package/.aether/commands/build.yaml +1221 -0
- package/.aether/commands/chaos.yaml +653 -0
- package/.aether/commands/colonize.yaml +438 -0
- package/.aether/commands/continue.yaml +1484 -0
- package/.aether/commands/council.yaml +304 -0
- package/.aether/commands/data-clean.yaml +80 -0
- package/.aether/commands/dream.yaml +275 -0
- package/.aether/commands/entomb.yaml +863 -0
- package/.aether/commands/export-signals.yaml +64 -0
- package/.aether/commands/feedback.yaml +158 -0
- package/.aether/commands/flag.yaml +160 -0
- package/.aether/commands/flags.yaml +177 -0
- package/.aether/commands/focus.yaml +112 -0
- package/.aether/commands/help.yaml +167 -0
- package/.aether/commands/history.yaml +137 -0
- package/.aether/commands/import-signals.yaml +79 -0
- package/.aether/commands/init.yaml +469 -0
- package/.aether/commands/insert-phase.yaml +98 -0
- package/.aether/commands/interpret.yaml +285 -0
- package/.aether/commands/lay-eggs.yaml +224 -0
- package/.aether/commands/maturity.yaml +122 -0
- package/.aether/commands/memory-details.yaml +74 -0
- package/.aether/commands/migrate-state.yaml +174 -0
- package/.aether/commands/oracle.yaml +1224 -0
- package/.aether/commands/organize.yaml +446 -0
- package/.aether/commands/patrol.yaml +621 -0
- package/.aether/commands/pause-colony.yaml +424 -0
- package/.aether/commands/phase.yaml +124 -0
- package/.aether/commands/pheromones.yaml +153 -0
- package/.aether/commands/plan.yaml +1313 -0
- package/.aether/commands/preferences.yaml +63 -0
- package/.aether/commands/redirect.yaml +123 -0
- package/.aether/commands/resume-colony.yaml +373 -0
- package/.aether/commands/resume.yaml +398 -0
- package/.aether/commands/run.yaml +193 -0
- package/.aether/commands/seal.yaml +1205 -0
- package/.aether/commands/skill-create.yaml +337 -0
- package/.aether/commands/status.yaml +364 -0
- package/.aether/commands/swarm.yaml +352 -0
- package/.aether/commands/tunnels.yaml +814 -0
- package/.aether/commands/update.yaml +131 -0
- package/.aether/commands/verify-castes.yaml +159 -0
- package/.aether/commands/watch.yaml +454 -0
- package/.aether/docs/INCIDENT_TEMPLATE.md +32 -0
- package/.aether/docs/QUEEN-SYSTEM.md +11 -11
- package/.aether/docs/README.md +32 -2
- package/.aether/docs/command-playbooks/README.md +23 -0
- package/.aether/docs/command-playbooks/build-complete.md +349 -0
- package/.aether/docs/command-playbooks/build-context.md +282 -0
- package/.aether/docs/command-playbooks/build-full.md +1682 -0
- package/.aether/docs/command-playbooks/build-prep.md +283 -0
- package/.aether/docs/command-playbooks/build-verify.md +405 -0
- package/.aether/docs/command-playbooks/build-wave.md +749 -0
- package/.aether/docs/command-playbooks/continue-advance.md +524 -0
- package/.aether/docs/command-playbooks/continue-finalize.md +447 -0
- package/.aether/docs/command-playbooks/continue-full.md +1724 -0
- package/.aether/docs/command-playbooks/continue-gates.md +686 -0
- package/.aether/docs/command-playbooks/continue-verify.md +406 -0
- package/.aether/docs/context-continuity.md +84 -0
- package/.aether/docs/disciplines/DISCIPLINES.md +9 -7
- package/.aether/docs/error-codes.md +1 -1
- package/.aether/docs/known-issues.md +34 -173
- package/.aether/docs/pheromones.md +86 -6
- package/.aether/docs/plans/pheromone-display-plan.md +257 -0
- package/.aether/docs/queen-commands.md +10 -9
- package/.aether/docs/source-of-truth-map.md +132 -0
- package/.aether/docs/xml-utilities.md +47 -0
- package/.aether/rules/aether-colony.md +23 -13
- package/.aether/scripts/incident-test-add.sh +47 -0
- package/.aether/scripts/weekly-audit.sh +79 -0
- package/.aether/skills/.index.json +649 -0
- package/.aether/skills/colony/.manifest.json +16 -0
- package/.aether/skills/colony/build-discipline/SKILL.md +78 -0
- package/.aether/skills/colony/colony-interaction/SKILL.md +56 -0
- package/.aether/skills/colony/colony-lifecycle/SKILL.md +77 -0
- package/.aether/skills/colony/colony-visuals/SKILL.md +112 -0
- package/.aether/skills/colony/context-management/SKILL.md +80 -0
- package/.aether/skills/colony/error-presentation/SKILL.md +99 -0
- package/.aether/skills/colony/pheromone-protocol/SKILL.md +79 -0
- package/.aether/skills/colony/pheromone-visibility/SKILL.md +81 -0
- package/.aether/skills/colony/state-safety/SKILL.md +84 -0
- package/.aether/skills/colony/worker-priming/SKILL.md +82 -0
- package/.aether/skills/domain/.manifest.json +24 -0
- package/.aether/skills/domain/README.md +33 -0
- package/.aether/skills/domain/django/SKILL.md +49 -0
- package/.aether/skills/domain/docker/SKILL.md +52 -0
- package/.aether/skills/domain/golang/SKILL.md +52 -0
- package/.aether/skills/domain/graphql/SKILL.md +51 -0
- package/.aether/skills/domain/html-css/SKILL.md +48 -0
- package/.aether/skills/domain/nextjs/SKILL.md +45 -0
- package/.aether/skills/domain/nodejs/SKILL.md +53 -0
- package/.aether/skills/domain/postgresql/SKILL.md +53 -0
- package/.aether/skills/domain/prisma/SKILL.md +59 -0
- package/.aether/skills/domain/python/SKILL.md +50 -0
- package/.aether/skills/domain/rails/SKILL.md +52 -0
- package/.aether/skills/domain/react/SKILL.md +45 -0
- package/.aether/skills/domain/rest-api/SKILL.md +58 -0
- package/.aether/skills/domain/svelte/SKILL.md +47 -0
- package/.aether/skills/domain/tailwind/SKILL.md +45 -0
- package/.aether/skills/domain/testing/SKILL.md +53 -0
- package/.aether/skills/domain/typescript/SKILL.md +58 -0
- package/.aether/skills/domain/vue/SKILL.md +49 -0
- package/.aether/templates/QUEEN.md.template +23 -41
- package/.aether/templates/colony-state-reset.jq.template +1 -0
- package/.aether/templates/colony-state.template.json +4 -0
- package/.aether/templates/learning-observations.template.json +6 -0
- package/.aether/templates/midden.template.json +13 -0
- package/.aether/templates/pheromones.template.json +6 -0
- package/.aether/templates/session.template.json +9 -0
- package/.aether/utils/atomic-write.sh +63 -17
- package/.aether/utils/chamber-utils.sh +145 -2
- package/.aether/utils/emoji-audit.sh +166 -0
- package/.aether/utils/error-handler.sh +21 -7
- package/.aether/utils/file-lock.sh +182 -27
- package/.aether/utils/flag.sh +267 -0
- package/.aether/utils/hive.sh +572 -0
- package/.aether/utils/learning.sh +1928 -0
- package/.aether/utils/midden.sh +342 -0
- package/.aether/utils/oracle/oracle.md +168 -0
- package/.aether/utils/oracle/oracle.sh +1023 -0
- package/.aether/utils/pheromone.sh +2029 -0
- package/.aether/utils/queen.sh +1698 -0
- package/.aether/utils/scan.sh +860 -0
- package/.aether/utils/semantic-cli.sh +10 -8
- package/.aether/utils/session.sh +552 -0
- package/.aether/utils/skills.sh +509 -0
- package/.aether/utils/spawn-tree.sh +103 -271
- package/.aether/utils/spawn.sh +260 -0
- package/.aether/utils/state-api.sh +199 -0
- package/.aether/utils/state-loader.sh +8 -6
- package/.aether/utils/suggest.sh +611 -0
- package/.aether/utils/swarm-display.sh +10 -1
- package/.aether/utils/swarm.sh +1004 -0
- package/.aether/utils/watch-spawn-tree.sh +11 -2
- package/.aether/utils/xml-compose.sh +2 -2
- package/.aether/utils/xml-convert.sh +9 -5
- package/.aether/utils/xml-core.sh +5 -9
- package/.aether/utils/xml-query.sh +4 -4
- package/.aether/workers.md +86 -67
- package/.claude/agents/ant/aether-ambassador.md +2 -1
- package/.claude/agents/ant/aether-archaeologist.md +6 -1
- package/.claude/agents/ant/aether-architect.md +236 -0
- package/.claude/agents/ant/aether-auditor.md +6 -1
- package/.claude/agents/ant/aether-builder.md +38 -1
- package/.claude/agents/ant/aether-chaos.md +2 -1
- package/.claude/agents/ant/aether-chronicler.md +1 -0
- package/.claude/agents/ant/aether-gatekeeper.md +6 -1
- package/.claude/agents/ant/aether-includer.md +1 -0
- package/.claude/agents/ant/aether-keeper.md +1 -0
- package/.claude/agents/ant/aether-measurer.md +6 -1
- package/.claude/agents/ant/aether-oracle.md +237 -0
- package/.claude/agents/ant/aether-probe.md +2 -1
- package/.claude/agents/ant/aether-queen.md +6 -1
- package/.claude/agents/ant/aether-route-setter.md +6 -1
- package/.claude/agents/ant/aether-sage.md +68 -3
- package/.claude/agents/ant/aether-scout.md +38 -1
- package/.claude/agents/ant/aether-surveyor-disciplines.md +2 -1
- package/.claude/agents/ant/aether-surveyor-nest.md +2 -1
- package/.claude/agents/ant/aether-surveyor-pathogens.md +2 -1
- package/.claude/agents/ant/aether-surveyor-provisions.md +2 -1
- package/.claude/agents/ant/aether-tracker.md +6 -1
- package/.claude/agents/ant/aether-watcher.md +37 -1
- package/.claude/agents/ant/aether-weaver.md +2 -1
- package/.claude/commands/ant/archaeology.md +1 -8
- package/.claude/commands/ant/build.md +43 -1159
- package/.claude/commands/ant/chaos.md +1 -14
- package/.claude/commands/ant/colonize.md +1 -14
- package/.claude/commands/ant/continue.md +40 -1026
- package/.claude/commands/ant/council.md +9 -16
- package/.claude/commands/ant/data-clean.md +81 -0
- package/.claude/commands/ant/dream.md +12 -9
- package/.claude/commands/ant/entomb.md +62 -87
- package/.claude/commands/ant/export-signals.md +57 -0
- package/.claude/commands/ant/feedback.md +18 -0
- package/.claude/commands/ant/flag.md +12 -0
- package/.claude/commands/ant/flags.md +22 -8
- package/.claude/commands/ant/focus.md +18 -0
- package/.claude/commands/ant/help.md +40 -8
- package/.claude/commands/ant/history.md +3 -0
- package/.claude/commands/ant/import-signals.md +71 -0
- package/.claude/commands/ant/init.md +316 -191
- package/.claude/commands/ant/insert-phase.md +101 -0
- package/.claude/commands/ant/interpret.md +11 -0
- package/.claude/commands/ant/lay-eggs.md +167 -158
- package/.claude/commands/ant/maturity.md +22 -11
- package/.claude/commands/ant/memory-details.md +77 -0
- package/.claude/commands/ant/migrate-state.md +6 -0
- package/.claude/commands/ant/oracle.md +317 -62
- package/.claude/commands/ant/organize.md +10 -5
- package/.claude/commands/ant/patrol.md +620 -0
- package/.claude/commands/ant/pause-colony.md +8 -22
- package/.claude/commands/ant/phase.md +26 -37
- package/.claude/commands/ant/pheromones.md +156 -0
- package/.claude/commands/ant/plan.md +175 -52
- package/.claude/commands/ant/preferences.md +65 -0
- package/.claude/commands/ant/redirect.md +18 -0
- package/.claude/commands/ant/resume-colony.md +34 -20
- package/.claude/commands/ant/resume.md +51 -7
- package/.claude/commands/ant/run.md +195 -0
- package/.claude/commands/ant/seal.md +497 -78
- package/.claude/commands/ant/skill-create.md +286 -0
- package/.claude/commands/ant/status.md +127 -1
- package/.claude/commands/ant/swarm.md +11 -23
- package/.claude/commands/ant/tunnels.md +1 -0
- package/.claude/commands/ant/update.md +58 -135
- package/.claude/commands/ant/verify-castes.md +90 -42
- package/.claude/commands/ant/watch.md +1 -0
- package/.opencode/agents/aether-ambassador.md +1 -1
- package/.opencode/agents/aether-architect.md +133 -0
- package/.opencode/agents/aether-builder.md +3 -3
- package/.opencode/agents/aether-oracle.md +137 -0
- package/.opencode/agents/aether-queen.md +1 -1
- package/.opencode/agents/aether-route-setter.md +1 -1
- package/.opencode/agents/aether-scout.md +1 -1
- package/.opencode/agents/aether-surveyor-disciplines.md +6 -1
- package/.opencode/agents/aether-surveyor-nest.md +6 -1
- package/.opencode/agents/aether-surveyor-pathogens.md +6 -1
- package/.opencode/agents/aether-surveyor-provisions.md +6 -1
- package/.opencode/agents/aether-tracker.md +1 -1
- package/.opencode/agents/aether-watcher.md +1 -1
- package/.opencode/agents/aether-weaver.md +1 -1
- package/.opencode/commands/ant/archaeology.md +7 -14
- package/.opencode/commands/ant/build.md +54 -88
- package/.opencode/commands/ant/chaos.md +7 -24
- package/.opencode/commands/ant/colonize.md +8 -17
- package/.opencode/commands/ant/continue.md +595 -66
- package/.opencode/commands/ant/council.md +11 -22
- package/.opencode/commands/ant/data-clean.md +77 -0
- package/.opencode/commands/ant/dream.md +15 -17
- package/.opencode/commands/ant/entomb.md +28 -18
- package/.opencode/commands/ant/export-signals.md +54 -0
- package/.opencode/commands/ant/feedback.md +24 -5
- package/.opencode/commands/ant/flag.md +16 -4
- package/.opencode/commands/ant/flags.md +24 -10
- package/.opencode/commands/ant/focus.md +22 -5
- package/.opencode/commands/ant/help.md +41 -8
- package/.opencode/commands/ant/history.md +9 -0
- package/.opencode/commands/ant/import-signals.md +68 -0
- package/.opencode/commands/ant/init.md +365 -156
- package/.opencode/commands/ant/insert-phase.md +107 -0
- package/.opencode/commands/ant/interpret.md +16 -0
- package/.opencode/commands/ant/lay-eggs.md +184 -112
- package/.opencode/commands/ant/maturity.md +18 -2
- package/.opencode/commands/ant/memory-details.md +83 -0
- package/.opencode/commands/ant/migrate-state.md +12 -0
- package/.opencode/commands/ant/oracle.md +322 -67
- package/.opencode/commands/ant/organize.md +14 -12
- package/.opencode/commands/ant/patrol.md +626 -0
- package/.opencode/commands/ant/pause-colony.md +12 -29
- package/.opencode/commands/ant/phase.md +30 -40
- package/.opencode/commands/ant/pheromones.md +162 -0
- package/.opencode/commands/ant/plan.md +184 -56
- package/.opencode/commands/ant/preferences.md +71 -0
- package/.opencode/commands/ant/redirect.md +22 -5
- package/.opencode/commands/ant/resume-colony.md +38 -27
- package/.opencode/commands/ant/resume.md +71 -20
- package/.opencode/commands/ant/run.md +201 -0
- package/.opencode/commands/ant/seal.md +230 -25
- package/.opencode/commands/ant/skill-create.md +63 -0
- package/.opencode/commands/ant/status.md +124 -31
- package/.opencode/commands/ant/swarm.md +3 -345
- package/.opencode/commands/ant/tunnels.md +3 -9
- package/.opencode/commands/ant/update.md +63 -127
- package/.opencode/commands/ant/verify-castes.md +96 -42
- package/.opencode/commands/ant/watch.md +7 -0
- package/CHANGELOG.md +278 -1
- package/README.md +188 -340
- package/bin/cli.js +236 -429
- package/bin/generate-commands.js +186 -0
- package/bin/generate-commands.sh +128 -89
- package/bin/lib/spawn-logger.js +0 -15
- package/bin/lib/update-transaction.js +285 -35
- package/bin/npx-install.js +178 -0
- package/bin/validate-package.sh +85 -3
- package/package.json +7 -3
- package/.aether/CONTEXT.md +0 -160
- package/.aether/docs/QUEEN.md +0 -84
- package/.aether/exchange/colony-registry.xml +0 -11
- package/.aether/exchange/pheromones.xml +0 -87
- package/.aether/exchange/queen-wisdom.xml +0 -14
- package/.aether/model-profiles.yaml +0 -100
- package/.aether/utils/spawn-with-model.sh +0 -56
- package/bin/lib/model-profiles.js +0 -445
- package/bin/lib/model-verify.js +0 -288
- package/bin/lib/proxy-health.js +0 -253
- package/bin/lib/telemetry.js +0 -441
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/insert-phase.yaml - DO NOT EDIT DIRECTLY -->
|
|
2
|
+
---
|
|
3
|
+
name: ant:insert-phase
|
|
4
|
+
description: "➕🐜 Insert a corrective phase into the active plan"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are the **Queen**. Insert a new corrective phase without forcing the user to provide flags.
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
|
|
11
|
+
### Step 1: Validate Colony State
|
|
12
|
+
|
|
13
|
+
Read `.aether/data/COLONY_STATE.json`.
|
|
14
|
+
|
|
15
|
+
If `goal` is null:
|
|
16
|
+
`No colony initialized. Run /ant:init first.`
|
|
17
|
+
Stop.
|
|
18
|
+
|
|
19
|
+
If `plan.phases` is empty:
|
|
20
|
+
`No project plan. Run /ant:plan first.`
|
|
21
|
+
Stop.
|
|
22
|
+
|
|
23
|
+
Determine:
|
|
24
|
+
- `current_phase`
|
|
25
|
+
- `total_phases`
|
|
26
|
+
- `current_phase_name` (if available)
|
|
27
|
+
|
|
28
|
+
### Step 2: Collect Minimal Input
|
|
29
|
+
|
|
30
|
+
This command is designed to work with no arguments.
|
|
31
|
+
|
|
32
|
+
If `$ARGUMENTS` is non-empty:
|
|
33
|
+
- Use `$ARGUMENTS` as the issue summary.
|
|
34
|
+
- Skip the first question.
|
|
35
|
+
|
|
36
|
+
Otherwise ask:
|
|
37
|
+
```text
|
|
38
|
+
What is not working and needs a corrective phase?
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Then ask:
|
|
42
|
+
```text
|
|
43
|
+
What should the inserted phase accomplish?
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Then ask (optional):
|
|
47
|
+
```text
|
|
48
|
+
Any hard constraints to enforce while fixing this? (or say "none")
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
If constraints answer is `none` (case-insensitive), treat constraints as empty.
|
|
52
|
+
|
|
53
|
+
### Step 3: Derive Phase Name
|
|
54
|
+
|
|
55
|
+
Create a concise phase name from the user goal:
|
|
56
|
+
- Start with `Stabilize`
|
|
57
|
+
- Add a short noun phrase from the goal (max 6 words)
|
|
58
|
+
- Keep under 80 characters
|
|
59
|
+
|
|
60
|
+
Example:
|
|
61
|
+
- Goal: `Fix retry flow and stop duplicate requests`
|
|
62
|
+
- Name: `Stabilize retry flow and duplicate requests`
|
|
63
|
+
|
|
64
|
+
### Step 4: Insert Phase Safely
|
|
65
|
+
|
|
66
|
+
Run using the Bash tool with description "Inserting corrective phase...":
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
bash .aether/aether-utils.sh phase-insert "<phase_name>" "<goal_text>" "<constraints_text>"
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Parse JSON result:
|
|
73
|
+
- If `ok != true`, display error and stop.
|
|
74
|
+
- Extract `inserted_phase_id` and `after_phase`.
|
|
75
|
+
|
|
76
|
+
### Step 5: Confirm Outcome
|
|
77
|
+
|
|
78
|
+
Display:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
Inserted corrective phase successfully.
|
|
82
|
+
New phase: <inserted_phase_id> — <phase_name>
|
|
83
|
+
Inserted after phase: <after_phase>
|
|
84
|
+
Goal: <goal_text>
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
If constraints were provided, also display:
|
|
88
|
+
```text
|
|
89
|
+
Constraints captured: <constraints_text>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Step 6: Next Up
|
|
93
|
+
|
|
94
|
+
Show:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
Next steps:
|
|
98
|
+
/ant:phase <inserted_phase_id> Review inserted phase details
|
|
99
|
+
/ant:build <inserted_phase_id> Execute corrective phase
|
|
100
|
+
/ant:status Verify updated plan state
|
|
101
|
+
```
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/interpret.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:interpret
|
|
3
4
|
description: "🔍🐜💭🐜🔍 The Interpreter - grounds dreams in reality, validates against codebase, and discusses what to implement"
|
|
@@ -52,11 +53,14 @@ Also read in parallel:
|
|
|
52
53
|
|
|
53
54
|
### Step 2: Display Header
|
|
54
55
|
|
|
56
|
+
|
|
55
57
|
```
|
|
56
58
|
🔍🐜💭🐜🔍 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
57
59
|
D R E A M I N T E R P R E T E R
|
|
58
60
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍🐜💭🐜🔍
|
|
59
61
|
|
|
62
|
+
|
|
63
|
+
|
|
60
64
|
📓 Reviewing: {dream_filename}
|
|
61
65
|
{N} dreams | {concerns} concerns | {pheromones} suggested pheromones
|
|
62
66
|
|
|
@@ -146,11 +150,14 @@ Verdict emoji mapping:
|
|
|
146
150
|
|
|
147
151
|
After all dreams are interpreted, display:
|
|
148
152
|
|
|
153
|
+
|
|
149
154
|
```
|
|
150
155
|
🔍🐜💭🐜🔍 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
151
156
|
I N T E R P R E T A T I O N C O M P L E T E
|
|
152
157
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍🐜💭🐜🔍
|
|
153
158
|
|
|
159
|
+
|
|
160
|
+
|
|
154
161
|
📊 Results:
|
|
155
162
|
{confirmed_count} confirmed | {partial_count} partially confirmed | {unconfirmed_count} unconfirmed | {refuted_count} refuted
|
|
156
163
|
|
|
@@ -218,7 +225,9 @@ Wait for user response.
|
|
|
218
225
|
|
|
219
226
|
### Step 7: Log Activity
|
|
220
227
|
|
|
228
|
+
|
|
221
229
|
Run using the Bash tool with description "Logging interpretation activity...":
|
|
230
|
+
|
|
222
231
|
```bash
|
|
223
232
|
bash .aether/aether-utils.sh activity-log "INTERPRET" "Interpreter" "Dream review: {dream_file}, {confirmed} confirmed, {partial} partial, {unconfirmed} unconfirmed, {refuted} refuted, {actions_taken} actions taken"
|
|
224
233
|
```
|
|
@@ -244,6 +253,7 @@ bash .aether/aether-utils.sh activity-log "INTERPRET" "Interpreter" "Dream revie
|
|
|
244
253
|
/ant:build 🔨 Start building
|
|
245
254
|
```
|
|
246
255
|
|
|
256
|
+
|
|
247
257
|
### Step 9: Next Up
|
|
248
258
|
|
|
249
259
|
Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
@@ -254,6 +264,7 @@ total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
|
|
|
254
264
|
bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
|
|
255
265
|
```
|
|
256
266
|
|
|
267
|
+
|
|
257
268
|
## Investigation Guidelines
|
|
258
269
|
|
|
259
270
|
When investigating dreams, remember:
|
|
@@ -1,201 +1,210 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/lay-eggs.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:lay-eggs
|
|
3
|
-
description: "🥚🐜🥚
|
|
4
|
+
description: "🥚🐜🥚 Set up Aether in this repo — creates .aether/ with all system files"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
You are the **Queen**.
|
|
7
|
+
You are the **Queen**. Prepare this repository for Aether colony development.
|
|
7
8
|
|
|
8
9
|
## Instructions
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
- If contains `--no-visual`: set `visual_mode = false` (visual is ON by default)
|
|
12
|
-
- Otherwise: set `visual_mode = true`
|
|
11
|
+
This command sets up the `.aether/` directory structure and copies all system files from the global hub. It does NOT start a colony — that's what `/ant:init "goal"` is for.
|
|
13
12
|
|
|
14
13
|
<failure_modes>
|
|
15
|
-
###
|
|
16
|
-
If
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
###
|
|
22
|
-
If
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
- Offer examples of well-formed goals
|
|
14
|
+
### Hub Not Found
|
|
15
|
+
If `~/.aether/system/aether-utils.sh` does not exist:
|
|
16
|
+
- The global hub is not installed
|
|
17
|
+
- Tell the user to run `npm install -g aether-colony` first
|
|
18
|
+
- Stop — cannot proceed without hub
|
|
19
|
+
|
|
20
|
+
### Partial Copy Failure
|
|
21
|
+
If some files fail to copy from hub:
|
|
22
|
+
- Report which files succeeded and which failed
|
|
23
|
+
- The user can re-run `/ant:lay-eggs` safely (idempotent)
|
|
26
24
|
</failure_modes>
|
|
27
25
|
|
|
28
26
|
<success_criteria>
|
|
29
27
|
Command is complete when:
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
28
|
+
- `.aether/` directory exists with all subdirectories
|
|
29
|
+
- System files (aether-utils.sh, workers.md, etc.) are present
|
|
30
|
+
- Templates, docs, utils, schemas are populated
|
|
31
|
+
- QUEEN.md is initialized
|
|
32
|
+
- User sees confirmation and next steps
|
|
33
33
|
</success_criteria>
|
|
34
34
|
|
|
35
35
|
<read_only>
|
|
36
36
|
Do not touch during lay-eggs:
|
|
37
|
-
- .aether/
|
|
38
|
-
- .aether/
|
|
39
|
-
-
|
|
37
|
+
- .aether/data/COLONY_STATE.json (colony state belongs to init)
|
|
38
|
+
- .aether/dreams/ contents (user notes — create dir but don't modify files)
|
|
39
|
+
- .aether/chambers/ contents (archived colonies — create dir but don't modify files)
|
|
40
|
+
- Source code files
|
|
40
41
|
- .env* files
|
|
41
42
|
- .claude/settings.json
|
|
42
43
|
</read_only>
|
|
43
44
|
|
|
44
|
-
### Step
|
|
45
|
+
### Step 1: Check Hub Availability
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
# Generate session ID and persist it for later steps
|
|
49
|
-
layeggs_id="layeggs-$(date +%s)"
|
|
50
|
-
echo "$layeggs_id" > .aether/data/.layeggs_session
|
|
47
|
+
Check if the global hub exists by reading `~/.aether/system/aether-utils.sh` (expand `~` to the user's home directory).
|
|
51
48
|
|
|
52
|
-
|
|
53
|
-
bash .aether/aether-utils.sh swarm-display-init "$layeggs_id"
|
|
54
|
-
bash .aether/aether-utils.sh swarm-display-update "Queen" "prime" "excavating" "Laying first eggs" "Colony" '{"read":0,"grep":0,"edit":0,"bash":0}' 0 "nursery" 0
|
|
49
|
+
**If the hub does NOT exist:**
|
|
55
50
|
```
|
|
51
|
+
Aether hub not found at ~/.aether/system/
|
|
52
|
+
|
|
53
|
+
The global hub must be installed before setting up a repo.
|
|
54
|
+
|
|
55
|
+
npm install -g aether-colony
|
|
56
|
+
|
|
57
|
+
This installs the Aether CLI and populates the hub at ~/.aether/system/
|
|
58
|
+
with all the system files your repo needs.
|
|
56
59
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- If `$ARGUMENTS` is empty:
|
|
60
|
-
```
|
|
61
|
-
Usage: /ant:lay-eggs "<new colony goal>"
|
|
62
|
-
|
|
63
|
-
Start a fresh colony, preserving pheromones from prior colonies.
|
|
64
|
-
Requires current colony to be entombed or reset.
|
|
65
|
-
|
|
66
|
-
Example:
|
|
67
|
-
/ant:lay-eggs "Build a REST API with authentication"
|
|
68
|
-
```
|
|
69
|
-
Stop here.
|
|
70
|
-
|
|
71
|
-
### Step 2: Check Current Colony
|
|
72
|
-
|
|
73
|
-
- Read `.aether/data/COLONY_STATE.json`
|
|
74
|
-
- If goal is not null AND phases exist with status != "completed":
|
|
75
|
-
```
|
|
76
|
-
🚫 Cannot lay eggs — active colony has unsaved pheromones
|
|
77
|
-
|
|
78
|
-
Active colony: {goal}
|
|
79
|
-
Current: Phase {current_phase}, {phases_count} phases in plan
|
|
80
|
-
|
|
81
|
-
┌─────────────────────────────────────────────────────────┐
|
|
82
|
-
│ COLONY LIFECYCLE │
|
|
83
|
-
├─────────────────────────────────────────────────────────┤
|
|
84
|
-
│ │
|
|
85
|
-
│ 🟢 ACTIVE COLONY → 🏺 SEAL/ENTOMB → 🥚 LAY EGGS │
|
|
86
|
-
│ (working) (preserve memory) (new goal) │
|
|
87
|
-
│ │
|
|
88
|
-
└─────────────────────────────────────────────────────────┘
|
|
89
|
-
|
|
90
|
-
Why this matters:
|
|
91
|
-
Your active colony contains preserved learnings, decisions, and
|
|
92
|
-
instincts (pheromones) from prior work. These must be sealed
|
|
93
|
-
before starting a new project, or they will be lost forever.
|
|
94
|
-
|
|
95
|
-
To start a new colony:
|
|
96
|
-
1. Complete work → run `/ant:seal` or `/ant:entomb` to archive
|
|
97
|
-
2. Then run `/ant:lay-eggs "new goal"` to begin fresh
|
|
98
|
-
|
|
99
|
-
Emergency reset (loses all pheromones):
|
|
100
|
-
rm .aether/data/COLONY_STATE.json
|
|
101
|
-
```
|
|
102
|
-
Stop here.
|
|
103
|
-
|
|
104
|
-
### Step 3: Extract Preserved Knowledge
|
|
105
|
-
|
|
106
|
-
- Read current state to extract preserved fields:
|
|
107
|
-
- `memory.phase_learnings` (all items)
|
|
108
|
-
- `memory.decisions` (all items)
|
|
109
|
-
- `memory.instincts` (all items with confidence >= 0.5)
|
|
110
|
-
- Store for use in Step 4
|
|
111
|
-
|
|
112
|
-
### Step 4: Create New Colony State
|
|
113
|
-
|
|
114
|
-
Generate new state following RESEARCH.md Pattern 2 (State Reset with Pheromone Preservation):
|
|
115
|
-
|
|
116
|
-
**Fields to preserve from old state:**
|
|
117
|
-
- memory.phase_learnings
|
|
118
|
-
- memory.decisions
|
|
119
|
-
- memory.instincts (high confidence only)
|
|
120
|
-
|
|
121
|
-
**Fields to reset:**
|
|
122
|
-
- goal: new goal from $ARGUMENTS
|
|
123
|
-
- state: "READY"
|
|
124
|
-
- current_phase: 0
|
|
125
|
-
- session_id: new session_{unix_timestamp}_{random}
|
|
126
|
-
- initialized_at: current ISO-8601 timestamp
|
|
127
|
-
- build_started_at: null
|
|
128
|
-
- plan: { generated_at: null, confidence: null, phases: [] }
|
|
129
|
-
- errors: { records: [], flagged_patterns: [] }
|
|
130
|
-
- signals: []
|
|
131
|
-
- graveyards: []
|
|
132
|
-
- events: [colony_initialized event with new goal]
|
|
133
|
-
|
|
134
|
-
**New milestone fields:**
|
|
135
|
-
- milestone: "First Mound"
|
|
136
|
-
- milestone_updated_at: current timestamp
|
|
137
|
-
- milestone_version: "v0.1.0"
|
|
138
|
-
|
|
139
|
-
Write to `.aether/data/COLONY_STATE.json`
|
|
140
|
-
|
|
141
|
-
### Step 5: Reset Constraints
|
|
142
|
-
|
|
143
|
-
Write `.aether/data/constraints.json`:
|
|
144
|
-
```json
|
|
145
|
-
{
|
|
146
|
-
"version": "1.0",
|
|
147
|
-
"focus": [],
|
|
148
|
-
"constraints": []
|
|
149
|
-
}
|
|
60
|
+
After installing, run /ant:lay-eggs again.
|
|
150
61
|
```
|
|
62
|
+
Stop here.
|
|
63
|
+
|
|
64
|
+
### Step 2: Check Existing Setup
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Check if `.aether/aether-utils.sh` already exists using the Read tool.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
**If it exists:**
|
|
72
|
+
```
|
|
73
|
+
Aether is already set up in this repo.
|
|
74
|
+
|
|
75
|
+
Refreshing system files from hub...
|
|
76
|
+
```
|
|
77
|
+
Proceed to Step 3 (this makes the command safe to re-run as an update/repair).
|
|
78
|
+
|
|
79
|
+
**If it does NOT exist:**
|
|
80
|
+
```
|
|
81
|
+
Setting up Aether in this repo...
|
|
82
|
+
```
|
|
83
|
+
Proceed to Step 3.
|
|
84
|
+
|
|
85
|
+
### Step 3: Create Directory Structure
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
Run using the Bash tool with description "Creating Aether directory structure...":
|
|
151
89
|
|
|
152
|
-
### Step 6: Display Result
|
|
153
90
|
|
|
154
|
-
**If visual_mode is true, render final swarm display** by running using the Bash tool with description "Updating colony display...":
|
|
155
91
|
```bash
|
|
156
|
-
|
|
157
|
-
|
|
92
|
+
mkdir -p \
|
|
93
|
+
.aether/data \
|
|
94
|
+
.aether/data/midden \
|
|
95
|
+
.aether/data/backups \
|
|
96
|
+
.aether/data/survey \
|
|
97
|
+
.aether/dreams \
|
|
98
|
+
.aether/chambers \
|
|
99
|
+
.aether/locks \
|
|
100
|
+
.aether/temp \
|
|
101
|
+
.aether/docs \
|
|
102
|
+
.aether/utils \
|
|
103
|
+
.aether/templates \
|
|
104
|
+
.aether/schemas \
|
|
105
|
+
.aether/exchange \
|
|
106
|
+
.aether/rules \
|
|
107
|
+
.aether/scripts \
|
|
108
|
+
.claude/rules && \
|
|
109
|
+
touch .aether/dreams/.gitkeep && \
|
|
110
|
+
touch .aether/chambers/.gitkeep && \
|
|
111
|
+
touch .aether/data/midden/.gitkeep
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Step 4: Copy System Files from Hub
|
|
115
|
+
|
|
158
116
|
|
|
159
|
-
|
|
160
|
-
|
|
117
|
+
Run using the Bash tool with description "Copying system files from hub...":
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
# Core system files
|
|
122
|
+
cp -f ~/.aether/system/aether-utils.sh .aether/ && \
|
|
123
|
+
chmod +x .aether/aether-utils.sh && \
|
|
124
|
+
cp -f ~/.aether/system/workers.md .aether/ 2>/dev/null || true && \
|
|
125
|
+
cp -f ~/.aether/system/CONTEXT.md .aether/ 2>/dev/null || true && \
|
|
126
|
+
# Directories
|
|
127
|
+
cp -Rf ~/.aether/system/docs/* .aether/docs/ 2>/dev/null || true && \
|
|
128
|
+
cp -Rf ~/.aether/system/utils/* .aether/utils/ 2>/dev/null || true && \
|
|
129
|
+
cp -Rf ~/.aether/system/templates/* .aether/templates/ 2>/dev/null || true && \
|
|
130
|
+
cp -Rf ~/.aether/system/schemas/* .aether/schemas/ 2>/dev/null || true && \
|
|
131
|
+
cp -Rf ~/.aether/system/exchange/* .aether/exchange/ 2>/dev/null || true && \
|
|
132
|
+
cp -Rf ~/.aether/system/rules/* .claude/rules/ 2>/dev/null || true && \
|
|
133
|
+
|
|
134
|
+
# Version tracking
|
|
135
|
+
cp -f ~/.aether/version.json .aether/version.json 2>/dev/null || true
|
|
136
|
+
|
|
137
|
+
echo "System files copied."
|
|
161
138
|
```
|
|
162
139
|
|
|
140
|
+
### Step 5: Initialize QUEEN.md
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
Run using the Bash tool with description "Initializing QUEEN.md...":
|
|
144
|
+
```bash
|
|
145
|
+
bash .aether/aether-utils.sh queen-init
|
|
163
146
|
```
|
|
164
|
-
🥚 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
165
|
-
F I R S T E G G S L A I D
|
|
166
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🥚
|
|
167
147
|
|
|
168
|
-
👑 New colony goal:
|
|
169
|
-
"{goal}"
|
|
170
148
|
|
|
171
|
-
🏆 Milestone: First Mound (v0.1.0)
|
|
172
149
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
150
|
+
Parse the JSON result:
|
|
151
|
+
- If `created` is true: note `QUEEN.md initialized`
|
|
152
|
+
- If `created` is false: note `QUEEN.md already exists (preserved)`
|
|
153
|
+
|
|
154
|
+
### Step 6: Register Repo (Silent)
|
|
155
|
+
|
|
156
|
+
Attempt to register this repo in the global hub. Silent on failure — registry is optional.
|
|
177
157
|
|
|
178
|
-
🐜 The colony begins anew.
|
|
179
158
|
|
|
180
|
-
|
|
181
|
-
|
|
159
|
+
Run using the Bash tool with description "Registering repo..." (ignore errors):
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
bash .aether/aether-utils.sh registry-add "$(pwd)" "$(jq -r '.version // "unknown"' ~/.aether/version.json 2>/dev/null || echo 'unknown')" 2>/dev/null || true
|
|
182
164
|
```
|
|
183
165
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
166
|
+
### Step 7: Verify Setup
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
Run using the Bash tool with description "Verifying setup...":
|
|
187
170
|
|
|
188
|
-
### Step 7: Next Up
|
|
189
171
|
|
|
190
|
-
Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
191
172
|
```bash
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
173
|
+
# Count what was set up
|
|
174
|
+
dirs=0
|
|
175
|
+
files=0
|
|
176
|
+
for d in .aether/data .aether/docs .aether/utils .aether/templates .aether/schemas .aether/exchange .aether/dreams .aether/chambers; do
|
|
177
|
+
[ -d "$d" ] && dirs=$((dirs + 1))
|
|
178
|
+
done
|
|
179
|
+
[ -f .aether/aether-utils.sh ] && files=$((files + 1))
|
|
180
|
+
[ -f .aether/workers.md ] && files=$((files + 1))
|
|
181
|
+
[ -f .aether/QUEEN.md ] && files=$((files + 1))
|
|
182
|
+
[ -f .aether/CONTEXT.md ] && files=$((files + 1))
|
|
183
|
+
[ -d .aether/templates ] && templates=$(ls .aether/templates/*.template.* 2>/dev/null | wc -l | tr -d ' ') || templates=0
|
|
184
|
+
[ -d .aether/utils ] && utils=$(ls .aether/utils/*.sh 2>/dev/null | wc -l | tr -d ' ') || utils=0
|
|
185
|
+
|
|
186
|
+
echo "{\"dirs\": $dirs, \"core_files\": $files, \"templates\": $templates, \"utils\": $utils}"
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Parse the JSON output for the display step.
|
|
190
|
+
|
|
191
|
+
### Step 8: Display Result
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
🥚 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
196
|
+
A E T H E R R E A D Y
|
|
197
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🥚
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
{dirs} directories created
|
|
202
|
+
{core_files} core system files
|
|
203
|
+
{templates} templates ({utils} utils modules)
|
|
204
|
+
|
|
205
|
+
To start a colony:
|
|
206
|
+
/ant:init "your goal here"
|
|
207
|
+
|
|
208
|
+
To verify setup:
|
|
209
|
+
/ant:status
|
|
210
|
+
```
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/maturity.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:maturity
|
|
3
4
|
description: "👑🐜🏛️🐜👑 View colony maturity journey with ASCII art anthill"
|
|
@@ -9,7 +10,8 @@ You are the **Queen**. Display the colony's maturity journey.
|
|
|
9
10
|
|
|
10
11
|
### Step 1: Detect Current Milestone
|
|
11
12
|
|
|
12
|
-
Run using the Bash tool with description "Detecting colony milestone...":
|
|
13
|
+
Run using the Bash tool with description "Detecting colony milestone...":
|
|
14
|
+
`bash .aether/aether-utils.sh milestone-detect`
|
|
13
15
|
|
|
14
16
|
Parse JSON result to get:
|
|
15
17
|
- `milestone`: Current milestone name (First Mound, Open Chambers, Brood Stable, Ventilated Nest, Sealed Chambers, Crowned Anthill)
|
|
@@ -32,7 +34,7 @@ Display header:
|
|
|
32
34
|
.-.
|
|
33
35
|
(o o) AETHER COLONY
|
|
34
36
|
| O | Maturity Journey
|
|
35
|
-
|
|
37
|
+
`-'
|
|
36
38
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
37
39
|
|
|
38
40
|
👑 Goal: {goal (truncated to 50 chars)}
|
|
@@ -43,15 +45,19 @@ Display header:
|
|
|
43
45
|
|
|
44
46
|
### Step 4: Show ASCII Art Anthill
|
|
45
47
|
|
|
46
|
-
Read the ASCII art file for the current milestone:
|
|
47
|
-
- First Mound → `.aether/visualizations/anthill-stages/first-mound.txt`
|
|
48
|
-
- Open Chambers → `.aether/visualizations/anthill-stages/open-chambers.txt`
|
|
49
|
-
- Brood Stable → `.aether/visualizations/anthill-stages/brood-stable.txt`
|
|
50
|
-
- Ventilated Nest → `.aether/visualizations/anthill-stages/ventilated-nest.txt`
|
|
51
|
-
- Sealed Chambers → `.aether/visualizations/anthill-stages/sealed-chambers.txt`
|
|
52
|
-
- Crowned Anthill → `.aether/visualizations/anthill-stages/crowned-anthill.txt`
|
|
53
48
|
|
|
54
|
-
Display the
|
|
49
|
+
Display the current milestone with its text description (no external file needed):
|
|
50
|
+
|
|
51
|
+
- First Mound -- "A small pile of earth. The colony has broken ground."
|
|
52
|
+
- Open Chambers -- "Tunnels branch outward. Feature work is underway."
|
|
53
|
+
- Brood Stable -- "The nursery hums. Tests are consistently green."
|
|
54
|
+
- Ventilated Nest -- "Air flows freely. Performance and latency are acceptable."
|
|
55
|
+
- Sealed Chambers -- "Walls are hardened. Interfaces are frozen."
|
|
56
|
+
- Crowned Anthill -- "The spire rises. The colony is release-ready."
|
|
57
|
+
|
|
58
|
+
Display the matching description for the current milestone.
|
|
59
|
+
|
|
60
|
+
|
|
55
61
|
|
|
56
62
|
### Step 5: Show Journey Progress Bar
|
|
57
63
|
|
|
@@ -87,10 +93,14 @@ Colony Statistics:
|
|
|
87
93
|
|
|
88
94
|
### Edge Cases
|
|
89
95
|
|
|
90
|
-
|
|
96
|
+
|
|
97
|
+
- If milestone name is unrecognized: Show "Unknown milestone" with the raw name
|
|
98
|
+
|
|
99
|
+
|
|
91
100
|
- If COLONY_STATE.json missing: "No colony initialized. Run /ant:init first."
|
|
92
101
|
- If phases_completed is 0: All milestones show as upcoming except First Mound
|
|
93
102
|
|
|
103
|
+
|
|
94
104
|
### Step 7: Next Up
|
|
95
105
|
|
|
96
106
|
Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
@@ -100,3 +110,4 @@ current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
|
|
|
100
110
|
total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
|
|
101
111
|
bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
|
|
102
112
|
```
|
|
113
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/memory-details.yaml - DO NOT EDIT DIRECTLY -->
|
|
2
|
+
---
|
|
3
|
+
name: ant:memory-details
|
|
4
|
+
description: "Show detailed colony memory — wisdom, pending promotions, and recent failures"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /ant:memory-details — Colony Memory Details
|
|
8
|
+
|
|
9
|
+
Drill-down view of accumulated colony wisdom, pending promotions, and recent failures.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
/ant:memory-details
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Implementation
|
|
18
|
+
|
|
19
|
+
### Step 1: Load Memory Data
|
|
20
|
+
|
|
21
|
+
Run using the Bash tool with description "Loading colony memory...":
|
|
22
|
+
```bash
|
|
23
|
+
bash .aether/aether-utils.sh memory-metrics
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Step 2: Display Wisdom (from QUEEN.md)
|
|
27
|
+
|
|
28
|
+
Read .aether/QUEEN.md and display entries by category:
|
|
29
|
+
- Philosophies
|
|
30
|
+
- Patterns
|
|
31
|
+
- Redirects
|
|
32
|
+
- Stack
|
|
33
|
+
- Decrees
|
|
34
|
+
|
|
35
|
+
Format:
|
|
36
|
+
```
|
|
37
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
38
|
+
COLONY WISDOM (X entries)
|
|
39
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
40
|
+
|
|
41
|
+
📜 Philosophies (N)
|
|
42
|
+
- Entry 1...
|
|
43
|
+
- Entry 2...
|
|
44
|
+
|
|
45
|
+
🔧 Patterns (N)
|
|
46
|
+
- Entry 1...
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Step 3: Display Pending Promotions
|
|
50
|
+
|
|
51
|
+
Show observations meeting threshold but not yet promoted:
|
|
52
|
+
```
|
|
53
|
+
⏳ Pending Promotions (N)
|
|
54
|
+
- [type] Content... (X observations)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Show deferred proposals:
|
|
58
|
+
```
|
|
59
|
+
💤 Deferred Proposals (N)
|
|
60
|
+
- [type] Content... (deferred YYYY-MM-DD)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Step 4: Display Recent Failures
|
|
64
|
+
|
|
65
|
+
Show last 5 failures from midden:
|
|
66
|
+
```
|
|
67
|
+
⚠️ Recent Failures (N)
|
|
68
|
+
[YYYY-MM-DD HH:MM] Source: context
|
|
69
|
+
Content...
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Step 5: Summary
|
|
73
|
+
|
|
74
|
+
Show counts summary and reminder command:
|
|
75
|
+
```
|
|
76
|
+
Run /ant:status for quick overview
|
|
77
|
+
```
|