aether-colony 3.1.17 → 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 +5354 -0
- 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 +211 -0
- package/.aether/docs/README.md +98 -0
- package/.aether/docs/caste-system.md +48 -0
- 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/{runtime → .aether/docs/disciplines}/DISCIPLINES.md +13 -11
- package/.aether/docs/error-codes.md +268 -0
- package/.aether/docs/known-issues.md +94 -0
- package/{runtime → .aether}/docs/pheromones.md +86 -6
- package/.aether/docs/plans/pheromone-display-plan.md +257 -0
- package/.aether/docs/queen-commands.md +98 -0
- package/.aether/docs/source-of-truth-map.md +132 -0
- package/.aether/docs/xml-utilities.md +47 -0
- package/{runtime → .aether}/exchange/pheromone-xml.sh +2 -1
- package/{runtime → .aether}/exchange/registry-xml.sh +7 -3
- package/{runtime → .aether}/exchange/wisdom-xml.sh +11 -4
- package/.aether/rules/aether-colony.md +144 -0
- package/.aether/schemas/example-prompt-builder.xml +234 -0
- 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 +61 -0
- package/.aether/templates/colony-state-reset.jq.template +23 -0
- package/.aether/templates/colony-state.template.json +39 -0
- package/.aether/templates/constraints.template.json +9 -0
- package/.aether/templates/crowned-anthill.template.md +36 -0
- package/.aether/templates/handoff-build-error.template.md +30 -0
- package/.aether/templates/handoff-build-success.template.md +39 -0
- package/.aether/templates/handoff.template.md +40 -0
- package/.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/{runtime → .aether}/utils/atomic-write.sh +68 -22
- package/{runtime → .aether}/utils/chamber-compare.sh +23 -10
- package/.aether/utils/chamber-utils.sh +440 -0
- package/.aether/utils/emoji-audit.sh +166 -0
- package/{runtime → .aether}/utils/error-handler.sh +34 -8
- package/.aether/utils/file-lock.sh +313 -0
- 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 +415 -0
- package/.aether/utils/session.sh +552 -0
- package/.aether/utils/skills.sh +509 -0
- package/.aether/utils/spawn-tree.sh +260 -0
- package/.aether/utils/spawn.sh +260 -0
- package/.aether/utils/state-api.sh +199 -0
- package/{runtime → .aether}/utils/state-loader.sh +8 -6
- package/.aether/utils/suggest.sh +611 -0
- package/{runtime → .aether}/utils/swarm-display.sh +10 -1
- package/.aether/utils/swarm.sh +1004 -0
- package/{runtime → .aether}/utils/watch-spawn-tree.sh +11 -2
- package/{runtime → .aether}/utils/xml-compose.sh +9 -3
- package/.aether/utils/xml-convert.sh +277 -0
- package/{runtime → .aether}/utils/xml-core.sh +5 -9
- package/.aether/utils/xml-query.sh +201 -0
- package/.aether/utils/xml-utils.sh +110 -0
- package/{runtime → .aether}/workers.md +97 -81
- package/.claude/agents/ant/aether-ambassador.md +265 -0
- package/.claude/agents/ant/aether-archaeologist.md +327 -0
- package/.claude/agents/ant/aether-architect.md +236 -0
- package/.claude/agents/ant/aether-auditor.md +271 -0
- package/.claude/agents/ant/aether-builder.md +224 -0
- package/.claude/agents/ant/aether-chaos.md +269 -0
- package/.claude/agents/ant/aether-chronicler.md +305 -0
- package/.claude/agents/ant/aether-gatekeeper.md +330 -0
- package/.claude/agents/ant/aether-includer.md +374 -0
- package/.claude/agents/ant/aether-keeper.md +272 -0
- package/.claude/agents/ant/aether-measurer.md +322 -0
- package/.claude/agents/ant/aether-oracle.md +237 -0
- package/.claude/agents/ant/aether-probe.md +211 -0
- package/.claude/agents/ant/aether-queen.md +330 -0
- package/.claude/agents/ant/aether-route-setter.md +178 -0
- package/.claude/agents/ant/aether-sage.md +418 -0
- package/.claude/agents/ant/aether-scout.md +179 -0
- package/.claude/agents/ant/aether-surveyor-disciplines.md +417 -0
- package/.claude/agents/ant/aether-surveyor-nest.md +355 -0
- package/.claude/agents/ant/aether-surveyor-pathogens.md +289 -0
- package/.claude/agents/ant/aether-surveyor-provisions.md +360 -0
- package/.claude/agents/ant/aether-tracker.md +270 -0
- package/.claude/agents/ant/aether-watcher.md +280 -0
- package/.claude/agents/ant/aether-weaver.md +248 -0
- package/.claude/commands/ant/archaeology.md +16 -14
- package/.claude/commands/ant/build.md +43 -1028
- package/.claude/commands/ant/chaos.md +19 -23
- package/.claude/commands/ant/colonize.md +52 -31
- package/.claude/commands/ant/continue.md +40 -1016
- package/.claude/commands/ant/council.md +21 -18
- package/.claude/commands/ant/data-clean.md +81 -0
- package/.claude/commands/ant/dream.md +27 -15
- package/.claude/commands/ant/entomb.md +317 -225
- package/.claude/commands/ant/export-signals.md +57 -0
- package/.claude/commands/ant/feedback.md +48 -26
- package/.claude/commands/ant/flag.md +30 -10
- package/.claude/commands/ant/flags.md +34 -12
- package/.claude/commands/ant/focus.md +45 -19
- package/.claude/commands/ant/help.md +50 -8
- package/.claude/commands/ant/history.md +13 -0
- package/.claude/commands/ant/import-signals.md +71 -0
- package/.claude/commands/ant/init.md +345 -194
- package/.claude/commands/ant/insert-phase.md +101 -0
- package/.claude/commands/ant/interpret.md +26 -4
- package/.claude/commands/ant/lay-eggs.md +184 -127
- package/.claude/commands/ant/maturity.md +32 -11
- package/.claude/commands/ant/memory-details.md +77 -0
- package/.claude/commands/ant/migrate-state.md +20 -2
- package/.claude/commands/ant/oracle.md +337 -74
- package/.claude/commands/ant/organize.md +39 -25
- package/.claude/commands/ant/patrol.md +620 -0
- package/.claude/commands/ant/pause-colony.md +23 -27
- package/.claude/commands/ant/phase.md +40 -42
- package/.claude/commands/ant/pheromones.md +156 -0
- package/.claude/commands/ant/plan.md +185 -51
- package/.claude/commands/ant/preferences.md +65 -0
- package/.claude/commands/ant/redirect.md +45 -30
- package/.claude/commands/ant/resume-colony.md +51 -27
- package/.claude/commands/ant/resume.md +314 -94
- package/.claude/commands/ant/run.md +195 -0
- package/.claude/commands/ant/seal.md +650 -221
- package/.claude/commands/ant/skill-create.md +286 -0
- package/.claude/commands/ant/status.md +196 -31
- package/.claude/commands/ant/swarm.md +16 -46
- package/.claude/commands/ant/tunnels.md +280 -105
- package/.claude/commands/ant/update.md +73 -89
- package/.claude/commands/ant/verify-castes.md +100 -42
- package/.claude/commands/ant/watch.md +14 -12
- package/.opencode/agents/aether-ambassador.md +63 -20
- package/.opencode/agents/aether-archaeologist.md +29 -12
- package/.opencode/agents/aether-architect.md +103 -36
- package/.opencode/agents/aether-auditor.md +51 -18
- package/.opencode/agents/aether-builder.md +70 -20
- package/.opencode/agents/aether-chaos.md +29 -12
- package/.opencode/agents/aether-chronicler.md +60 -18
- package/.opencode/agents/aether-gatekeeper.md +27 -18
- package/.opencode/agents/aether-includer.md +27 -18
- package/.opencode/agents/aether-keeper.md +89 -18
- package/.opencode/agents/aether-measurer.md +27 -18
- package/.opencode/agents/aether-oracle.md +137 -0
- package/.opencode/agents/aether-probe.md +60 -18
- package/.opencode/agents/aether-queen.md +172 -24
- package/.opencode/agents/aether-route-setter.md +57 -12
- package/.opencode/agents/aether-sage.md +26 -18
- package/.opencode/agents/aether-scout.md +28 -20
- package/.opencode/agents/aether-surveyor-disciplines.md +59 -2
- package/.opencode/agents/aether-surveyor-nest.md +59 -2
- package/.opencode/agents/aether-surveyor-pathogens.md +57 -2
- package/.opencode/agents/aether-surveyor-provisions.md +59 -2
- package/.opencode/agents/aether-tracker.md +64 -18
- package/.opencode/agents/aether-watcher.md +66 -19
- package/.opencode/agents/aether-weaver.md +61 -18
- package/.opencode/commands/ant/archaeology.md +7 -14
- package/.opencode/commands/ant/build.md +437 -257
- package/.opencode/commands/ant/chaos.md +7 -24
- package/.opencode/commands/ant/colonize.md +8 -17
- package/.opencode/commands/ant/continue.md +661 -142
- 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 +133 -62
- 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 +374 -167
- 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 +18 -16
- 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 +385 -0
- package/.opencode/commands/ant/run.md +201 -0
- package/.opencode/commands/ant/seal.md +259 -45
- package/.opencode/commands/ant/skill-create.md +63 -0
- package/.opencode/commands/ant/status.md +135 -31
- package/.opencode/commands/ant/swarm.md +3 -345
- package/.opencode/commands/ant/tunnels.md +152 -9
- package/.opencode/commands/ant/update.md +70 -91
- package/.opencode/commands/ant/verify-castes.md +96 -42
- package/.opencode/commands/ant/watch.md +7 -0
- package/CHANGELOG.md +356 -0
- package/README.md +203 -573
- package/bin/cli.js +455 -527
- package/bin/generate-commands.js +186 -0
- package/bin/generate-commands.sh +127 -88
- package/bin/lib/init.js +13 -3
- package/bin/lib/spawn-logger.js +0 -15
- package/bin/lib/update-transaction.js +392 -140
- package/bin/npx-install.js +178 -0
- package/bin/sync-to-runtime.sh +5 -137
- package/bin/validate-package.sh +166 -0
- package/package.json +14 -7
- package/.opencode/agents/aether-guardian.md +0 -107
- package/.opencode/agents/workers.md +0 -1034
- 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
- package/runtime/CONTEXT.md +0 -160
- package/runtime/QUEEN_ANT_ARCHITECTURE.md +0 -402
- package/runtime/aether-utils.sh +0 -3879
- package/runtime/data/signatures.json +0 -41
- package/runtime/docs/AETHER-2.0-IMPLEMENTATION-PLAN.md +0 -1343
- package/runtime/docs/AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md +0 -2642
- package/runtime/docs/PHEROMONE-INJECTION.md +0 -240
- package/runtime/docs/PHEROMONE-INTEGRATION.md +0 -192
- package/runtime/docs/PHEROMONE-SYSTEM-DESIGN.md +0 -426
- package/runtime/docs/README.md +0 -94
- package/runtime/docs/VISUAL-OUTPUT-SPEC.md +0 -219
- package/runtime/docs/biological-reference.md +0 -272
- package/runtime/docs/codebase-review.md +0 -399
- package/runtime/docs/command-sync.md +0 -164
- package/runtime/docs/constraints.md +0 -116
- package/runtime/docs/implementation-learnings.md +0 -89
- package/runtime/docs/known-issues.md +0 -217
- package/runtime/docs/namespace.md +0 -148
- package/runtime/docs/pathogen-schema-example.json +0 -36
- package/runtime/docs/pathogen-schema.md +0 -111
- package/runtime/docs/planning-discipline.md +0 -159
- package/runtime/docs/progressive-disclosure.md +0 -184
- package/runtime/lib/queen-utils.sh +0 -729
- package/runtime/model-profiles.yaml +0 -100
- package/runtime/planning.md +0 -159
- package/runtime/recover.sh +0 -136
- package/runtime/templates/QUEEN.md.template +0 -79
- package/runtime/utils/chamber-utils.sh +0 -285
- package/runtime/utils/file-lock.sh +0 -122
- package/runtime/utils/spawn-tree.sh +0 -428
- package/runtime/utils/spawn-with-model.sh +0 -56
- package/runtime/utils/xml-utils.sh +0 -2196
- package/runtime/workers-new-castes.md +0 -516
- /package/{runtime → .aether/docs/disciplines}/coding-standards.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/debugging.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/learning.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/tdd.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/verification-loop.md +0 -0
- /package/{runtime → .aether/docs/disciplines}/verification.md +0 -0
- /package/{runtime → .aether}/schemas/aether-types.xsd +0 -0
- /package/{runtime → .aether}/schemas/colony-registry.xsd +0 -0
- /package/{runtime → .aether}/schemas/pheromone.xsd +0 -0
- /package/{runtime → .aether}/schemas/prompt.xsd +0 -0
- /package/{runtime → .aether}/schemas/queen-wisdom.xsd +0 -0
- /package/{runtime → .aether}/schemas/worker-priming.xsd +0 -0
- /package/{runtime → .aether}/utils/colorize-log.sh +0 -0
- /package/{runtime → .aether}/utils/queen-to-md.xsl +0 -0
package/README.md
CHANGED
|
@@ -1,604 +1,234 @@
|
|
|
1
|
-
```
|
|
2
|
-
_ _____ _____ _ _ _____ ____
|
|
3
|
-
/ \ | ____|_ _| | | | ____| _ \
|
|
4
|
-
/ _ \ | _| | | | |_| | _| | |_) |
|
|
5
|
-
/ ___ \| |___ | | | _ | |___| _ <
|
|
6
|
-
/_/ \_\_____| |_| |_| |_|_____|_| \_\
|
|
7
|
-
```
|
|
8
|
-
|
|
9
1
|
<div align="center">
|
|
10
|
-
<img src="aether-logo.png" alt="Aether Logo" width="500">
|
|
11
|
-
|
|
12
|
-
**A multi-agent orchestration system for Claude Code where workers spawn workers.**
|
|
13
|
-
|
|
14
|
-
➡️ Click **Use this template** (top-right) to create your own Aether repo in 30 seconds.
|
|
15
|
-
|
|
16
|
-
*Inspired by [glittercowboy's GSD system](https://github.com/glittercowboy/gsd)*
|
|
17
|
-
|
|
18
|
-
[](https://www.npmjs.com/package/aether-colony)
|
|
19
|
-
[](https://opensource.org/licenses/MIT)
|
|
20
|
-
|
|
21
|
-
**v3.1.14** — Production ready with model routing
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
> *"The whole is greater than the sum of its parts."* — Aristotle
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## What Is Aether?
|
|
31
|
-
|
|
32
|
-
Aether brings **ant colony intelligence** to Claude Code. Instead of one agent doing everything sequentially, you get a colony of specialists that self-organize around your goal.
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
👑 Queen (you)
|
|
36
|
-
│
|
|
37
|
-
▼ pheromone signals
|
|
38
|
-
│
|
|
39
|
-
🐜 Workers spawn Workers (max depth 3)
|
|
40
|
-
│
|
|
41
|
-
├── 🔨 Builders — implement code
|
|
42
|
-
├── 👁️ Watchers — verify & test
|
|
43
|
-
├── 🔍 Scouts — research docs
|
|
44
|
-
├── 🗺️ Colonizers — explore codebases
|
|
45
|
-
├── 📋 Route-setters — plan phases
|
|
46
|
-
├── 🏗️ Architects — extract patterns
|
|
47
|
-
├── 🏺 Archaeologists — excavate git history
|
|
48
|
-
├── 🔮 Oracles — deep research (RALF pattern)
|
|
49
|
-
└── 🎲 Chaos Ants — resilience testing
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
When a Builder hits something complex, it spawns a Scout to research. When code is written, a Watcher spawns to verify. **The colony adapts to the problem.**
|
|
53
|
-
|
|
54
|
-
### Key Features
|
|
55
2
|
|
|
56
|
-
|
|
57
|
-
- **33 Slash Commands** — Lifecycle, management, research, and utility commands
|
|
58
|
-
- **4 OpenCode Agents** — Specialized agents for different platforms
|
|
59
|
-
- **6-Phase Verification** — Build, types, lint, tests, security, diff before advancing
|
|
60
|
-
- **Colony Memory** — Learnings and instincts persist across sessions
|
|
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
|
|
3
|
+
# 🐜 Aether Colony
|
|
64
4
|
|
|
65
|
-
|
|
5
|
+
**Multi-agent AI development for Claude Code and OpenCode**
|
|
66
6
|
|
|
67
|
-
|
|
7
|
+
[](https://www.npmjs.com/package/aether-colony)
|
|
8
|
+
[](https://www.npmjs.com/package/aether-colony)
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[](https://github.com/calcosmic/Aether/stargazers)
|
|
68
11
|
|
|
69
|
-
|
|
12
|
+
Spawn a colony of 24 AI specialists that self-organize around your goal using pheromone signals.
|
|
13
|
+
1,000+ weekly installs.
|
|
70
14
|
|
|
71
|
-
|
|
72
|
-
- Node.js >= 16
|
|
73
|
-
- `jq` — `brew install jq` on macOS
|
|
74
|
-
|
|
75
|
-
### Installation
|
|
15
|
+
*The whole is greater than the sum of its ants.*
|
|
76
16
|
|
|
77
17
|
```bash
|
|
78
18
|
npm install -g aether-colony
|
|
79
19
|
```
|
|
80
20
|
|
|
81
|
-
|
|
82
|
-
- 📁 **Claude Code Commands** → `~/.claude/commands/ant/` (33 slash commands)
|
|
83
|
-
|
|
84
|
-
All runtime state, utilities, and worker specs live **repo-local** in `.aether/` — each project is self-contained.
|
|
85
|
-
|
|
86
|
-
### Your First Colony
|
|
87
|
-
|
|
88
|
-
Open Claude Code in any repo:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
/ant:init "Build a REST API with authentication"
|
|
92
|
-
/ant:plan
|
|
93
|
-
/ant:build 1
|
|
94
|
-
/ant:continue
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
That's it. The colony takes over from there.
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## Complete Command Reference (33 Commands)
|
|
102
|
-
|
|
103
|
-
### 🌱 Core Lifecycle Commands
|
|
104
|
-
|
|
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 |
|
|
116
|
-
|
|
117
|
-
**Core Lifecycle Flow:**
|
|
118
|
-
```
|
|
119
|
-
/ant:init → /ant:plan → /ant:build 1 → /ant:continue → /ant:build 2 → ... → /ant:seal → /ant:entomb
|
|
120
|
-
```
|
|
121
|
-
|
|
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 |
|
|
196
|
-
|
|
197
|
-
---
|
|
198
|
-
|
|
199
|
-
## CLI Commands
|
|
200
|
-
|
|
201
|
-
The `aether` CLI provides additional utilities:
|
|
202
|
-
|
|
203
|
-
```bash
|
|
204
|
-
# View version and status
|
|
205
|
-
aether version
|
|
206
|
-
|
|
207
|
-
# Update all registered repos
|
|
208
|
-
aether update --all
|
|
209
|
-
aether update --all --force # Force even with dirty repos
|
|
210
|
-
|
|
211
|
-
# Manage model routing
|
|
212
|
-
aether caste-models list
|
|
213
|
-
aether caste-models set builder=kimi-k2.5
|
|
214
|
-
aether caste-models reset builder
|
|
215
|
-
|
|
216
|
-
# Checkpoints (safe snapshots)
|
|
217
|
-
aether checkpoint create "before refactor"
|
|
218
|
-
aether checkpoint list
|
|
219
|
-
aether checkpoint restore <id>
|
|
220
|
-
aether checkpoint verify <id>
|
|
221
|
-
|
|
222
|
-
# View telemetry
|
|
223
|
-
aether telemetry
|
|
224
|
-
aether telemetry model kimi-k2.5
|
|
225
|
-
aether telemetry performance
|
|
226
|
-
|
|
227
|
-
# Sync state with planning docs
|
|
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"
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
## Model Routing
|
|
242
|
-
|
|
243
|
-
Aether routes different worker castes to optimal AI models via `.aether/model-profiles.yaml`:
|
|
244
|
-
|
|
245
|
-
| Caste | Model | Best For |
|
|
246
|
-
|-------|-------|----------|
|
|
247
|
-
| Prime, Archaeologist, Architect | `glm-5` | Long-horizon coordination (200K context) |
|
|
248
|
-
| Oracle | `minimax-2.5` | Research, web browsing (76.3% BrowseComp) |
|
|
249
|
-
| Builder, Watcher, Route-Setter, Chaos | `kimi-k2.5` | Code generation (76.8% SWE-Bench) |
|
|
250
|
-
| Scout, Colonizer | `minimax-2.5` | Parallel exploration, visual coding |
|
|
251
|
-
|
|
252
|
-
### How It Works
|
|
253
|
-
|
|
254
|
-
1. **Model Assignment** — Each caste mapped in `model-profiles.yaml`
|
|
255
|
-
2. **Environment Setup** — Queen sets `ANTHROPIC_MODEL` before spawning
|
|
256
|
-
3. **Proxy Routing** — Requests go through LiteLLM proxy at `localhost:4000`
|
|
257
|
-
4. **Fallback** — Unknown castes default to `kimi-k2.5`
|
|
258
|
-
|
|
259
|
-
### Proxy Configuration
|
|
260
|
-
|
|
261
|
-
```yaml
|
|
262
|
-
# .aether/model-profiles.yaml
|
|
263
|
-
proxy:
|
|
264
|
-
endpoint: 'http://localhost:4000'
|
|
265
|
-
auth_token: ${LITELLM_AUTH_TOKEN:-sk-litellm-local}
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
Set `LITELLM_AUTH_TOKEN` environment variable for custom auth.
|
|
269
|
-
|
|
270
|
-
---
|
|
271
|
-
|
|
272
|
-
## The Castes
|
|
273
|
-
|
|
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 |
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
## How It Works
|
|
290
|
-
|
|
291
|
-
### Spawn Depth
|
|
292
|
-
|
|
293
|
-
```
|
|
294
|
-
👑 Queen (depth 0)
|
|
295
|
-
└── 🔨 Builder-1 (depth 1) — can spawn 4 more
|
|
296
|
-
├── 🔍 Scout-7 (depth 2) — can spawn 2 more
|
|
297
|
-
│ └── 🔍 Scout-12 (depth 3) — no more spawning
|
|
298
|
-
└── 👁️ Watcher-3 (depth 2)
|
|
299
|
-
```
|
|
300
|
-
|
|
301
|
-
- **Depth 1**: Up to 4 spawns
|
|
302
|
-
- **Depth 2**: Up to 2 spawns (only if genuinely surprised)
|
|
303
|
-
- **Depth 3**: Complete inline, no further spawning
|
|
304
|
-
- **Global cap**: 10 workers per phase
|
|
305
|
-
|
|
306
|
-
### 6-Phase Verification Loop
|
|
307
|
-
|
|
308
|
-
Before any phase advances, the colony runs:
|
|
309
|
-
|
|
310
|
-
| Gate | Check |
|
|
311
|
-
|------|-------|
|
|
312
|
-
| Build | Project compiles/bundles |
|
|
313
|
-
| Types | Type checker passes |
|
|
314
|
-
| Lint | Linter passes |
|
|
315
|
-
| Tests | All tests pass (80%+ coverage target) |
|
|
316
|
-
| Security | No exposed secrets or debug artifacts |
|
|
317
|
-
| Diff | Review changes, no unintended modifications |
|
|
318
|
-
|
|
319
|
-
### Colony Memory
|
|
320
|
-
|
|
321
|
-
The colony learns across sessions:
|
|
322
|
-
|
|
323
|
-
```
|
|
324
|
-
Session 1: /ant:init → build → continue → complete
|
|
325
|
-
└── completion-report.md saved with instincts & learnings
|
|
326
|
-
|
|
327
|
-
Session 2: /ant:init → reads completion-report.md → seeds memory
|
|
328
|
-
└── Workers receive inherited knowledge in their prompts
|
|
329
|
-
```
|
|
330
|
-
|
|
331
|
-
**Instincts** are trigger→action patterns with confidence scores (0.0–1.0).
|
|
332
|
-
|
|
333
|
-
**Learnings** start as hypotheses and graduate to "validated" with evidence.
|
|
334
|
-
|
|
335
|
-
### Milestones
|
|
336
|
-
|
|
337
|
-
The colony tracks progress through auto-detected milestones:
|
|
338
|
-
|
|
339
|
-
| Milestone | Trigger |
|
|
340
|
-
|-----------|---------|
|
|
341
|
-
| First Mound | Colony initialized |
|
|
342
|
-
| Open Chambers | 1+ phase completed |
|
|
343
|
-
| Brood Stable | 3+ phases completed |
|
|
344
|
-
| Ventilated Nest | 5+ phases completed |
|
|
345
|
-
| Sealed Chambers | All phases completed |
|
|
346
|
-
| Crowned Anthill | Final celebration (explicit) |
|
|
347
|
-
|
|
348
|
-
Detected automatically via `milestone-detect` utility.
|
|
349
|
-
|
|
350
|
-
### Colony Lifecycle
|
|
351
|
-
|
|
352
|
-
```
|
|
353
|
-
/ant:init "goal" → Start colony (First Mound)
|
|
354
|
-
↓
|
|
355
|
-
/ant:plan → /ant:build → /ant:continue (repeat)
|
|
356
|
-
↓
|
|
357
|
-
/ant:seal → Complete colony, generate report
|
|
358
|
-
↓
|
|
359
|
-
/ant:entomb → Archive to .aether/chambers/
|
|
360
|
-
↓
|
|
361
|
-
/ant:lay-eggs "new" → Start fresh colony (preserves instincts)
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
**Lay-Eggs** starts a new colony cycle while inheriting high-confidence instincts from the previous colony — like a queen ant laying eggs to begin anew.
|
|
365
|
-
|
|
366
|
-
---
|
|
367
|
-
|
|
368
|
-
## File Structure
|
|
369
|
-
|
|
370
|
-
```
|
|
371
|
-
<your-repo>/.aether/ # Repo-local runtime
|
|
372
|
-
├── workers.md # Worker specs and spawn protocol
|
|
373
|
-
├── aether-utils.sh # Utility layer (50+ subcommands)
|
|
374
|
-
├── model-profiles.yaml # Caste-to-model routing
|
|
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
|
-
│ └── ...
|
|
387
|
-
│
|
|
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)
|
|
403
|
-
│ ├── COLONY_STATE.json # Goal, plan, memory, instincts
|
|
404
|
-
│ ├── flags.json # Blockers, issues, notes
|
|
405
|
-
│ ├── constraints.json # Focus areas and redirects
|
|
406
|
-
│ ├── activity.log # Worker activity stream
|
|
407
|
-
│ ├── spawn-tree.txt # Spawn hierarchy
|
|
408
|
-
│ ├── telemetry.json # Model performance data
|
|
409
|
-
│ └── completion-report.md # End-of-project summary
|
|
410
|
-
│
|
|
411
|
-
├── dreams/ # Dream session files (NEVER synced)
|
|
412
|
-
├── checkpoints/ # Update rollback data (NEVER synced)
|
|
413
|
-
└── chambers/ # Entombed (archived) colonies
|
|
414
|
-
|
|
415
|
-
bin/ # CLI
|
|
416
|
-
├── cli.js # Main entry point
|
|
417
|
-
└── lib/ # Library modules
|
|
418
|
-
├── model-profiles.js # Model routing logic
|
|
419
|
-
├── state-sync.js # State reconciliation
|
|
420
|
-
├── update-transaction.js # Atomic updates with rollback
|
|
421
|
-
├── file-lock.js # Concurrent access control
|
|
422
|
-
├── telemetry.js # Performance tracking
|
|
423
|
-
└── errors.js # Error class hierarchy
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
---
|
|
427
|
-
|
|
428
|
-
## Typical Workflows
|
|
429
|
-
|
|
430
|
-
### Starting a New Project
|
|
431
|
-
|
|
432
|
-
```
|
|
433
|
-
1. /ant:init "Build feature X" # Set the goal
|
|
434
|
-
2. /ant:colonize # Analyze existing code (optional)
|
|
435
|
-
3. /ant:plan # Colony generates phases
|
|
436
|
-
4. /ant:focus "security" # Guide attention (optional)
|
|
437
|
-
5. /ant:build 1 # Execute phase 1
|
|
438
|
-
6. /ant:continue # Review, advance
|
|
439
|
-
7. /ant:build 2 # Repeat until done
|
|
440
|
-
8. /ant:seal # Complete and archive
|
|
441
|
-
```
|
|
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
|
-
```
|
|
21
|
+
</div>
|
|
462
22
|
|
|
463
|
-
|
|
23
|
+
<p align="center">
|
|
24
|
+
<img src="./AetherAnts.png" alt="Aether Colony" width="640" />
|
|
25
|
+
</p>
|
|
464
26
|
|
|
465
|
-
```bash
|
|
466
|
-
/ant:pause-colony # Save state + handoff doc
|
|
467
|
-
# ... take a break ...
|
|
468
|
-
/ant:resume-colony # Restore and continue
|
|
469
27
|
```
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
28
|
+
👑 Queen (you)
|
|
29
|
+
│
|
|
30
|
+
│ set the goal, steer with pheromone signals
|
|
31
|
+
▼
|
|
32
|
+
┌─────────────────────────────────────────┐
|
|
33
|
+
│ Colony self-organizes │
|
|
34
|
+
│ │
|
|
35
|
+
│ 🔨 Builders write code (TDD) │
|
|
36
|
+
│ 👁️ Watchers verify & test │
|
|
37
|
+
│ 🔍 Scouts research first │
|
|
38
|
+
│ 🐛 Trackers investigate bugs │
|
|
39
|
+
│ 🗺️ Colonizers explore codebases │
|
|
40
|
+
│ 📋 Route-setters plan phases │
|
|
41
|
+
│ 🏺 Archaeologists excavate git history │
|
|
42
|
+
│ 🎲 Chaos Ants resilience testing │
|
|
43
|
+
│ 📚 Keepers preserve knowledge │
|
|
44
|
+
│ 🔮 Oracle deep research │
|
|
45
|
+
│ ...and 24 specialists total │
|
|
46
|
+
└─────────────────────────────────────────┘
|
|
480
47
|
```
|
|
481
48
|
|
|
482
|
-
|
|
49
|
+
## 🐜 The Problem
|
|
483
50
|
|
|
484
|
-
|
|
51
|
+
AI coding assistants work sequentially — one agent does everything: research, code, test, review. When it hits something complex, it either guesses or asks you. There's no specialization, no parallel work, no memory across sessions.
|
|
485
52
|
|
|
486
|
-
|
|
53
|
+
## 🐜 The Solution
|
|
487
54
|
|
|
488
|
-
|
|
489
|
-
|-------|---------|-------------|
|
|
490
|
-
| `aether-queen` | Orchestrates phases, spawns workers | 0.3 |
|
|
491
|
-
| `aether-builder` | Implements code, TDD-first | 0.2 |
|
|
492
|
-
| `aether-scout` | Researches, gathers information | 0.4 |
|
|
493
|
-
| `aether-watcher` | Validates, tests, quality gates | 0.1 |
|
|
55
|
+
Aether brings **ant colony intelligence** to AI-assisted development. Instead of one AI doing everything, you get a colony of specialists that self-organize around your goal.
|
|
494
56
|
|
|
495
|
-
|
|
57
|
+
Workers spawn workers dynamically (max depth 3, max 10 per phase). When a Builder hits something complex, it spawns a Scout to research. When code is written, a Watcher spawns to verify. The colony adapts to the problem.
|
|
496
58
|
|
|
497
|
-
|
|
59
|
+
You steer the colony with **pheromone signals**, not micromanagement:
|
|
498
60
|
|
|
499
61
|
```
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
│ /ant:commands │ aether CLI │ OpenCode agents │
|
|
504
|
-
│ (33 commands) │ (bin/cli.js) │ (4 agents) │
|
|
505
|
-
└────────┬─────────┴────────┬─────────┴──────────┬───────────┘
|
|
506
|
-
│ │ │
|
|
507
|
-
▼ ▼ ▼
|
|
508
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
509
|
-
│ UTILITIES LAYER │
|
|
510
|
-
│ aether-utils.sh (50+ subcommands) + bin/lib/* (10 modules) │
|
|
511
|
-
└────────────────────────────┬────────────────────────────────┘
|
|
512
|
-
│
|
|
513
|
-
▼
|
|
514
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
515
|
-
│ STATE LAYER │
|
|
516
|
-
│ .aether/data/ (COLONY_STATE, flags, constraints) │
|
|
517
|
-
└─────────────────────────────────────────────────────────────┘
|
|
62
|
+
/ant:focus "security" # 🎯 "Pay attention here"
|
|
63
|
+
/ant:redirect "no jQuery" # 🚫 "Don't do this" (hard constraint)
|
|
64
|
+
/ant:feedback "prefer composition" # 💬 "Adjust based on this"
|
|
518
65
|
```
|
|
519
66
|
|
|
520
|
-
|
|
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
|
-
|
|
532
|
-
---
|
|
533
|
-
|
|
534
|
-
## Safety Features
|
|
535
|
-
|
|
536
|
-
- **File Locking** — Prevents concurrent modification of state with configurable stale lock detection
|
|
537
|
-
- **Atomic Writes** — Temp file + rename pattern
|
|
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
|
|
541
|
-
- **Git Checkpoints** — Automatic commits before phases
|
|
542
|
-
- **Ant Graveyards** — Failed files marked for future caution
|
|
543
|
-
- **Checkpoint System** — Safe snapshots before updates with `aether checkpoint`
|
|
544
|
-
|
|
545
|
-
---
|
|
546
|
-
|
|
547
|
-
## Disciplines
|
|
548
|
-
|
|
549
|
-
Workers follow strict disciplines:
|
|
550
|
-
|
|
551
|
-
| Discipline | Rule |
|
|
552
|
-
|------------|------|
|
|
553
|
-
| **Verification** | No completion claims without fresh evidence |
|
|
554
|
-
| **TDD** | No production code without a failing test first |
|
|
555
|
-
| **Debugging** | No fixes without root cause investigation (3-fix rule) |
|
|
556
|
-
| **Learning** | Pattern detection with validation lifecycle |
|
|
557
|
-
| **Coding Standards** | KISS, DRY, YAGNI, readable code |
|
|
67
|
+
The colony **remembers**. Wisdom, learnings, and instincts persist across sessions. The 🧠 Hive Brain shares knowledge across colonies on your machine.
|
|
558
68
|
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
## Installation & Updates
|
|
69
|
+
## 🚀 Quick Start
|
|
562
70
|
|
|
563
71
|
```bash
|
|
564
72
|
# Install globally
|
|
565
73
|
npm install -g aether-colony
|
|
566
74
|
|
|
567
|
-
#
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
#
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
75
|
+
# In your project repo:
|
|
76
|
+
/ant:lay-eggs # 🥚 Set up Aether (one-time)
|
|
77
|
+
/ant:init "Build X" # 🌱 Start a colony with a goal
|
|
78
|
+
/ant:plan # 📋 Generate phased roadmap
|
|
79
|
+
/ant:run # 🐜 Autopilot: build, verify, advance all phases
|
|
80
|
+
/ant:seal # 🏺 Done — archive the colony
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
That's it. Five commands from zero to shipped.
|
|
84
|
+
|
|
85
|
+
## ✨ Key Features
|
|
86
|
+
|
|
87
|
+
- 🐜 **24 Specialized Agents** — Real subagents spawned via Task tool, from builders to archaeologists
|
|
88
|
+
- ⚡ **44 Slash Commands** — Full lifecycle management across Claude Code and OpenCode
|
|
89
|
+
- 🎯 **Pheromone System** — Guide the colony with FOCUS, REDIRECT, FEEDBACK signals
|
|
90
|
+
- 🧠 **Colony Memory** — Learnings persist across sessions via QUEEN.md wisdom
|
|
91
|
+
- 🌐 **Hive Brain** — Cross-colony wisdom sharing with domain-scoped retrieval
|
|
92
|
+
- 📚 **Skills System** — 28 skills (10 colony + 18 domain) inject domain knowledge into workers
|
|
93
|
+
- 🤖 **Autopilot** (`/ant:run`) — Automated build-verify-advance loop with smart pause conditions
|
|
94
|
+
- ✅ **6-Phase Verification** — Build, types, lint, tests, security, diff gates before any phase advances
|
|
95
|
+
- 🛡️ **Quality Gates** — Security (Gatekeeper), quality (Auditor), coverage (Probe), performance (Measurer)
|
|
96
|
+
- 🔍 **Per-Phase Research** — Scouts investigate domain knowledge before task decomposition
|
|
97
|
+
- 🔮 **Oracle Deep Research** — Autonomous research loop for complex investigations
|
|
98
|
+
- 💾 **Pause/Resume** — Full state serialization for context breaks
|
|
99
|
+
|
|
100
|
+
## 📖 Commands
|
|
101
|
+
|
|
102
|
+
<details>
|
|
103
|
+
<summary><strong>🏗️ Core Lifecycle</strong></summary>
|
|
104
|
+
|
|
105
|
+
| Command | Description |
|
|
106
|
+
|---------|-------------|
|
|
107
|
+
| `/ant:lay-eggs` | 🥚 Set up Aether in this repo (one-time) |
|
|
108
|
+
| `/ant:init "goal"` | 🌱 Initialize colony with mission |
|
|
109
|
+
| `/ant:plan` | 📋 Generate phased roadmap with domain research |
|
|
110
|
+
| `/ant:build N` | 🔨 Execute phase N with worker waves |
|
|
111
|
+
| `/ant:continue` | ➡️ 6-phase verification, advance to next phase |
|
|
112
|
+
| `/ant:run` | 🐜 Autopilot — build, verify, advance automatically |
|
|
113
|
+
| `/ant:patrol` | 🔍 Pre-seal audit — verify work against plan |
|
|
114
|
+
| `/ant:seal` | 🏺 Complete and archive colony |
|
|
115
|
+
| `/ant:entomb` | ⚰️ Create chamber from completed colony |
|
|
116
|
+
| `/ant:pause-colony` | 💾 Save state for context break |
|
|
117
|
+
| `/ant:resume-colony` | 🚦 Restore from pause |
|
|
118
|
+
|
|
119
|
+
</details>
|
|
120
|
+
|
|
121
|
+
<details>
|
|
122
|
+
<summary><strong>🎯 Pheromone Signals</strong></summary>
|
|
123
|
+
|
|
124
|
+
| Command | Description |
|
|
125
|
+
|---------|-------------|
|
|
126
|
+
| `/ant:focus "area"` | 🎯 FOCUS — "Pay attention here" |
|
|
127
|
+
| `/ant:redirect "pattern"` | 🚫 REDIRECT — "Don't do this" (hard constraint) |
|
|
128
|
+
| `/ant:feedback "note"` | 💬 FEEDBACK — "Adjust based on this" |
|
|
129
|
+
| `/ant:pheromones` | 📊 View active signals |
|
|
130
|
+
| `/ant:export-signals` | 📤 Export signals to XML |
|
|
131
|
+
| `/ant:import-signals` | 📥 Import signals from XML |
|
|
132
|
+
|
|
133
|
+
</details>
|
|
134
|
+
|
|
135
|
+
<details>
|
|
136
|
+
<summary><strong>🔬 Research & Analysis</strong></summary>
|
|
137
|
+
|
|
138
|
+
| Command | Description |
|
|
139
|
+
|---------|-------------|
|
|
140
|
+
| `/ant:colonize` | 📊🗺️ 4 parallel scouts analyze your codebase |
|
|
141
|
+
| `/ant:oracle "topic"` | 🔮 Deep research with autonomous loop |
|
|
142
|
+
| `/ant:archaeology <path>` | 🏺 Excavate git history for any file |
|
|
143
|
+
| `/ant:chaos <target>` | 🎲 Resilience testing, edge case probing |
|
|
144
|
+
| `/ant:swarm "problem"` | 🔥 4 parallel scouts for stubborn bugs |
|
|
145
|
+
| `/ant:dream` | 💭 Philosophical codebase wanderer |
|
|
146
|
+
| `/ant:interpret` | 🔍 Grounds dreams in reality |
|
|
147
|
+
| `/ant:organize` | 🧹 Codebase hygiene report |
|
|
148
|
+
|
|
149
|
+
</details>
|
|
150
|
+
|
|
151
|
+
<details>
|
|
152
|
+
<summary><strong>👁️ Visibility & Status</strong></summary>
|
|
153
|
+
|
|
154
|
+
| Command | Description |
|
|
155
|
+
|---------|-------------|
|
|
156
|
+
| `/ant:status` | 📈 Colony overview with memory health |
|
|
157
|
+
| `/ant:memory-details` | 🧠 Wisdom, pending promotions, recent failures |
|
|
158
|
+
| `/ant:watch` | 👁️ Real-time swarm display |
|
|
159
|
+
| `/ant:history` | 📜 Recent activity log |
|
|
160
|
+
| `/ant:flags` | 🚩 List blockers and issues |
|
|
161
|
+
| `/ant:help` | 🐜 Full command reference |
|
|
162
|
+
|
|
163
|
+
</details>
|
|
164
|
+
|
|
165
|
+
<details>
|
|
166
|
+
<summary><strong>🔧 Coordination & Maintenance</strong></summary>
|
|
167
|
+
|
|
168
|
+
| Command | Description |
|
|
169
|
+
|---------|-------------|
|
|
170
|
+
| `/ant:council` | 📜 Clarify intent via multi-choice questions |
|
|
171
|
+
| `/ant:flag "title"` | 🚩 Create project-specific flag |
|
|
172
|
+
| `/ant:data-clean` | 🧹 Remove test artifacts from colony data |
|
|
173
|
+
| `/ant:preferences` | ⚙️ Add or list user preferences |
|
|
174
|
+
| `/ant:skill-create "topic"` | 🐜 Create custom domain skill |
|
|
175
|
+
| `/ant:update` | 🔄 Update system files from hub |
|
|
176
|
+
|
|
177
|
+
</details>
|
|
178
|
+
|
|
179
|
+
## 🐜 The 24 Agents
|
|
180
|
+
|
|
181
|
+
| Tier | Agent | Role |
|
|
182
|
+
|------|-------|------|
|
|
183
|
+
| 👑 **Core** | Builder | 🔨 Writes code, TDD-first |
|
|
184
|
+
| 👑 **Core** | Watcher | 👁️ Tests, validates, quality gates |
|
|
185
|
+
| 👑 **Core** | Scout | 🔍 Researches, discovers |
|
|
186
|
+
| 🏛️ **Orchestration** | Queen | 👑 Orchestrates phases, spawns workers |
|
|
187
|
+
| 🏛️ **Orchestration** | Route-Setter | 📋 Plans phases, breaks down goals |
|
|
188
|
+
| 🏛️ **Orchestration** | Architect | 🏗️ Architecture design |
|
|
189
|
+
| 🗺️ **Surveyor** | surveyor-nest | 📂 Maps directory structure |
|
|
190
|
+
| 🗺️ **Surveyor** | surveyor-disciplines | 📏 Documents conventions |
|
|
191
|
+
| 🗺️ **Surveyor** | surveyor-pathogens | 🦠 Identifies tech debt |
|
|
192
|
+
| 🗺️ **Surveyor** | surveyor-provisions | 📦 Maps dependencies |
|
|
193
|
+
| ⚡ **Specialist** | Keeper | 📚 Preserves knowledge |
|
|
194
|
+
| ⚡ **Specialist** | Tracker | 🐛 Investigates bugs |
|
|
195
|
+
| ⚡ **Specialist** | Probe | 🔬 Coverage analysis |
|
|
196
|
+
| ⚡ **Specialist** | Weaver | 🧵 Refactoring specialist |
|
|
197
|
+
| ⚡ **Specialist** | Auditor | ✅ Quality gate |
|
|
198
|
+
| 🎯 **Niche** | Chaos | 🎲 Resilience testing |
|
|
199
|
+
| 🎯 **Niche** | Archaeologist | 🏺 Excavates git history |
|
|
200
|
+
| 🎯 **Niche** | Gatekeeper | 🛡️ Security gate |
|
|
201
|
+
| 🎯 **Niche** | Includer | ♿ Accessibility audits |
|
|
202
|
+
| 🎯 **Niche** | Measurer | ⏱️ Performance analysis |
|
|
203
|
+
| 🎯 **Niche** | Sage | 🧙 Wisdom synthesis |
|
|
204
|
+
| 🎯 **Niche** | Oracle | 🔮 Deep research |
|
|
205
|
+
| 🎯 **Niche** | Ambassador | 🌐 External integrations |
|
|
206
|
+
| 🎯 **Niche** | Chronicler | 📝 Documentation |
|
|
207
|
+
|
|
208
|
+
## 🏗️ Architecture
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
.aether/ # 🐜 Colony files (repo-local)
|
|
212
|
+
├── aether-utils.sh # ⚡ Dispatcher (~5,200 lines, ~150 subcommands)
|
|
213
|
+
├── utils/ # 🔧 ~29 modular scripts
|
|
214
|
+
├── skills/ # 📚 28 skills (10 colony + 18 domain)
|
|
215
|
+
├── commands/ # 📖 44 YAML command sources
|
|
216
|
+
├── exchange/ # 📤 XML exchange modules
|
|
217
|
+
├── docs/ # 📝 Documentation
|
|
218
|
+
├── templates/ # 📋 12 templates
|
|
219
|
+
└── data/ # 💾 Colony state (local only)
|
|
220
|
+
|
|
221
|
+
~/.aether/ # 🌐 Hub (cross-colony, user-level)
|
|
222
|
+
├── QUEEN.md # 👑 Wisdom + preferences
|
|
223
|
+
├── hive/wisdom.json # 🧠 Cross-colony wisdom (200 cap)
|
|
224
|
+
└── registry.json # 📊 All registered colonies
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## 🔌 Works With
|
|
228
|
+
|
|
229
|
+
- **[Claude Code](https://docs.anthropic.com/en/docs/claude-code)** — 44 slash commands + 24 agent definitions
|
|
230
|
+
- **[OpenCode](https://github.com/opencode-ai/opencode)** — 44 slash commands + agent definitions
|
|
231
|
+
|
|
232
|
+
## 📄 License
|
|
233
|
+
|
|
234
|
+
MIT
|