aether-colony 5.0.0 → 5.2.1
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 +3226 -3345
- 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 +442 -0
- package/.aether/commands/continue.yaml +1484 -0
- package/.aether/commands/council.yaml +509 -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 +502 -0
- package/.aether/commands/insert-phase.yaml +102 -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 +1364 -0
- package/.aether/commands/preferences.yaml +63 -0
- package/.aether/commands/quick.yaml +104 -0
- package/.aether/commands/redirect.yaml +123 -0
- package/.aether/commands/resume-colony.yaml +375 -0
- package/.aether/commands/resume.yaml +407 -0
- package/.aether/commands/run.yaml +229 -0
- package/.aether/commands/seal.yaml +1214 -0
- package/.aether/commands/skill-create.yaml +337 -0
- package/.aether/commands/status.yaml +408 -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 +1683 -0
- package/.aether/docs/command-playbooks/build-prep.md +284 -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 +1725 -0
- package/.aether/docs/command-playbooks/continue-gates.md +686 -0
- package/.aether/docs/command-playbooks/continue-verify.md +407 -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/council.sh +425 -0
- 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 +278 -0
- package/.aether/utils/hive.sh +572 -0
- package/.aether/utils/immune.sh +508 -0
- package/.aether/utils/learning.sh +1928 -0
- package/.aether/utils/midden.sh +520 -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 +1710 -0
- package/.aether/utils/scan.sh +860 -0
- package/.aether/utils/semantic-cli.sh +10 -8
- package/.aether/utils/session.sh +816 -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 +389 -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 +3 -14
- package/.claude/commands/ant/continue.md +40 -1026
- package/.claude/commands/ant/council.md +213 -15
- 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 +349 -191
- package/.claude/commands/ant/insert-phase.md +105 -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 +199 -50
- package/.claude/commands/ant/preferences.md +65 -0
- package/.claude/commands/ant/quick.md +100 -0
- package/.claude/commands/ant/redirect.md +18 -0
- package/.claude/commands/ant/resume-colony.md +37 -22
- package/.claude/commands/ant/resume.md +60 -7
- package/.claude/commands/ant/run.md +231 -0
- package/.claude/commands/ant/seal.md +506 -78
- package/.claude/commands/ant/skill-create.md +286 -0
- package/.claude/commands/ant/status.md +171 -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 +10 -17
- package/.opencode/commands/ant/continue.md +595 -66
- package/.opencode/commands/ant/council.md +150 -18
- 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 +396 -154
- package/.opencode/commands/ant/insert-phase.md +111 -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 +210 -57
- package/.opencode/commands/ant/preferences.md +71 -0
- package/.opencode/commands/ant/quick.md +91 -0
- package/.opencode/commands/ant/redirect.md +22 -5
- package/.opencode/commands/ant/resume-colony.md +41 -29
- package/.opencode/commands/ant/resume.md +80 -20
- package/.opencode/commands/ant/run.md +237 -0
- package/.opencode/commands/ant/seal.md +230 -25
- package/.opencode/commands/ant/skill-create.md +63 -0
- package/.opencode/commands/ant/status.md +125 -30
- 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 +368 -1
- package/README.md +195 -324
- 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 +16 -4
- 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
|
@@ -1,85 +1,139 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/verify-castes.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:verify-castes
|
|
3
4
|
description: "Verify colony caste assignments and system status"
|
|
4
5
|
---
|
|
5
6
|
|
|
7
|
+
### Step -1: Normalize Arguments
|
|
8
|
+
|
|
9
|
+
Run: `normalized_args=$(bash .aether/aether-utils.sh normalize-args "$@")`
|
|
10
|
+
|
|
11
|
+
This ensures arguments work correctly in both Claude Code and OpenCode. Use `$normalized_args` throughout this command.
|
|
12
|
+
|
|
6
13
|
You are the **Queen**. Display the caste assignments and system status.
|
|
7
14
|
|
|
8
15
|
## Step 1: Show Caste Assignments
|
|
9
16
|
|
|
10
|
-
Display the colony caste structure:
|
|
17
|
+
Display the colony caste structure as a compact table:
|
|
18
|
+
|
|
19
|
+
|
|
11
20
|
|
|
12
21
|
```
|
|
13
22
|
Aether Colony Caste System
|
|
14
|
-
|
|
23
|
+
═════════════════════════════════════════
|
|
24
|
+
|
|
15
25
|
|
|
16
26
|
CASTE ASSIGNMENTS
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
────────────────────────────────────
|
|
28
|
+
Caste Slot Active
|
|
29
|
+
────────────────────────────────────
|
|
30
|
+
[reasoning]
|
|
31
|
+
Archaeologist opus yes
|
|
32
|
+
Architect opus yes
|
|
33
|
+
Auditor opus yes
|
|
34
|
+
Gatekeeper opus yes
|
|
35
|
+
Measurer opus yes
|
|
36
|
+
Oracle opus yes
|
|
37
|
+
Queen opus yes
|
|
38
|
+
Route-setter opus yes
|
|
39
|
+
Sage opus yes
|
|
40
|
+
Tracker opus yes
|
|
41
|
+
────────────────────────────────────
|
|
42
|
+
[execution]
|
|
43
|
+
Ambassador sonnet yes
|
|
44
|
+
Builder sonnet yes
|
|
45
|
+
Chaos sonnet yes
|
|
46
|
+
Disciplines sonnet yes
|
|
47
|
+
Nest sonnet yes
|
|
48
|
+
Pathogens sonnet yes
|
|
49
|
+
Probe sonnet yes
|
|
50
|
+
Provisions sonnet yes
|
|
51
|
+
Scout sonnet yes
|
|
52
|
+
Weaver sonnet yes
|
|
53
|
+
Watcher sonnet yes
|
|
54
|
+
────────────────────────────────────
|
|
55
|
+
[inherit]
|
|
56
|
+
Chronicler inherit yes
|
|
57
|
+
Includer inherit yes
|
|
58
|
+
Keeper inherit yes
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
═════════════════════════════════════════
|
|
62
|
+
|
|
30
63
|
```
|
|
31
64
|
|
|
65
|
+
Source of truth: Agent frontmatter `model:` fields in `.claude/agents/ant/*.md`.
|
|
66
|
+
Caste slots come from agent frontmatter (`model:` field).
|
|
67
|
+
|
|
32
68
|
## Step 2: Check System Status
|
|
33
69
|
|
|
70
|
+
|
|
71
|
+
|
|
34
72
|
Run using Bash tool: `bash .aether/aether-utils.sh version-check 2>/dev/null || echo "Utils available"`
|
|
35
73
|
|
|
74
|
+
|
|
36
75
|
Check LiteLLM proxy status:
|
|
37
76
|
```bash
|
|
38
77
|
curl -s http://localhost:4000/health 2>/dev/null | grep -q "healthy" && echo "✓ Proxy healthy" || echo "⚠ Proxy not running"
|
|
39
78
|
```
|
|
40
79
|
|
|
41
|
-
## Step 3: Show Current
|
|
80
|
+
## Step 3: Show Current Model Configuration
|
|
81
|
+
|
|
82
|
+
Display the active model configuration:
|
|
83
|
+
|
|
84
|
+
|
|
42
85
|
|
|
43
86
|
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
87
|
+
MODEL CONFIGURATION
|
|
88
|
+
════════════════════════════════
|
|
89
|
+
|
|
90
|
+
Default: Claude API mode (opus -> claude-opus-4, sonnet -> claude-sonnet-4)
|
|
91
|
+
|
|
92
|
+
To switch to GLM Proxy mode:
|
|
93
|
+
cp ~/.claude/settings.json.glm ~/.claude/settings.json
|
|
94
|
+
(opus -> glm-5, sonnet -> glm-5-turbo, haiku -> glm-4.5-air)
|
|
95
|
+
|
|
96
|
+
To switch back to Claude API:
|
|
97
|
+
cp ~/.claude/settings.json.claude ~/.claude/settings.json
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
════════════════════════════════
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
Current model mapping from agent frontmatter:
|
|
104
|
+
```bash
|
|
105
|
+
grep "^model:" .claude/agents/ant/*.md
|
|
58
106
|
```
|
|
59
107
|
|
|
60
108
|
## Step 4: Summary
|
|
61
109
|
|
|
110
|
+
|
|
111
|
+
|
|
62
112
|
```
|
|
63
|
-
|
|
113
|
+
═══════════════════════════════════════════════════════
|
|
64
114
|
System Status
|
|
65
|
-
|
|
115
|
+
═══════════════════════════════════════════════════════
|
|
116
|
+
|
|
66
117
|
Utils: ✓ Operational
|
|
67
118
|
Proxy: {status from Step 2}
|
|
68
|
-
Castes: 10
|
|
69
|
-
|
|
70
|
-
Note: Model-per-caste routing was attempted but is not
|
|
71
|
-
possible with Claude Code's Task tool (no env var support).
|
|
72
|
-
See archived config: .aether/archive/model-routing/
|
|
73
|
-
Tag: model-routing-v1-archived
|
|
119
|
+
Castes: 24 defined (10 opus, 11 sonnet, 3 inherit)
|
|
120
|
+
Routing: Per-caste via agent frontmatter model: field
|
|
74
121
|
```
|
|
75
122
|
|
|
123
|
+
|
|
124
|
+
|
|
76
125
|
## Historical Note
|
|
77
126
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
127
|
+
Per-caste model routing was initially attempted using environment variable
|
|
128
|
+
injection at spawn time (archived in `.aether/archive/model-routing/`).
|
|
129
|
+
That approach failed due to Claude Code Task tool limitations.
|
|
130
|
+
|
|
131
|
+
The current approach uses agent frontmatter `model:` fields, which Claude Code
|
|
132
|
+
handles natively. No Aether code intervention is required -- Claude Code reads
|
|
133
|
+
the frontmatter and resolves the slot name through `ANTHROPIC_DEFAULT_*_MODEL`
|
|
134
|
+
environment variables.
|
|
81
135
|
|
|
82
|
-
To view the archived configuration:
|
|
136
|
+
To view the archived v1 configuration:
|
|
83
137
|
```bash
|
|
84
138
|
git show model-routing-v1-archived
|
|
85
139
|
```
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/watch.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:watch
|
|
3
4
|
description: "👁️🔄🐜🏠🔄👁️ Set up tmux session to watch ants working in real-time"
|
|
4
5
|
---
|
|
5
6
|
|
|
7
|
+
### Step -1: Normalize Arguments
|
|
8
|
+
|
|
9
|
+
Run: `normalized_args=$(bash .aether/aether-utils.sh normalize-args "$@")`
|
|
10
|
+
|
|
11
|
+
This ensures arguments work correctly in both Claude Code and OpenCode. Use `$normalized_args` throughout this command.
|
|
12
|
+
|
|
6
13
|
You are the **Queen**. Set up live visibility into colony activity.
|
|
7
14
|
|
|
8
15
|
## Instructions
|
package/CHANGELOG.md
CHANGED
|
@@ -7,8 +7,108 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.1.0] - 2026-03-24
|
|
11
|
+
|
|
12
|
+
Six phases of production hardening (Phases 9-14) targeting reliability, maintainability, and developer experience.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **State API facade** (`state-api.sh`) -- centralized COLONY_STATE.json access with lock/validate/migrate pattern
|
|
16
|
+
- **Builder output verification** (`verify-claims`) -- cross-references builder file claims against filesystem to catch fabrication
|
|
17
|
+
- **Error handling infrastructure** (`_aether_log_error`) -- structured error logging across all modules with `[error]` prefix
|
|
18
|
+
- **SUPPRESS:OK convention** -- intentional error suppressions annotated for auditability (cleanup, read-default, existence-test, cross-platform, idempotent, validation)
|
|
19
|
+
- **Per-phase research** -- scouts investigate domain knowledge before task decomposition (`/ant:plan` Step 3.6)
|
|
20
|
+
- **Research context injection** -- builder and watcher prompts receive domain research during builds (16K character budget)
|
|
21
|
+
- **Deprecation warning system** (`_deprecation_warning`) -- 18 dead subcommands emit stderr warnings with `[deprecated]` prefix
|
|
22
|
+
- **Rolling state checkpoints** -- COLONY_STATE.json backed up before every build-wave (3 max retained)
|
|
23
|
+
- **Context trimming notification** -- colony-prime emits visible notice when context is trimmed to stay within budget
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- **Monolith modularization** -- aether-utils.sh reduced from ~11,600 to ~5,200 lines (55% reduction)
|
|
27
|
+
- 9 domain modules extracted: flag, spawn, session, suggest, queen, swarm, learning, pheromone, state-api
|
|
28
|
+
- ~72 subcommands moved to domain modules, sourced on demand
|
|
29
|
+
- All 580+ tests passing with modularized structure
|
|
30
|
+
- **Error handling overhaul** -- ~110 lazy error suppressions replaced with proper fallbacks, ~48 dangerous suppressions on state-mutation paths fixed with explicit error handling
|
|
31
|
+
- **Continue-advance state writes** -- now go through locked subcommand (prevents concurrent corruption)
|
|
32
|
+
- **Help JSON** -- updated with deprecation markers and Deprecated section
|
|
33
|
+
- **Documentation accuracy** -- all docs/ files swept for stale counts, line numbers, and dates; comprehensive v2.1 changelog added
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
- **Hive wisdom type coercion** -- retrieval works regardless of string/number confidence format
|
|
37
|
+
- **Midden race condition** -- PID-scoped temp files prevent concurrent write data loss
|
|
38
|
+
- **Learning recovery** -- corrupted learning-observations.json auto-recovers from template
|
|
39
|
+
- **Date-sensitive test failures** -- dynamic dates (futureISO) prevent recurring expiration failures
|
|
40
|
+
- **Context-continuity test** -- pre-existing failure fixed (QUAL-09)
|
|
41
|
+
|
|
42
|
+
## [2.0.0] - 2026-03-21
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- **Hive Brain** — cross-colony wisdom sharing with domain-scoped retrieval, 200-entry LRU, multi-repo confidence boosting
|
|
46
|
+
- **Autopilot (`/ant:run`)** — automated build-verify-advance loop with smart pausing
|
|
47
|
+
- **User Preferences** — colony adapts to user communication style via QUEEN.md
|
|
48
|
+
- **Quality gate agents** — Probe (coverage), Auditor (quality), Gatekeeper (security), Measurer (performance)
|
|
49
|
+
- **`instinct-apply` subcommand** — tracks instinct usage with confidence adjustment
|
|
50
|
+
- **`midden-review` subcommand** — lists unacknowledged failures grouped by category
|
|
51
|
+
- **`midden-acknowledge` subcommand** — marks midden entries as addressed
|
|
52
|
+
- **Pheromone content deduplication** — SHA-256 hashing prevents duplicate signals
|
|
53
|
+
- **Pheromone prompt injection sanitization** — blocks LLM instruction override attempts
|
|
54
|
+
- **Colony-prime token budget** — 8000/4000 char budget with priority-based truncation
|
|
55
|
+
- **`/ant:patrol`** — comprehensive pre-seal audit of work against plan
|
|
56
|
+
- **Colony pheromone exchange** — XML export/import for cross-colony signal sharing
|
|
57
|
+
|
|
10
58
|
### Changed
|
|
11
|
-
-
|
|
59
|
+
- **Monolith decomposition** — extracted hive-* (561 lines) and midden-* (260 lines) from aether-utils.sh to .aether/utils/
|
|
60
|
+
- **Instinct trigger format** — triggers stored without "When" prefix; display/promotion adds it
|
|
61
|
+
- **Learning-promote-auto** — recurrence-calibrated confidence formula
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
- **"When when" stutter** — fixed across 4 locations (seal.md, prompt-print, learning-promote-auto, oracle)
|
|
65
|
+
- **Seal hive promotion** — jq path `.instincts[]` corrected to `.memory.instincts[]`
|
|
66
|
+
- **instinct-create locking** — added trap-based lock to prevent concurrent write corruption
|
|
67
|
+
- **midden-recent-failures limit** — positional parameter fix after extraction
|
|
68
|
+
|
|
69
|
+
## [1.1.11] - 2026-02-26
|
|
70
|
+
|
|
71
|
+
### Fixed
|
|
72
|
+
- `midden-recent-failures` now reads `.entries[]` from midden.json instead of querying non-existent `.signals[]` — builders can finally see past failures
|
|
73
|
+
|
|
74
|
+
### Added
|
|
75
|
+
- `instinct-create` subcommand with deduplication and 30-instinct cap — programmatic instinct management replaces manual JSON manipulation
|
|
76
|
+
- Midden context injected into builder prompts during build waves — workers avoid repeating past mistakes
|
|
77
|
+
- Decisions auto-emit FEEDBACK pheromones (strength 0.65, TTL 30d) so builders see architectural choices
|
|
78
|
+
- `context-update constraint` now handles `feedback` type alongside `redirect` and `focus`
|
|
79
|
+
- Context-update calls added to Claude Code pheromone commands (focus, redirect, feedback)
|
|
80
|
+
- OpenCode pheromone commands brought to parity with pheromone-write + context-update calls
|
|
81
|
+
|
|
82
|
+
### Changed
|
|
83
|
+
- `continue-advance.md` instinct extraction simplified to use `instinct-create` instead of inline JSON
|
|
84
|
+
- `learning-promote-auto` now also creates instincts from promoted learnings
|
|
85
|
+
|
|
86
|
+
## [1.1.10] - 2026-02-26
|
|
87
|
+
|
|
88
|
+
### Changed
|
|
89
|
+
- `lay-eggs` is now a pure bootstrap command — sets up `.aether/` in a repo from the global hub without starting a colony
|
|
90
|
+
- `init` now assumes Aether is already set up and focuses only on starting a colony with a goal
|
|
91
|
+
- All help files, rules, and workflow documentation updated to reflect the lay-eggs/init separation
|
|
92
|
+
|
|
93
|
+
## [1.1.5] - 2026-02-23
|
|
94
|
+
|
|
95
|
+
### Added
|
|
96
|
+
- `validate-worker-response` command with caste-aware schema checks for builder/watcher/probe/scout payloads, wired into build playbooks and OpenCode build flow.
|
|
97
|
+
- `queen-thresholds`, `spawn-efficiency`, `entropy-score`, `incident-rule-add`, and `eternal-store` commands.
|
|
98
|
+
- Incident/self-evolution artifacts: `.aether/docs/INCIDENT_TEMPLATE.md`, `.aether/scripts/weekly-audit.sh`, `.aether/scripts/incident-test-add.sh`.
|
|
99
|
+
- Additional regression coverage for spawn enforcement, state lock failure handling, threshold output, worker validation, spawn efficiency, eternal memory promotion, and entropy scoring.
|
|
100
|
+
|
|
101
|
+
### Changed
|
|
102
|
+
- Spawn guard now supports hard enforcement via `spawn-can-spawn [depth] --enforce`; worker and playbook guidance updated to use enforced mode.
|
|
103
|
+
- Build orchestration guidance now refreshes `colony-prime --compact` before each worker dispatch so new pheromones/memory are visible mid-build.
|
|
104
|
+
- Promotion thresholds consolidated behind a single source of truth and reused by learning promotion/proposal/memory metric paths.
|
|
105
|
+
- `midden.template.json` extended with `spawn_metrics`.
|
|
106
|
+
|
|
107
|
+
### Fixed
|
|
108
|
+
- Locked + atomic state writes for critical mutation paths in `COLONY_STATE.json` handling (`error-add`, failure event append in `spawn-complete`, `grave-add`, schema migration, and lock-aware state-loader validation handoff).
|
|
109
|
+
- Pheromone write path now sanitizes content, validates strength bounds, and uses lock + atomic write semantics.
|
|
110
|
+
- `pheromone-expire` now promotes high-strength expired signals (`>0.8`) into eternal memory instead of silently decaying.
|
|
111
|
+
- `detectDirtyRepo` now preserves porcelain status columns for the first line (prevents staged/unstaged misclassification when parsing git status output).
|
|
12
112
|
|
|
13
113
|
---
|
|
14
114
|
|
|
@@ -297,3 +397,270 @@ Development releases (versions 2.0.0-2.4.2) building toward stable release. Key
|
|
|
297
397
|
- 2026-02-12: CHANGELOG.md — added repo-local path migration entry
|
|
298
398
|
- 2026-02-12: README.md — Updated to describe repo-local .aether/ architecture; removed global ~/.aether/ runtime references, restructured File Structure section with repo-local paths primary
|
|
299
399
|
- 2026-02-13: bin/cli.js, update.md — Added orphan cleanup (syncDirWithCleanup), git dirty-file detection with --force stash, --dry-run preview, hub manifest generation
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## Colony Work Log
|
|
404
|
+
|
|
405
|
+
The following entries are automatically generated by the colony during work phases.
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
## 2026-02-21
|
|
409
|
+
|
|
410
|
+
### Phase 37 — Plan 02
|
|
411
|
+
|
|
412
|
+
- **Files:** `aether-utils.sh`, `CHANGELOG.md`
|
|
413
|
+
- **Decisions:** Created changelog-append function; Added changelog-collect-plan-data helper
|
|
414
|
+
- **What Worked:** Function works correctly
|
|
415
|
+
- **Requirements:** LOG-01 addressed
|
|
416
|
+
|
|
417
|
+
### Phase 37 — Plan 99
|
|
418
|
+
|
|
419
|
+
- **Files:** `test.md`
|
|
420
|
+
- **Decisions:** Test
|
|
421
|
+
- **What Worked:** Works
|
|
422
|
+
- **Requirements:** TEST-01 addressed
|
|
423
|
+
|
|
424
|
+
### Phase 0 — Plan
|
|
425
|
+
|
|
426
|
+
## 2026-03-20
|
|
427
|
+
|
|
428
|
+
### Phase 0 — Plan 01
|
|
429
|
+
|
|
430
|
+
- **Files:** `.aether/aether-utils.sh`, `tests/bash/test-hive-init.sh`, `tests/bash/test-hive-read.sh`, `tests/bash/test-hive-integration.sh`, `tests/integration/hive-store.test.js`, `tests/unit/colony-state.test.js`
|
|
431
|
+
- **Decisions:** Hub-level lock isolation for shared files; Reuse pheromone-write sanitization pattern for user input
|
|
432
|
+
- **What Worked:** hive-init creates wisdom.json; hive-store adds/merges with dedup; hive-read filters by domain; Cross-repo lock fix
|
|
433
|
+
|
|
434
|
+
### Phase 0 — Plan 01
|
|
435
|
+
|
|
436
|
+
- **Files:** `.aether/aether-utils.sh`, `tests/bash/test-hive-abstract.sh`, `tests/bash/test-hive-promote.sh`, `tests/bash/test-hive-abstraction-pipeline.sh`
|
|
437
|
+
- **Decisions:** Orchestrator delegation via bash $0; Path stripping regex for abstraction
|
|
438
|
+
- **What Worked:** hive-abstract generalizes text; hive-promote orchestrates pipeline; Multi-repo merge works
|
|
439
|
+
|
|
440
|
+
### Phase 04 — Plan 01
|
|
441
|
+
|
|
442
|
+
- **Files:** `.claude/commands/ant/seal.md`, `.opencode/commands/ant/seal.md`, `tests/bash/test-seal-hive-promotion.sh`
|
|
443
|
+
- **Decisions:** Use --text and --source-repo for hive-promote API (not --instinct)
|
|
444
|
+
- **What Worked:** Archaeology pre-build scan catches API mismatches; Hive promotion non-blocking in seal ceremony
|
|
445
|
+
|
|
446
|
+
### Phase 05 — Plan 01
|
|
447
|
+
|
|
448
|
+
- **Files:** `.aether/aether-utils.sh`, `tests/bash/test-hive-confidence-boost.sh`
|
|
449
|
+
- **Decisions:** Confidence boosts at 2/3/4+ repo thresholds using max() for never-downgrade
|
|
450
|
+
- **What Worked:** Atomic jq pipelines preserve lock safety; awk for float math follows codebase precedent
|
|
451
|
+
|
|
452
|
+
### Phase 06 — Plan 01
|
|
453
|
+
|
|
454
|
+
- **Files:** `CLAUDE.md`
|
|
455
|
+
- **Decisions:** Document all Hive Brain features in CLAUDE.md
|
|
456
|
+
- **What Worked:** Chaos testing docs against code reveals accuracy gaps
|
|
457
|
+
|
|
458
|
+
### Phase 0 — Plan 00
|
|
459
|
+
|
|
460
|
+
- **Files:** `.aether/aether-utils.sh`, `CLAUDE.md`, `.claude/commands/ant/seal.md`, `.opencode/commands/ant/seal.md`
|
|
461
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Build the Hive Brain — cross-colony wisdom intelligence layer
|
|
462
|
+
- **What Worked:** 6 phases completed; 16 wisdom proposals promoted to QUEEN.md; Hive Brain fully operational with domain-scoped retrieval and multi-repo confidence boosting
|
|
463
|
+
|
|
464
|
+
## 2026-03-21
|
|
465
|
+
|
|
466
|
+
### Phase 0 — Plan 01
|
|
467
|
+
|
|
468
|
+
- **Files:** `.aether/aether-utils.sh`, `.claude/commands/ant/seal.md`, `.opencode/commands/ant/seal.md`
|
|
469
|
+
- **Decisions:** Fix when-when stutter across 4 locations; Fix seal.md jq path .instincts to .memory.instincts; Add instinct-apply subcommand; Fix instinct-create locking bug
|
|
470
|
+
- **What Worked:** Archaeologist pre-scan catches latent bugs; Trap-based locking prevents deadlocks; 549 tests pass
|
|
471
|
+
|
|
472
|
+
### Phase 0 — Plan 01
|
|
473
|
+
|
|
474
|
+
- **Files:** `.aether/aether-utils.sh`
|
|
475
|
+
- **Decisions:** Add midden-review subcommand; Add midden-acknowledge subcommand
|
|
476
|
+
- **What Worked:** Midden feedback loop closed; 6 tests pass; Trap-based locking for acknowledge
|
|
477
|
+
|
|
478
|
+
### Phase 0 — Plan 01
|
|
479
|
+
|
|
480
|
+
- **Files:** `.aether/aether-utils.sh`, `.aether/utils/hive.sh`, `.aether/utils/midden.sh`
|
|
481
|
+
- **Decisions:** Extract hive-* subcommands to hive.sh; Extract midden-* subcommands to midden.sh; Fix limit arg bug in midden-recent-failures
|
|
482
|
+
- **What Worked:** 12004 to 11221 lines (-783); Source-and-delegate pattern proven; 576 tests pass
|
|
483
|
+
|
|
484
|
+
### Phase 0 — Plan 01
|
|
485
|
+
|
|
486
|
+
- **Files:** `TO-DOS.md`, `README.md`, `CHANGELOG.md`, `CLAUDE.md`
|
|
487
|
+
- **Decisions:** Audit TO-DOS (11 completed, 10 pending); Update README to v2.0.0; Write CHANGELOG [2.0.0]; Update CLAUDE.md counts
|
|
488
|
+
- **What Worked:** All docs reflect v2.0.0 reality; No stale version references
|
|
489
|
+
|
|
490
|
+
### Phase 0 — Plan 01
|
|
491
|
+
|
|
492
|
+
- **Files:** `package.json`, `.aether/version.json`
|
|
493
|
+
- **Decisions:** Bump version to 2.0.0; Push to hub
|
|
494
|
+
- **What Worked:** 542 tests pass; Package validated; Hub install verified
|
|
495
|
+
|
|
496
|
+
### Phase 0 — Plan 00
|
|
497
|
+
|
|
498
|
+
- **Files:** `.aether/aether-utils.sh`, `.aether/utils/hive.sh`, `.aether/utils/midden.sh`, `CLAUDE.md`, `README.md`, `package.json`
|
|
499
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Ship-ready Aether v2
|
|
500
|
+
- **What Worked:** 5 phases completed; 22 wisdom proposals promoted; v2.0.0 on hub
|
|
501
|
+
|
|
502
|
+
## 2026-03-22
|
|
503
|
+
|
|
504
|
+
### Phase 0 — Plan 00
|
|
505
|
+
|
|
506
|
+
- **Files:** `.aether/utils/skills.sh`, `.aether/skills/`, `bin/cli.js`, `.claude/commands/ant/skill-create.md`
|
|
507
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Implement Aether Skills Layer — smart-matched colony and domain skills for workers
|
|
508
|
+
- **What Worked:** 5 phases completed; 28 skills created (10 colony + 18 domain); skills.sh engine (502 lines); Build pipeline skill injection; Hub distribution with manifest protection; Colony wisdom promoted to QUEEN.md
|
|
509
|
+
|
|
510
|
+
## 2026-03-23
|
|
511
|
+
|
|
512
|
+
### Phase 0 — Plan 00
|
|
513
|
+
|
|
514
|
+
- **Files:** `.aether/utils/oracle/oracle.sh`, `.aether/.npmignore`, `bin/cli.js`, `.claude/commands/ant/oracle.md`
|
|
515
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Fix oracle.sh distribution to installed repos
|
|
516
|
+
- **What Worked:** 4 phases completed; Oracle tmux launch path fixed; Hub state leak prevented
|
|
517
|
+
|
|
518
|
+
## 2026-03-27
|
|
519
|
+
|
|
520
|
+
### Phase 0 — Plan 00
|
|
521
|
+
|
|
522
|
+
- **Files:** `colony-state.template.json`, `colony-state-reset.jq.template`, `seal.md`, `entomb.md`, `emoji-audit.sh`, `colony-visuals/SKILL.md`, `aether-utils.sh`, `CLAUDE.md`
|
|
523
|
+
- **Decisions:** Colony sealed at Crowned Anthill v1; Add versioning to seal/entomb lifecycle and enforce consistent emoji usage
|
|
524
|
+
- **What Worked:** 5 phases completed; Colony wisdom promoted to QUEEN.md; 24 new tests added
|
|
525
|
+
|
|
526
|
+
### Phase 0 — Plan 00
|
|
527
|
+
|
|
528
|
+
- **Files:** `queen.sh`, `aether-utils.sh`, `midden.sh`, `aether-sage.md`, `test-queen-charter.test.sh`, `test-midden-bridge.sh`, `test-aether-utils.sh`
|
|
529
|
+
- **Decisions:** Colony sealed at Crowned Anthill v2; Fix seal ceremony audit issues
|
|
530
|
+
- **What Worked:** 5 phases completed; 4 instincts promoted to hive; Colony wisdom promoted to QUEEN.md
|
|
531
|
+
|
|
532
|
+
### Phase 0 — Plan 00
|
|
533
|
+
|
|
534
|
+
- **Files:** `init.md`, `seal.md`, `build-prep.md`, `build-verify.md`, `build-wave.md`, `build-context.md`, `continue-gates.md`, `continue-verify.md`, `colony-visuals/SKILL.md`
|
|
535
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Enforce consistent visual styling across all Aether commands
|
|
536
|
+
- **What Worked:** 5 phases completed; Banners standardized; Spawn announcements unified; Emoji map expanded; Progress bars added
|
|
537
|
+
|
|
538
|
+
## 2026-03-28
|
|
539
|
+
|
|
540
|
+
### Phase 0 — Plan 01
|
|
541
|
+
|
|
542
|
+
- **Files:** `tests/bash/test-aether-utils.sh`
|
|
543
|
+
- **Decisions:** Replace hardcoded dates with dynamic cross-platform computation
|
|
544
|
+
- **What Worked:** Dynamic dates prevent time-based test degradation
|
|
545
|
+
|
|
546
|
+
### Phase 2 — Plan 01
|
|
547
|
+
|
|
548
|
+
- **Files:** `queen.sh`
|
|
549
|
+
- **Decisions:** Fix trap composition, JSON escaping, local declarations in queen.sh
|
|
550
|
+
- **What Worked:** Verification passed with 616 tests; Auditor found 3 HIGH pre-existing issues fixed
|
|
551
|
+
|
|
552
|
+
### Phase 0 — Plan 01
|
|
553
|
+
|
|
554
|
+
- **Files:** `queen.sh`
|
|
555
|
+
- **Decisions:** Replace sed c-command with head/tail; Add empty-file safety guards; Fix sources and priming flags
|
|
556
|
+
- **What Worked:** head/tail proven safer than sed c on macOS; empty-file guard prevents data destruction
|
|
557
|
+
|
|
558
|
+
## 2026-03-29
|
|
559
|
+
|
|
560
|
+
### Phase 4 — Plan 01
|
|
561
|
+
|
|
562
|
+
- **Files:** `init.md`, `seal.md`, `entomb.md`
|
|
563
|
+
- **Decisions:** Lifecycle commands handle colony_version via template system; Command parity maintained across Claude and OpenCode
|
|
564
|
+
- **What Worked:** Verification of init/seal/entomb colony_version handling; Cross-platform seal commit synthesis and push prompts confirmed
|
|
565
|
+
|
|
566
|
+
### Phase 0 — Plan 06
|
|
567
|
+
|
|
568
|
+
- **Files:** `spawn-tree.sh`, `spawn.sh`, `spawn-tree.test.js`
|
|
569
|
+
- **Decisions:** Replace O(n^2) bash loops with single-pass awk; Add jq validation to wrapper functions; Update test fixtures to 7-field format
|
|
570
|
+
- **What Worked:** awk single-pass parsing eliminates 4000+ subprocess forks; Test fixtures now match production format
|
|
571
|
+
- **Requirements:** spawn-tree.sh, spawn.sh, spawn-tree.test.js addressed
|
|
572
|
+
|
|
573
|
+
### Phase 7 — Plan 01
|
|
574
|
+
|
|
575
|
+
- **Files:** `.aether/data/AUDIT-REPORT.md`
|
|
576
|
+
- **Decisions:** audit-report-corrected
|
|
577
|
+
|
|
578
|
+
### Phase 0 — Plan 00
|
|
579
|
+
|
|
580
|
+
- **Files:** `COLONY_STATE.json`, `QUEEN.md`, `learning.sh`
|
|
581
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Comprehensive audit colony
|
|
582
|
+
- **What Worked:** 6 phases completed; Colony wisdom promoted to QUEEN.md
|
|
583
|
+
|
|
584
|
+
## 2026-03-30
|
|
585
|
+
|
|
586
|
+
### Phase 0 — Plan 00
|
|
587
|
+
|
|
588
|
+
- **Files:** `aether-utils.sh`, `utils/immune.sh`, `utils/council.sh`, `utils/midden.sh`, `utils/session.sh`, `utils/state-api.sh`
|
|
589
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Implement next-gen Aether features: immune response, headless autopilot, vital signs, quick scout, council expansion, midden library
|
|
590
|
+
- **What Worked:** 6 phases completed; Colony wisdom promoted to QUEEN.md
|
|
591
|
+
|
|
592
|
+
### Phase 1 — Plan 01
|
|
593
|
+
|
|
594
|
+
- **Files:** `.aether/utils/spawn-tree.sh`, `tests/unit/spawn-tree.test.js`
|
|
595
|
+
- **Decisions:** gsub order is load-bearing for JSON escaping
|
|
596
|
+
- **What Worked:** awk gsub escaping with correct order; TDD with 4 new tests
|
|
597
|
+
- **Requirements:** spawn-tree.sh, spawn-tree.test.js addressed
|
|
598
|
+
|
|
599
|
+
### Phase 2 — Plan 01
|
|
600
|
+
|
|
601
|
+
- **Files:** `.aether/utils/queen.sh`, `tests/bash/test-queen-module.sh`
|
|
602
|
+
- **Decisions:** use ENVIRON[] not awk -v for user content
|
|
603
|
+
- **What Worked:** ENVIRON-based awk approach; head/tail for multi-line replacement; orphan cleanup
|
|
604
|
+
- **Requirements:** .aether/utils/queen.sh addressed
|
|
605
|
+
|
|
606
|
+
### Phase 3 — Plan 01
|
|
607
|
+
|
|
608
|
+
- **Files:** `.aether/utils/error-handler.sh`, `.aether/utils/spawn.sh`, `.aether/aether-utils.sh`
|
|
609
|
+
- **Decisions:** guard central subcommand plus individual sites
|
|
610
|
+
- **What Worked:** AETHER_TESTING env guard
|
|
611
|
+
- **Requirements:** error-handler.sh, spawn.sh, aether-utils.sh addressed
|
|
612
|
+
|
|
613
|
+
### Phase 4 — Plan 01
|
|
614
|
+
|
|
615
|
+
- **Files:** `package.json`, `package-lock.json`
|
|
616
|
+
- **Decisions:** npm overrides for transitive deps
|
|
617
|
+
- **What Worked:** minimatch; path-to-regexp; picomatch; tar; brace-expansion; diff
|
|
618
|
+
- **Requirements:** package.json addressed
|
|
619
|
+
|
|
620
|
+
### Phase 5 — Plan 01
|
|
621
|
+
|
|
622
|
+
- **Decisions:** final verification sweep confirms all fixes
|
|
623
|
+
- **What Worked:** midden acknowledgment; full test suite verification
|
|
624
|
+
|
|
625
|
+
### Phase 0 — Plan 00
|
|
626
|
+
|
|
627
|
+
- **Files:** `.aether/utils/spawn-tree.sh`, `.aether/utils/queen.sh`, `.aether/utils/error-handler.sh`, `.aether/utils/spawn.sh`, `.aether/aether-utils.sh`, `package.json`
|
|
628
|
+
- **Decisions:** Colony sealed at Crowned Anthill; Fix critical midden entries and harden infrastructure
|
|
629
|
+
- **What Worked:** 5 phases completed; Colony wisdom promoted to QUEEN.md
|
|
630
|
+
|
|
631
|
+
### Phase 1 — Plan 01
|
|
632
|
+
|
|
633
|
+
- **Files:** `.aether/aether-utils.sh`
|
|
634
|
+
- **Decisions:** context-update now fully jq-safe
|
|
635
|
+
- **What Worked:** 1 remaining raw json_ok fixed
|
|
636
|
+
- **Requirements:** .aether/aether-utils.sh addressed
|
|
637
|
+
|
|
638
|
+
### Phase 03 — Plan 01
|
|
639
|
+
|
|
640
|
+
- **Files:** `.aether/aether-utils.sh`
|
|
641
|
+
- **Decisions:** Use jq -nc --arg for all json_ok calls; parallel builder verification catches fabricated completions
|
|
642
|
+
|
|
643
|
+
### Phase 2 — Plan 01
|
|
644
|
+
|
|
645
|
+
- **Files:** `aether-utils.sh`, `package.json`
|
|
646
|
+
- **Decisions:** Use jq --arg for all json_ok sites with user strings
|
|
647
|
+
- **What Worked:** jq --arg escaping; empty-file guard in validate-state
|
|
648
|
+
- **Requirements:** json_ok safe escaping addressed
|
|
649
|
+
|
|
650
|
+
### Phase 3 — Plan 01
|
|
651
|
+
|
|
652
|
+
- **Files:** `.aether/aether-utils.sh`, `.aether/utils/flag.sh`, `tests/bash/test-flag-module.sh`, `tests/bash/test-state-checkpoint.sh`
|
|
653
|
+
- **Decisions:** Fixed view-state jq filter injection; Fixed fallback json_err escaping; Converted 14+ json_ok sites to jq --arg
|
|
654
|
+
- **What Worked:** All 509 tests pass; Auditor score 73/100; No critical security issues
|
|
655
|
+
|
|
656
|
+
### Phase 05 — Plan 01
|
|
657
|
+
|
|
658
|
+
- **Files:** `.aether/utils/hive.sh`, `tests/bash/test-hive-read.sh`, `tests/bash/test-learning-recovery.sh`
|
|
659
|
+
- **Decisions:** Compose null fallback with tonumber to preserve prior type coercion fix
|
|
660
|
+
- **What Worked:** Archaeology pre-build scan prevented regression; Stale grep targets identified by root cause analysis
|
|
661
|
+
|
|
662
|
+
### Phase 0 — Plan 00
|
|
663
|
+
|
|
664
|
+
- **Files:** `aether-utils.sh`, `utils/hive.sh`, `utils/learning.sh`, `tests/`
|
|
665
|
+
- **Decisions:** Colony sealed at Crowned Anthill; hardened ~40 json_ok sites + checkpointing + hive null safety
|
|
666
|
+
- **What Worked:** 5 phases completed; 9 instincts created; 4 hive-eligible
|