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.
Files changed (378) hide show
  1. package/.aether/aether-utils.sh +5354 -0
  2. package/.aether/agents-claude/aether-ambassador.md +265 -0
  3. package/.aether/agents-claude/aether-archaeologist.md +327 -0
  4. package/.aether/agents-claude/aether-architect.md +236 -0
  5. package/.aether/agents-claude/aether-auditor.md +271 -0
  6. package/.aether/agents-claude/aether-builder.md +224 -0
  7. package/.aether/agents-claude/aether-chaos.md +269 -0
  8. package/.aether/agents-claude/aether-chronicler.md +305 -0
  9. package/.aether/agents-claude/aether-gatekeeper.md +330 -0
  10. package/.aether/agents-claude/aether-includer.md +374 -0
  11. package/.aether/agents-claude/aether-keeper.md +272 -0
  12. package/.aether/agents-claude/aether-measurer.md +322 -0
  13. package/.aether/agents-claude/aether-oracle.md +237 -0
  14. package/.aether/agents-claude/aether-probe.md +211 -0
  15. package/.aether/agents-claude/aether-queen.md +330 -0
  16. package/.aether/agents-claude/aether-route-setter.md +178 -0
  17. package/.aether/agents-claude/aether-sage.md +418 -0
  18. package/.aether/agents-claude/aether-scout.md +179 -0
  19. package/.aether/agents-claude/aether-surveyor-disciplines.md +417 -0
  20. package/.aether/agents-claude/aether-surveyor-nest.md +355 -0
  21. package/.aether/agents-claude/aether-surveyor-pathogens.md +289 -0
  22. package/.aether/agents-claude/aether-surveyor-provisions.md +360 -0
  23. package/.aether/agents-claude/aether-tracker.md +270 -0
  24. package/.aether/agents-claude/aether-watcher.md +280 -0
  25. package/.aether/agents-claude/aether-weaver.md +248 -0
  26. package/.aether/commands/archaeology.yaml +653 -0
  27. package/.aether/commands/build.yaml +1221 -0
  28. package/.aether/commands/chaos.yaml +653 -0
  29. package/.aether/commands/colonize.yaml +438 -0
  30. package/.aether/commands/continue.yaml +1484 -0
  31. package/.aether/commands/council.yaml +304 -0
  32. package/.aether/commands/data-clean.yaml +80 -0
  33. package/.aether/commands/dream.yaml +275 -0
  34. package/.aether/commands/entomb.yaml +863 -0
  35. package/.aether/commands/export-signals.yaml +64 -0
  36. package/.aether/commands/feedback.yaml +158 -0
  37. package/.aether/commands/flag.yaml +160 -0
  38. package/.aether/commands/flags.yaml +177 -0
  39. package/.aether/commands/focus.yaml +112 -0
  40. package/.aether/commands/help.yaml +167 -0
  41. package/.aether/commands/history.yaml +137 -0
  42. package/.aether/commands/import-signals.yaml +79 -0
  43. package/.aether/commands/init.yaml +469 -0
  44. package/.aether/commands/insert-phase.yaml +98 -0
  45. package/.aether/commands/interpret.yaml +285 -0
  46. package/.aether/commands/lay-eggs.yaml +224 -0
  47. package/.aether/commands/maturity.yaml +122 -0
  48. package/.aether/commands/memory-details.yaml +74 -0
  49. package/.aether/commands/migrate-state.yaml +174 -0
  50. package/.aether/commands/oracle.yaml +1224 -0
  51. package/.aether/commands/organize.yaml +446 -0
  52. package/.aether/commands/patrol.yaml +621 -0
  53. package/.aether/commands/pause-colony.yaml +424 -0
  54. package/.aether/commands/phase.yaml +124 -0
  55. package/.aether/commands/pheromones.yaml +153 -0
  56. package/.aether/commands/plan.yaml +1313 -0
  57. package/.aether/commands/preferences.yaml +63 -0
  58. package/.aether/commands/redirect.yaml +123 -0
  59. package/.aether/commands/resume-colony.yaml +373 -0
  60. package/.aether/commands/resume.yaml +398 -0
  61. package/.aether/commands/run.yaml +193 -0
  62. package/.aether/commands/seal.yaml +1205 -0
  63. package/.aether/commands/skill-create.yaml +337 -0
  64. package/.aether/commands/status.yaml +364 -0
  65. package/.aether/commands/swarm.yaml +352 -0
  66. package/.aether/commands/tunnels.yaml +814 -0
  67. package/.aether/commands/update.yaml +131 -0
  68. package/.aether/commands/verify-castes.yaml +159 -0
  69. package/.aether/commands/watch.yaml +454 -0
  70. package/.aether/docs/INCIDENT_TEMPLATE.md +32 -0
  71. package/.aether/docs/QUEEN-SYSTEM.md +211 -0
  72. package/.aether/docs/README.md +98 -0
  73. package/.aether/docs/caste-system.md +48 -0
  74. package/.aether/docs/command-playbooks/README.md +23 -0
  75. package/.aether/docs/command-playbooks/build-complete.md +349 -0
  76. package/.aether/docs/command-playbooks/build-context.md +282 -0
  77. package/.aether/docs/command-playbooks/build-full.md +1682 -0
  78. package/.aether/docs/command-playbooks/build-prep.md +283 -0
  79. package/.aether/docs/command-playbooks/build-verify.md +405 -0
  80. package/.aether/docs/command-playbooks/build-wave.md +749 -0
  81. package/.aether/docs/command-playbooks/continue-advance.md +524 -0
  82. package/.aether/docs/command-playbooks/continue-finalize.md +447 -0
  83. package/.aether/docs/command-playbooks/continue-full.md +1724 -0
  84. package/.aether/docs/command-playbooks/continue-gates.md +686 -0
  85. package/.aether/docs/command-playbooks/continue-verify.md +406 -0
  86. package/.aether/docs/context-continuity.md +84 -0
  87. package/{runtime → .aether/docs/disciplines}/DISCIPLINES.md +13 -11
  88. package/.aether/docs/error-codes.md +268 -0
  89. package/.aether/docs/known-issues.md +94 -0
  90. package/{runtime → .aether}/docs/pheromones.md +86 -6
  91. package/.aether/docs/plans/pheromone-display-plan.md +257 -0
  92. package/.aether/docs/queen-commands.md +98 -0
  93. package/.aether/docs/source-of-truth-map.md +132 -0
  94. package/.aether/docs/xml-utilities.md +47 -0
  95. package/{runtime → .aether}/exchange/pheromone-xml.sh +2 -1
  96. package/{runtime → .aether}/exchange/registry-xml.sh +7 -3
  97. package/{runtime → .aether}/exchange/wisdom-xml.sh +11 -4
  98. package/.aether/rules/aether-colony.md +144 -0
  99. package/.aether/schemas/example-prompt-builder.xml +234 -0
  100. package/.aether/scripts/incident-test-add.sh +47 -0
  101. package/.aether/scripts/weekly-audit.sh +79 -0
  102. package/.aether/skills/.index.json +649 -0
  103. package/.aether/skills/colony/.manifest.json +16 -0
  104. package/.aether/skills/colony/build-discipline/SKILL.md +78 -0
  105. package/.aether/skills/colony/colony-interaction/SKILL.md +56 -0
  106. package/.aether/skills/colony/colony-lifecycle/SKILL.md +77 -0
  107. package/.aether/skills/colony/colony-visuals/SKILL.md +112 -0
  108. package/.aether/skills/colony/context-management/SKILL.md +80 -0
  109. package/.aether/skills/colony/error-presentation/SKILL.md +99 -0
  110. package/.aether/skills/colony/pheromone-protocol/SKILL.md +79 -0
  111. package/.aether/skills/colony/pheromone-visibility/SKILL.md +81 -0
  112. package/.aether/skills/colony/state-safety/SKILL.md +84 -0
  113. package/.aether/skills/colony/worker-priming/SKILL.md +82 -0
  114. package/.aether/skills/domain/.manifest.json +24 -0
  115. package/.aether/skills/domain/README.md +33 -0
  116. package/.aether/skills/domain/django/SKILL.md +49 -0
  117. package/.aether/skills/domain/docker/SKILL.md +52 -0
  118. package/.aether/skills/domain/golang/SKILL.md +52 -0
  119. package/.aether/skills/domain/graphql/SKILL.md +51 -0
  120. package/.aether/skills/domain/html-css/SKILL.md +48 -0
  121. package/.aether/skills/domain/nextjs/SKILL.md +45 -0
  122. package/.aether/skills/domain/nodejs/SKILL.md +53 -0
  123. package/.aether/skills/domain/postgresql/SKILL.md +53 -0
  124. package/.aether/skills/domain/prisma/SKILL.md +59 -0
  125. package/.aether/skills/domain/python/SKILL.md +50 -0
  126. package/.aether/skills/domain/rails/SKILL.md +52 -0
  127. package/.aether/skills/domain/react/SKILL.md +45 -0
  128. package/.aether/skills/domain/rest-api/SKILL.md +58 -0
  129. package/.aether/skills/domain/svelte/SKILL.md +47 -0
  130. package/.aether/skills/domain/tailwind/SKILL.md +45 -0
  131. package/.aether/skills/domain/testing/SKILL.md +53 -0
  132. package/.aether/skills/domain/typescript/SKILL.md +58 -0
  133. package/.aether/skills/domain/vue/SKILL.md +49 -0
  134. package/.aether/templates/QUEEN.md.template +61 -0
  135. package/.aether/templates/colony-state-reset.jq.template +23 -0
  136. package/.aether/templates/colony-state.template.json +39 -0
  137. package/.aether/templates/constraints.template.json +9 -0
  138. package/.aether/templates/crowned-anthill.template.md +36 -0
  139. package/.aether/templates/handoff-build-error.template.md +30 -0
  140. package/.aether/templates/handoff-build-success.template.md +39 -0
  141. package/.aether/templates/handoff.template.md +40 -0
  142. package/.aether/templates/learning-observations.template.json +6 -0
  143. package/.aether/templates/midden.template.json +13 -0
  144. package/.aether/templates/pheromones.template.json +6 -0
  145. package/.aether/templates/session.template.json +9 -0
  146. package/{runtime → .aether}/utils/atomic-write.sh +68 -22
  147. package/{runtime → .aether}/utils/chamber-compare.sh +23 -10
  148. package/.aether/utils/chamber-utils.sh +440 -0
  149. package/.aether/utils/emoji-audit.sh +166 -0
  150. package/{runtime → .aether}/utils/error-handler.sh +34 -8
  151. package/.aether/utils/file-lock.sh +313 -0
  152. package/.aether/utils/flag.sh +267 -0
  153. package/.aether/utils/hive.sh +572 -0
  154. package/.aether/utils/learning.sh +1928 -0
  155. package/.aether/utils/midden.sh +342 -0
  156. package/.aether/utils/oracle/oracle.md +168 -0
  157. package/.aether/utils/oracle/oracle.sh +1023 -0
  158. package/.aether/utils/pheromone.sh +2029 -0
  159. package/.aether/utils/queen.sh +1698 -0
  160. package/.aether/utils/scan.sh +860 -0
  161. package/.aether/utils/semantic-cli.sh +415 -0
  162. package/.aether/utils/session.sh +552 -0
  163. package/.aether/utils/skills.sh +509 -0
  164. package/.aether/utils/spawn-tree.sh +260 -0
  165. package/.aether/utils/spawn.sh +260 -0
  166. package/.aether/utils/state-api.sh +199 -0
  167. package/{runtime → .aether}/utils/state-loader.sh +8 -6
  168. package/.aether/utils/suggest.sh +611 -0
  169. package/{runtime → .aether}/utils/swarm-display.sh +10 -1
  170. package/.aether/utils/swarm.sh +1004 -0
  171. package/{runtime → .aether}/utils/watch-spawn-tree.sh +11 -2
  172. package/{runtime → .aether}/utils/xml-compose.sh +9 -3
  173. package/.aether/utils/xml-convert.sh +277 -0
  174. package/{runtime → .aether}/utils/xml-core.sh +5 -9
  175. package/.aether/utils/xml-query.sh +201 -0
  176. package/.aether/utils/xml-utils.sh +110 -0
  177. package/{runtime → .aether}/workers.md +97 -81
  178. package/.claude/agents/ant/aether-ambassador.md +265 -0
  179. package/.claude/agents/ant/aether-archaeologist.md +327 -0
  180. package/.claude/agents/ant/aether-architect.md +236 -0
  181. package/.claude/agents/ant/aether-auditor.md +271 -0
  182. package/.claude/agents/ant/aether-builder.md +224 -0
  183. package/.claude/agents/ant/aether-chaos.md +269 -0
  184. package/.claude/agents/ant/aether-chronicler.md +305 -0
  185. package/.claude/agents/ant/aether-gatekeeper.md +330 -0
  186. package/.claude/agents/ant/aether-includer.md +374 -0
  187. package/.claude/agents/ant/aether-keeper.md +272 -0
  188. package/.claude/agents/ant/aether-measurer.md +322 -0
  189. package/.claude/agents/ant/aether-oracle.md +237 -0
  190. package/.claude/agents/ant/aether-probe.md +211 -0
  191. package/.claude/agents/ant/aether-queen.md +330 -0
  192. package/.claude/agents/ant/aether-route-setter.md +178 -0
  193. package/.claude/agents/ant/aether-sage.md +418 -0
  194. package/.claude/agents/ant/aether-scout.md +179 -0
  195. package/.claude/agents/ant/aether-surveyor-disciplines.md +417 -0
  196. package/.claude/agents/ant/aether-surveyor-nest.md +355 -0
  197. package/.claude/agents/ant/aether-surveyor-pathogens.md +289 -0
  198. package/.claude/agents/ant/aether-surveyor-provisions.md +360 -0
  199. package/.claude/agents/ant/aether-tracker.md +270 -0
  200. package/.claude/agents/ant/aether-watcher.md +280 -0
  201. package/.claude/agents/ant/aether-weaver.md +248 -0
  202. package/.claude/commands/ant/archaeology.md +16 -14
  203. package/.claude/commands/ant/build.md +43 -1028
  204. package/.claude/commands/ant/chaos.md +19 -23
  205. package/.claude/commands/ant/colonize.md +52 -31
  206. package/.claude/commands/ant/continue.md +40 -1016
  207. package/.claude/commands/ant/council.md +21 -18
  208. package/.claude/commands/ant/data-clean.md +81 -0
  209. package/.claude/commands/ant/dream.md +27 -15
  210. package/.claude/commands/ant/entomb.md +317 -225
  211. package/.claude/commands/ant/export-signals.md +57 -0
  212. package/.claude/commands/ant/feedback.md +48 -26
  213. package/.claude/commands/ant/flag.md +30 -10
  214. package/.claude/commands/ant/flags.md +34 -12
  215. package/.claude/commands/ant/focus.md +45 -19
  216. package/.claude/commands/ant/help.md +50 -8
  217. package/.claude/commands/ant/history.md +13 -0
  218. package/.claude/commands/ant/import-signals.md +71 -0
  219. package/.claude/commands/ant/init.md +345 -194
  220. package/.claude/commands/ant/insert-phase.md +101 -0
  221. package/.claude/commands/ant/interpret.md +26 -4
  222. package/.claude/commands/ant/lay-eggs.md +184 -127
  223. package/.claude/commands/ant/maturity.md +32 -11
  224. package/.claude/commands/ant/memory-details.md +77 -0
  225. package/.claude/commands/ant/migrate-state.md +20 -2
  226. package/.claude/commands/ant/oracle.md +337 -74
  227. package/.claude/commands/ant/organize.md +39 -25
  228. package/.claude/commands/ant/patrol.md +620 -0
  229. package/.claude/commands/ant/pause-colony.md +23 -27
  230. package/.claude/commands/ant/phase.md +40 -42
  231. package/.claude/commands/ant/pheromones.md +156 -0
  232. package/.claude/commands/ant/plan.md +185 -51
  233. package/.claude/commands/ant/preferences.md +65 -0
  234. package/.claude/commands/ant/redirect.md +45 -30
  235. package/.claude/commands/ant/resume-colony.md +51 -27
  236. package/.claude/commands/ant/resume.md +314 -94
  237. package/.claude/commands/ant/run.md +195 -0
  238. package/.claude/commands/ant/seal.md +650 -221
  239. package/.claude/commands/ant/skill-create.md +286 -0
  240. package/.claude/commands/ant/status.md +196 -31
  241. package/.claude/commands/ant/swarm.md +16 -46
  242. package/.claude/commands/ant/tunnels.md +280 -105
  243. package/.claude/commands/ant/update.md +73 -89
  244. package/.claude/commands/ant/verify-castes.md +100 -42
  245. package/.claude/commands/ant/watch.md +14 -12
  246. package/.opencode/agents/aether-ambassador.md +63 -20
  247. package/.opencode/agents/aether-archaeologist.md +29 -12
  248. package/.opencode/agents/aether-architect.md +103 -36
  249. package/.opencode/agents/aether-auditor.md +51 -18
  250. package/.opencode/agents/aether-builder.md +70 -20
  251. package/.opencode/agents/aether-chaos.md +29 -12
  252. package/.opencode/agents/aether-chronicler.md +60 -18
  253. package/.opencode/agents/aether-gatekeeper.md +27 -18
  254. package/.opencode/agents/aether-includer.md +27 -18
  255. package/.opencode/agents/aether-keeper.md +89 -18
  256. package/.opencode/agents/aether-measurer.md +27 -18
  257. package/.opencode/agents/aether-oracle.md +137 -0
  258. package/.opencode/agents/aether-probe.md +60 -18
  259. package/.opencode/agents/aether-queen.md +172 -24
  260. package/.opencode/agents/aether-route-setter.md +57 -12
  261. package/.opencode/agents/aether-sage.md +26 -18
  262. package/.opencode/agents/aether-scout.md +28 -20
  263. package/.opencode/agents/aether-surveyor-disciplines.md +59 -2
  264. package/.opencode/agents/aether-surveyor-nest.md +59 -2
  265. package/.opencode/agents/aether-surveyor-pathogens.md +57 -2
  266. package/.opencode/agents/aether-surveyor-provisions.md +59 -2
  267. package/.opencode/agents/aether-tracker.md +64 -18
  268. package/.opencode/agents/aether-watcher.md +66 -19
  269. package/.opencode/agents/aether-weaver.md +61 -18
  270. package/.opencode/commands/ant/archaeology.md +7 -14
  271. package/.opencode/commands/ant/build.md +437 -257
  272. package/.opencode/commands/ant/chaos.md +7 -24
  273. package/.opencode/commands/ant/colonize.md +8 -17
  274. package/.opencode/commands/ant/continue.md +661 -142
  275. package/.opencode/commands/ant/council.md +11 -22
  276. package/.opencode/commands/ant/data-clean.md +77 -0
  277. package/.opencode/commands/ant/dream.md +15 -17
  278. package/.opencode/commands/ant/entomb.md +133 -62
  279. package/.opencode/commands/ant/export-signals.md +54 -0
  280. package/.opencode/commands/ant/feedback.md +24 -5
  281. package/.opencode/commands/ant/flag.md +16 -4
  282. package/.opencode/commands/ant/flags.md +24 -10
  283. package/.opencode/commands/ant/focus.md +22 -5
  284. package/.opencode/commands/ant/help.md +41 -8
  285. package/.opencode/commands/ant/history.md +9 -0
  286. package/.opencode/commands/ant/import-signals.md +68 -0
  287. package/.opencode/commands/ant/init.md +374 -167
  288. package/.opencode/commands/ant/insert-phase.md +107 -0
  289. package/.opencode/commands/ant/interpret.md +16 -0
  290. package/.opencode/commands/ant/lay-eggs.md +184 -112
  291. package/.opencode/commands/ant/maturity.md +18 -2
  292. package/.opencode/commands/ant/memory-details.md +83 -0
  293. package/.opencode/commands/ant/migrate-state.md +12 -0
  294. package/.opencode/commands/ant/oracle.md +322 -67
  295. package/.opencode/commands/ant/organize.md +18 -16
  296. package/.opencode/commands/ant/patrol.md +626 -0
  297. package/.opencode/commands/ant/pause-colony.md +12 -29
  298. package/.opencode/commands/ant/phase.md +30 -40
  299. package/.opencode/commands/ant/pheromones.md +162 -0
  300. package/.opencode/commands/ant/plan.md +184 -56
  301. package/.opencode/commands/ant/preferences.md +71 -0
  302. package/.opencode/commands/ant/redirect.md +22 -5
  303. package/.opencode/commands/ant/resume-colony.md +38 -27
  304. package/.opencode/commands/ant/resume.md +385 -0
  305. package/.opencode/commands/ant/run.md +201 -0
  306. package/.opencode/commands/ant/seal.md +259 -45
  307. package/.opencode/commands/ant/skill-create.md +63 -0
  308. package/.opencode/commands/ant/status.md +135 -31
  309. package/.opencode/commands/ant/swarm.md +3 -345
  310. package/.opencode/commands/ant/tunnels.md +152 -9
  311. package/.opencode/commands/ant/update.md +70 -91
  312. package/.opencode/commands/ant/verify-castes.md +96 -42
  313. package/.opencode/commands/ant/watch.md +7 -0
  314. package/CHANGELOG.md +356 -0
  315. package/README.md +203 -573
  316. package/bin/cli.js +455 -527
  317. package/bin/generate-commands.js +186 -0
  318. package/bin/generate-commands.sh +127 -88
  319. package/bin/lib/init.js +13 -3
  320. package/bin/lib/spawn-logger.js +0 -15
  321. package/bin/lib/update-transaction.js +392 -140
  322. package/bin/npx-install.js +178 -0
  323. package/bin/sync-to-runtime.sh +5 -137
  324. package/bin/validate-package.sh +166 -0
  325. package/package.json +14 -7
  326. package/.opencode/agents/aether-guardian.md +0 -107
  327. package/.opencode/agents/workers.md +0 -1034
  328. package/bin/lib/model-profiles.js +0 -445
  329. package/bin/lib/model-verify.js +0 -288
  330. package/bin/lib/proxy-health.js +0 -253
  331. package/bin/lib/telemetry.js +0 -441
  332. package/runtime/CONTEXT.md +0 -160
  333. package/runtime/QUEEN_ANT_ARCHITECTURE.md +0 -402
  334. package/runtime/aether-utils.sh +0 -3879
  335. package/runtime/data/signatures.json +0 -41
  336. package/runtime/docs/AETHER-2.0-IMPLEMENTATION-PLAN.md +0 -1343
  337. package/runtime/docs/AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md +0 -2642
  338. package/runtime/docs/PHEROMONE-INJECTION.md +0 -240
  339. package/runtime/docs/PHEROMONE-INTEGRATION.md +0 -192
  340. package/runtime/docs/PHEROMONE-SYSTEM-DESIGN.md +0 -426
  341. package/runtime/docs/README.md +0 -94
  342. package/runtime/docs/VISUAL-OUTPUT-SPEC.md +0 -219
  343. package/runtime/docs/biological-reference.md +0 -272
  344. package/runtime/docs/codebase-review.md +0 -399
  345. package/runtime/docs/command-sync.md +0 -164
  346. package/runtime/docs/constraints.md +0 -116
  347. package/runtime/docs/implementation-learnings.md +0 -89
  348. package/runtime/docs/known-issues.md +0 -217
  349. package/runtime/docs/namespace.md +0 -148
  350. package/runtime/docs/pathogen-schema-example.json +0 -36
  351. package/runtime/docs/pathogen-schema.md +0 -111
  352. package/runtime/docs/planning-discipline.md +0 -159
  353. package/runtime/docs/progressive-disclosure.md +0 -184
  354. package/runtime/lib/queen-utils.sh +0 -729
  355. package/runtime/model-profiles.yaml +0 -100
  356. package/runtime/planning.md +0 -159
  357. package/runtime/recover.sh +0 -136
  358. package/runtime/templates/QUEEN.md.template +0 -79
  359. package/runtime/utils/chamber-utils.sh +0 -285
  360. package/runtime/utils/file-lock.sh +0 -122
  361. package/runtime/utils/spawn-tree.sh +0 -428
  362. package/runtime/utils/spawn-with-model.sh +0 -56
  363. package/runtime/utils/xml-utils.sh +0 -2196
  364. package/runtime/workers-new-castes.md +0 -516
  365. /package/{runtime → .aether/docs/disciplines}/coding-standards.md +0 -0
  366. /package/{runtime → .aether/docs/disciplines}/debugging.md +0 -0
  367. /package/{runtime → .aether/docs/disciplines}/learning.md +0 -0
  368. /package/{runtime → .aether/docs/disciplines}/tdd.md +0 -0
  369. /package/{runtime → .aether/docs/disciplines}/verification-loop.md +0 -0
  370. /package/{runtime → .aether/docs/disciplines}/verification.md +0 -0
  371. /package/{runtime → .aether}/schemas/aether-types.xsd +0 -0
  372. /package/{runtime → .aether}/schemas/colony-registry.xsd +0 -0
  373. /package/{runtime → .aether}/schemas/pheromone.xsd +0 -0
  374. /package/{runtime → .aether}/schemas/prompt.xsd +0 -0
  375. /package/{runtime → .aether}/schemas/queen-wisdom.xsd +0 -0
  376. /package/{runtime → .aether}/schemas/worker-priming.xsd +0 -0
  377. /package/{runtime → .aether}/utils/colorize-log.sh +0 -0
  378. /package/{runtime → .aether}/utils/queen-to-md.xsl +0 -0
