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
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
name: "ant:watch"
|
|
2
|
+
description: "👁️🔄🐜🏠🔄👁️ Set up tmux session to watch ants working in real-time"
|
|
3
|
+
body_claude: |
|
|
4
|
+
You are the **Queen**. Set up live visibility into colony activity.
|
|
5
|
+
|
|
6
|
+
## Instructions
|
|
7
|
+
|
|
8
|
+
### Step 1: Check Prerequisites
|
|
9
|
+
|
|
10
|
+
Use Bash with description "Checking for tmux..." to check if tmux is available:
|
|
11
|
+
```bash
|
|
12
|
+
command -v tmux >/dev/null 2>&1 && echo "tmux_available" || echo "tmux_missing"
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
If tmux is missing:
|
|
16
|
+
```
|
|
17
|
+
tmux is required for live colony viewing.
|
|
18
|
+
|
|
19
|
+
Install with:
|
|
20
|
+
macOS: brew install tmux
|
|
21
|
+
Ubuntu: sudo apt install tmux
|
|
22
|
+
Fedora: sudo dnf install tmux
|
|
23
|
+
```
|
|
24
|
+
Stop here.
|
|
25
|
+
|
|
26
|
+
### Step 2: Initialize Activity Log
|
|
27
|
+
|
|
28
|
+
Ensure activity log exists by running using the Bash tool with description "Initializing watch files...":
|
|
29
|
+
```bash
|
|
30
|
+
mkdir -p .aether/data
|
|
31
|
+
touch .aether/data/activity.log
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Step 2.5: Check for Stale Watch Session
|
|
35
|
+
|
|
36
|
+
Capture session start time:
|
|
37
|
+
```bash
|
|
38
|
+
WATCH_START=$(date +%s)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Check for stale watch files by running using the Bash tool with description "Checking for stale watch session...":
|
|
42
|
+
```bash
|
|
43
|
+
stale_check=$(bash .aether/aether-utils.sh session-verify-fresh --command watch "" "$WATCH_START")
|
|
44
|
+
has_stale=$(echo "$stale_check" | jq -r '.stale | length' 2>/dev/null || echo "0")
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
If stale files exist, they will be overwritten by the new watch session.
|
|
48
|
+
The tmux session check in Step 4 handles concurrent sessions.
|
|
49
|
+
|
|
50
|
+
### Step 3: Create Status File
|
|
51
|
+
|
|
52
|
+
Write initial status to `.aether/data/watch-status.txt`:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
.-.
|
|
56
|
+
(o o) AETHER COLONY
|
|
57
|
+
| O | Live Status
|
|
58
|
+
`-`
|
|
59
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
60
|
+
|
|
61
|
+
Session Started: $(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
|
62
|
+
State: IDLE
|
|
63
|
+
Phase: -/-
|
|
64
|
+
|
|
65
|
+
Active Workers:
|
|
66
|
+
(none)
|
|
67
|
+
|
|
68
|
+
Last Activity:
|
|
69
|
+
(waiting for colony activity)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Step 4: Create or Attach to tmux Session
|
|
73
|
+
|
|
74
|
+
Check if session exists by running using the Bash tool with description "Checking tmux session...":
|
|
75
|
+
```bash
|
|
76
|
+
tmux has-session -t aether-colony 2>/dev/null && echo "exists" || echo "new"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**If session exists:** Attach to it by running using the Bash tool with description "Attaching to watch session...":
|
|
80
|
+
```bash
|
|
81
|
+
tmux attach-session -t aether-colony
|
|
82
|
+
```
|
|
83
|
+
Output: `Attached to existing aether-colony session.`
|
|
84
|
+
Stop here.
|
|
85
|
+
|
|
86
|
+
**If session is new:** Create the layout.
|
|
87
|
+
|
|
88
|
+
### Step 5: Create tmux Layout (4-Pane)
|
|
89
|
+
|
|
90
|
+
Use Bash with description "Creating watch session layout..." to create the session with 4 panes in a 2x2 grid:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# Create session with first pane
|
|
94
|
+
tmux new-session -d -s aether-colony -n colony
|
|
95
|
+
|
|
96
|
+
# Split into 4 panes (2x2 grid)
|
|
97
|
+
# First split horizontally (left|right)
|
|
98
|
+
tmux split-window -h -t aether-colony:colony
|
|
99
|
+
|
|
100
|
+
# Split left side vertically (top-left, bottom-left)
|
|
101
|
+
tmux split-window -v -t aether-colony:colony.0
|
|
102
|
+
|
|
103
|
+
# Split right side vertically (top-right, bottom-right)
|
|
104
|
+
tmux split-window -v -t aether-colony:colony.2
|
|
105
|
+
|
|
106
|
+
# Set pane contents:
|
|
107
|
+
# Pane 0 (top-left): Status display
|
|
108
|
+
tmux send-keys -t aether-colony:colony.0 'watch -n 1 cat .aether/data/watch-status.txt' C-m
|
|
109
|
+
|
|
110
|
+
# Pane 1 (bottom-left): Progress bar
|
|
111
|
+
tmux send-keys -t aether-colony:colony.1 'watch -n 1 cat .aether/data/watch-progress.txt' C-m
|
|
112
|
+
|
|
113
|
+
# Pane 2 (top-right): Spawn tree visualization
|
|
114
|
+
tmux send-keys -t aether-colony:colony.2 'bash .aether/utils/watch-spawn-tree.sh .aether/data' C-m
|
|
115
|
+
|
|
116
|
+
# Pane 3 (bottom-right): Colorized activity log stream
|
|
117
|
+
tmux send-keys -t aether-colony:colony.3 'bash .aether/utils/colorize-log.sh .aether/data/activity.log' C-m
|
|
118
|
+
|
|
119
|
+
# Set pane titles (if supported)
|
|
120
|
+
tmux select-pane -t aether-colony:colony.0 -T "Status"
|
|
121
|
+
tmux select-pane -t aether-colony:colony.1 -T "Progress"
|
|
122
|
+
tmux select-pane -t aether-colony:colony.2 -T "Spawn Tree"
|
|
123
|
+
tmux select-pane -t aether-colony:colony.3 -T "Activity Log"
|
|
124
|
+
|
|
125
|
+
# Balance panes for even 2x2 grid
|
|
126
|
+
tmux select-layout -t aether-colony:colony tiled
|
|
127
|
+
|
|
128
|
+
echo "Session created"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Step 6: Create Progress File
|
|
132
|
+
|
|
133
|
+
Write initial progress to `.aether/data/watch-progress.txt`:
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
.-.
|
|
137
|
+
(o o) AETHER COLONY
|
|
138
|
+
| O | Progress
|
|
139
|
+
`-`
|
|
140
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
141
|
+
|
|
142
|
+
Phase: -/-
|
|
143
|
+
|
|
144
|
+
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%
|
|
145
|
+
|
|
146
|
+
⏳ Waiting for build...
|
|
147
|
+
|
|
148
|
+
Target: 95% confidence
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Step 7: Attach and Display
|
|
152
|
+
|
|
153
|
+
Run using the Bash tool with description "Attaching to watch display...":
|
|
154
|
+
```bash
|
|
155
|
+
tmux attach-session -t aether-colony
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Before attaching, output:
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
162
|
+
👁️🔄🐜🏠🔄👁️ A E T H E R C O L O N Y W A T C H
|
|
163
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
164
|
+
|
|
165
|
+
tmux session 'aether-colony' created.
|
|
166
|
+
|
|
167
|
+
Layout (4-pane 2x2 grid):
|
|
168
|
+
+------------------+------------------+
|
|
169
|
+
| Status | Spawn Tree |
|
|
170
|
+
| Colony state | Worker hierarchy |
|
|
171
|
+
+------------------+------------------+
|
|
172
|
+
| Progress | Activity Log |
|
|
173
|
+
| Phase progress | Live stream |
|
|
174
|
+
+------------------+------------------+
|
|
175
|
+
|
|
176
|
+
Commands:
|
|
177
|
+
Ctrl+B D Detach from session
|
|
178
|
+
Ctrl+B [ Scroll mode (q to exit)
|
|
179
|
+
Ctrl+B Arrow Navigate between panes
|
|
180
|
+
tmux kill-session -t aether-colony Stop watching
|
|
181
|
+
|
|
182
|
+
The session will update in real-time as colony works.
|
|
183
|
+
Attaching now...
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Status Update Protocol
|
|
191
|
+
|
|
192
|
+
Workers and commands update watch files as they work:
|
|
193
|
+
|
|
194
|
+
### Activity Log
|
|
195
|
+
Workers write via: `bash .aether/aether-utils.sh activity-log "ACTION" "caste" "description"`
|
|
196
|
+
|
|
197
|
+
For named ants (recommended):
|
|
198
|
+
```bash
|
|
199
|
+
# Generate a name first
|
|
200
|
+
ant_name=$(bash .aether/aether-utils.sh generate-ant-name "builder" | jq -r '.result')
|
|
201
|
+
# Log with ant name
|
|
202
|
+
bash .aether/aether-utils.sh activity-log "CREATED" "$ant_name (Builder)" "Implemented auth module"
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Spawn Tracking
|
|
206
|
+
Log spawns for tree visualization:
|
|
207
|
+
```bash
|
|
208
|
+
bash .aether/aether-utils.sh spawn-log "Prime" "builder" "Hammer-42" "implementing auth"
|
|
209
|
+
bash .aether/aether-utils.sh spawn-complete "Hammer-42" "completed" "auth module done"
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Status File
|
|
213
|
+
Commands update `.aether/data/watch-status.txt` with current state:
|
|
214
|
+
- State: PLANNING, EXECUTING, READY
|
|
215
|
+
- Phase: current/total
|
|
216
|
+
- Active Workers: list of named ants
|
|
217
|
+
- Last Activity: most recent log entry
|
|
218
|
+
|
|
219
|
+
### Progress File
|
|
220
|
+
Update via: `bash .aether/aether-utils.sh update-progress <percent> "<message>" <phase> <total>`
|
|
221
|
+
|
|
222
|
+
Example:
|
|
223
|
+
```bash
|
|
224
|
+
bash .aether/aether-utils.sh update-progress 45 "Building auth module..." 2 5
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## Cleanup
|
|
230
|
+
|
|
231
|
+
To stop watching:
|
|
232
|
+
```bash
|
|
233
|
+
tmux kill-session -t aether-colony
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
This stops the session but preserves all log files.
|
|
237
|
+
|
|
238
|
+
body_opencode: |
|
|
239
|
+
You are the **Queen**. Set up live visibility into colony activity.
|
|
240
|
+
|
|
241
|
+
## Instructions
|
|
242
|
+
|
|
243
|
+
### Step 1: Check Prerequisites
|
|
244
|
+
|
|
245
|
+
Use Bash to check if tmux is available:
|
|
246
|
+
```bash
|
|
247
|
+
command -v tmux >/dev/null 2>&1 && echo "tmux_available" || echo "tmux_missing"
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
If tmux is missing:
|
|
251
|
+
```
|
|
252
|
+
tmux is required for live colony viewing.
|
|
253
|
+
|
|
254
|
+
Install with:
|
|
255
|
+
macOS: brew install tmux
|
|
256
|
+
Ubuntu: sudo apt install tmux
|
|
257
|
+
Fedora: sudo dnf install tmux
|
|
258
|
+
```
|
|
259
|
+
Stop here.
|
|
260
|
+
|
|
261
|
+
### Step 2: Initialize Activity Log
|
|
262
|
+
|
|
263
|
+
Ensure activity log exists:
|
|
264
|
+
```bash
|
|
265
|
+
mkdir -p .aether/data
|
|
266
|
+
touch .aether/data/activity.log
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### Step 3: Create Status File
|
|
270
|
+
|
|
271
|
+
Write initial status to `.aether/data/watch-status.txt`:
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
.-.
|
|
275
|
+
(o o) AETHER COLONY
|
|
276
|
+
| O | Live Status
|
|
277
|
+
`-`
|
|
278
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
279
|
+
|
|
280
|
+
State: IDLE
|
|
281
|
+
Phase: -/-
|
|
282
|
+
|
|
283
|
+
Active Workers:
|
|
284
|
+
(none)
|
|
285
|
+
|
|
286
|
+
Last Activity:
|
|
287
|
+
(waiting for colony activity)
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### Step 4: Create or Attach to tmux Session
|
|
291
|
+
|
|
292
|
+
Check if session exists:
|
|
293
|
+
```bash
|
|
294
|
+
tmux has-session -t aether-colony 2>/dev/null && echo "exists" || echo "new"
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
**If session exists:** Attach to it
|
|
298
|
+
```bash
|
|
299
|
+
tmux attach-session -t aether-colony
|
|
300
|
+
```
|
|
301
|
+
Output: `Attached to existing aether-colony session.`
|
|
302
|
+
Stop here.
|
|
303
|
+
|
|
304
|
+
**If session is new:** Create the layout.
|
|
305
|
+
|
|
306
|
+
### Step 5: Create tmux Layout (4-Pane)
|
|
307
|
+
|
|
308
|
+
Use Bash to create the session with 4 panes in a 2x2 grid:
|
|
309
|
+
|
|
310
|
+
```bash
|
|
311
|
+
# Create session with first pane
|
|
312
|
+
tmux new-session -d -s aether-colony -n colony
|
|
313
|
+
|
|
314
|
+
# Split into 4 panes (2x2 grid)
|
|
315
|
+
# First split horizontally (left|right)
|
|
316
|
+
tmux split-window -h -t aether-colony:colony
|
|
317
|
+
|
|
318
|
+
# Split left side vertically (top-left, bottom-left)
|
|
319
|
+
tmux split-window -v -t aether-colony:colony.0
|
|
320
|
+
|
|
321
|
+
# Split right side vertically (top-right, bottom-right)
|
|
322
|
+
tmux split-window -v -t aether-colony:colony.2
|
|
323
|
+
|
|
324
|
+
# Set pane contents:
|
|
325
|
+
# Pane 0 (top-left): Status display
|
|
326
|
+
tmux send-keys -t aether-colony:colony.0 'watch -n 1 cat .aether/data/watch-status.txt' C-m
|
|
327
|
+
|
|
328
|
+
# Pane 1 (bottom-left): Progress bar
|
|
329
|
+
tmux send-keys -t aether-colony:colony.1 'watch -n 1 cat .aether/data/watch-progress.txt' C-m
|
|
330
|
+
|
|
331
|
+
# Pane 2 (top-right): Spawn tree visualization
|
|
332
|
+
tmux send-keys -t aether-colony:colony.2 'bash .aether/utils/watch-spawn-tree.sh .aether/data' C-m
|
|
333
|
+
|
|
334
|
+
# Pane 3 (bottom-right): Colorized activity log stream
|
|
335
|
+
tmux send-keys -t aether-colony:colony.3 'bash .aether/utils/colorize-log.sh .aether/data/activity.log' C-m
|
|
336
|
+
|
|
337
|
+
# Set pane titles (if supported)
|
|
338
|
+
tmux select-pane -t aether-colony:colony.0 -T "Status"
|
|
339
|
+
tmux select-pane -t aether-colony:colony.1 -T "Progress"
|
|
340
|
+
tmux select-pane -t aether-colony:colony.2 -T "Spawn Tree"
|
|
341
|
+
tmux select-pane -t aether-colony:colony.3 -T "Activity Log"
|
|
342
|
+
|
|
343
|
+
# Balance panes for even 2x2 grid
|
|
344
|
+
tmux select-layout -t aether-colony:colony tiled
|
|
345
|
+
|
|
346
|
+
echo "Session created"
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
### Step 6: Create Progress File
|
|
350
|
+
|
|
351
|
+
Write initial progress to `.aether/data/watch-progress.txt`:
|
|
352
|
+
|
|
353
|
+
```
|
|
354
|
+
.-.
|
|
355
|
+
(o o) AETHER COLONY
|
|
356
|
+
| O | Progress
|
|
357
|
+
`-`
|
|
358
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
359
|
+
|
|
360
|
+
Phase: -/-
|
|
361
|
+
|
|
362
|
+
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%
|
|
363
|
+
|
|
364
|
+
⏳ Waiting for build...
|
|
365
|
+
|
|
366
|
+
Target: 95% confidence
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
### Step 7: Attach and Display
|
|
370
|
+
|
|
371
|
+
```bash
|
|
372
|
+
tmux attach-session -t aether-colony
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
Before attaching, output:
|
|
376
|
+
|
|
377
|
+
```
|
|
378
|
+
.-.
|
|
379
|
+
(o o) AETHER COLONY :: WATCH
|
|
380
|
+
| O |
|
|
381
|
+
`-`
|
|
382
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
383
|
+
|
|
384
|
+
tmux session 'aether-colony' created.
|
|
385
|
+
|
|
386
|
+
Layout (4-pane 2x2 grid):
|
|
387
|
+
+------------------+------------------+
|
|
388
|
+
| Status | Spawn Tree |
|
|
389
|
+
| Colony state | Worker hierarchy |
|
|
390
|
+
+------------------+------------------+
|
|
391
|
+
| Progress | Activity Log |
|
|
392
|
+
| Phase progress | Live stream |
|
|
393
|
+
+------------------+------------------+
|
|
394
|
+
|
|
395
|
+
Commands:
|
|
396
|
+
Ctrl+B D Detach from session
|
|
397
|
+
Ctrl+B [ Scroll mode (q to exit)
|
|
398
|
+
Ctrl+B Arrow Navigate between panes
|
|
399
|
+
tmux kill-session -t aether-colony Stop watching
|
|
400
|
+
|
|
401
|
+
The session will update in real-time as colony works.
|
|
402
|
+
Attaching now...
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
|
|
407
|
+
## Status Update Protocol
|
|
408
|
+
|
|
409
|
+
Workers and commands update watch files as they work:
|
|
410
|
+
|
|
411
|
+
### Activity Log
|
|
412
|
+
Workers write via: `bash .aether/aether-utils.sh activity-log "ACTION" "caste" "description"`
|
|
413
|
+
|
|
414
|
+
For named ants (recommended):
|
|
415
|
+
```bash
|
|
416
|
+
# Generate a name first
|
|
417
|
+
ant_name=$(bash .aether/aether-utils.sh generate-ant-name "builder" | jq -r '.result')
|
|
418
|
+
# Log with ant name
|
|
419
|
+
bash .aether/aether-utils.sh activity-log "CREATED" "$ant_name (Builder)" "Implemented auth module"
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
### Spawn Tracking
|
|
423
|
+
Log spawns for tree visualization:
|
|
424
|
+
```bash
|
|
425
|
+
bash .aether/aether-utils.sh spawn-log "Prime" "builder" "Hammer-42" "implementing auth"
|
|
426
|
+
bash .aether/aether-utils.sh spawn-complete "Hammer-42" "completed" "auth module done"
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
### Status File
|
|
430
|
+
Commands update `.aether/data/watch-status.txt` with current state:
|
|
431
|
+
- State: PLANNING, EXECUTING, READY
|
|
432
|
+
- Phase: current/total
|
|
433
|
+
- Active Workers: list of named ants
|
|
434
|
+
- Last Activity: most recent log entry
|
|
435
|
+
|
|
436
|
+
### Progress File
|
|
437
|
+
Update via: `bash .aether/aether-utils.sh update-progress <percent> "<message>" <phase> <total>`
|
|
438
|
+
|
|
439
|
+
Example:
|
|
440
|
+
```bash
|
|
441
|
+
bash .aether/aether-utils.sh update-progress 45 "Building auth module..." 2 5
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
---
|
|
445
|
+
|
|
446
|
+
## Cleanup
|
|
447
|
+
|
|
448
|
+
To stop watching:
|
|
449
|
+
```bash
|
|
450
|
+
tmux kill-session -t aether-colony
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
This stops the session but preserves all log files.
|
|
454
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Incident Report: {INCIDENT_ID}
|
|
2
|
+
|
|
3
|
+
## Trigger
|
|
4
|
+
- Command run: `/ant:{command}`
|
|
5
|
+
- Expected outcome:
|
|
6
|
+
- Actual outcome:
|
|
7
|
+
|
|
8
|
+
## Root Cause Analysis
|
|
9
|
+
- What failed:
|
|
10
|
+
- Why it failed:
|
|
11
|
+
- Which component: [ ] Orchestration [ ] State [ ] Memory [ ] Verification [ ] Spawn
|
|
12
|
+
|
|
13
|
+
## Fix Applied
|
|
14
|
+
- Commit: {hash}
|
|
15
|
+
- Files changed:
|
|
16
|
+
- Fix description:
|
|
17
|
+
|
|
18
|
+
## Regression Test Added
|
|
19
|
+
- Test file:
|
|
20
|
+
- Test description:
|
|
21
|
+
- How to run: `bash .aether/tests/{test_name}.sh`
|
|
22
|
+
|
|
23
|
+
## Rule Added
|
|
24
|
+
- Rule type: [ ] QUEEN.md decree [ ] workers.md constraint [ ] command-playbooks gate
|
|
25
|
+
- Rule text:
|
|
26
|
+
- Location:
|
|
27
|
+
|
|
28
|
+
## Metrics
|
|
29
|
+
- Time to detect:
|
|
30
|
+
- Time to fix:
|
|
31
|
+
- Spawn efficiency before:
|
|
32
|
+
- Spawn efficiency after:
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# QUEEN.md System
|
|
2
|
+
|
|
3
|
+
The QUEEN.md system is Aether's wisdom feedback loop - a mechanism for capturing, validating, and propagating learnings across colonies.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The Queen represents the accumulation of validated knowledge from all colonies. As colonies complete work, they promote significant patterns, decisions, and insights to QUEEN.md. Future colonies can then read this wisdom to benefit from previous experience.
|
|
8
|
+
|
|
9
|
+
## File Location
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
.aether/QUEEN.md
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Structure
|
|
16
|
+
|
|
17
|
+
### 📜 Philosophies
|
|
18
|
+
|
|
19
|
+
Core beliefs validated through repeated successful application across multiple colonies.
|
|
20
|
+
|
|
21
|
+
**Threshold:** 1 successful validation required for promotion
|
|
22
|
+
|
|
23
|
+
Example:
|
|
24
|
+
```markdown
|
|
25
|
+
- **colony-name** (2026-02-15T13:08:24Z): Test-driven development ensures quality
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 🧭 Patterns
|
|
29
|
+
|
|
30
|
+
Validated approaches that consistently work. These represent discovered best practices.
|
|
31
|
+
|
|
32
|
+
**Threshold:** 1 successful validation required for promotion
|
|
33
|
+
|
|
34
|
+
Example:
|
|
35
|
+
```markdown
|
|
36
|
+
- **colony-name** (2026-02-15T13:08:28Z): Always validate inputs
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### ⚠️ Redirects
|
|
40
|
+
|
|
41
|
+
Anti-patterns to avoid. Approaches that have caused problems.
|
|
42
|
+
|
|
43
|
+
**Threshold:** 1 failed validation required for promotion
|
|
44
|
+
|
|
45
|
+
Example:
|
|
46
|
+
```markdown
|
|
47
|
+
- **colony-name** (2026-02-15T13:08:31Z): Never skip security checks
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 🔧 Stack Wisdom
|
|
51
|
+
|
|
52
|
+
Technology-specific insights detected through codebase analysis.
|
|
53
|
+
|
|
54
|
+
**Threshold:** 1 validation required for promotion
|
|
55
|
+
|
|
56
|
+
Example:
|
|
57
|
+
```markdown
|
|
58
|
+
- **colony-name** (2026-02-15T13:08:36Z): Use jq for JSON in bash
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### 🏛️ Decrees
|
|
62
|
+
|
|
63
|
+
User-mandated rules that override other guidance.
|
|
64
|
+
|
|
65
|
+
**Threshold:** 0 validations required (immediate promotion)
|
|
66
|
+
|
|
67
|
+
Example:
|
|
68
|
+
```markdown
|
|
69
|
+
- **colony-name** (2026-02-15T13:08:40Z): All code must have tests
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### 📊 Evolution Log
|
|
73
|
+
|
|
74
|
+
Track how wisdom has evolved over time.
|
|
75
|
+
|
|
76
|
+
## Commands
|
|
77
|
+
|
|
78
|
+
### queen-init
|
|
79
|
+
|
|
80
|
+
Initialize QUEEN.md from template if it doesn't exist.
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
bash .aether/aether-utils.sh queen-init
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Returns:**
|
|
87
|
+
```json
|
|
88
|
+
{"created": true, "path": ".aether/QUEEN.md", "source": "~/.aether/system/templates/QUEEN.md.template"}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### queen-read
|
|
92
|
+
|
|
93
|
+
Read QUEEN.md and return wisdom as JSON for worker priming.
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
bash .aether/aether-utils.sh queen-read
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Returns:**
|
|
100
|
+
```json
|
|
101
|
+
{
|
|
102
|
+
"metadata": {
|
|
103
|
+
"version": "1.0.0",
|
|
104
|
+
"last_evolved": "2026-02-15T13:08:40Z",
|
|
105
|
+
"colonies_contributed": ["colony-a"],
|
|
106
|
+
"promotion_thresholds": {...},
|
|
107
|
+
"stats": {...}
|
|
108
|
+
},
|
|
109
|
+
"wisdom": {
|
|
110
|
+
"philosophies": "...",
|
|
111
|
+
"patterns": "...",
|
|
112
|
+
"redirects": "...",
|
|
113
|
+
"stack_wisdom": "...",
|
|
114
|
+
"decrees": "..."
|
|
115
|
+
},
|
|
116
|
+
"priming": {
|
|
117
|
+
"has_philosophies": true,
|
|
118
|
+
"has_patterns": true,
|
|
119
|
+
...
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### queen-promote
|
|
125
|
+
|
|
126
|
+
Promote a learning to QUEEN.md wisdom.
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
bash .aether/aether-utils.sh queen-promote <type> <content> <colony_name>
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**Types:** `philosophy`, `pattern`, `redirect`, `stack`, `decree`
|
|
133
|
+
|
|
134
|
+
**Example:**
|
|
135
|
+
```bash
|
|
136
|
+
bash .aether/aether-utils.sh queen-promote pattern "Always validate inputs" "my-colony"
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Integration with Commands
|
|
140
|
+
|
|
141
|
+
### init.md
|
|
142
|
+
|
|
143
|
+
Calls `queen-init` after bootstrap to ensure QUEEN.md exists for the colony.
|
|
144
|
+
|
|
145
|
+
### build.md
|
|
146
|
+
|
|
147
|
+
Calls `queen-read` before spawning workers to inject wisdom into worker prompts.
|
|
148
|
+
|
|
149
|
+
### continue.md
|
|
150
|
+
|
|
151
|
+
After verification, promotes validated learnings to QUEEN.md using `queen-promote`.
|
|
152
|
+
|
|
153
|
+
### seal.md
|
|
154
|
+
|
|
155
|
+
Before archiving, promotes significant patterns and decisions to QUEEN.md.
|
|
156
|
+
|
|
157
|
+
### entomb.md
|
|
158
|
+
|
|
159
|
+
Before creating the chamber, promotes validated learnings to QUEEN.md.
|
|
160
|
+
|
|
161
|
+
## Promotion Thresholds
|
|
162
|
+
|
|
163
|
+
| Type | Threshold | Rationale |
|
|
164
|
+
|------|-----------|-----------|
|
|
165
|
+
| Philosophy | 1 | Promote validated guidance quickly |
|
|
166
|
+
| Pattern | 1 | Promote reusable practices quickly |
|
|
167
|
+
| Redirect | 1 | Promote anti-pattern protection immediately |
|
|
168
|
+
| Stack | 1 | Tech insights are domain-specific |
|
|
169
|
+
| Decree | 0 | User mandates are immediate |
|
|
170
|
+
|
|
171
|
+
## Metadata
|
|
172
|
+
|
|
173
|
+
The QUEEN.md file includes a METADATA block at the end:
|
|
174
|
+
|
|
175
|
+
```html
|
|
176
|
+
<!-- METADATA
|
|
177
|
+
{
|
|
178
|
+
"version": "1.0.0",
|
|
179
|
+
"last_evolved": "2026-02-15T13:08:40Z",
|
|
180
|
+
"colonies_contributed": ["colony-a"],
|
|
181
|
+
"promotion_thresholds": {
|
|
182
|
+
"philosophy": 1,
|
|
183
|
+
"pattern": 1,
|
|
184
|
+
"redirect": 1,
|
|
185
|
+
"stack": 1,
|
|
186
|
+
"decree": 0
|
|
187
|
+
},
|
|
188
|
+
"stats": {
|
|
189
|
+
"total_philosophies": 1,
|
|
190
|
+
"total_patterns": 1,
|
|
191
|
+
...
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
-->
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Best Practices
|
|
198
|
+
|
|
199
|
+
1. **Don't manually edit QUEEN.md** - Use `queen-promote` to ensure proper formatting
|
|
200
|
+
2. **Validate before promoting** - Only promote learnings that have been tested
|
|
201
|
+
3. **Use descriptive colony names** - Helps track wisdom origins
|
|
202
|
+
4. **Read wisdom at build start** - Workers benefit from accumulated knowledge
|
|
203
|
+
5. **Review periodically** - Some wisdom may become outdated as the system evolves
|
|
204
|
+
|
|
205
|
+
## See Also
|
|
206
|
+
|
|
207
|
+
- `/ant:init` - Initializes QUEEN.md for new colonies
|
|
208
|
+
- `/ant:build` - Reads QUEEN.md wisdom for worker priming
|
|
209
|
+
- `/ant:continue` - Promotes validated learnings
|
|
210
|
+
- `/ant:seal` - Promotes final colony wisdom
|
|
211
|
+
- `/ant:entomb` - Promotes wisdom before archiving
|