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,101 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/insert-phase.yaml - DO NOT EDIT DIRECTLY -->
|
|
2
|
+
---
|
|
3
|
+
name: ant:insert-phase
|
|
4
|
+
description: "➕🐜 Insert a corrective phase into the active plan"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are the **Queen**. Insert a new corrective phase without forcing the user to provide flags.
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
|
|
11
|
+
### Step 1: Validate Colony State
|
|
12
|
+
|
|
13
|
+
Read `.aether/data/COLONY_STATE.json`.
|
|
14
|
+
|
|
15
|
+
If `goal` is null:
|
|
16
|
+
`No colony initialized. Run /ant:init first.`
|
|
17
|
+
Stop.
|
|
18
|
+
|
|
19
|
+
If `plan.phases` is empty:
|
|
20
|
+
`No project plan. Run /ant:plan first.`
|
|
21
|
+
Stop.
|
|
22
|
+
|
|
23
|
+
Determine:
|
|
24
|
+
- `current_phase`
|
|
25
|
+
- `total_phases`
|
|
26
|
+
- `current_phase_name` (if available)
|
|
27
|
+
|
|
28
|
+
### Step 2: Collect Minimal Input
|
|
29
|
+
|
|
30
|
+
This command is designed to work with no arguments.
|
|
31
|
+
|
|
32
|
+
If `$ARGUMENTS` is non-empty:
|
|
33
|
+
- Use `$ARGUMENTS` as the issue summary.
|
|
34
|
+
- Skip the first question.
|
|
35
|
+
|
|
36
|
+
Otherwise ask:
|
|
37
|
+
```text
|
|
38
|
+
What is not working and needs a corrective phase?
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Then ask:
|
|
42
|
+
```text
|
|
43
|
+
What should the inserted phase accomplish?
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Then ask (optional):
|
|
47
|
+
```text
|
|
48
|
+
Any hard constraints to enforce while fixing this? (or say "none")
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
If constraints answer is `none` (case-insensitive), treat constraints as empty.
|
|
52
|
+
|
|
53
|
+
### Step 3: Derive Phase Name
|
|
54
|
+
|
|
55
|
+
Create a concise phase name from the user goal:
|
|
56
|
+
- Start with `Stabilize`
|
|
57
|
+
- Add a short noun phrase from the goal (max 6 words)
|
|
58
|
+
- Keep under 80 characters
|
|
59
|
+
|
|
60
|
+
Example:
|
|
61
|
+
- Goal: `Fix retry flow and stop duplicate requests`
|
|
62
|
+
- Name: `Stabilize retry flow and duplicate requests`
|
|
63
|
+
|
|
64
|
+
### Step 4: Insert Phase Safely
|
|
65
|
+
|
|
66
|
+
Run using the Bash tool with description "Inserting corrective phase...":
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
bash .aether/aether-utils.sh phase-insert "<phase_name>" "<goal_text>" "<constraints_text>"
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Parse JSON result:
|
|
73
|
+
- If `ok != true`, display error and stop.
|
|
74
|
+
- Extract `inserted_phase_id` and `after_phase`.
|
|
75
|
+
|
|
76
|
+
### Step 5: Confirm Outcome
|
|
77
|
+
|
|
78
|
+
Display:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
Inserted corrective phase successfully.
|
|
82
|
+
New phase: <inserted_phase_id> — <phase_name>
|
|
83
|
+
Inserted after phase: <after_phase>
|
|
84
|
+
Goal: <goal_text>
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
If constraints were provided, also display:
|
|
88
|
+
```text
|
|
89
|
+
Constraints captured: <constraints_text>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Step 6: Next Up
|
|
93
|
+
|
|
94
|
+
Show:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
Next steps:
|
|
98
|
+
/ant:phase <inserted_phase_id> Review inserted phase details
|
|
99
|
+
/ant:build <inserted_phase_id> Execute corrective phase
|
|
100
|
+
/ant:status Verify updated plan state
|
|
101
|
+
```
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/interpret.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:interpret
|
|
3
4
|
description: "🔍🐜💭🐜🔍 The Interpreter - grounds dreams in reality, validates against codebase, and discusses what to implement"
|
|
@@ -52,10 +53,13 @@ Also read in parallel:
|
|
|
52
53
|
|
|
53
54
|
### Step 2: Display Header
|
|
54
55
|
|
|
56
|
+
|
|
55
57
|
```
|
|
56
|
-
🔍🐜💭🐜🔍
|
|
58
|
+
🔍🐜💭🐜🔍 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
57
59
|
D R E A M I N T E R P R E T E R
|
|
58
|
-
|
|
60
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍🐜💭🐜🔍
|
|
61
|
+
|
|
62
|
+
|
|
59
63
|
|
|
60
64
|
📓 Reviewing: {dream_filename}
|
|
61
65
|
{N} dreams | {concerns} concerns | {pheromones} suggested pheromones
|
|
@@ -146,10 +150,13 @@ Verdict emoji mapping:
|
|
|
146
150
|
|
|
147
151
|
After all dreams are interpreted, display:
|
|
148
152
|
|
|
153
|
+
|
|
149
154
|
```
|
|
150
|
-
🔍🐜💭🐜🔍
|
|
155
|
+
🔍🐜💭🐜🔍 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
151
156
|
I N T E R P R E T A T I O N C O M P L E T E
|
|
152
|
-
|
|
157
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍🐜💭🐜🔍
|
|
158
|
+
|
|
159
|
+
|
|
153
160
|
|
|
154
161
|
📊 Results:
|
|
155
162
|
{confirmed_count} confirmed | {partial_count} partially confirmed | {unconfirmed_count} unconfirmed | {refuted_count} refuted
|
|
@@ -218,6 +225,9 @@ Wait for user response.
|
|
|
218
225
|
|
|
219
226
|
### Step 7: Log Activity
|
|
220
227
|
|
|
228
|
+
|
|
229
|
+
Run using the Bash tool with description "Logging interpretation activity...":
|
|
230
|
+
|
|
221
231
|
```bash
|
|
222
232
|
bash .aether/aether-utils.sh activity-log "INTERPRET" "Interpreter" "Dream review: {dream_file}, {confirmed} confirmed, {partial} partial, {unconfirmed} unconfirmed, {refuted} refuted, {actions_taken} actions taken"
|
|
223
233
|
```
|
|
@@ -243,6 +253,18 @@ bash .aether/aether-utils.sh activity-log "INTERPRET" "Interpreter" "Dream revie
|
|
|
243
253
|
/ant:build 🔨 Start building
|
|
244
254
|
```
|
|
245
255
|
|
|
256
|
+
|
|
257
|
+
### Step 9: Next Up
|
|
258
|
+
|
|
259
|
+
Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
260
|
+
```bash
|
|
261
|
+
state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
|
|
262
|
+
current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
|
|
263
|
+
total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
|
|
264
|
+
bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
|
|
246
268
|
## Investigation Guidelines
|
|
247
269
|
|
|
248
270
|
When investigating dreams, remember:
|
|
@@ -1,153 +1,210 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/lay-eggs.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:lay-eggs
|
|
3
|
-
description: "🥚🐜🥚
|
|
4
|
+
description: "🥚🐜🥚 Set up Aether in this repo — creates .aether/ with all system files"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
You are the **Queen**.
|
|
7
|
+
You are the **Queen**. Prepare this repository for Aether colony development.
|
|
7
8
|
|
|
8
9
|
## Instructions
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
This command sets up the `.aether/` directory structure and copies all system files from the global hub. It does NOT start a colony — that's what `/ant:init "goal"` is for.
|
|
12
|
+
|
|
13
|
+
<failure_modes>
|
|
14
|
+
### Hub Not Found
|
|
15
|
+
If `~/.aether/system/aether-utils.sh` does not exist:
|
|
16
|
+
- The global hub is not installed
|
|
17
|
+
- Tell the user to run `npm install -g aether-colony` first
|
|
18
|
+
- Stop — cannot proceed without hub
|
|
19
|
+
|
|
20
|
+
### Partial Copy Failure
|
|
21
|
+
If some files fail to copy from hub:
|
|
22
|
+
- Report which files succeeded and which failed
|
|
23
|
+
- The user can re-run `/ant:lay-eggs` safely (idempotent)
|
|
24
|
+
</failure_modes>
|
|
25
|
+
|
|
26
|
+
<success_criteria>
|
|
27
|
+
Command is complete when:
|
|
28
|
+
- `.aether/` directory exists with all subdirectories
|
|
29
|
+
- System files (aether-utils.sh, workers.md, etc.) are present
|
|
30
|
+
- Templates, docs, utils, schemas are populated
|
|
31
|
+
- QUEEN.md is initialized
|
|
32
|
+
- User sees confirmation and next steps
|
|
33
|
+
</success_criteria>
|
|
34
|
+
|
|
35
|
+
<read_only>
|
|
36
|
+
Do not touch during lay-eggs:
|
|
37
|
+
- .aether/data/COLONY_STATE.json (colony state belongs to init)
|
|
38
|
+
- .aether/dreams/ contents (user notes — create dir but don't modify files)
|
|
39
|
+
- .aether/chambers/ contents (archived colonies — create dir but don't modify files)
|
|
40
|
+
- Source code files
|
|
41
|
+
- .env* files
|
|
42
|
+
- .claude/settings.json
|
|
43
|
+
</read_only>
|
|
44
|
+
|
|
45
|
+
### Step 1: Check Hub Availability
|
|
46
|
+
|
|
47
|
+
Check if the global hub exists by reading `~/.aether/system/aether-utils.sh` (expand `~` to the user's home directory).
|
|
48
|
+
|
|
49
|
+
**If the hub does NOT exist:**
|
|
50
|
+
```
|
|
51
|
+
Aether hub not found at ~/.aether/system/
|
|
13
52
|
|
|
14
|
-
|
|
53
|
+
The global hub must be installed before setting up a repo.
|
|
15
54
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
55
|
+
npm install -g aether-colony
|
|
56
|
+
|
|
57
|
+
This installs the Aether CLI and populates the hub at ~/.aether/system/
|
|
58
|
+
with all the system files your repo needs.
|
|
59
|
+
|
|
60
|
+
After installing, run /ant:lay-eggs again.
|
|
61
|
+
```
|
|
62
|
+
Stop here.
|
|
63
|
+
|
|
64
|
+
### Step 2: Check Existing Setup
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Check if `.aether/aether-utils.sh` already exists using the Read tool.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
**If it exists:**
|
|
72
|
+
```
|
|
73
|
+
Aether is already set up in this repo.
|
|
20
74
|
|
|
21
|
-
|
|
22
|
-
bash .aether/aether-utils.sh swarm-display-init "$layeggs_id"
|
|
23
|
-
bash .aether/aether-utils.sh swarm-display-update "Queen" "prime" "excavating" "Laying first eggs" "Colony" '{"read":0,"grep":0,"edit":0,"bash":0}' 0 "nursery" 0
|
|
75
|
+
Refreshing system files from hub...
|
|
24
76
|
```
|
|
77
|
+
Proceed to Step 3 (this makes the command safe to re-run as an update/repair).
|
|
78
|
+
|
|
79
|
+
**If it does NOT exist:**
|
|
80
|
+
```
|
|
81
|
+
Setting up Aether in this repo...
|
|
82
|
+
```
|
|
83
|
+
Proceed to Step 3.
|
|
84
|
+
|
|
85
|
+
### Step 3: Create Directory Structure
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
Run using the Bash tool with description "Creating Aether directory structure...":
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
mkdir -p \
|
|
93
|
+
.aether/data \
|
|
94
|
+
.aether/data/midden \
|
|
95
|
+
.aether/data/backups \
|
|
96
|
+
.aether/data/survey \
|
|
97
|
+
.aether/dreams \
|
|
98
|
+
.aether/chambers \
|
|
99
|
+
.aether/locks \
|
|
100
|
+
.aether/temp \
|
|
101
|
+
.aether/docs \
|
|
102
|
+
.aether/utils \
|
|
103
|
+
.aether/templates \
|
|
104
|
+
.aether/schemas \
|
|
105
|
+
.aether/exchange \
|
|
106
|
+
.aether/rules \
|
|
107
|
+
.aether/scripts \
|
|
108
|
+
.claude/rules && \
|
|
109
|
+
touch .aether/dreams/.gitkeep && \
|
|
110
|
+
touch .aether/chambers/.gitkeep && \
|
|
111
|
+
touch .aether/data/midden/.gitkeep
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Step 4: Copy System Files from Hub
|
|
115
|
+
|
|
25
116
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Active colony: {goal}
|
|
48
|
-
Current: Phase {current_phase}, {phases_count} phases in plan
|
|
49
|
-
|
|
50
|
-
┌─────────────────────────────────────────────────────────┐
|
|
51
|
-
│ COLONY LIFECYCLE │
|
|
52
|
-
├─────────────────────────────────────────────────────────┤
|
|
53
|
-
│ │
|
|
54
|
-
│ 🟢 ACTIVE COLONY → 🏺 SEAL/ENTOMB → 🥚 LAY EGGS │
|
|
55
|
-
│ (working) (preserve memory) (new goal) │
|
|
56
|
-
│ │
|
|
57
|
-
└─────────────────────────────────────────────────────────┘
|
|
58
|
-
|
|
59
|
-
Why this matters:
|
|
60
|
-
Your active colony contains preserved learnings, decisions, and
|
|
61
|
-
instincts (pheromones) from prior work. These must be sealed
|
|
62
|
-
before starting a new project, or they will be lost forever.
|
|
63
|
-
|
|
64
|
-
To start a new colony:
|
|
65
|
-
1. Complete work → run `/ant:seal` or `/ant:entomb` to archive
|
|
66
|
-
2. Then run `/ant:lay-eggs "new goal"` to begin fresh
|
|
67
|
-
|
|
68
|
-
Emergency reset (loses all pheromones):
|
|
69
|
-
rm .aether/data/COLONY_STATE.json
|
|
70
|
-
```
|
|
71
|
-
Stop here.
|
|
72
|
-
|
|
73
|
-
### Step 3: Extract Preserved Knowledge
|
|
74
|
-
|
|
75
|
-
- Read current state to extract preserved fields:
|
|
76
|
-
- `memory.phase_learnings` (all items)
|
|
77
|
-
- `memory.decisions` (all items)
|
|
78
|
-
- `memory.instincts` (all items with confidence >= 0.5)
|
|
79
|
-
- Store for use in Step 4
|
|
80
|
-
|
|
81
|
-
### Step 4: Create New Colony State
|
|
82
|
-
|
|
83
|
-
Generate new state following RESEARCH.md Pattern 2 (State Reset with Pheromone Preservation):
|
|
84
|
-
|
|
85
|
-
**Fields to preserve from old state:**
|
|
86
|
-
- memory.phase_learnings
|
|
87
|
-
- memory.decisions
|
|
88
|
-
- memory.instincts (high confidence only)
|
|
89
|
-
|
|
90
|
-
**Fields to reset:**
|
|
91
|
-
- goal: new goal from $ARGUMENTS
|
|
92
|
-
- state: "READY"
|
|
93
|
-
- current_phase: 0
|
|
94
|
-
- session_id: new session_{unix_timestamp}_{random}
|
|
95
|
-
- initialized_at: current ISO-8601 timestamp
|
|
96
|
-
- build_started_at: null
|
|
97
|
-
- plan: { generated_at: null, confidence: null, phases: [] }
|
|
98
|
-
- errors: { records: [], flagged_patterns: [] }
|
|
99
|
-
- signals: []
|
|
100
|
-
- graveyards: []
|
|
101
|
-
- events: [colony_initialized event with new goal]
|
|
102
|
-
|
|
103
|
-
**New milestone fields:**
|
|
104
|
-
- milestone: "First Mound"
|
|
105
|
-
- milestone_updated_at: current timestamp
|
|
106
|
-
- milestone_version: "v0.1.0"
|
|
107
|
-
|
|
108
|
-
Write to `.aether/data/COLONY_STATE.json`
|
|
109
|
-
|
|
110
|
-
### Step 5: Reset Constraints
|
|
111
|
-
|
|
112
|
-
Write `.aether/data/constraints.json`:
|
|
113
|
-
```json
|
|
114
|
-
{
|
|
115
|
-
"version": "1.0",
|
|
116
|
-
"focus": [],
|
|
117
|
-
"constraints": []
|
|
118
|
-
}
|
|
117
|
+
Run using the Bash tool with description "Copying system files from hub...":
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
# Core system files
|
|
122
|
+
cp -f ~/.aether/system/aether-utils.sh .aether/ && \
|
|
123
|
+
chmod +x .aether/aether-utils.sh && \
|
|
124
|
+
cp -f ~/.aether/system/workers.md .aether/ 2>/dev/null || true && \
|
|
125
|
+
cp -f ~/.aether/system/CONTEXT.md .aether/ 2>/dev/null || true && \
|
|
126
|
+
# Directories
|
|
127
|
+
cp -Rf ~/.aether/system/docs/* .aether/docs/ 2>/dev/null || true && \
|
|
128
|
+
cp -Rf ~/.aether/system/utils/* .aether/utils/ 2>/dev/null || true && \
|
|
129
|
+
cp -Rf ~/.aether/system/templates/* .aether/templates/ 2>/dev/null || true && \
|
|
130
|
+
cp -Rf ~/.aether/system/schemas/* .aether/schemas/ 2>/dev/null || true && \
|
|
131
|
+
cp -Rf ~/.aether/system/exchange/* .aether/exchange/ 2>/dev/null || true && \
|
|
132
|
+
cp -Rf ~/.aether/system/rules/* .claude/rules/ 2>/dev/null || true && \
|
|
133
|
+
|
|
134
|
+
# Version tracking
|
|
135
|
+
cp -f ~/.aether/version.json .aether/version.json 2>/dev/null || true
|
|
136
|
+
|
|
137
|
+
echo "System files copied."
|
|
119
138
|
```
|
|
120
139
|
|
|
121
|
-
### Step
|
|
140
|
+
### Step 5: Initialize QUEEN.md
|
|
122
141
|
|
|
123
|
-
|
|
142
|
+
|
|
143
|
+
Run using the Bash tool with description "Initializing QUEEN.md...":
|
|
124
144
|
```bash
|
|
125
|
-
bash .aether/aether-utils.sh
|
|
126
|
-
bash .aether/aether-utils.sh swarm-display-inline "$layeggs_id"
|
|
145
|
+
bash .aether/aether-utils.sh queen-init
|
|
127
146
|
```
|
|
128
147
|
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
Parse the JSON result:
|
|
151
|
+
- If `created` is true: note `QUEEN.md initialized`
|
|
152
|
+
- If `created` is false: note `QUEEN.md already exists (preserved)`
|
|
153
|
+
|
|
154
|
+
### Step 6: Register Repo (Silent)
|
|
155
|
+
|
|
156
|
+
Attempt to register this repo in the global hub. Silent on failure — registry is optional.
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
Run using the Bash tool with description "Registering repo..." (ignore errors):
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
bash .aether/aether-utils.sh registry-add "$(pwd)" "$(jq -r '.version // "unknown"' ~/.aether/version.json 2>/dev/null || echo 'unknown')" 2>/dev/null || true
|
|
129
164
|
```
|
|
130
|
-
🥚 ═══════════════════════════════════════════════════
|
|
131
|
-
F I R S T E G G S L A I D
|
|
132
|
-
══════════════════════════════════════════════════ 🥚
|
|
133
165
|
|
|
134
|
-
|
|
135
|
-
|
|
166
|
+
### Step 7: Verify Setup
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
Run using the Bash tool with description "Verifying setup...":
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
# Count what was set up
|
|
174
|
+
dirs=0
|
|
175
|
+
files=0
|
|
176
|
+
for d in .aether/data .aether/docs .aether/utils .aether/templates .aether/schemas .aether/exchange .aether/dreams .aether/chambers; do
|
|
177
|
+
[ -d "$d" ] && dirs=$((dirs + 1))
|
|
178
|
+
done
|
|
179
|
+
[ -f .aether/aether-utils.sh ] && files=$((files + 1))
|
|
180
|
+
[ -f .aether/workers.md ] && files=$((files + 1))
|
|
181
|
+
[ -f .aether/QUEEN.md ] && files=$((files + 1))
|
|
182
|
+
[ -f .aether/CONTEXT.md ] && files=$((files + 1))
|
|
183
|
+
[ -d .aether/templates ] && templates=$(ls .aether/templates/*.template.* 2>/dev/null | wc -l | tr -d ' ') || templates=0
|
|
184
|
+
[ -d .aether/utils ] && utils=$(ls .aether/utils/*.sh 2>/dev/null | wc -l | tr -d ' ') || utils=0
|
|
185
|
+
|
|
186
|
+
echo "{\"dirs\": $dirs, \"core_files\": $files, \"templates\": $templates, \"utils\": $utils}"
|
|
187
|
+
```
|
|
136
188
|
|
|
137
|
-
|
|
138
|
-
🏆 Milestone: First Mound (v0.1.0)
|
|
189
|
+
Parse the JSON output for the display step.
|
|
139
190
|
|
|
140
|
-
|
|
141
|
-
🧠 Inherited from prior colonies:
|
|
142
|
-
{N} instinct(s) | {N} decision(s) | {N} learning(s)
|
|
143
|
-
{End if}
|
|
191
|
+
### Step 8: Display Result
|
|
144
192
|
|
|
145
|
-
🐜 The colony begins anew.
|
|
146
193
|
|
|
147
|
-
/ant:plan 📋 Chart the course
|
|
148
|
-
/ant:colonize 🗺️ Analyze existing code
|
|
149
194
|
```
|
|
195
|
+
🥚 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
196
|
+
A E T H E R R E A D Y
|
|
197
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🥚
|
|
198
|
+
|
|
199
|
+
|
|
150
200
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
201
|
+
{dirs} directories created
|
|
202
|
+
{core_files} core system files
|
|
203
|
+
{templates} templates ({utils} utils modules)
|
|
204
|
+
|
|
205
|
+
To start a colony:
|
|
206
|
+
/ant:init "your goal here"
|
|
207
|
+
|
|
208
|
+
To verify setup:
|
|
209
|
+
/ant:status
|
|
210
|
+
```
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/maturity.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:maturity
|
|
3
4
|
description: "👑🐜🏛️🐜👑 View colony maturity journey with ASCII art anthill"
|
|
@@ -9,7 +10,8 @@ You are the **Queen**. Display the colony's maturity journey.
|
|
|
9
10
|
|
|
10
11
|
### Step 1: Detect Current Milestone
|
|
11
12
|
|
|
12
|
-
Run
|
|
13
|
+
Run using the Bash tool with description "Detecting colony milestone...":
|
|
14
|
+
`bash .aether/aether-utils.sh milestone-detect`
|
|
13
15
|
|
|
14
16
|
Parse JSON result to get:
|
|
15
17
|
- `milestone`: Current milestone name (First Mound, Open Chambers, Brood Stable, Ventilated Nest, Sealed Chambers, Crowned Anthill)
|
|
@@ -32,7 +34,7 @@ Display header:
|
|
|
32
34
|
.-.
|
|
33
35
|
(o o) AETHER COLONY
|
|
34
36
|
| O | Maturity Journey
|
|
35
|
-
|
|
37
|
+
`-'
|
|
36
38
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
37
39
|
|
|
38
40
|
👑 Goal: {goal (truncated to 50 chars)}
|
|
@@ -43,15 +45,19 @@ Display header:
|
|
|
43
45
|
|
|
44
46
|
### Step 4: Show ASCII Art Anthill
|
|
45
47
|
|
|
46
|
-
Read the ASCII art file for the current milestone:
|
|
47
|
-
- First Mound → `.aether/visualizations/anthill-stages/first-mound.txt`
|
|
48
|
-
- Open Chambers → `.aether/visualizations/anthill-stages/open-chambers.txt`
|
|
49
|
-
- Brood Stable → `.aether/visualizations/anthill-stages/brood-stable.txt`
|
|
50
|
-
- Ventilated Nest → `.aether/visualizations/anthill-stages/ventilated-nest.txt`
|
|
51
|
-
- Sealed Chambers → `.aether/visualizations/anthill-stages/sealed-chambers.txt`
|
|
52
|
-
- Crowned Anthill → `.aether/visualizations/anthill-stages/crowned-anthill.txt`
|
|
53
48
|
|
|
54
|
-
Display the
|
|
49
|
+
Display the current milestone with its text description (no external file needed):
|
|
50
|
+
|
|
51
|
+
- First Mound -- "A small pile of earth. The colony has broken ground."
|
|
52
|
+
- Open Chambers -- "Tunnels branch outward. Feature work is underway."
|
|
53
|
+
- Brood Stable -- "The nursery hums. Tests are consistently green."
|
|
54
|
+
- Ventilated Nest -- "Air flows freely. Performance and latency are acceptable."
|
|
55
|
+
- Sealed Chambers -- "Walls are hardened. Interfaces are frozen."
|
|
56
|
+
- Crowned Anthill -- "The spire rises. The colony is release-ready."
|
|
57
|
+
|
|
58
|
+
Display the matching description for the current milestone.
|
|
59
|
+
|
|
60
|
+
|
|
55
61
|
|
|
56
62
|
### Step 5: Show Journey Progress Bar
|
|
57
63
|
|
|
@@ -87,6 +93,21 @@ Colony Statistics:
|
|
|
87
93
|
|
|
88
94
|
### Edge Cases
|
|
89
95
|
|
|
90
|
-
|
|
96
|
+
|
|
97
|
+
- If milestone name is unrecognized: Show "Unknown milestone" with the raw name
|
|
98
|
+
|
|
99
|
+
|
|
91
100
|
- If COLONY_STATE.json missing: "No colony initialized. Run /ant:init first."
|
|
92
101
|
- If phases_completed is 0: All milestones show as upcoming except First Mound
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Step 7: Next Up
|
|
105
|
+
|
|
106
|
+
Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
107
|
+
```bash
|
|
108
|
+
state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
|
|
109
|
+
current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
|
|
110
|
+
total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
|
|
111
|
+
bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
|
|
112
|
+
```
|
|
113
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/memory-details.yaml - DO NOT EDIT DIRECTLY -->
|
|
2
|
+
---
|
|
3
|
+
name: ant:memory-details
|
|
4
|
+
description: "Show detailed colony memory — wisdom, pending promotions, and recent failures"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /ant:memory-details — Colony Memory Details
|
|
8
|
+
|
|
9
|
+
Drill-down view of accumulated colony wisdom, pending promotions, and recent failures.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
/ant:memory-details
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Implementation
|
|
18
|
+
|
|
19
|
+
### Step 1: Load Memory Data
|
|
20
|
+
|
|
21
|
+
Run using the Bash tool with description "Loading colony memory...":
|
|
22
|
+
```bash
|
|
23
|
+
bash .aether/aether-utils.sh memory-metrics
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Step 2: Display Wisdom (from QUEEN.md)
|
|
27
|
+
|
|
28
|
+
Read .aether/QUEEN.md and display entries by category:
|
|
29
|
+
- Philosophies
|
|
30
|
+
- Patterns
|
|
31
|
+
- Redirects
|
|
32
|
+
- Stack
|
|
33
|
+
- Decrees
|
|
34
|
+
|
|
35
|
+
Format:
|
|
36
|
+
```
|
|
37
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
38
|
+
COLONY WISDOM (X entries)
|
|
39
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
40
|
+
|
|
41
|
+
📜 Philosophies (N)
|
|
42
|
+
- Entry 1...
|
|
43
|
+
- Entry 2...
|
|
44
|
+
|
|
45
|
+
🔧 Patterns (N)
|
|
46
|
+
- Entry 1...
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Step 3: Display Pending Promotions
|
|
50
|
+
|
|
51
|
+
Show observations meeting threshold but not yet promoted:
|
|
52
|
+
```
|
|
53
|
+
⏳ Pending Promotions (N)
|
|
54
|
+
- [type] Content... (X observations)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Show deferred proposals:
|
|
58
|
+
```
|
|
59
|
+
💤 Deferred Proposals (N)
|
|
60
|
+
- [type] Content... (deferred YYYY-MM-DD)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Step 4: Display Recent Failures
|
|
64
|
+
|
|
65
|
+
Show last 5 failures from midden:
|
|
66
|
+
```
|
|
67
|
+
⚠️ Recent Failures (N)
|
|
68
|
+
[YYYY-MM-DD HH:MM] Source: context
|
|
69
|
+
Content...
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Step 5: Summary
|
|
73
|
+
|
|
74
|
+
Show counts summary and reminder command:
|
|
75
|
+
```
|
|
76
|
+
Run /ant:status for quick overview
|
|
77
|
+
```
|