@@ -0,0 +1,101 @@
1
+ <!-- Generated from .aether/commands/insert-phase.yaml - DO NOT EDIT DIRECTLY -->
2
+ ---
3
+ name: ant:insert-phase
4
+ description: "➕🐜 Insert a corrective phase into the active plan"
5
+ ---
6
+
7
+ You are the **Queen**. Insert a new corrective phase without forcing the user to provide flags.
8
+
9
+ ## Instructions
10
+
11
+ ### Step 1: Validate Colony State
12
+
13
+ Read `.aether/data/COLONY_STATE.json`.
14
+
15
+ If `goal` is null:
16
+ `No colony initialized. Run /ant:init first.`
17
+ Stop.
18
+
19
+ If `plan.phases` is empty:
20
+ `No project plan. Run /ant:plan first.`
21
+ Stop.
22
+
23
+ Determine:
24
+ - `current_phase`
25
+ - `total_phases`
26
+ - `current_phase_name` (if available)
27
+
28
+ ### Step 2: Collect Minimal Input
29
+
30
+ This command is designed to work with no arguments.
31
+
32
+ If `$ARGUMENTS` is non-empty:
33
+ - Use `$ARGUMENTS` as the issue summary.
34
+ - Skip the first question.
35
+
36
+ Otherwise ask:
37
+ ```text
38
+ What is not working and needs a corrective phase?
39
+ ```
40
+
41
+ Then ask:
42
+ ```text
43
+ What should the inserted phase accomplish?
44
+ ```
45
+
46
+ Then ask (optional):
47
+ ```text
48
+ Any hard constraints to enforce while fixing this? (or say "none")
49
+ ```
50
+
51
+ If constraints answer is `none` (case-insensitive), treat constraints as empty.
52
+
53
+ ### Step 3: Derive Phase Name
54
+
55
+ Create a concise phase name from the user goal:
56
+ - Start with `Stabilize`
57
+ - Add a short noun phrase from the goal (max 6 words)
58
+ - Keep under 80 characters
59
+
60
+ Example:
61
+ - Goal: `Fix retry flow and stop duplicate requests`
62
+ - Name: `Stabilize retry flow and duplicate requests`
63
+
64
+ ### Step 4: Insert Phase Safely
65
+
66
+ Run using the Bash tool with description "Inserting corrective phase...":
67
+
68
+ ```bash
69
+ bash .aether/aether-utils.sh phase-insert "<phase_name>" "<goal_text>" "<constraints_text>"
70
+ ```
71
+
72
+ Parse JSON result:
73
+ - If `ok != true`, display error and stop.
74
+ - Extract `inserted_phase_id` and `after_phase`.
75
+
76
+ ### Step 5: Confirm Outcome
77
+
78
+ Display:
79
+
80
+ ```text
81
+ Inserted corrective phase successfully.
82
+ New phase: <inserted_phase_id> — <phase_name>
83
+ Inserted after phase: <after_phase>
84
+ Goal: <goal_text>
85
+ ```
86
+
87
+ If constraints were provided, also display:
88
+ ```text
89
+ Constraints captured: <constraints_text>
90
+ ```
91
+
92
+ ### Step 6: Next Up
93
+
94
+ Show:
95
+
96
+ ```text
97
+ Next steps:
98
+ /ant:phase <inserted_phase_id> Review inserted phase details
99
+ /ant:build <inserted_phase_id> Execute corrective phase
100
+ /ant:status Verify updated plan state
101
+ ```
@@ -1,3 +1,4 @@
1
+ <!-- Generated from .aether/commands/interpret.yaml - DO NOT EDIT DIRECTLY -->
1
2
  ---
