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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/pause-colony.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:pause-colony
|
|
3
4
|
description: "๐พ๐โธ๏ธ๐๐พ Pause colony work and create handoff document for resuming later"
|
|
@@ -13,16 +14,7 @@ Parse `$ARGUMENTS`:
|
|
|
13
14
|
|
|
14
15
|
### Step 0: Initialize Visual Mode (if enabled)
|
|
15
16
|
|
|
16
|
-
If `visual_mode` is true:
|
|
17
|
-
```bash
|
|
18
|
-
# Generate session ID
|
|
19
|
-
pause_id="pause-$(date +%s)"
|
|
20
|
-
|
|
21
|
-
# Initialize swarm display
|
|
22
|
-
bash .aether/aether-utils.sh swarm-display-init "$pause_id"
|
|
23
|
-
bash .aether/aether-utils.sh swarm-display-update "Queen" "prime" "excavating" "Pausing colony" "Colony" '{"read":0,"grep":0,"edit":0,"bash":0}' 0 "fungus_garden" 0
|
|
24
|
-
```
|
|
25
|
-
|
|
17
|
+
If `visual_mode` is true, run using the Bash tool with description "Initializing pause display...":
|
|
26
18
|
### Step 1: Read State
|
|
27
19
|
|
|
28
20
|
Use the Read tool to read `.aether/data/COLONY_STATE.json`.
|
|
@@ -31,13 +23,13 @@ If `goal` is null, output `No colony initialized. Nothing to pause.` and stop.
|
|
|
31
23
|
|
|
32
24
|
### Step 2: Compute Active Signals
|
|
33
25
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- `expires_at` > current timestamp (not expired)
|
|
26
|
+
Run using the Bash tool with description "Loading active pheromones...":
|
|
27
|
+
```bash
|
|
28
|
+
bash .aether/aether-utils.sh pheromone-read
|
|
29
|
+
```
|
|
39
30
|
|
|
40
|
-
|
|
31
|
+
Use `.result.signals` as the active signal list (already decay-filtered by runtime logic).
|
|
32
|
+
If empty, treat as "no active pheromones."
|
|
41
33
|
|
|
42
34
|
### Step 3: Build Handoff Summary
|
|
43
35
|
|
|
@@ -45,7 +37,7 @@ Gather context for the handoff from `COLONY_STATE.json`:
|
|
|
45
37
|
- `goal` from top level
|
|
46
38
|
- `state` and `current_phase` from top level
|
|
47
39
|
- `workers` object
|
|
48
|
-
- Active signals from `
|
|
40
|
+
- Active signals from `pheromone-read` output (with current decayed strengths from Step 2)
|
|
49
41
|
- Phase progress from `plan.phases` (how many complete, current phase tasks)
|
|
50
42
|
- What was in progress or pending
|
|
51
43
|
|
|
@@ -178,31 +170,25 @@ Continue to Step 5.
|
|
|
178
170
|
|
|
179
171
|
### Step 4.8: Update Context Document
|
|
180
172
|
|
|
181
|
-
Log this pause activity to `.aether/CONTEXT.md
|
|
173
|
+
Log this pause activity to `.aether/CONTEXT.md` by running using the Bash tool with description "Updating context document...":
|
|
182
174
|
|
|
183
175
|
```bash
|
|
184
176
|
bash .aether/aether-utils.sh context-update activity "pause-colony" "Colony paused โ handoff created" "โ"
|
|
185
177
|
```
|
|
186
178
|
|
|
187
|
-
Update safe-to-clear status:
|
|
179
|
+
Update safe-to-clear status by running using the Bash tool with description "Marking safe to clear...":
|
|
188
180
|
```bash
|
|
189
181
|
bash .aether/aether-utils.sh context-update safe-to-clear "YES" "Colony paused โ safe to /clear, run /ant:resume-colony to continue"
|
|
190
182
|
```
|
|
191
183
|
|
|
192
184
|
### Step 5: Display Confirmation
|
|
193
185
|
|
|
194
|
-
**If visual_mode is true, render final swarm display:**
|
|
195
|
-
```bash
|
|
196
|
-
bash .aether/aether-utils.sh swarm-display-update "Queen" "prime" "completed" "Colony paused" "Colony" '{"read":3,"grep":0,"edit":2,"bash":1}' 100 "fungus_garden" 100
|
|
197
|
-
bash .aether/aether-utils.sh swarm-display-inline "$pause_id"
|
|
198
|
-
```
|
|
199
|
-
|
|
200
186
|
Output header:
|
|
201
187
|
|
|
202
188
|
```
|
|
203
|
-
๐พ๐โธ๏ธ๐๐พ
|
|
189
|
+
๐พ๐โธ๏ธ๐๐พ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
204
190
|
C O L O N Y P A U S E D
|
|
205
|
-
|
|
191
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐พ๐โธ๏ธ๐๐พ
|
|
206
192
|
```
|
|
207
193
|
|
|
208
194
|
Then output:
|
|
@@ -235,3 +221,13 @@ If option 1 selected: proceed to run /ant:resume-colony flow
|
|
|
235
221
|
If option 2 selected: run /ant:lay-eggs flow
|
|
236
222
|
If option 3 selected: display "Run /ant:resume-colony when ready to continue, or /ant:lay-eggs to start fresh"
|
|
237
223
|
```
|
|
224
|
+
|
|
225
|
+
### Step 6: Next Up
|
|
226
|
+
|
|
227
|
+
Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
228
|
+
```bash
|
|
229
|
+
state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
|
|
230
|
+
current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
|
|
231
|
+
total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
|
|
232
|
+
bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
|
|
233
|
+
```
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/phase.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:phase
|
|
3
4
|
description: "๐๐๐๐๐ Show phase details - Queen reviews phase status, tasks, and caste assignment"
|
|
@@ -34,11 +35,13 @@ Find the phase by ID in `plan.phases`.
|
|
|
34
35
|
|
|
35
36
|
Output this header:
|
|
36
37
|
|
|
38
|
+
|
|
37
39
|
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
41
|
+
๐๐๐๐๐ P H A S E {id} D E T A I L S
|
|
42
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
43
|
+
|
|
44
|
+
|
|
42
45
|
|
|
43
46
|
Then display:
|
|
44
47
|
|
|
@@ -55,63 +58,58 @@ Then display:
|
|
|
55
58
|
โ
Success Criteria:
|
|
56
59
|
โข <criterion>
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
62
|
+
|
|
63
|
+
๐ Next Up
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
60
67
|
/ant:build <id> ๐จ Phase <id>: <phase_name>
|
|
61
68
|
/ant:phase <next_id> ๐ Phase <next_id>: <next_phase_name> (only if not last phase)
|
|
62
69
|
/ant:status ๐ Colony status
|
|
63
70
|
```
|
|
64
71
|
|
|
65
|
-
Status icons: `[ ]` pending, `[~]` in_progress, `[โ]` completed
|
|
66
|
-
|
|
67
|
-
### Step 3b: List View
|
|
68
72
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
After displaying phase details, generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
|
|
74
|
+
```bash
|
|
75
|
+
state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
|
|
76
|
+
current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
|
|
77
|
+
total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
|
|
78
|
+
bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
|
|
75
79
|
```
|
|
76
80
|
|
|
77
|
-
Then display all phases as a summary:
|
|
78
81
|
|
|
79
|
-
|
|
80
|
-
๐ Goal: "<goal>"
|
|
82
|
+
Status icons: `[ ]` pending, `[~]` in_progress, `[โ]` completed
|
|
81
83
|
|
|
82
|
-
|
|
83
|
-
<completed>/<total> tasks | <status>
|
|
84
|
+
### Step 3b: List View
|
|
84
85
|
|
|
85
|
-
|
|
86
|
+
Output this header:
|
|
86
87
|
|
|
87
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
88
|
-
Legend: [โ] completed [~] in progress [ ] pending
|
|
89
88
|
|
|
90
|
-
๐ /ant:phase <id> for details
|
|
91
89
|
```
|
|
90
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
91
|
+
๐๐๐๐๐ A L L P H A S E S
|
|
92
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
92
93
|
|
|
93
|
-
### Step 4: Update Handoff (Optional)
|
|
94
94
|
|
|
95
|
-
After displaying phase details, offer to update the handoff document with review notes:
|
|
96
95
|
|
|
97
|
-
|
|
96
|
+
For each phase in `plan.phases`, display:
|
|
98
97
|
```
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
1. Yes โ add notes about blockers or decisions
|
|
102
|
-
2. No โ continue without updating
|
|
98
|
+
[{id}] {name} [{status}]
|
|
99
|
+
{short_description}
|
|
103
100
|
```
|
|
104
101
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
- Notes: {user_notes}
|
|
114
|
-
HANDOFF_EOF
|
|
102
|
+
Display phases grouped by status:
|
|
103
|
+
```
|
|
104
|
+
โ Completed
|
|
105
|
+
[{id}] {name}
|
|
106
|
+
~ In Progress
|
|
107
|
+
[{id}] {name}
|
|
108
|
+
[ ] Pending
|
|
109
|
+
[{id}] {name}
|
|
115
110
|
```
|
|
116
111
|
|
|
117
|
-
Display
|
|
112
|
+
Display completion progress:
|
|
113
|
+
```
|
|
114
|
+
๐ Overall: {completed_count}/{total_count} phases complete
|
|
115
|
+
```
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/pheromones.yaml - DO NOT EDIT DIRECTLY -->
|
|
2
|
+
---
|
|
3
|
+
name: ant:pheromones
|
|
4
|
+
description: "๐ฏ๐๐ซ๐๐ฌ View and manage active pheromone signals"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are the **Queen**. Display and manage the colony's pheromone signals.
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
|
|
11
|
+
Parse `$ARGUMENTS`:
|
|
12
|
+
- If contains `--no-visual`: set `visual_mode = false` (visual is ON by default)
|
|
13
|
+
- Otherwise: set `visual_mode = true`
|
|
14
|
+
|
|
15
|
+
Extract subcommand from `$ARGUMENTS`:
|
|
16
|
+
- No argument or `all`: Show all active pheromones
|
|
17
|
+
- `focus`: Show only FOCUS signals
|
|
18
|
+
- `redirect`: Show only REDIRECT signals
|
|
19
|
+
- `feedback`: Show only FEEDBACK signals
|
|
20
|
+
- `clear`: Clear expired/inactive signals
|
|
21
|
+
- `expire <id>`: Expire a specific signal by ID
|
|
22
|
+
|
|
23
|
+
### Step 1: Read Colony State
|
|
24
|
+
|
|
25
|
+
Read `.aether/data/COLONY_STATE.json`.
|
|
26
|
+
|
|
27
|
+
If file missing or `goal: null`:
|
|
28
|
+
```
|
|
29
|
+
No colony initialized. Run /ant:init first.
|
|
30
|
+
```
|
|
31
|
+
Stop here.
|
|
32
|
+
|
|
33
|
+
### Step 2: Handle Subcommands
|
|
34
|
+
|
|
35
|
+
**If subcommand is `clear`:**
|
|
36
|
+
|
|
37
|
+
Run using the Bash tool:
|
|
38
|
+
```bash
|
|
39
|
+
# Count signals before
|
|
40
|
+
before_count=$(jq '[.signals[] | select(.active == true)] | length' .aether/data/pheromones.json 2>/dev/null || echo "0")
|
|
41
|
+
|
|
42
|
+
# Mark expired/inactive signals as inactive
|
|
43
|
+
now=$(date +%s)
|
|
44
|
+
jq --argjson now "$now" '
|
|
45
|
+
def to_epoch(ts):
|
|
46
|
+
if ts == null or ts == "" or ts == "phase_end" then null
|
|
47
|
+
else
|
|
48
|
+
(ts | split("T")) as $parts |
|
|
49
|
+
($parts[0] | split("-")) as $d |
|
|
50
|
+
($parts[1] | rtrimstr("Z") | split(":")) as $t |
|
|
51
|
+
(($d[0] | tonumber) - 1970) * 365 * 86400 +
|
|
52
|
+
(($d[1] | tonumber) - 1) * 30 * 86400 +
|
|
53
|
+
(($d[2] | tonumber) - 1) * 86400 +
|
|
54
|
+
($t[0] | tonumber) * 3600 +
|
|
55
|
+
($t[1] | tonumber) * 60 +
|
|
56
|
+
($t[2] | rtrimstr("Z") | tonumber)
|
|
57
|
+
end;
|
|
58
|
+
|
|
59
|
+
def decay_days(t):
|
|
60
|
+
if t == "FOCUS" then 30
|
|
61
|
+
elif t == "REDIRECT" then 60
|
|
62
|
+
else 90
|
|
63
|
+
end;
|
|
64
|
+
|
|
65
|
+
.signals = [.signals[] |
|
|
66
|
+
(to_epoch(.created_at)) as $created_epoch |
|
|
67
|
+
(if $created_epoch != null then ($now - $created_epoch) / 86400 else 0 end) as $elapsed_days |
|
|
68
|
+
(decay_days(.type)) as $dd |
|
|
69
|
+
((.strength // 0.8) * (1 - ($elapsed_days / $dd))) as $eff_raw |
|
|
70
|
+
(if $eff_raw < 0 then 0 else $eff_raw end) as $eff |
|
|
71
|
+
if $eff < 0.1 then . + {active: false} else . end
|
|
72
|
+
]
|
|
73
|
+
' .aether/data/pheromones.json > .aether/data/pheromones.json.tmp && mv .aether/data/pheromones.json.tmp .aether/data/pheromones.json
|
|
74
|
+
|
|
75
|
+
# Count signals after
|
|
76
|
+
after_count=$(jq '[.signals[] | select(.active == true)] | length' .aether/data/pheromones.json 2>/dev/null || echo "0")
|
|
77
|
+
cleared=$((before_count - after_count))
|
|
78
|
+
|
|
79
|
+
echo "before=$before_count after=$after_count cleared=$cleared"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Display:
|
|
83
|
+
```
|
|
84
|
+
๐งน Pheromone Cleanup
|
|
85
|
+
|
|
86
|
+
Before: {before_count} active signals
|
|
87
|
+
After: {after_count} active signals
|
|
88
|
+
Cleared: {cleared} expired signal(s)
|
|
89
|
+
|
|
90
|
+
Run /ant:pheromones to see remaining signals.
|
|
91
|
+
```
|
|
92
|
+
Stop here.
|
|
93
|
+
|
|
94
|
+
**If subcommand is `expire <id>`:**
|
|
95
|
+
|
|
96
|
+
Extract the signal ID from arguments.
|
|
97
|
+
Run using the Bash tool:
|
|
98
|
+
```bash
|
|
99
|
+
signal_id="{extracted_id}"
|
|
100
|
+
jq --arg id "$signal_id" '.signals = [.signals[] | if .id == $id then . + {active: false} else . end]' .aether/data/pheromones.json > .aether/data/pheromones.json.tmp && mv .aether/data/pheromones.json.tmp .aether/data/pheromones.json && echo "expired=$signal_id"
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Display:
|
|
104
|
+
```
|
|
105
|
+
โ Signal expired: {signal_id}
|
|
106
|
+
|
|
107
|
+
Run /ant:pheromones to see remaining signals.
|
|
108
|
+
```
|
|
109
|
+
Stop here.
|
|
110
|
+
|
|
111
|
+
### Step 3: Display Active Pheromones (default or filter)
|
|
112
|
+
|
|
113
|
+
Run using the Bash tool with description "Displaying pheromones...":
|
|
114
|
+
```bash
|
|
115
|
+
bash .aether/aether-utils.sh pheromone-display "{subcommand or 'all'}"
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
The output will be the formatted pheromone table.
|
|
119
|
+
|
|
120
|
+
### Step 4: Summary and Next Steps
|
|
121
|
+
|
|
122
|
+
Display guidance:
|
|
123
|
+
```
|
|
124
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
125
|
+
|
|
126
|
+
๐ก Managing Pheromones
|
|
127
|
+
|
|
128
|
+
/ant:focus "area" ๐ฏ Guide attention
|
|
129
|
+
/ant:redirect "avoid" ๐ซ Set hard constraint
|
|
130
|
+
/ant:feedback "note" ๐ฌ Provide guidance
|
|
131
|
+
/ant:pheromones clear ๐งน Clear expired signals
|
|
132
|
+
|
|
133
|
+
๐ Signals decay over time: FOCUS 30d, REDIRECT 60d, FEEDBACK 90d
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Edge Cases
|
|
137
|
+
|
|
138
|
+
**No pheromones file:**
|
|
139
|
+
```
|
|
140
|
+
No pheromones active. Colony has no signals.
|
|
141
|
+
|
|
142
|
+
Inject signals with:
|
|
143
|
+
/ant:focus "area" - Guide attention
|
|
144
|
+
/ant:redirect "avoid" - Set hard constraint
|
|
145
|
+
/ant:feedback "note" - Provide guidance
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
**No active signals of filtered type:**
|
|
149
|
+
```
|
|
150
|
+
No active {type} signals found.
|
|
151
|
+
|
|
152
|
+
Try: /ant:pheromones (to see all)
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Invalid subcommand:**
|
|
156
|
+
Display help showing valid subcommands.
|