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,24 +1,18 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/tunnels.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:tunnels
|
|
3
4
|
description: "🕳️🐜🕳️ Explore tunnels (browse archived colonies, compare chambers)"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
You are the **Queen**. Browse the colony history.
|
|
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
|
|
|
16
|
-
|
|
13
|
+
You are the **Queen**. Browse the colony history.
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
- One argument: Show single chamber detail (Step 3)
|
|
20
|
-
- Two arguments: Compare two chambers (Step 5)
|
|
21
|
-
- More than two: "Too many arguments. Use: /ant:tunnels [chamber1] [chamber2]"
|
|
15
|
+
## Instructions
|
|
22
16
|
|
|
23
17
|
### Step 1: Check for Chambers Directory
|
|
24
18
|
|
|
@@ -106,6 +100,37 @@ To get the counts and hash status:
|
|
|
106
100
|
- If not verified: hash_status = "⚠️ hash mismatch"
|
|
107
101
|
- If error: hash_status = "⚠️ error"
|
|
108
102
|
|
|
103
|
+
Check if `colony-archive.xml` exists in the chamber:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
chamber_has_xml=false
|
|
107
|
+
[[ -f ".aether/chambers/{chamber_name}/colony-archive.xml" ]] && chamber_has_xml=true
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**If `colony-archive.xml` exists**, add import option to the detail view footer:
|
|
111
|
+
```
|
|
112
|
+
📁 Files:
|
|
113
|
+
- COLONY_STATE.json (verified: {hash_status})
|
|
114
|
+
- manifest.json
|
|
115
|
+
- colony-archive.xml (XML Archive)
|
|
116
|
+
|
|
117
|
+
Actions:
|
|
118
|
+
1. Import signals from this colony into current colony
|
|
119
|
+
2. Return to chamber list
|
|
120
|
+
|
|
121
|
+
Select an action (1/2)
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Use AskUserQuestion with two options.
|
|
125
|
+
|
|
126
|
+
If option 1 selected: proceed to Step 6 (Import Signals from Chamber).
|
|
127
|
+
If option 2 selected: return to chamber list (run /ant:tunnels).
|
|
128
|
+
|
|
129
|
+
**If `colony-archive.xml` does NOT exist**, show existing footer unchanged:
|
|
130
|
+
```
|
|
131
|
+
Run /ant:tunnels to return to chamber list.
|
|
132
|
+
```
|
|
133
|
+
|
|
109
134
|
Stop here.
|
|
110
135
|
|
|
111
136
|
### Step 5: Chamber Comparison Mode (Two Arguments)
|
|
@@ -231,6 +256,124 @@ Run /ant:tunnels <chamber_name> to view details
|
|
|
231
256
|
- Missing COLONY_STATE.json: show "⚠️ Incomplete chamber" for that chamber
|
|
232
257
|
- Very long chamber list: display all (no pagination for now)
|
|
233
258
|
|
|
259
|
+
### Step 6: Import Signals from Chamber
|
|
260
|
+
|
|
261
|
+
When user selects "Import signals" from Step 3:
|
|
262
|
+
|
|
263
|
+
**Step 6.1: Check XML tools**
|
|
264
|
+
```bash
|
|
265
|
+
if command -v xmllint >/dev/null 2>&1; then
|
|
266
|
+
xmllint_available=true
|
|
267
|
+
else
|
|
268
|
+
xmllint_available=false
|
|
269
|
+
fi
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
If xmllint not available:
|
|
273
|
+
```
|
|
274
|
+
Import requires xmllint. Install it first:
|
|
275
|
+
macOS: xcode-select --install
|
|
276
|
+
Linux: apt-get install libxml2-utils
|
|
277
|
+
```
|
|
278
|
+
Stop here (return to chamber list).
|
|
279
|
+
|
|
280
|
+
**Step 6.2: Extract source colony name**
|
|
281
|
+
```bash
|
|
282
|
+
chamber_xml=".aether/chambers/{chamber_name}/colony-archive.xml"
|
|
283
|
+
# Extract colony_id from the archive root element
|
|
284
|
+
source_colony=$(xmllint --xpath "string(/*/@colony_id)" "$chamber_xml" 2>/dev/null)
|
|
285
|
+
[[ -z "$source_colony" ]] && source_colony="{chamber_name}"
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
**Step 6.3: Extract pheromone section and show import preview**
|
|
289
|
+
|
|
290
|
+
The combined `colony-archive.xml` contains pheromones, wisdom, and registry sections. Extract the pheromone section to a temp file before counting or importing. This prevents over-counting signals from wisdom/registry sections and ensures `pheromone-import-xml` receives the format it expects (`<pheromones>` as root element).
|
|
291
|
+
|
|
292
|
+
```bash
|
|
293
|
+
# Extract the <pheromones> section from the combined archive into a standalone temp file
|
|
294
|
+
import_tmp_dir=$(mktemp -d)
|
|
295
|
+
import_tmp_pheromones="$import_tmp_dir/pheromones-extracted.xml"
|
|
296
|
+
|
|
297
|
+
# Use xmllint to extract the pheromones element (with its namespace)
|
|
298
|
+
xmllint --xpath "//*[local-name()='pheromones']" "$chamber_xml" > "$import_tmp_pheromones" 2>/dev/null
|
|
299
|
+
|
|
300
|
+
# Add XML declaration to make it a standalone well-formed document
|
|
301
|
+
if [[ -s "$import_tmp_pheromones" ]]; then
|
|
302
|
+
# Portable approach: prepend declaration via temp file (avoids macOS/Linux sed -i differences)
|
|
303
|
+
{ echo '<?xml version="1.0" encoding="UTF-8"?>'; cat "$import_tmp_pheromones"; } > "$import_tmp_dir/tmp_decl.xml"
|
|
304
|
+
mv "$import_tmp_dir/tmp_decl.xml" "$import_tmp_pheromones"
|
|
305
|
+
fi
|
|
306
|
+
|
|
307
|
+
# Count pheromone signals in extracted pheromone-only XML
|
|
308
|
+
# Scoped to pheromone section only — no over-counting from wisdom/registry sections
|
|
309
|
+
pheromone_count=$(xmllint --xpath "count(//*[local-name()='signal'])" "$import_tmp_pheromones" 2>/dev/null || echo "unknown")
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
Display:
|
|
313
|
+
```
|
|
314
|
+
IMPORT FROM COLONY: {source_colony}
|
|
315
|
+
|
|
316
|
+
Source: .aether/chambers/{chamber_name}/colony-archive.xml
|
|
317
|
+
Signals available: ~{pheromone_count} pheromone signals
|
|
318
|
+
|
|
319
|
+
Import behavior:
|
|
320
|
+
- Signals tagged with prefix "{source_colony}:" to identify origin
|
|
321
|
+
- Additive merge — your current signals are never overwritten
|
|
322
|
+
- On conflict, your current colony wins
|
|
323
|
+
|
|
324
|
+
Import these signals? (yes/no)
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
Use AskUserQuestion with yes/no options.
|
|
328
|
+
|
|
329
|
+
If no: "Import cancelled." Clean up: `rm -rf "$import_tmp_dir"`. Return to chamber list.
|
|
330
|
+
|
|
331
|
+
**Step 6.4: Perform import**
|
|
332
|
+
|
|
333
|
+
Pass the extracted pheromone-only temp file (NOT the combined `colony-archive.xml`) to `pheromone-import-xml`, along with `$source_colony` as the second argument. This ensures:
|
|
334
|
+
1. `pheromone-import-xml` receives XML with `<pheromones>` as root element (the format it expects)
|
|
335
|
+
2. The prefix-tagging logic prepends `${source_colony}:` to each imported signal's ID before the merge
|
|
336
|
+
|
|
337
|
+
```bash
|
|
338
|
+
# Import the EXTRACTED pheromone-only XML (NOT the combined colony-archive.xml)
|
|
339
|
+
# $import_tmp_pheromones has <pheromones> as root — the format pheromone-import-xml expects
|
|
340
|
+
# Second argument triggers prefix-tagging — imported signal IDs become "{source_colony}:original_id"
|
|
341
|
+
import_result=$(bash .aether/aether-utils.sh pheromone-import-xml "$import_tmp_pheromones" "$source_colony" 2>&1)
|
|
342
|
+
import_ok=$(echo "$import_result" | jq -r '.ok // false' 2>/dev/null)
|
|
343
|
+
|
|
344
|
+
if [[ "$import_ok" == "true" ]]; then
|
|
345
|
+
imported_count=$(echo "$import_result" | jq -r '.result.signal_count // 0' 2>/dev/null)
|
|
346
|
+
else
|
|
347
|
+
imported_count=0
|
|
348
|
+
import_error=$(echo "$import_result" | jq -r '.error // "Unknown error"' 2>/dev/null)
|
|
349
|
+
fi
|
|
350
|
+
|
|
351
|
+
# Clean up temp files
|
|
352
|
+
rm -rf "$import_tmp_dir"
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
**Step 6.5: Display result**
|
|
356
|
+
|
|
357
|
+
If import succeeded:
|
|
358
|
+
```
|
|
359
|
+
SIGNALS IMPORTED
|
|
360
|
+
|
|
361
|
+
Source: {source_colony}
|
|
362
|
+
Imported: {imported_count} pheromone signals
|
|
363
|
+
Tagged with: "{source_colony}:" prefix
|
|
364
|
+
|
|
365
|
+
Your colony now carries wisdom from {source_colony}.
|
|
366
|
+
Run /ant:status to see current colony state.
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
If import failed:
|
|
370
|
+
```
|
|
371
|
+
Import failed: {import_error}
|
|
372
|
+
|
|
373
|
+
The archive may be malformed. Check:
|
|
374
|
+
.aether/chambers/{chamber_name}/colony-archive.xml
|
|
375
|
+
```
|
|
376
|
+
|
|
234
377
|
## Implementation Notes
|
|
235
378
|
|
|
236
379
|
The `chamber-list` utility returns JSON in this format:
|
|
@@ -1,148 +1,127 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/update.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:update
|
|
3
|
-
description: "🔄🐜📦🐜🔄 Update
|
|
4
|
+
description: "🔄🐜📦🐜🔄 Update Aether safely from the global hub (transactional)"
|
|
4
5
|
---
|
|
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
|
+
|
|
6
13
|
You are the **Queen Ant Colony**. Update this repo's Aether system files from the global distribution hub.
|
|
7
14
|
|
|
15
|
+
## Safety Rules
|
|
16
|
+
|
|
17
|
+
1. Use the CLI transactional updater (`aether update`) instead of manual `cp` chains.
|
|
18
|
+
2. Never overwrite colony runtime data (`.aether/data/`) or user wisdom (`.aether/QUEEN.md`).
|
|
19
|
+
3. Do **not** assume version numbers are monotonic. Labels may reset; avoid "downgrade" wording.
|
|
20
|
+
4. If update reports dirty managed files, stop and show recovery options unless user requested force.
|
|
21
|
+
|
|
8
22
|
## Instructions
|
|
9
23
|
|
|
10
24
|
### Step 1: Check Hub Availability
|
|
11
25
|
|
|
12
|
-
|
|
26
|
+
Run:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
test -f ~/.aether/version.json && cat ~/.aether/version.json || echo "__NO_HUB__"
|
|
30
|
+
```
|
|
13
31
|
|
|
14
|
-
If
|
|
32
|
+
If output is `__NO_HUB__`, display:
|
|
15
33
|
|
|
16
34
|
```
|
|
17
35
|
No Aether distribution hub found at ~/.aether/
|
|
18
36
|
|
|
19
37
|
To set up the hub, run:
|
|
20
38
|
npx aether-colony install
|
|
21
|
-
|
|
39
|
+
- or -
|
|
22
40
|
aether install
|
|
23
|
-
|
|
24
|
-
The hub provides system file updates across all your Aether repos.
|
|
25
41
|
```
|
|
26
42
|
|
|
27
|
-
Stop here.
|
|
43
|
+
Stop here.
|
|
28
44
|
|
|
29
|
-
|
|
45
|
+
Parse `version` from the JSON as `available_version`.
|
|
30
46
|
|
|
31
|
-
### Step
|
|
47
|
+
### Step 1.5: Verify CLI Availability
|
|
32
48
|
|
|
33
|
-
|
|
49
|
+
Run:
|
|
34
50
|
|
|
35
|
-
|
|
36
|
-
|
|
51
|
+
```bash
|
|
52
|
+
command -v aether >/dev/null 2>&1 && echo "__CLI_OK__" || echo "__CLI_MISSING__"
|
|
53
|
+
```
|
|
37
54
|
|
|
38
|
-
If
|
|
55
|
+
If output is `__CLI_MISSING__`, display:
|
|
39
56
|
|
|
40
57
|
```
|
|
41
|
-
|
|
58
|
+
The transactional updater is not available because the `aether` CLI is missing.
|
|
42
59
|
|
|
43
|
-
|
|
44
|
-
|
|
60
|
+
Install/update it, then retry:
|
|
61
|
+
npx aether-colony install
|
|
62
|
+
- or -
|
|
63
|
+
npm i -g aether-colony
|
|
45
64
|
```
|
|
46
65
|
|
|
47
|
-
Stop here.
|
|
66
|
+
Stop here.
|
|
48
67
|
|
|
49
|
-
### Step
|
|
68
|
+
### Step 2: Parse Force Flag
|
|
50
69
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
```
|
|
70
|
+
Treat either of these as force:
|
|
71
|
+
- `--force`
|
|
72
|
+
- `--force-update`
|
|
55
73
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
```
|
|
74
|
+
Set:
|
|
75
|
+
- `update_flags="--force"` when force requested
|
|
76
|
+
- `update_flags=""` otherwise
|
|
60
77
|
|
|
61
|
-
|
|
78
|
+
### Step 3: Dry-Run Preview
|
|
62
79
|
|
|
63
|
-
|
|
80
|
+
Run:
|
|
64
81
|
|
|
65
|
-
|
|
82
|
+
```bash
|
|
83
|
+
aether update --dry-run $update_flags
|
|
84
|
+
```
|
|
66
85
|
|
|
67
|
-
|
|
86
|
+
If this fails, show the error output and stop.
|
|
68
87
|
|
|
69
|
-
|
|
88
|
+
### Step 4: Execute Transactional Update
|
|
89
|
+
|
|
90
|
+
Run:
|
|
70
91
|
|
|
71
92
|
```bash
|
|
72
|
-
|
|
73
|
-
mkdir -p .claude/commands/ant
|
|
74
|
-
cp -R ~/.aether/commands/claude/* .claude/commands/ant/ 2>/dev/null
|
|
75
|
-
# Remove orphans: files in dest that aren't in hub
|
|
76
|
-
comm -23 \
|
|
77
|
-
<(cd .claude/commands/ant && find . -type f ! -name '.*' | sort) \
|
|
78
|
-
<(cd ~/.aether/commands/claude && find . -type f ! -name '.*' | sort) \
|
|
79
|
-
| while read f; do rm ".claude/commands/ant/$f" && echo " removed stale: .claude/commands/ant/$f"; done
|
|
80
|
-
echo "claude: done"
|
|
81
|
-
|
|
82
|
-
# Sync OpenCode commands
|
|
83
|
-
mkdir -p .opencode/commands/ant
|
|
84
|
-
cp -R ~/.aether/commands/opencode/* .opencode/commands/ant/ 2>/dev/null
|
|
85
|
-
comm -23 \
|
|
86
|
-
<(cd .opencode/commands/ant && find . -type f ! -name '.*' | sort) \
|
|
87
|
-
<(cd ~/.aether/commands/opencode && find . -type f ! -name '.*' | sort) \
|
|
88
|
-
| while read f; do rm ".opencode/commands/ant/$f" && echo " removed stale: .opencode/commands/ant/$f"; done
|
|
89
|
-
echo "opencode: done"
|
|
90
|
-
|
|
91
|
-
# Sync agents
|
|
92
|
-
mkdir -p .opencode/agents
|
|
93
|
-
cp -R ~/.aether/agents/* .opencode/agents/ 2>/dev/null
|
|
94
|
-
comm -23 \
|
|
95
|
-
<(cd .opencode/agents && find . -type f ! -name '.*' | sort) \
|
|
96
|
-
<(cd ~/.aether/agents && find . -type f ! -name '.*' | sort) \
|
|
97
|
-
| while read f; do rm ".opencode/agents/$f" && echo " removed stale: .opencode/agents/$f"; done
|
|
98
|
-
echo "agents: done"
|
|
93
|
+
aether update $update_flags
|
|
99
94
|
```
|
|
100
95
|
|
|
101
|
-
|
|
96
|
+
This command handles:
|
|
97
|
+
- checkpoint creation
|
|
98
|
+
- safe sync
|
|
99
|
+
- integrity verification
|
|
100
|
+
- automatic rollback on failure
|
|
102
101
|
|
|
103
|
-
### Step 5:
|
|
102
|
+
### Step 5: Clear Version Cache
|
|
104
103
|
|
|
105
|
-
Run using the Bash tool:
|
|
106
|
-
```
|
|
107
|
-
bash .aether/aether-utils.sh registry-add "$(pwd)" "{available_version}"
|
|
108
|
-
```
|
|
109
104
|
|
|
110
|
-
Substitute `{available_version}` with the version from Step 1.
|
|
111
105
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
106
|
+
Run:
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
rm -f .aether/data/.version-check-cache
|
|
118
111
|
```
|
|
119
112
|
|
|
120
113
|
### Step 6: Display Summary
|
|
121
114
|
|
|
122
|
-
|
|
115
|
+
Display a concise summary:
|
|
123
116
|
|
|
124
117
|
```
|
|
125
|
-
🔄🐜📦🐜🔄
|
|
126
|
-
A E T H E R U P D A T E
|
|
127
|
-
═══════════════════════════════════════════════════ 🔄🐜📦🐜🔄
|
|
128
|
-
|
|
129
|
-
Updated: v{current_version} -> v{available_version}
|
|
130
|
-
|
|
131
|
-
System files: {N} updated
|
|
132
|
-
Commands: synced from hub
|
|
133
|
-
Agents: synced from hub
|
|
134
|
-
{if stale files were removed:}
|
|
135
|
-
Stale files removed: {count}
|
|
136
|
-
{list each removed file}
|
|
137
|
-
{end if}
|
|
118
|
+
🔄🐜📦🐜🔄 AETHER UPDATE COMPLETE
|
|
138
119
|
|
|
120
|
+
Hub version label: {available_version}
|
|
121
|
+
Update mode: {normal|force}
|
|
139
122
|
Colony data (.aether/data/) untouched.
|
|
140
|
-
Repo registered in ~/.aether/registry.json.
|
|
141
|
-
```
|
|
142
123
|
|
|
143
|
-
|
|
124
|
+
Note: version labels are treated as identifiers, not strict upgrade/downgrade ordering.
|
|
125
|
+
```
|
|
144
126
|
|
|
145
|
-
The CLI version (`aether update`) performs the same sync-with-cleanup and also supports:
|
|
146
127
|
|
|
147
|
-
- `--dry-run` — Preview what would change without modifying any files
|
|
148
|
-
- `--force` — Stash uncommitted changes in managed files and proceed with the update
|
|
@@ -1,85 +1,139 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/verify-castes.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:verify-castes
|
|
3
4
|
description: "Verify colony caste assignments and system status"
|
|
4
5
|
---
|
|
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
|
+
|
|
6
13
|
You are the **Queen**. Display the caste assignments and system status.
|
|
7
14
|
|
|
8
15
|
## Step 1: Show Caste Assignments
|
|
9
16
|
|
|
10
|
-
Display the colony caste structure:
|
|
17
|
+
Display the colony caste structure as a compact table:
|
|
18
|
+
|
|
19
|
+
|
|
11
20
|
|
|
12
21
|
```
|
|
13
22
|
Aether Colony Caste System
|
|
14
|
-
|
|
23
|
+
═════════════════════════════════════════
|
|
24
|
+
|
|
15
25
|
|
|
16
26
|
CASTE ASSIGNMENTS
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
────────────────────────────────────
|
|
28
|
+
Caste Slot Active
|
|
29
|
+
────────────────────────────────────
|
|
30
|
+
[reasoning]
|
|
31
|
+
Archaeologist opus yes
|
|
32
|
+
Architect opus yes
|
|
33
|
+
Auditor opus yes
|
|
34
|
+
Gatekeeper opus yes
|
|
35
|
+
Measurer opus yes
|
|
36
|
+
Oracle opus yes
|
|
37
|
+
Queen opus yes
|
|
38
|
+
Route-setter opus yes
|
|
39
|
+
Sage opus yes
|
|
40
|
+
Tracker opus yes
|
|
41
|
+
────────────────────────────────────
|
|
42
|
+
[execution]
|
|
43
|
+
Ambassador sonnet yes
|
|
44
|
+
Builder sonnet yes
|
|
45
|
+
Chaos sonnet yes
|
|
46
|
+
Disciplines sonnet yes
|
|
47
|
+
Nest sonnet yes
|
|
48
|
+
Pathogens sonnet yes
|
|
49
|
+
Probe sonnet yes
|
|
50
|
+
Provisions sonnet yes
|
|
51
|
+
Scout sonnet yes
|
|
52
|
+
Weaver sonnet yes
|
|
53
|
+
Watcher sonnet yes
|
|
54
|
+
────────────────────────────────────
|
|
55
|
+
[inherit]
|
|
56
|
+
Chronicler inherit yes
|
|
57
|
+
Includer inherit yes
|
|
58
|
+
Keeper inherit yes
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
═════════════════════════════════════════
|
|
62
|
+
|
|
30
63
|
```
|
|
31
64
|
|
|
65
|
+
Source of truth: Agent frontmatter `model:` fields in `.claude/agents/ant/*.md`.
|
|
66
|
+
Caste slots come from agent frontmatter (`model:` field).
|
|
67
|
+
|
|
32
68
|
## Step 2: Check System Status
|
|
33
69
|
|
|
70
|
+
|
|
71
|
+
|
|
34
72
|
Run using Bash tool: `bash .aether/aether-utils.sh version-check 2>/dev/null || echo "Utils available"`
|
|
35
73
|
|
|
74
|
+
|
|
36
75
|
Check LiteLLM proxy status:
|
|
37
76
|
```bash
|
|
38
77
|
curl -s http://localhost:4000/health 2>/dev/null | grep -q "healthy" && echo "✓ Proxy healthy" || echo "⚠ Proxy not running"
|
|
39
78
|
```
|
|
40
79
|
|
|
41
|
-
## Step 3: Show Current
|
|
80
|
+
## Step 3: Show Current Model Configuration
|
|
81
|
+
|
|
82
|
+
Display the active model configuration:
|
|
83
|
+
|
|
84
|
+
|
|
42
85
|
|
|
43
86
|
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
87
|
+
MODEL CONFIGURATION
|
|
88
|
+
════════════════════════════════
|
|
89
|
+
|
|
90
|
+
Default: Claude API mode (opus -> claude-opus-4, sonnet -> claude-sonnet-4)
|
|
91
|
+
|
|
92
|
+
To switch to GLM Proxy mode:
|
|
93
|
+
cp ~/.claude/settings.json.glm ~/.claude/settings.json
|
|
94
|
+
(opus -> glm-5, sonnet -> glm-5-turbo, haiku -> glm-4.5-air)
|
|
95
|
+
|
|
96
|
+
To switch back to Claude API:
|
|
97
|
+
cp ~/.claude/settings.json.claude ~/.claude/settings.json
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
════════════════════════════════
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
Current model mapping from agent frontmatter:
|
|
104
|
+
```bash
|
|
105
|
+
grep "^model:" .claude/agents/ant/*.md
|
|
58
106
|
```
|
|
59
107
|
|
|
60
108
|
## Step 4: Summary
|
|
61
109
|
|
|
110
|
+
|
|
111
|
+
|
|
62
112
|
```
|
|
63
|
-
|
|
113
|
+
═══════════════════════════════════════════════════════
|
|
64
114
|
System Status
|
|
65
|
-
|
|
115
|
+
═══════════════════════════════════════════════════════
|
|
116
|
+
|
|
66
117
|
Utils: ✓ Operational
|
|
67
118
|
Proxy: {status from Step 2}
|
|
68
|
-
Castes: 10
|
|
69
|
-
|
|
70
|
-
Note: Model-per-caste routing was attempted but is not
|
|
71
|
-
possible with Claude Code's Task tool (no env var support).
|
|
72
|
-
See archived config: .aether/archive/model-routing/
|
|
73
|
-
Tag: model-routing-v1-archived
|
|
119
|
+
Castes: 24 defined (10 opus, 11 sonnet, 3 inherit)
|
|
120
|
+
Routing: Per-caste via agent frontmatter model: field
|
|
74
121
|
```
|
|
75
122
|
|
|
123
|
+
|
|
124
|
+
|
|
76
125
|
## Historical Note
|
|
77
126
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
127
|
+
Per-caste model routing was initially attempted using environment variable
|
|
128
|
+
injection at spawn time (archived in `.aether/archive/model-routing/`).
|
|
129
|
+
That approach failed due to Claude Code Task tool limitations.
|
|
130
|
+
|
|
131
|
+
The current approach uses agent frontmatter `model:` fields, which Claude Code
|
|
132
|
+
handles natively. No Aether code intervention is required -- Claude Code reads
|
|
133
|
+
the frontmatter and resolves the slot name through `ANTHROPIC_DEFAULT_*_MODEL`
|
|
134
|
+
environment variables.
|
|
81
135
|
|
|
82
|
-
To view the archived configuration:
|
|
136
|
+
To view the archived v1 configuration:
|
|
83
137
|
```bash
|
|
84
138
|
git show model-routing-v1-archived
|
|
85
139
|
```
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
<!-- Generated from .aether/commands/watch.yaml - DO NOT EDIT DIRECTLY -->
|
|
1
2
|
---
|
|
2
3
|
name: ant:watch
|
|
3
4
|
description: "👁️🔄🐜🏠🔄👁️ Set up tmux session to watch ants working in real-time"
|
|
4
5
|
---
|
|
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
|
+
|
|
6
13
|
You are the **Queen**. Set up live visibility into colony activity.
|
|
7
14
|
|
|
8
15
|
## Instructions
|