2
3
  name: ant:interpret
3
4
  description: "🔍🐜💭🐜🔍 The Interpreter - grounds dreams in reality, validates against codebase, and discusses what to implement"
@@ -52,10 +53,13 @@ Also read in parallel:
52
53
 
53
54
  ### Step 2: Display Header
54
55
 
56
+
55
57
  ```
56
- 🔍🐜💭🐜🔍 ═══════════════════════════════════════════════
58
+ 🔍🐜💭🐜🔍 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
57
59
  D R E A M I N T E R P R E T E R
58
- ═══════════════════════════════════════════════ 🔍🐜💭🐜🔍
60
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍🐜💭🐜🔍
61
+
62
+
59
63
 
60
64
  📓 Reviewing: {dream_filename}
61
65
  {N} dreams | {concerns} concerns | {pheromones} suggested pheromones
@@ -146,10 +150,13 @@ Verdict emoji mapping:
146
150
 
147
151
  After all dreams are interpreted, display:
148
152
 
153
+
149
154
  ```
150
- 🔍🐜💭🐜🔍 ═══════════════════════════════════════════════
155
+ 🔍🐜💭🐜🔍 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
151
156
  I N T E R P R E T A T I O N C O M P L E T E
152
- ═══════════════════════════════════════════════ 🔍🐜💭🐜🔍
157
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍🐜💭🐜🔍
158
+
159
+
153
160
 
