aether-colony 5.3.2 → 5.3.3
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 +181 -5
- package/.aether/commands/build.yaml +35 -0
- package/.aether/commands/entomb.yaml +1 -1
- package/.aether/commands/init.yaml +29 -12
- package/.aether/commands/oracle.yaml +70 -0
- package/.aether/commands/patrol.yaml +2 -2
- package/.aether/commands/run.yaml +3 -3
- package/.aether/commands/swarm.yaml +1 -1
- package/.aether/docs/command-playbooks/build-complete.md +41 -8
- package/.aether/docs/command-playbooks/build-full.md +7 -7
- package/.aether/docs/command-playbooks/build-prep.md +1 -1
- package/.aether/docs/command-playbooks/continue-advance.md +33 -0
- package/.aether/docs/command-playbooks/continue-finalize.md +15 -1
- package/.aether/docs/command-playbooks/continue-full.md +15 -1
- package/.aether/docs/source-of-truth-map.md +10 -10
- package/.aether/docs/structural-learning-stack.md +283 -0
- package/.aether/utils/consolidation-seal.sh +196 -0
- package/.aether/utils/consolidation.sh +127 -0
- package/.aether/utils/curation-ants/archivist.sh +97 -0
- package/.aether/utils/curation-ants/critic.sh +214 -0
- package/.aether/utils/curation-ants/herald.sh +102 -0
- package/.aether/utils/curation-ants/janitor.sh +121 -0
- package/.aether/utils/curation-ants/librarian.sh +99 -0
- package/.aether/utils/curation-ants/nurse.sh +153 -0
- package/.aether/utils/curation-ants/orchestrator.sh +181 -0
- package/.aether/utils/curation-ants/scribe.sh +164 -0
- package/.aether/utils/curation-ants/sentinel.sh +119 -0
- package/.aether/utils/event-bus.sh +301 -0
- package/.aether/utils/graph.sh +559 -0
- package/.aether/utils/instinct-store.sh +401 -0
- package/.aether/utils/learning.sh +79 -7
- package/.aether/utils/session.sh +13 -0
- package/.aether/utils/state-api.sh +1 -1
- package/.aether/utils/trust-scoring.sh +347 -0
- package/.aether/utils/worktree.sh +97 -0
- package/.claude/commands/ant/entomb.md +1 -1
- package/.claude/commands/ant/init.md +29 -12
- package/.claude/commands/ant/oracle.md +35 -0
- package/.claude/commands/ant/patrol.md +2 -2
- package/.claude/commands/ant/run.md +3 -3
- package/.claude/commands/ant/swarm.md +1 -1
- package/.opencode/commands/ant/build.md +35 -0
- package/.opencode/commands/ant/init.md +29 -12
- package/.opencode/commands/ant/oracle.md +35 -0
- package/.opencode/commands/ant/patrol.md +2 -2
- package/.opencode/commands/ant/run.md +3 -3
- package/CHANGELOG.md +83 -0
- package/README.md +22 -9
- package/bin/lib/update-transaction.js +8 -3
- package/bin/npx-entry.js +0 -0
- package/package.json +1 -1
- package/.aether/agents/aether-ambassador.md +0 -140
- package/.aether/agents/aether-archaeologist.md +0 -108
- package/.aether/agents/aether-architect.md +0 -133
- package/.aether/agents/aether-auditor.md +0 -144
- package/.aether/agents/aether-builder.md +0 -184
- package/.aether/agents/aether-chaos.md +0 -115
- package/.aether/agents/aether-chronicler.md +0 -122
- package/.aether/agents/aether-gatekeeper.md +0 -116
- package/.aether/agents/aether-includer.md +0 -117
- package/.aether/agents/aether-keeper.md +0 -177
- package/.aether/agents/aether-measurer.md +0 -128
- package/.aether/agents/aether-oracle.md +0 -137
- package/.aether/agents/aether-probe.md +0 -133
- package/.aether/agents/aether-queen.md +0 -286
- package/.aether/agents/aether-route-setter.md +0 -130
- package/.aether/agents/aether-sage.md +0 -106
- package/.aether/agents/aether-scout.md +0 -101
- package/.aether/agents/aether-surveyor-disciplines.md +0 -391
- package/.aether/agents/aether-surveyor-nest.md +0 -329
- package/.aether/agents/aether-surveyor-pathogens.md +0 -264
- package/.aether/agents/aether-surveyor-provisions.md +0 -334
- package/.aether/agents/aether-tracker.md +0 -137
- package/.aether/agents/aether-watcher.md +0 -174
- package/.aether/agents/aether-weaver.md +0 -130
- package/.aether/commands/claude/archaeology.md +0 -334
- package/.aether/commands/claude/build.md +0 -65
- package/.aether/commands/claude/chaos.md +0 -336
- package/.aether/commands/claude/colonize.md +0 -259
- package/.aether/commands/claude/continue.md +0 -60
- package/.aether/commands/claude/council.md +0 -507
- package/.aether/commands/claude/data-clean.md +0 -81
- package/.aether/commands/claude/dream.md +0 -268
- package/.aether/commands/claude/entomb.md +0 -498
- package/.aether/commands/claude/export-signals.md +0 -57
- package/.aether/commands/claude/feedback.md +0 -96
- package/.aether/commands/claude/flag.md +0 -151
- package/.aether/commands/claude/flags.md +0 -169
- package/.aether/commands/claude/focus.md +0 -76
- package/.aether/commands/claude/help.md +0 -154
- package/.aether/commands/claude/history.md +0 -140
- package/.aether/commands/claude/import-signals.md +0 -71
- package/.aether/commands/claude/init.md +0 -505
- package/.aether/commands/claude/insert-phase.md +0 -105
- package/.aether/commands/claude/interpret.md +0 -278
- package/.aether/commands/claude/lay-eggs.md +0 -210
- package/.aether/commands/claude/maturity.md +0 -113
- package/.aether/commands/claude/memory-details.md +0 -77
- package/.aether/commands/claude/migrate-state.md +0 -171
- package/.aether/commands/claude/oracle.md +0 -642
- package/.aether/commands/claude/organize.md +0 -232
- package/.aether/commands/claude/patrol.md +0 -620
- package/.aether/commands/claude/pause-colony.md +0 -233
- package/.aether/commands/claude/phase.md +0 -115
- package/.aether/commands/claude/pheromones.md +0 -156
- package/.aether/commands/claude/plan.md +0 -693
- package/.aether/commands/claude/preferences.md +0 -65
- package/.aether/commands/claude/quick.md +0 -100
- package/.aether/commands/claude/redirect.md +0 -76
- package/.aether/commands/claude/resume-colony.md +0 -197
- package/.aether/commands/claude/resume.md +0 -388
- package/.aether/commands/claude/run.md +0 -231
- package/.aether/commands/claude/seal.md +0 -774
- package/.aether/commands/claude/skill-create.md +0 -286
- package/.aether/commands/claude/status.md +0 -410
- package/.aether/commands/claude/swarm.md +0 -349
- package/.aether/commands/claude/tunnels.md +0 -426
- package/.aether/commands/claude/update.md +0 -132
- package/.aether/commands/claude/verify-castes.md +0 -143
- package/.aether/commands/claude/watch.md +0 -239
- package/.aether/commands/opencode/archaeology.md +0 -331
- package/.aether/commands/opencode/build.md +0 -1168
- package/.aether/commands/opencode/chaos.md +0 -329
- package/.aether/commands/opencode/colonize.md +0 -195
- package/.aether/commands/opencode/continue.md +0 -1436
- package/.aether/commands/opencode/council.md +0 -437
- package/.aether/commands/opencode/data-clean.md +0 -77
- package/.aether/commands/opencode/dream.md +0 -260
- package/.aether/commands/opencode/entomb.md +0 -377
- package/.aether/commands/opencode/export-signals.md +0 -54
- package/.aether/commands/opencode/feedback.md +0 -99
- package/.aether/commands/opencode/flag.md +0 -149
- package/.aether/commands/opencode/flags.md +0 -167
- package/.aether/commands/opencode/focus.md +0 -73
- package/.aether/commands/opencode/help.md +0 -157
- package/.aether/commands/opencode/history.md +0 -136
- package/.aether/commands/opencode/import-signals.md +0 -68
- package/.aether/commands/opencode/init.md +0 -518
- package/.aether/commands/opencode/insert-phase.md +0 -111
- package/.aether/commands/opencode/interpret.md +0 -272
- package/.aether/commands/opencode/lay-eggs.md +0 -213
- package/.aether/commands/opencode/maturity.md +0 -108
- package/.aether/commands/opencode/memory-details.md +0 -83
- package/.aether/commands/opencode/migrate-state.md +0 -165
- package/.aether/commands/opencode/oracle.md +0 -593
- package/.aether/commands/opencode/organize.md +0 -226
- package/.aether/commands/opencode/patrol.md +0 -626
- package/.aether/commands/opencode/pause-colony.md +0 -203
- package/.aether/commands/opencode/phase.md +0 -113
- package/.aether/commands/opencode/pheromones.md +0 -162
- package/.aether/commands/opencode/plan.md +0 -684
- package/.aether/commands/opencode/preferences.md +0 -71
- package/.aether/commands/opencode/quick.md +0 -91
- package/.aether/commands/opencode/redirect.md +0 -84
- package/.aether/commands/opencode/resume-colony.md +0 -190
- package/.aether/commands/opencode/resume.md +0 -394
- package/.aether/commands/opencode/run.md +0 -237
- package/.aether/commands/opencode/seal.md +0 -452
- package/.aether/commands/opencode/skill-create.md +0 -63
- package/.aether/commands/opencode/status.md +0 -307
- package/.aether/commands/opencode/swarm.md +0 -15
- package/.aether/commands/opencode/tunnels.md +0 -400
- package/.aether/commands/opencode/update.md +0 -127
- package/.aether/commands/opencode/verify-castes.md +0 -139
- package/.aether/commands/opencode/watch.md +0 -227
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
<!-- Generated from .aether/commands/history.yaml - DO NOT EDIT DIRECTLY -->
|
|
2
|
-
---
|
|
3
|
-
name: ant:history
|
|
4
|
-
description: "📜🐜📜 Show colony event history"
|
|
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**. Show colony history.
|
|
14
|
-
|
|
15
|
-
## Instructions
|
|
16
|
-
|
|
17
|
-
### Step 1: Read State
|
|
18
|
-
|
|
19
|
-
Read `.aether/data/COLONY_STATE.json`.
|
|
20
|
-
|
|
21
|
-
If file missing or `goal: null`:
|
|
22
|
-
```
|
|
23
|
-
No colony initialized. Run /ant:init first.
|
|
24
|
-
```
|
|
25
|
-
Stop here.
|
|
26
|
-
|
|
27
|
-
### Step 2: Parse Events
|
|
28
|
-
|
|
29
|
-
Extract the `events` array from the state.
|
|
30
|
-
|
|
31
|
-
Each event is in format: `timestamp|type|source|description`
|
|
32
|
-
|
|
33
|
-
Parse each event into components:
|
|
34
|
-
- timestamp: before first `|`
|
|
35
|
-
- type: between first and second `|`
|
|
36
|
-
- source: between second and third `|`
|
|
37
|
-
- description: after third `|`
|
|
38
|
-
|
|
39
|
-
### Step 3: Parse Filter Arguments
|
|
40
|
-
|
|
41
|
-
Parse optional filter arguments:
|
|
42
|
-
|
|
43
|
-
**Event Type Filter:**
|
|
44
|
-
- `--type TYPE` or `-t TYPE`: Filter by event type
|
|
45
|
-
- Multiple types can be specified (comma-separated)
|
|
46
|
-
- Valid types: `colony_initialized`, `phase_started`, `phase_advanced`, `plan_generated`, `milestone_reached`, `state_upgraded`
|
|
47
|
-
|
|
48
|
-
**Date Range Filter:**
|
|
49
|
-
- `--since DATE`: Show events since DATE
|
|
50
|
-
- ISO format: `2026-02-13`, `2026-02-13T14:30:00`
|
|
51
|
-
- Relative: `1d` (1 day ago), `2h` (2 hours ago), `30m` (30 minutes ago)
|
|
52
|
-
- `--until DATE`: Show events until DATE
|
|
53
|
-
- Same format options as `--since`
|
|
54
|
-
|
|
55
|
-
### Step 4: Apply Limit
|
|
56
|
-
|
|
57
|
-
Parse optional `--limit N` argument (default: 10).
|
|
58
|
-
|
|
59
|
-
If `--limit` is provided, only show N events.
|
|
60
|
-
|
|
61
|
-
### Step 5: Filter Events
|
|
62
|
-
|
|
63
|
-
Apply filters to the events array:
|
|
64
|
-
|
|
65
|
-
**Type Filtering:**
|
|
66
|
-
- If `--type` is provided, split by comma to get list of types
|
|
67
|
-
- Filter events to only include those where type matches any of the specified types (case-insensitive)
|
|
68
|
-
|
|
69
|
-
**Date Range Filtering:**
|
|
70
|
-
- For `--since`: Parse the date value
|
|
71
|
-
- If relative (e.g., "1d", "2h", "30m"), calculate timestamp by subtracting from current time
|
|
72
|
-
- If ISO format, parse directly
|
|
73
|
-
- Filter events with timestamp >= since date
|
|
74
|
-
- For `--until`: Same parsing logic
|
|
75
|
-
- Filter events with timestamp <= until date
|
|
76
|
-
|
|
77
|
-
**Track Active Filters:**
|
|
78
|
-
- Record which filters are active for display indicator
|
|
79
|
-
|
|
80
|
-
### Step 6: Sort and Display
|
|
81
|
-
|
|
82
|
-
Sort events in reverse chronological order (most recent first).
|
|
83
|
-
|
|
84
|
-
If events array is empty:
|
|
85
|
-
```
|
|
86
|
-
No colony events recorded yet.
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
**Filter Indicators:**
|
|
90
|
-
- If any filters are active, show at the top:
|
|
91
|
-
- Type filter: `Filters: type=<TYPE>[,<TYPE>...]`
|
|
92
|
-
- Since filter: `Filters: since=<DATE>`
|
|
93
|
-
- Until filter: `Filters: until=<DATE>`
|
|
94
|
-
- Multiple filters: Combine on same line (e.g., `Filters: type=phase_started,phase_advanced since=1d`)
|
|
95
|
-
- Show filtered count: "Showing X of Y events (filtered from Z total)"
|
|
96
|
-
|
|
97
|
-
Otherwise, display in format:
|
|
98
|
-
```
|
|
99
|
-
━━━ Colony History (most recent first) ━━━
|
|
100
|
-
|
|
101
|
-
[TIMESTAMP] [TYPE] from [SOURCE]
|
|
102
|
-
Description: [description]
|
|
103
|
-
|
|
104
|
-
[TIMESTAMP] [TYPE] from [SOURCE]
|
|
105
|
-
Description: [description]
|
|
106
|
-
|
|
107
|
-
... (up to limit)
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
**Format:**
|
|
111
|
-
- Timestamp: Show in readable format (e.g., "2026-02-13 14:30:00")
|
|
112
|
-
- Type: Uppercase event type
|
|
113
|
-
- Source: Italics for source
|
|
114
|
-
- Description: Plain text
|
|
115
|
-
|
|
116
|
-
**Event type icons:**
|
|
117
|
-
- `colony_initialized`: 🏠
|
|
118
|
-
- `phase_started`: 🚀
|
|
119
|
-
- `phase_advanced`: ➡️
|
|
120
|
-
- `plan_generated`: 📋
|
|
121
|
-
- `milestone_reached`: 🏆
|
|
122
|
-
- `state_upgraded`: 🔄
|
|
123
|
-
- `default`: 📌
|
|
124
|
-
|
|
125
|
-
**Limit display:**
|
|
126
|
-
- If filtering is active, show: "Showing X of Y events (filtered from Z total)"
|
|
127
|
-
- If only limit is applied (no filters), show: "Showing X of Y events"
|
|
128
|
-
|
|
129
|
-
### Step 7: Display Summary
|
|
130
|
-
|
|
131
|
-
Show total event count at the end:
|
|
132
|
-
```
|
|
133
|
-
Total events recorded: <count>
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<!-- Generated from .aether/commands/import-signals.yaml - DO NOT EDIT DIRECTLY -->
|
|
2
|
-
---
|
|
3
|
-
name: ant:import-signals
|
|
4
|
-
description: "Import pheromone signals from another colony's XML export"
|
|
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**. Import pheromone signals from another colony's XML export.
|
|
14
|
-
|
|
15
|
-
## Instructions
|
|
16
|
-
|
|
17
|
-
The arguments are: `$normalized_args`
|
|
18
|
-
|
|
19
|
-
### Step 1: Validate
|
|
20
|
-
|
|
21
|
-
Read `.aether/data/COLONY_STATE.json`.
|
|
22
|
-
If file missing or `goal: null` -> "No colony initialized. Run /ant:init first.", stop.
|
|
23
|
-
|
|
24
|
-
Parse `$normalized_args`:
|
|
25
|
-
- First argument: path to XML file (required).
|
|
26
|
-
- Second argument: colony name/prefix (optional; default: derive from XML filename without extension, or use "imported").
|
|
27
|
-
|
|
28
|
-
If no arguments provided, show usage and stop:
|
|
29
|
-
```
|
|
30
|
-
Usage: /ant:import-signals <path-to-signals.xml> [colony-name]
|
|
31
|
-
|
|
32
|
-
<path-to-signals.xml> Path to an exported pheromone XML file
|
|
33
|
-
[colony-name] Optional prefix for imported signal IDs (prevents collisions)
|
|
34
|
-
|
|
35
|
-
Example:
|
|
36
|
-
/ant:import-signals .aether/exchange/pheromones.xml partner-colony
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Verify the XML file exists. If not -> "File not found: <path>", stop.
|
|
40
|
-
|
|
41
|
-
### Step 2: Import
|
|
42
|
-
|
|
43
|
-
Run using the Bash tool with description "Importing pheromone signals from XML...":
|
|
44
|
-
```bash
|
|
45
|
-
bash .aether/aether-utils.sh pheromone-import-xml "<xml_path>" "<colony_prefix>"
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Parse the returned JSON:
|
|
49
|
-
- If `.ok` is `true`: extract `.result.signal_count` and `.result.source`.
|
|
50
|
-
- If `.ok` is `false`: check `.error` for details. If error mentions `xmllint` or `E_FEATURE_UNAVAILABLE`, display: "XML import requires xmllint. Install with: xcode-select --install (macOS) or apt-get install libxml2-utils (Linux)." Otherwise display the error message and stop.
|
|
51
|
-
|
|
52
|
-
### Step 3: Confirm
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Output:
|
|
57
|
-
```
|
|
58
|
-
Pheromone signals imported
|
|
59
|
-
|
|
60
|
-
Source: <xml_path>
|
|
61
|
-
Signals imported: <signal_count>
|
|
62
|
-
Colony prefix: <colony_prefix>
|
|
63
|
-
|
|
64
|
-
Note: On signal ID collision, current colony signals take priority.
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|