aether-colony 5.0.0 โ 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.aether/aether-utils.sh +3226 -3345
- package/.aether/agents-claude/aether-ambassador.md +265 -0
- package/.aether/agents-claude/aether-archaeologist.md +327 -0
- package/.aether/agents-claude/aether-architect.md +236 -0
- package/.aether/agents-claude/aether-auditor.md +271 -0
- package/.aether/agents-claude/aether-builder.md +224 -0
- package/.aether/agents-claude/aether-chaos.md +269 -0
- package/.aether/agents-claude/aether-chronicler.md +305 -0
- package/.aether/agents-claude/aether-gatekeeper.md +330 -0
- package/.aether/agents-claude/aether-includer.md +374 -0
- package/.aether/agents-claude/aether-keeper.md +272 -0
- package/.aether/agents-claude/aether-measurer.md +322 -0
- package/.aether/agents-claude/aether-oracle.md +237 -0
- package/.aether/agents-claude/aether-probe.md +211 -0
- package/.aether/agents-claude/aether-queen.md +330 -0
- package/.aether/agents-claude/aether-route-setter.md +178 -0
- package/.aether/agents-claude/aether-sage.md +418 -0
- package/.aether/agents-claude/aether-scout.md +179 -0
- package/.aether/agents-claude/aether-surveyor-disciplines.md +417 -0
- package/.aether/agents-claude/aether-surveyor-nest.md +355 -0
- package/.aether/agents-claude/aether-surveyor-pathogens.md +289 -0
- package/.aether/agents-claude/aether-surveyor-provisions.md +360 -0
- package/.aether/agents-claude/aether-tracker.md +270 -0
- package/.aether/agents-claude/aether-watcher.md +280 -0
- package/.aether/agents-claude/aether-weaver.md +248 -0
- package/.aether/commands/archaeology.yaml +653 -0
- package/.aether/commands/build.yaml +1221 -0
- package/.aether/commands/chaos.yaml +653 -0
- package/.aether/commands/colonize.yaml +442 -0
- package/.aether/commands/continue.yaml +1484 -0
- package/.aether/commands/council.yaml +509 -0
- package/.aether/commands/data-clean.yaml +80 -0
- package/.aether/commands/dream.yaml +275 -0
- package/.aether/commands/entomb.yaml +863 -0
- package/.aether/commands/export-signals.yaml +64 -0
- package/.aether/commands/feedback.yaml +158 -0
- package/.aether/commands/flag.yaml +160 -0
- package/.aether/commands/flags.yaml +177 -0
- package/.aether/commands/focus.yaml +112 -0
- package/.aether/commands/help.yaml +167 -0
- package/.aether/commands/history.yaml +137 -0
- package/.aether/commands/import-signals.yaml +79 -0
- package/.aether/commands/init.yaml +502 -0
- package/.aether/commands/insert-phase.yaml +102 -0
- package/.aether/commands/interpret.yaml +285 -0
- package/.aether/commands/lay-eggs.yaml +224 -0
- package/.aether/commands/maturity.yaml +122 -0
- package/.aether/commands/memory-details.yaml +74 -0
- package/.aether/commands/migrate-state.yaml +174 -0
- package/.aether/commands/oracle.yaml +1224 -0
- package/.aether/commands/organize.yaml +446 -0
- package/.aether/commands/patrol.yaml +621 -0
- package/.aether/commands/pause-colony.yaml +424 -0
- package/.aether/commands/phase.yaml +124 -0
- package/.aether/commands/pheromones.yaml +153 -0
- package/.aether/commands/plan.yaml +1364 -0
- package/.aether/commands/preferences.yaml +63 -0
- package/.aether/commands/quick.yaml +104 -0
- package/.aether/commands/redirect.yaml +123 -0
- package/.aether/commands/resume-colony.yaml +375 -0
- package/.aether/commands/resume.yaml +407 -0
- package/.aether/commands/run.yaml +229 -0
- package/.aether/commands/seal.yaml +1214 -0
- package/.aether/commands/skill-create.yaml +337 -0
- package/.aether/commands/status.yaml +408 -0
- package/.aether/commands/swarm.yaml +352 -0
- package/.aether/commands/tunnels.yaml +814 -0
- package/.aether/commands/update.yaml +131 -0
- package/.aether/commands/verify-castes.yaml +159 -0
- package/.aether/commands/watch.yaml +454 -0
- package/.aether/docs/INCIDENT_TEMPLATE.md +32 -0
- package/.aether/docs/QUEEN-SYSTEM.md +11 -11
- package/.aether/docs/README.md +32 -2
- package/.aether/docs/command-playbooks/README.md +23 -0
- package/.aether/docs/command-playbooks/build-complete.md +349 -0
- package/.aether/docs/command-playbooks/build-context.md +282 -0
- package/.aether/docs/command-playbooks/build-full.md +1683 -0
- package/.aether/docs/command-playbooks/build-prep.md +284 -0
- package/.aether/docs/command-playbooks/build-verify.md +405 -0
- package/.aether/docs/command-playbooks/build-wave.md +749 -0
- package/.aether/docs/command-playbooks/continue-advance.md +524 -0
- package/.aether/docs/command-playbooks/continue-finalize.md +447 -0
- package/.aether/docs/command-playbooks/continue-full.md +1725 -0
- package/.aether/docs/command-playbooks/continue-gates.md +686 -0
- package/.aether/docs/command-playbooks/continue-verify.md +407 -0
- package/.aether/docs/context-continuity.md +84 -0
- package/.aether/docs/disciplines/DISCIPLINES.md +9 -7
- package/.aether/docs/error-codes.md +1 -1
- package/.aether/docs/known-issues.md +34 -173
- package/.aether/docs/pheromones.md +86 -6
- package/.aether/docs/plans/pheromone-display-plan.md +257 -0
- package/.aether/docs/queen-commands.md +10 -9
- package/.aether/docs/source-of-truth-map.md +132 -0
- package/.aether/docs/xml-utilities.md +47 -0
- package/.aether/rules/aether-colony.md +23 -13
- package/.aether/scripts/incident-test-add.sh +47 -0
- package/.aether/scripts/weekly-audit.sh +79 -0
- package/.aether/skills/.index.json +649 -0
- package/.aether/skills/colony/.manifest.json +16 -0
- package/.aether/skills/colony/build-discipline/SKILL.md +78 -0
- package/.aether/skills/colony/colony-interaction/SKILL.md +56 -0
- package/.aether/skills/colony/colony-lifecycle/SKILL.md +77 -0
- package/.aether/skills/colony/colony-visuals/SKILL.md +112 -0
- package/.aether/skills/colony/context-management/SKILL.md +80 -0
- package/.aether/skills/colony/error-presentation/SKILL.md +99 -0
- package/.aether/skills/colony/pheromone-protocol/SKILL.md +79 -0
- package/.aether/skills/colony/pheromone-visibility/SKILL.md +81 -0
- package/.aether/skills/colony/state-safety/SKILL.md +84 -0
- package/.aether/skills/colony/worker-priming/SKILL.md +82 -0
- package/.aether/skills/domain/.manifest.json +24 -0
- package/.aether/skills/domain/README.md +33 -0
- package/.aether/skills/domain/django/SKILL.md +49 -0
- package/.aether/skills/domain/docker/SKILL.md +52 -0
- package/.aether/skills/domain/golang/SKILL.md +52 -0
- package/.aether/skills/domain/graphql/SKILL.md +51 -0
- package/.aether/skills/domain/html-css/SKILL.md +48 -0
- package/.aether/skills/domain/nextjs/SKILL.md +45 -0
- package/.aether/skills/domain/nodejs/SKILL.md +53 -0
- package/.aether/skills/domain/postgresql/SKILL.md +53 -0
- package/.aether/skills/domain/prisma/SKILL.md +59 -0
- package/.aether/skills/domain/python/SKILL.md +50 -0
- package/.aether/skills/domain/rails/SKILL.md +52 -0
- package/.aether/skills/domain/react/SKILL.md +45 -0
- package/.aether/skills/domain/rest-api/SKILL.md +58 -0
- package/.aether/skills/domain/svelte/SKILL.md +47 -0
- package/.aether/skills/domain/tailwind/SKILL.md +45 -0
- package/.aether/skills/domain/testing/SKILL.md +53 -0
- package/.aether/skills/domain/typescript/SKILL.md +58 -0
- package/.aether/skills/domain/vue/SKILL.md +49 -0
- package/.aether/templates/QUEEN.md.template +23 -41
- package/.aether/templates/colony-state-reset.jq.template +1 -0
- package/.aether/templates/colony-state.template.json +4 -0
- package/.aether/templates/learning-observations.template.json +6 -0
- package/.aether/templates/midden.template.json +13 -0
- package/.aether/templates/pheromones.template.json +6 -0
- package/.aether/templates/session.template.json +9 -0
- package/.aether/utils/atomic-write.sh +63 -17
- package/.aether/utils/chamber-utils.sh +145 -2
- package/.aether/utils/council.sh +425 -0
- package/.aether/utils/emoji-audit.sh +166 -0
- package/.aether/utils/error-handler.sh +21 -7
- package/.aether/utils/file-lock.sh +182 -27
- package/.aether/utils/flag.sh +278 -0
- package/.aether/utils/hive.sh +572 -0
- package/.aether/utils/immune.sh +508 -0
- package/.aether/utils/learning.sh +1928 -0
- package/.aether/utils/midden.sh +520 -0
- package/.aether/utils/oracle/oracle.md +168 -0
- package/.aether/utils/oracle/oracle.sh +1023 -0
- package/.aether/utils/pheromone.sh +2029 -0
- package/.aether/utils/queen.sh +1710 -0
- package/.aether/utils/scan.sh +860 -0
- package/.aether/utils/semantic-cli.sh +10 -8
- package/.aether/utils/session.sh +816 -0
- package/.aether/utils/skills.sh +509 -0
- package/.aether/utils/spawn-tree.sh +103 -271
- package/.aether/utils/spawn.sh +260 -0
- package/.aether/utils/state-api.sh +389 -0
- package/.aether/utils/state-loader.sh +8 -6
- package/.aether/utils/suggest.sh +611 -0
- package/.aether/utils/swarm-display.sh +10 -1
- package/.aether/utils/swarm.sh +1004 -0
- package/.aether/utils/watch-spawn-tree.sh +11 -2
- package/.aether/utils/xml-compose.sh +2 -2
- package/.aether/utils/xml-convert.sh +9 -5
- package/.aether/utils/xml-core.sh +5 -9
- package/.aether/utils/xml-query.sh +4 -4
- package/.aether/workers.md +86 -67
- package/.claude/agents/ant/aether-ambassador.md +2 -1
- package/.claude/agents/ant/aether-archaeologist.md +6 -1
- package/.claude/agents/ant/aether-architect.md +236 -0
- package/.claude/agents/ant/aether-auditor.md +6 -1
- package/.claude/agents/ant/aether-builder.md +38 -1
- package/.claude/agents/ant/aether-chaos.md +2 -1
- package/.claude/agents/ant/aether-chronicler.md +1 -0
- package/.claude/agents/ant/aether-gatekeeper.md +6 -1
- package/.claude/agents/ant/aether-includer.md +1 -0
- package/.claude/agents/ant/aether-keeper.md +1 -0
- package/.claude/agents/ant/aether-measurer.md +6 -1
- package/.claude/agents/ant/aether-oracle.md +237 -0
- package/.claude/agents/ant/aether-probe.md +2 -1
- package/.claude/agents/ant/aether-queen.md +6 -1
- package/.claude/agents/ant/aether-route-setter.md +6 -1
- package/.claude/agents/ant/aether-sage.md +68 -3
- package/.claude/agents/ant/aether-scout.md +38 -1
- package/.claude/agents/ant/aether-surveyor-disciplines.md +2 -1
- package/.claude/agents/ant/aether-surveyor-nest.md +2 -1
- package/.claude/agents/ant/aether-surveyor-pathogens.md +2 -1
- package/.claude/agents/ant/aether-surveyor-provisions.md +2 -1
- package/.claude/agents/ant/aether-tracker.md +6 -1
- package/.claude/agents/ant/aether-watcher.md +37 -1
- package/.claude/agents/ant/aether-weaver.md +2 -1
- package/.claude/commands/ant/archaeology.md +1 -8
- package/.claude/commands/ant/build.md +43 -1159
- package/.claude/commands/ant/chaos.md +1 -14
- package/.claude/commands/ant/colonize.md +3 -14
- package/.claude/commands/ant/continue.md +40 -1026
- package/.claude/commands/ant/council.md +213 -15
- package/.claude/commands/ant/data-clean.md +81 -0
- package/.claude/commands/ant/dream.md +12 -9
- package/.claude/commands/ant/entomb.md +62 -87
- package/.claude/commands/ant/export-signals.md +57 -0
- package/.claude/commands/ant/feedback.md +18 -0
- package/.claude/commands/ant/flag.md +12 -0
- package/.claude/commands/ant/flags.md +22 -8
- package/.claude/commands/ant/focus.md +18 -0
- package/.claude/commands/ant/help.md +40 -8
- package/.claude/commands/ant/history.md +3 -0
- package/.claude/commands/ant/import-signals.md +71 -0
- package/.claude/commands/ant/init.md +349 -191
- package/.claude/commands/ant/insert-phase.md +105 -0
- package/.claude/commands/ant/interpret.md +11 -0
- package/.claude/commands/ant/lay-eggs.md +167 -158
- package/.claude/commands/ant/maturity.md +22 -11
- package/.claude/commands/ant/memory-details.md +77 -0
- package/.claude/commands/ant/migrate-state.md +6 -0
- package/.claude/commands/ant/oracle.md +317 -62
- package/.claude/commands/ant/organize.md +10 -5
- package/.claude/commands/ant/patrol.md +620 -0
- package/.claude/commands/ant/pause-colony.md +8 -22
- package/.claude/commands/ant/phase.md +26 -37
- package/.claude/commands/ant/pheromones.md +156 -0
- package/.claude/commands/ant/plan.md +199 -50
- package/.claude/commands/ant/preferences.md +65 -0
- package/.claude/commands/ant/quick.md +100 -0
- package/.claude/commands/ant/redirect.md +18 -0
- package/.claude/commands/ant/resume-colony.md +37 -22
- package/.claude/commands/ant/resume.md +60 -7
- package/.claude/commands/ant/run.md +231 -0
- package/.claude/commands/ant/seal.md +506 -78
- package/.claude/commands/ant/skill-create.md +286 -0
- package/.claude/commands/ant/status.md +171 -1
- package/.claude/commands/ant/swarm.md +11 -23
- package/.claude/commands/ant/tunnels.md +1 -0
- package/.claude/commands/ant/update.md +58 -135
- package/.claude/commands/ant/verify-castes.md +90 -42
- package/.claude/commands/ant/watch.md +1 -0
- package/.opencode/agents/aether-ambassador.md +1 -1
- package/.opencode/agents/aether-architect.md +133 -0
- package/.opencode/agents/aether-builder.md +3 -3
- package/.opencode/agents/aether-oracle.md +137 -0
- package/.opencode/agents/aether-queen.md +1 -1
- package/.opencode/agents/aether-route-setter.md +1 -1
- package/.opencode/agents/aether-scout.md +1 -1
- package/.opencode/agents/aether-surveyor-disciplines.md +6 -1
- package/.opencode/agents/aether-surveyor-nest.md +6 -1
- package/.opencode/agents/aether-surveyor-pathogens.md +6 -1
- package/.opencode/agents/aether-surveyor-provisions.md +6 -1
- package/.opencode/agents/aether-tracker.md +1 -1
- package/.opencode/agents/aether-watcher.md +1 -1
- package/.opencode/agents/aether-weaver.md +1 -1
- package/.opencode/commands/ant/archaeology.md +7 -14
- package/.opencode/commands/ant/build.md +54 -88
- package/.opencode/commands/ant/chaos.md +7 -24
- package/.opencode/commands/ant/colonize.md +10 -17
- package/.opencode/commands/ant/continue.md +595 -66
- package/.opencode/commands/ant/council.md +150 -18
- package/.opencode/commands/ant/data-clean.md +77 -0
- package/.opencode/commands/ant/dream.md +15 -17
- package/.opencode/commands/ant/entomb.md +28 -18
- package/.opencode/commands/ant/export-signals.md +54 -0
- package/.opencode/commands/ant/feedback.md +24 -5
- package/.opencode/commands/ant/flag.md +16 -4
- package/.opencode/commands/ant/flags.md +24 -10
- package/.opencode/commands/ant/focus.md +22 -5
- package/.opencode/commands/ant/help.md +41 -8
- package/.opencode/commands/ant/history.md +9 -0
- package/.opencode/commands/ant/import-signals.md +68 -0
- package/.opencode/commands/ant/init.md +396 -154
- package/.opencode/commands/ant/insert-phase.md +111 -0
- package/.opencode/commands/ant/interpret.md +16 -0
- package/.opencode/commands/ant/lay-eggs.md +184 -112
- package/.opencode/commands/ant/maturity.md +18 -2
- package/.opencode/commands/ant/memory-details.md +83 -0
- package/.opencode/commands/ant/migrate-state.md +12 -0
- package/.opencode/commands/ant/oracle.md +322 -67
- package/.opencode/commands/ant/organize.md +14 -12
- package/.opencode/commands/ant/patrol.md +626 -0
- package/.opencode/commands/ant/pause-colony.md +12 -29
- package/.opencode/commands/ant/phase.md +30 -40
- package/.opencode/commands/ant/pheromones.md +162 -0
- package/.opencode/commands/ant/plan.md +210 -57
- package/.opencode/commands/ant/preferences.md +71 -0
- package/.opencode/commands/ant/quick.md +91 -0
- package/.opencode/commands/ant/redirect.md +22 -5
- package/.opencode/commands/ant/resume-colony.md +41 -29
- package/.opencode/commands/ant/resume.md +80 -20
- package/.opencode/commands/ant/run.md +237 -0
- package/.opencode/commands/ant/seal.md +230 -25
- package/.opencode/commands/ant/skill-create.md +63 -0
- package/.opencode/commands/ant/status.md +125 -30
- package/.opencode/commands/ant/swarm.md +3 -345
- package/.opencode/commands/ant/tunnels.md +3 -9
- package/.opencode/commands/ant/update.md +63 -127
- package/.opencode/commands/ant/verify-castes.md +96 -42
- package/.opencode/commands/ant/watch.md +7 -0
- package/CHANGELOG.md +368 -1
- package/README.md +195 -324
- package/bin/cli.js +236 -429
- package/bin/generate-commands.js +186 -0
- package/bin/generate-commands.sh +128 -89
- package/bin/lib/spawn-logger.js +0 -15
- package/bin/lib/update-transaction.js +285 -35
- package/bin/npx-install.js +178 -0
- package/bin/validate-package.sh +85 -3
- package/package.json +16 -4
- package/.aether/CONTEXT.md +0 -160
- package/.aether/docs/QUEEN.md +0 -84
- package/.aether/exchange/colony-registry.xml +0 -11
- package/.aether/exchange/pheromones.xml +0 -87
- package/.aether/exchange/queen-wisdom.xml +0 -14
- package/.aether/model-profiles.yaml +0 -100
- package/.aether/utils/spawn-with-model.sh +0 -56
- package/bin/lib/model-profiles.js +0 -445
- package/bin/lib/model-verify.js +0 -288
- package/bin/lib/proxy-health.js +0 -253
- package/bin/lib/telemetry.js +0 -441
|
@@ -1,18 +1,19 @@
|
|
|
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"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
You are the **Queen Ant Colony**. Display phase details from the project plan.
|
|
7
|
-
|
|
8
|
-
## Instructions
|
|
9
|
-
|
|
10
7
|
### Step -1: Normalize Arguments
|
|
11
8
|
|
|
12
9
|
Run: `normalized_args=$(bash .aether/aether-utils.sh normalize-args "$@")`
|
|
13
10
|
|
|
14
11
|
This ensures arguments work correctly in both Claude Code and OpenCode. Use `$normalized_args` throughout this command.
|
|
15
12
|
|
|
13
|
+
You are the **Queen Ant Colony**. Display phase details from the project plan.
|
|
14
|
+
|
|
15
|
+
## Instructions
|
|
16
|
+
|
|
16
17
|
The argument is: `$normalized_args`
|
|
17
18
|
|
|
18
19
|
### Step 1: Read State
|
|
@@ -40,11 +41,13 @@ Find the phase by ID in `plan.phases`.
|
|
|
40
41
|
|
|
41
42
|
Output this header:
|
|
42
43
|
|
|
44
|
+
|
|
45
|
+
|
|
43
46
|
```
|
|
44
47
|
๐๐๐๐๐ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
45
48
|
P H A S E {id} D E T A I L S
|
|
46
49
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐๐๐๐๐
|
|
47
|
-
|
|
50
|
+
|
|
48
51
|
|
|
49
52
|
Then display:
|
|
50
53
|
|
|
@@ -61,63 +64,50 @@ Then display:
|
|
|
61
64
|
โ
Success Criteria:
|
|
62
65
|
โข <criterion>
|
|
63
66
|
|
|
64
|
-
|
|
67
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
68
|
+
|
|
69
|
+
|
|
65
70
|
๐ Next Steps:
|
|
71
|
+
|
|
72
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
66
73
|
/ant:build <id> ๐จ Phase <id>: <phase_name>
|
|
67
74
|
/ant:phase <next_id> ๐ Phase <next_id>: <next_phase_name> (only if not last phase)
|
|
68
75
|
/ant:status ๐ Colony status
|
|
69
76
|
```
|
|
70
77
|
|
|
78
|
+
|
|
79
|
+
|
|
71
80
|
Status icons: `[ ]` pending, `[~]` in_progress, `[โ]` completed
|
|
72
81
|
|
|
73
82
|
### Step 3b: List View
|
|
74
83
|
|
|
75
84
|
Output this header:
|
|
76
85
|
|
|
86
|
+
|
|
87
|
+
|
|
77
88
|
```
|
|
78
89
|
๐๐๐๐๐ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
79
90
|
A L L P H A S E S
|
|
80
91
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐๐๐๐๐
|
|
81
|
-
```
|
|
82
92
|
|
|
83
|
-
Then display all phases as a summary:
|
|
84
93
|
|
|
94
|
+
For each phase in `plan.phases`, display:
|
|
85
95
|
```
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
{icon} Phase <id>: <name>
|
|
89
|
-
<completed>/<total> tasks | <status>
|
|
90
|
-
|
|
91
|
-
(repeat for each phase)
|
|
92
|
-
|
|
93
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
94
|
-
Legend: [โ] completed [~] in progress [ ] pending
|
|
95
|
-
|
|
96
|
-
๐ /ant:phase <id> for details
|
|
96
|
+
[{id}] {name} [{status}]
|
|
97
|
+
{short_description}
|
|
97
98
|
```
|
|
98
99
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
After displaying phase details, offer to update the handoff document with review notes:
|
|
102
|
-
|
|
103
|
-
Use AskUserQuestion:
|
|
100
|
+
Display phases grouped by status:
|
|
104
101
|
```
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
โ Completed
|
|
103
|
+
[{id}] {name}
|
|
104
|
+
~ In Progress
|
|
105
|
+
[{id}] {name}
|
|
106
|
+
[ ] Pending
|
|
107
|
+
[{id}] {name}
|
|
109
108
|
```
|
|
110
109
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
cat >> .aether/HANDOFF.md << 'HANDOFF_EOF'
|
|
116
|
-
|
|
117
|
-
## Phase {id} Review Notes
|
|
118
|
-
- Reviewed: $(date -u +%Y-%m-%dT%H:%M:%SZ)
|
|
119
|
-
- Notes: {user_notes}
|
|
120
|
-
HANDOFF_EOF
|
|
110
|
+
Display completion progress:
|
|
111
|
+
```
|
|
112
|
+
๐ Overall: {completed_count}/{total_count} phases complete
|
|
121
113
|
```
|
|
122
|
-
|
|
123
|
-
Display: `Handoff updated with review notes.`
|
|
@@ -0,0 +1,162 @@
|
|
|
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
|
+
### Step -1: Normalize Arguments
|
|
8
|
+
|
|
9
|
+
Run: `normalized_args=$(bash .aether/aether-utils.sh normalize-args "$@")`
|
|
10
|
+
|
|
11
|
+
This ensures arguments work correctly in both Claude Code and OpenCode. Use `$normalized_args` throughout this command.
|
|
12
|
+
|
|
13
|
+
You are the **Queen**. Display and manage the colony's pheromone signals.
|
|
14
|
+
|
|
15
|
+
## Instructions
|
|
16
|
+
|
|
17
|
+
Parse `$normalized_args`:
|
|
18
|
+
- If contains `--no-visual`: set `visual_mode = false` (visual is ON by default)
|
|
19
|
+
- Otherwise: set `visual_mode = true`
|
|
20
|
+
|
|
21
|
+
Extract subcommand from `$normalized_args`:
|
|
22
|
+
- No argument or `all`: Show all active pheromones
|
|
23
|
+
- `focus`: Show only FOCUS signals
|
|
24
|
+
- `redirect`: Show only REDIRECT signals
|
|
25
|
+
- `feedback`: Show only FEEDBACK signals
|
|
26
|
+
- `clear`: Clear expired/inactive signals
|
|
27
|
+
- `expire <id>`: Expire a specific signal by ID
|
|
28
|
+
|
|
29
|
+
### Step 1: Read Colony State
|
|
30
|
+
|
|
31
|
+
Read `.aether/data/COLONY_STATE.json`.
|
|
32
|
+
|
|
33
|
+
If file missing or `goal: null`:
|
|
34
|
+
```
|
|
35
|
+
No colony initialized. Run /ant:init first.
|
|
36
|
+
```
|
|
37
|
+
Stop here.
|
|
38
|
+
|
|
39
|
+
### Step 2: Handle Subcommands
|
|
40
|
+
|
|
41
|
+
**If subcommand is `clear`:**
|
|
42
|
+
|
|
43
|
+
Run using the Bash tool:
|
|
44
|
+
```bash
|
|
45
|
+
# Count signals before
|
|
46
|
+
before_count=$(jq '[.signals[] | select(.active == true)] | length' .aether/data/pheromones.json 2>/dev/null || echo "0")
|
|
47
|
+
|
|
48
|
+
# Mark expired/inactive signals as inactive
|
|
49
|
+
now=$(date +%s)
|
|
50
|
+
jq --argjson now "$now" '
|
|
51
|
+
def to_epoch(ts):
|
|
52
|
+
if ts == null or ts == "" or ts == "phase_end" then null
|
|
53
|
+
else
|
|
54
|
+
(ts | split("T")) as $parts |
|
|
55
|
+
($parts[0] | split("-")) as $d |
|
|
56
|
+
($parts[1] | rtrimstr("Z") | split(":")) as $t |
|
|
57
|
+
(($d[0] | tonumber) - 1970) * 365 * 86400 +
|
|
58
|
+
(($d[1] | tonumber) - 1) * 30 * 86400 +
|
|
59
|
+
(($d[2] | tonumber) - 1) * 86400 +
|
|
60
|
+
($t[0] | tonumber) * 3600 +
|
|
61
|
+
($t[1] | tonumber) * 60 +
|
|
62
|
+
($t[2] | rtrimstr("Z") | tonumber)
|
|
63
|
+
end;
|
|
64
|
+
|
|
65
|
+
def decay_days(t):
|
|
66
|
+
if t == "FOCUS" then 30
|
|
67
|
+
elif t == "REDIRECT" then 60
|
|
68
|
+
else 90
|
|
69
|
+
end;
|
|
70
|
+
|
|
71
|
+
.signals = [.signals[] |
|
|
72
|
+
(to_epoch(.created_at)) as $created_epoch |
|
|
73
|
+
(if $created_epoch != null then ($now - $created_epoch) / 86400 else 0 end) as $elapsed_days |
|
|
74
|
+
(decay_days(.type)) as $dd |
|
|
75
|
+
((.strength // 0.8) * (1 - ($elapsed_days / $dd))) as $eff_raw |
|
|
76
|
+
(if $eff_raw < 0 then 0 else $eff_raw end) as $eff |
|
|
77
|
+
if $eff < 0.1 then . + {active: false} else . end
|
|
78
|
+
]
|
|
79
|
+
' .aether/data/pheromones.json > .aether/data/pheromones.json.tmp && mv .aether/data/pheromones.json.tmp .aether/data/pheromones.json
|
|
80
|
+
|
|
81
|
+
# Count signals after
|
|
82
|
+
after_count=$(jq '[.signals[] | select(.active == true)] | length' .aether/data/pheromones.json 2>/dev/null || echo "0")
|
|
83
|
+
cleared=$((before_count - after_count))
|
|
84
|
+
|
|
85
|
+
echo "before=$before_count after=$after_count cleared=$cleared"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Display:
|
|
89
|
+
```
|
|
90
|
+
๐งน Pheromone Cleanup
|
|
91
|
+
|
|
92
|
+
Before: {before_count} active signals
|
|
93
|
+
After: {after_count} active signals
|
|
94
|
+
Cleared: {cleared} expired signal(s)
|
|
95
|
+
|
|
96
|
+
Run /ant:pheromones to see remaining signals.
|
|
97
|
+
```
|
|
98
|
+
Stop here.
|
|
99
|
+
|
|
100
|
+
**If subcommand is `expire <id>`:**
|
|
101
|
+
|
|
102
|
+
Extract the signal ID from arguments.
|
|
103
|
+
Run using the Bash tool:
|
|
104
|
+
```bash
|
|
105
|
+
signal_id="{extracted_id}"
|
|
106
|
+
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"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Display:
|
|
110
|
+
```
|
|
111
|
+
โ Signal expired: {signal_id}
|
|
112
|
+
|
|
113
|
+
Run /ant:pheromones to see remaining signals.
|
|
114
|
+
```
|
|
115
|
+
Stop here.
|
|
116
|
+
|
|
117
|
+
### Step 3: Display Active Pheromones (default or filter)
|
|
118
|
+
|
|
119
|
+
Run using the Bash tool with description "Displaying pheromones...":
|
|
120
|
+
```bash
|
|
121
|
+
bash .aether/aether-utils.sh pheromone-display "{subcommand or 'all'}"
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
The output will be the formatted pheromone table.
|
|
125
|
+
|
|
126
|
+
### Step 4: Summary and Next Steps
|
|
127
|
+
|
|
128
|
+
Display guidance:
|
|
129
|
+
```
|
|
130
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
131
|
+
|
|
132
|
+
๐ก Managing Pheromones
|
|
133
|
+
|
|
134
|
+
/ant:focus "area" ๐ฏ Guide attention
|
|
135
|
+
/ant:redirect "avoid" ๐ซ Set hard constraint
|
|
136
|
+
/ant:feedback "note" ๐ฌ Provide guidance
|
|
137
|
+
/ant:pheromones clear ๐งน Clear expired signals
|
|
138
|
+
|
|
139
|
+
๐ Signals decay over time: FOCUS 30d, REDIRECT 60d, FEEDBACK 90d
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Edge Cases
|
|
143
|
+
|
|
144
|
+
**No pheromones file:**
|
|
145
|
+
```
|
|
146
|
+
No pheromones active. Colony has no signals.
|
|
147
|
+
|
|
148
|
+
Inject signals with:
|
|
149
|
+
/ant:focus "area" - Guide attention
|
|
150
|
+
/ant:redirect "avoid" - Set hard constraint
|
|
151
|
+
/ant:feedback "note" - Provide guidance
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**No active signals of filtered type:**
|
|
155
|
+
```
|
|
156
|
+
No active {type} signals found.
|
|
157
|
+
|
|
158
|
+
Try: /ant:pheromones (to see all)
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
**Invalid subcommand:**
|
|
162
|
+
Display help showing valid subcommands.
|