154
161
  📊 Results:
155
162
  {confirmed_count} confirmed | {partial_count} partially confirmed | {unconfirmed_count} unconfirmed | {refuted_count} refuted
@@ -218,6 +225,9 @@ Wait for user response.
218
225
 
219
226
  ### Step 7: Log Activity
220
227
 
228
+
229
+ Run using the Bash tool with description "Logging interpretation activity...":
230
+
221
231
  ```bash
222
232
  bash .aether/aether-utils.sh activity-log "INTERPRET" "Interpreter" "Dream review: {dream_file}, {confirmed} confirmed, {partial} partial, {unconfirmed} unconfirmed, {refuted} refuted, {actions_taken} actions taken"
223
233
  ```
@@ -243,6 +253,18 @@ bash .aether/aether-utils.sh activity-log "INTERPRET" "Interpreter" "Dream revie
243
253
  /ant:build 🔨 Start building
244
254
  ```
245
255
 
256
+
257
+ ### Step 9: Next Up
258
+
259
+ Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
260
+ ```bash
261
+ state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
262
+ current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
263
+ total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
264
+ bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
265
+ ```
266
+
267
+
246
268
  ## Investigation Guidelines
247
269
 
248
270
  When investigating dreams, remember:
@@ -1,153 +1,210 @@
1
+ <!-- Generated from .aether/commands/lay-eggs.yaml - DO NOT EDIT DIRECTLY -->
1
2
  ---
2
3
  name: ant:lay-eggs
3
- description: "🥚🐜🥚 Lay first eggs of new colony (First Eggs milestone)"
4
+ description: "🥚🐜🥚 Set up Aether in this repo creates .aether/ with all system files"
4
5
  ---
5
6
 
6
- You are the **Queen**. Begin a new colony, preserving pheromones.
7
+ You are the **Queen**. Prepare this repository for Aether colony development.
7
8
 
8
9
  ## Instructions
9
10
 
10
- Parse `$ARGUMENTS`:
11
- - If contains `--no-visual`: set `visual_mode = false` (visual is ON by default)
12
- - Otherwise: set `visual_mode = true`
11
+ This command sets up the `.aether/` directory structure and copies all system files from the global hub. It does NOT start a colony — that's what `/ant:init "goal"` is for.
12
+
13
+ <failure_modes>
14
+ ### Hub Not Found
15
+ If `~/.aether/system/aether-utils.sh` does not exist:
16
+ - The global hub is not installed
17
+ - Tell the user to run `npm install -g aether-colony` first
18
+ - Stop — cannot proceed without hub
19
+
20
+ ### Partial Copy Failure
21
+ If some files fail to copy from hub:
22
+ - Report which files succeeded and which failed
23
+ - The user can re-run `/ant:lay-eggs` safely (idempotent)
24
+ </failure_modes>
25
+
26
+ <success_criteria>
27
+ Command is complete when:
28
+ - `.aether/` directory exists with all subdirectories
29
+ - System files (aether-utils.sh, workers.md, etc.) are present
30
+ - Templates, docs, utils, schemas are populated
31
+ - QUEEN.md is initialized
32
+ - User sees confirmation and next steps
33
+ </success_criteria>
34
+
35
+ <read_only>
36
+ Do not touch during lay-eggs:
37
+ - .aether/data/COLONY_STATE.json (colony state belongs to init)
38
+ - .aether/dreams/ contents (user notes — create dir but don't modify files)
39
+ - .aether/chambers/ contents (archived colonies — create dir but don't modify files)
40
+ - Source code files
41
+ - .env* files
42
+ - .claude/settings.json
43
+ </read_only>
44
+
45
+ ### Step 1: Check Hub Availability
46
+
47
+ Check if the global hub exists by reading `~/.aether/system/aether-utils.sh` (expand `~` to the user's home directory).
48
+
49
+ **If the hub does NOT exist:**
50
+ ```
51
+ Aether hub not found at ~/.aether/system/
13
52
 
14
- ### Step 0: Initialize Visual Mode (if enabled)
53
+ The global hub must be installed before setting up a repo.
15
54
 
16
- If `visual_mode` is true:
17
- ```bash
18
- # Generate session ID
19
- layeggs_id="layeggs-$(date +%s)"
55
+ npm install -g aether-colony
56
+
57
+ This installs the Aether CLI and populates the hub at ~/.aether/system/
58
+ with all the system files your repo needs.
59
+
60
+ After installing, run /ant:lay-eggs again.
61
+ ```
62
+ Stop here.
63
+
64
+ ### Step 2: Check Existing Setup
65
+
66
+
67
+ Check if `.aether/aether-utils.sh` already exists using the Read tool.
68
+
69
+
70
+
71
+ **If it exists:**
72
+ ```
73
+ Aether is already set up in this repo.
20
74
 
21
- # Initialize swarm display
22
- bash .aether/aether-utils.sh swarm-display-init "$layeggs_id"
23
- bash .aether/aether-utils.sh swarm-display-update "Queen" "prime" "excavating" "Laying first eggs" "Colony" '{"read":0,"grep":0,"edit":0,"bash":0}' 0 "nursery" 0
75
+ Refreshing system files from hub...
24
76
  ```
77
+ Proceed to Step 3 (this makes the command safe to re-run as an update/repair).
78
+
79
+ **If it does NOT exist:**
80
+ ```
81
+ Setting up Aether in this repo...
82
+ ```
83
+ Proceed to Step 3.
84
+
85
+ ### Step 3: Create Directory Structure
86
+
87
+
88
+ Run using the Bash tool with description "Creating Aether directory structure...":
89
+
90
+
91
+ ```bash
92
+ mkdir -p \
93
+ .aether/data \
94
+ .aether/data/midden \
95
+ .aether/data/backups \
96
+ .aether/data/survey \
97
+ .aether/dreams \
98
+ .aether/chambers \
99
+ .aether/locks \
100
+ .aether/temp \
101
+ .aether/docs \
102
+ .aether/utils \
103
+ .aether/templates \
104
+ .aether/schemas \
105
+ .aether/exchange \
106
+ .aether/rules \
107
+ .aether/scripts \
108
+ .claude/rules && \
109
+ touch .aether/dreams/.gitkeep && \
110
+ touch .aether/chambers/.gitkeep && \
111
+ touch .aether/data/midden/.gitkeep
112
+ ```
113
+
114
+ ### Step 4: Copy System Files from Hub
115
+
25
116
 
26
- ### Step 1: Validate Input
27
-
28
- - If `$ARGUMENTS` is empty:
29
- ```
30
- Usage: /ant:lay-eggs "<new colony goal>"
31
-
32
- Start a fresh colony, preserving pheromones from prior colonies.
33
- Requires current colony to be entombed or reset.
34
-
35
- Example:
36
- /ant:lay-eggs "Build a REST API with authentication"
37
- ```
38
- Stop here.
39
-
40
- ### Step 2: Check Current Colony
41
-
42
- - Read `.aether/data/COLONY_STATE.json`
43
- - If goal is not null AND phases exist with status != "completed":
44
- ```
45
- 🚫 Cannot lay eggs — active colony has unsaved pheromones
46
-
47
- Active colony: {goal}
48
- Current: Phase {current_phase}, {phases_count} phases in plan
49
-
50
- ┌─────────────────────────────────────────────────────────┐
51
- │ COLONY LIFECYCLE │
52
- ├─────────────────────────────────────────────────────────┤
53
- │ │
54
- │ 🟢 ACTIVE COLONY → 🏺 SEAL/ENTOMB → 🥚 LAY EGGS │
55
- │ (working) (preserve memory) (new goal) │
56
- │ │
57
- └─────────────────────────────────────────────────────────┘
58
-
59
- Why this matters:
60
- Your active colony contains preserved learnings, decisions, and
61
- instincts (pheromones) from prior work. These must be sealed
62
- before starting a new project, or they will be lost forever.
63
-
64
- To start a new colony:
65
- 1. Complete work → run `/ant:seal` or `/ant:entomb` to archive
66
- 2. Then run `/ant:lay-eggs "new goal"` to begin fresh
67
-
68
- Emergency reset (loses all pheromones):
69
- rm .aether/data/COLONY_STATE.json
70
- ```
71
- Stop here.
72
-
73
- ### Step 3: Extract Preserved Knowledge
74
-
75
- - Read current state to extract preserved fields:
76
- - `memory.phase_learnings` (all items)
77
- - `memory.decisions` (all items)
78
- - `memory.instincts` (all items with confidence >= 0.5)
79
- - Store for use in Step 4
80
-
81
- ### Step 4: Create New Colony State
82
-
83
- Generate new state following RESEARCH.md Pattern 2 (State Reset with Pheromone Preservation):
84
-
85
- **Fields to preserve from old state:**
86
- - memory.phase_learnings
87
- - memory.decisions
88
- - memory.instincts (high confidence only)
89
-
90
- **Fields to reset:**
91
- - goal: new goal from $ARGUMENTS
92
- - state: "READY"
93
- - current_phase: 0
94
- - session_id: new session_{unix_timestamp}_{random}
95
- - initialized_at: current ISO-8601 timestamp
96
- - build_started_at: null
97
- - plan: { generated_at: null, confidence: null, phases: [] }
98
- - errors: { records: [], flagged_patterns: [] }
99
- - signals: []
100
- - graveyards: []
101
- - events: [colony_initialized event with new goal]
102
-
103
- **New milestone fields:**
104
- - milestone: "First Mound"
105
- - milestone_updated_at: current timestamp
106
- - milestone_version: "v0.1.0"
107
-
108
- Write to `.aether/data/COLONY_STATE.json`
109
-
110
- ### Step 5: Reset Constraints
111
-
112
- Write `.aether/data/constraints.json`:
113
- ```json
114
- {
115
- "version": "1.0",
116
- "focus": [],
117
- "constraints": []
118
- }
117
+ Run using the Bash tool with description "Copying system files from hub...":
118
+
119
+
120
+ ```bash
121
+ # Core system files
122
+ cp -f ~/.aether/system/aether-utils.sh .aether/ && \
123
+ chmod +x .aether/aether-utils.sh && \
124
+ cp -f ~/.aether/system/workers.md .aether/ 2>/dev/null || true && \
125
+ cp -f ~/.aether/system/CONTEXT.md .aether/ 2>/dev/null || true && \
126
+ # Directories
127
+ cp -Rf ~/.aether/system/docs/* .aether/docs/ 2>/dev/null || true && \
128
+ cp -Rf ~/.aether/system/utils/* .aether/utils/ 2>/dev/null || true && \
129
+ cp -Rf ~/.aether/system/templates/* .aether/templates/ 2>/dev/null || true && \
130
+ cp -Rf ~/.aether/system/schemas/* .aether/schemas/ 2>/dev/null || true && \
131
+ cp -Rf ~/.aether/system/exchange/* .aether/exchange/ 2>/dev/null || true && \
132
+ cp -Rf ~/.aether/system/rules/* .claude/rules/ 2>/dev/null || true && \
133
+
134
+ # Version tracking
135
+ cp -f ~/.aether/version.json .aether/version.json 2>/dev/null || true
136
+
137
+ echo "System files copied."
119
138
  ```
120
139
 
121
- ### Step 6: Display Result
140
+ ### Step 5: Initialize QUEEN.md
122
141
 
123
- **If visual_mode is true, render final swarm display:**
142
+
143
+ Run using the Bash tool with description "Initializing QUEEN.md...":
124
144
  ```bash
125
- bash .aether/aether-utils.sh swarm-display-update "Queen" "prime" "completed" "First eggs laid" "Colony" '{"read":3,"grep":0,"edit":2,"bash":1}' 100 "nursery" 100
126
- bash .aether/aether-utils.sh swarm-display-inline "$layeggs_id"
145
+ bash .aether/aether-utils.sh queen-init
127
146
  ```
128
147
 
148
+
149
+
150
+ Parse the JSON result:
151
+ - If `created` is true: note `QUEEN.md initialized`
152
+ - If `created` is false: note `QUEEN.md already exists (preserved)`
153
+
154
+ ### Step 6: Register Repo (Silent)
155
+
156
+ Attempt to register this repo in the global hub. Silent on failure — registry is optional.
157
+
158
+
159
+ Run using the Bash tool with description "Registering repo..." (ignore errors):
160
+
161
+
162
+ ```bash
163
+ bash .aether/aether-utils.sh registry-add "$(pwd)" "$(jq -r '.version // "unknown"' ~/.aether/version.json 2>/dev/null || echo 'unknown')" 2>/dev/null || true
129
164
  ```
130
- 🥚 ═══════════════════════════════════════════════════
131
- F I R S T E G G S L A I D
132
- ══════════════════════════════════════════════════ 🥚
133
165
 
134
- 👑 New colony goal:
135
- "{goal}"
166
+ ### Step 7: Verify Setup
167
+
168
+
169
+ Run using the Bash tool with description "Verifying setup...":
170
+
171
+
172
+ ```bash
173
+ # Count what was set up
174
+ dirs=0
175
+ files=0
176
+ for d in .aether/data .aether/docs .aether/utils .aether/templates .aether/schemas .aether/exchange .aether/dreams .aether/chambers; do
177
+ [ -d "$d" ] && dirs=$((dirs + 1))
178
+ done
179
+ [ -f .aether/aether-utils.sh ] && files=$((files + 1))
180
+ [ -f .aether/workers.md ] && files=$((files + 1))
181
+ [ -f .aether/QUEEN.md ] && files=$((files + 1))
182
+ [ -f .aether/CONTEXT.md ] && files=$((files + 1))
183
+ [ -d .aether/templates ] && templates=$(ls .aether/templates/*.template.* 2>/dev/null | wc -l | tr -d ' ') || templates=0
184
+ [ -d .aether/utils ] && utils=$(ls .aether/utils/*.sh 2>/dev/null | wc -l | tr -d ' ') || utils=0
185
+
186
+ echo "{\"dirs\": $dirs, \"core_files\": $files, \"templates\": $templates, \"utils\": $utils}"
187
+ ```
136
188
 
137
- 📋 Session: {session_id}
138
- 🏆 Milestone: First Mound (v0.1.0)
189
+ Parse the JSON output for the display step.
139
190
 
140
- {If inherited knowledge:}
141
- 🧠 Inherited from prior colonies:
142
- {N} instinct(s) | {N} decision(s) | {N} learning(s)
143
- {End if}
191
+ ### Step 8: Display Result
144
192
 
145
- 🐜 The colony begins anew.
146
193
 
147
- /ant:plan 📋 Chart the course
148
- /ant:colonize 🗺️ Analyze existing code
149
194
  ```
195
+ 🥚 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
196
+ A E T H E R R E A D Y
197
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🥚
198
+
199
+
150
200
 
151
- Include edge case handling:
152
- - If no prior knowledge: omit the inheritance section
153
- - If prior colony had no phases: allow laying eggs without entombment
201
+ {dirs} directories created
202
+ {core_files} core system files
203
+ {templates} templates ({utils} utils modules)
204
+
205
+ To start a colony:
206
+ /ant:init "your goal here"
207
+
208
+ To verify setup:
209
+ /ant:status
210
+ ```
@@ -1,3 +1,4 @@
1
+ <!-- Generated from .aether/commands/maturity.yaml - DO NOT EDIT DIRECTLY -->
1
2
  ---
2
3
  name: ant:maturity
3
4
  description: "👑🐜🏛️🐜👑 View colony maturity journey with ASCII art anthill"
@@ -9,7 +10,8 @@ You are the **Queen**. Display the colony's maturity journey.
9
10
 
10
11
  ### Step 1: Detect Current Milestone
11
12
 
12
- Run: `bash .aether/aether-utils.sh milestone-detect`
13
+ Run using the Bash tool with description "Detecting colony milestone...":
14
+ `bash .aether/aether-utils.sh milestone-detect`
13
15
 
14
16
  Parse JSON result to get:
15
17
  - `milestone`: Current milestone name (First Mound, Open Chambers, Brood Stable, Ventilated Nest, Sealed Chambers, Crowned Anthill)
@@ -32,7 +34,7 @@ Display header:
32
34
  .-.
33
35
  (o o) AETHER COLONY
34
36
  | O | Maturity Journey
35
- `-`
37
+ `-'
36
38
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
37
39
 
38
40
  👑 Goal: {goal (truncated to 50 chars)}
@@ -43,15 +45,19 @@ Display header:
43
45
 
44
46
  ### Step 4: Show ASCII Art Anthill
45
47
 
46
- Read the ASCII art file for the current milestone:
47
- - First Mound → `.aether/visualizations/anthill-stages/first-mound.txt`
48
- - Open Chambers → `.aether/visualizations/anthill-stages/open-chambers.txt`
49
- - Brood Stable → `.aether/visualizations/anthill-stages/brood-stable.txt`
50
- - Ventilated Nest → `.aether/visualizations/anthill-stages/ventilated-nest.txt`
51
- - Sealed Chambers → `.aether/visualizations/anthill-stages/sealed-chambers.txt`
52
- - Crowned Anthill → `.aether/visualizations/anthill-stages/crowned-anthill.txt`
53
48
 
54
- Display the ASCII art with current milestone highlighted (bold/bright).
49
+ Display the current milestone with its text description (no external file needed):
50
+
51
+ - First Mound -- "A small pile of earth. The colony has broken ground."
52
+ - Open Chambers -- "Tunnels branch outward. Feature work is underway."
53
+ - Brood Stable -- "The nursery hums. Tests are consistently green."
54
+ - Ventilated Nest -- "Air flows freely. Performance and latency are acceptable."
55
+ - Sealed Chambers -- "Walls are hardened. Interfaces are frozen."
56
+ - Crowned Anthill -- "The spire rises. The colony is release-ready."
57
+
58
+ Display the matching description for the current milestone.
59
+
60
+
55
61
 
56
62
  ### Step 5: Show Journey Progress Bar
57
63
 
@@ -87,6 +93,21 @@ Colony Statistics:
87
93
 
88
94
  ### Edge Cases
89
95
 
90
- - If milestone file doesn't exist: Show error "Milestone visualization not found"
96
+
97
+ - If milestone name is unrecognized: Show "Unknown milestone" with the raw name
98
+
99
+
91
100
  - If COLONY_STATE.json missing: "No colony initialized. Run /ant:init first."
92
101
  - If phases_completed is 0: All milestones show as upcoming except First Mound
102
+
103
+
104
+ ### Step 7: Next Up
105
+
106
+ Generate the state-based Next Up block by running using the Bash tool with description "Generating Next Up suggestions...":
107
+ ```bash
108
+ state=$(jq -r '.state // "IDLE"' .aether/data/COLONY_STATE.json)
109
+ current_phase=$(jq -r '.current_phase // 0' .aether/data/COLONY_STATE.json)
110
+ total_phases=$(jq -r '.plan.phases | length' .aether/data/COLONY_STATE.json)
111
+ bash .aether/aether-utils.sh print-next-up "$state" "$current_phase" "$total_phases"
112
+ ```
113
+
@@ -0,0 +1,77 @@
1
+ <!-- Generated from .aether/commands/memory-details.yaml - DO NOT EDIT DIRECTLY -->
2
+ ---
3
+ name: ant:memory-details
4
+ description: "Show detailed colony memory — wisdom, pending promotions, and recent failures"
5
+ ---
6
+
7
+ # /ant:memory-details — Colony Memory Details
8
+
9
+ Drill-down view of accumulated colony wisdom, pending promotions, and recent failures.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ /ant:memory-details
15
+ ```
16
+
17
+ ## Implementation
18
+
19
+ ### Step 1: Load Memory Data
20
+
21
+ Run using the Bash tool with description "Loading colony memory...":
22
+ ```bash
23
+ bash .aether/aether-utils.sh memory-metrics
24
+ ```
25
+
26
+ ### Step 2: Display Wisdom (from QUEEN.md)
27
+
28
+ Read .aether/QUEEN.md and display entries by category:
29
+ - Philosophies
30
+ - Patterns
31
+ - Redirects
32
+ - Stack
33
+ - Decrees
34
+
35
+ Format:
36
+ ```
37
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
38
+ COLONY WISDOM (X entries)
39
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
40
+
41
+ 📜 Philosophies (N)
42
+ - Entry 1...
43
+ - Entry 2...
44
+
45
+ 🔧 Patterns (N)
46
+ - Entry 1...
47
+ ```
48
+
49
+ ### Step 3: Display Pending Promotions
50
+
51
+ Show observations meeting threshold but not yet promoted:
52
+ ```
53
+ ⏳ Pending Promotions (N)
54
+ - [type] Content... (X observations)
55
+ ```
56
+
57
+ Show deferred proposals:
58
+ ```
59
+ 💤 Deferred Proposals (N)
60
+ - [type] Content... (deferred YYYY-MM-DD)
61
+ ```
62
+
63
+ ### Step 4: Display Recent Failures
64
+
65
+ Show last 5 failures from midden:
66
+ ```
67
+ ⚠️ Recent Failures (N)
68
+ [YYYY-MM-DD HH:MM] Source: context
69
+ Content...
70
+ ```
71
+
72
+ ### Step 5: Summary
73
+
74
+ Show counts summary and reminder command:
75
+ ```
76
+ Run /ant:status for quick overview
77
+ ```