@axiomantic/garden 0.2.24 → 0.2.25
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/SKILL.md +8 -8
- package/bin/binaries/garden-darwin-arm64 +0 -0
- package/bin/binaries/garden-darwin-x64 +0 -0
- package/bin/binaries/garden-linux-arm64 +0 -0
- package/bin/binaries/garden-linux-x64 +0 -0
- package/bin/binaries/garden-win32-x64.exe +0 -0
- package/package.json +4 -4
- package/skills/choose-personas/SKILL.md +7 -8
- package/skills/garden/SKILL.md +8 -8
- package/skills/launch-workers/SKILL.md +4 -4
package/SKILL.md
CHANGED
|
@@ -31,7 +31,7 @@ Garden directs multi-agent swarms using Rhizo for transport and Vine for workspa
|
|
|
31
31
|
flowchart TD
|
|
32
32
|
subgraph Garden["Garden Layer (Methodology & Ceremonies)"]
|
|
33
33
|
Phase0["Phase 0: Interactive Intake Interview (Scope, Team & Models)"]
|
|
34
|
-
Phase1["Phase 1: choose-personas (
|
|
34
|
+
Phase1["Phase 1: choose-personas (Synthesize Swarm Roles)"]
|
|
35
35
|
Phase2["Phase 2: launch-workers (10-Backtick Prompt Cards & Sessions)"]
|
|
36
36
|
Phase3["Phase 3: dialectical-pump (Research ➔ Design ➔ Audit)"]
|
|
37
37
|
Phase4["Phase 4: plan-implementation (Locking & Strands)"]
|
|
@@ -87,7 +87,7 @@ Execute phases sequentially. Never skip phases or invert the order.
|
|
|
87
87
|
| Phase | Sub-Skill / Step | Action | Quality Gate to Proceed |
|
|
88
88
|
| :--- | :--- | :--- | :--- |
|
|
89
89
|
| **Phase 0** | **Intake Gate** | Fast-path check (`rhizo who --json`) or single-question intake via `ask_question` calibrated to detected harness. | Active cluster workers confirmed or operator submits choice. |
|
|
90
|
-
| **Phase 1** | [`choose-personas`](../choose-personas/SKILL.md) | Synthesize
|
|
90
|
+
| **Phase 1** | [`choose-personas`](../choose-personas/SKILL.md) | Synthesize swarm configuration reflecting detected harness and chosen shape (zero on-disk JSON). | Swarm roles ratified. |
|
|
91
91
|
| **Phase 2** | [`launch-workers`](../launch-workers/SKILL.md) | Output 10-backtick raw markdown prompt cards and numbered session instructions. | `rhizo who --json` confirms 100% of workers active & listening. |
|
|
92
92
|
| **Phase 3** | [`dialectical-pump`](../dialectical-pump/SKILL.md) | Grounded triadic deliberation: research, design, adversarial audit. | Zero open `CRIT` or `BLOCKER` defects in `audit_report.md`. |
|
|
93
93
|
| **Phase 4** | [`plan-implementation`](../plan-implementation/SKILL.md) | Author master implementation plan with locking schedules, strands, and Two-Point Diff contracts (Provider, Consumer, Replacement deletion). | Complete `implementation_plan.md` with task-locking matrix. |
|
|
@@ -178,7 +178,7 @@ When the operator explicitly requests or names a worker or peer session (e.g. 'u
|
|
|
178
178
|
> **Orchestrator Scope Restriction**: This fast-path applies **ONLY** to a session that was explicitly initialized or designated by the operator as the Lead Orchestrator. A fresh unbootstrapped session must NEVER assume it is the orchestrator simply because `<project>-orchestrator` appears in `rhizo who`!
|
|
179
179
|
|
|
180
180
|
<INVARIANT>
|
|
181
|
-
Unbootstrapped Session Identity: If a session was NOT explicitly bootstrapped with an identity in its conversation history (via a Garden bootstrap prompt card, an explicit operator assignment, or prior 'rhizo open <name>' in that same conversation), it MUST NEVER guess, adopt, or assume an existing identity from 'rhizo who --json'
|
|
181
|
+
Unbootstrapped Session Identity: If a session was NOT explicitly bootstrapped with an identity in its conversation history (via a Garden bootstrap prompt card, an explicit operator assignment, or prior 'rhizo open <name>' in that same conversation), it MUST NEVER guess, adopt, or assume an existing identity from 'rhizo who --json' (especially NEVER '<project>-orchestrator'). If the operator commands '/rhizo listen' without arguments in an unbootstrapped session, the session MUST either:
|
|
182
182
|
1. Run 'rhizo name' to allocate a fresh unique identity, followed by 'rhizo open <name>', OR
|
|
183
183
|
2. Ask the operator via 'ask_question' which persona or role this window represents.
|
|
184
184
|
Never assume you are the orchestrator or an existing active worker simply because those names appear in the project directory.
|
|
@@ -205,13 +205,13 @@ Swarm workers are ALWAYS sovereign, independent interactive sessions (dedicated
|
|
|
205
205
|
|
|
206
206
|
<CRITICAL>
|
|
207
207
|
Session Default Models (Standalone Model Quizzes Prohibited):
|
|
208
|
-
Swarm workers operate in sovereign interactive sessions and inherit whatever foundation model is active in that harness session (e.g., Gemini in Antigravity, Claude in Claude Code, configured workspace models in OpenCode). NEVER present a separate question asking the operator to choose "Foundation Model Pairings". In
|
|
208
|
+
Swarm workers operate in sovereign interactive sessions and inherit whatever foundation model is active in that harness session (e.g., Gemini in Antigravity, Claude in Claude Code, configured workspace models in OpenCode). NEVER present a separate question asking the operator to choose "Foundation Model Pairings". In prompt cards, model configuration defaults to `"Session Default (active in window/tab)"`.
|
|
209
209
|
</CRITICAL>
|
|
210
210
|
|
|
211
211
|
#### Automatic Fulfillment & 10-Backtick Prompt Generation:
|
|
212
212
|
Upon receiving the operator's response:
|
|
213
213
|
1. Run `garden init` if `garden.toml` or `AGENTS.md` is not yet initialized.
|
|
214
|
-
2.
|
|
214
|
+
2. Synthesize swarm configuration reflecting the chosen workers, roles, detected harness, and session-default models (zero on-disk JSON).
|
|
215
215
|
3. Run `garden prompts` which writes individual prompt cards to `/tmp/garden-<project>/<worker>.md` and all cards to `/tmp/garden-<project>/all-workers.md`.
|
|
216
216
|
4. Present the operator with concise setup instructions and copy commands (NEVER paste prompt cards inline in chat):
|
|
217
217
|
```text
|
|
@@ -466,12 +466,12 @@ To prevent silent deadlocks when workers stall, crash, or fail to re-arm listene
|
|
|
466
466
|
|
|
467
467
|
---
|
|
468
468
|
|
|
469
|
-
## 5. Configuration &
|
|
469
|
+
## 5. Configuration & Architecture Reference
|
|
470
470
|
|
|
471
471
|
See [`docs/configuration.md`](../../docs/configuration.md) for full details on:
|
|
472
|
-
- **Environment Variables**: `
|
|
472
|
+
- **Environment Variables**: `GARDEN_CONFIG`, `GARDEN_PROJECT_DIR`, and `GARDEN_TERMINAL_APP`.
|
|
473
473
|
- **`garden.toml`**: Project-level defaults (`name`, `preferred_terminal`, `session_prefix`, `default_triad`).
|
|
474
|
-
-
|
|
474
|
+
- **Dynamic Swarm Synthesis**: Swarm specification schema (`project`, `target_repo`, `orchestrator`, `shared_workspace`, `workers` array: `name`, `persona`, `role`, `harness`, `model`, `tags`, `system_prompt`, `opposing_priority`) generated dynamically in-memory without on-disk JSON artifacts.
|
|
475
475
|
- **The 10-Backtick Protocol**: Clean raw markdown formatting for copy-paste worker bootstrap prompts.
|
|
476
476
|
|
|
477
477
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiomantic/garden",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
4
4
|
"description": "Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine",
|
|
5
5
|
"main": "bin/run.js",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "git+https://github.com/axiomantic/garden.git"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"test": "nim c -r tests/test_garden.nim && nim c -r tests/test_seed.nim && nim c -r tests/test_germinate.nim && nim c -r tests/test_update.nim && node tests/test_riders.js",
|
|
33
|
+
"test": "nim c -r tests/test_garden.nim && nim c -r tests/test_seed.nim && nim c -r tests/test_germinate.nim && nim c -r tests/test_roadmap.nim && nim c -r tests/test_update.nim && node tests/test_riders.js",
|
|
34
34
|
"build": "nim c -d:release --threads:on --mm:orc -o:bin/garden src/garden.nim"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/axiomantic/garden#readme",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@axiomantic/rhizo": "^0.2.
|
|
54
|
-
"@axiomantic/vine": "^0.2.
|
|
53
|
+
"@axiomantic/rhizo": "^0.2.27",
|
|
54
|
+
"@axiomantic/vine": "^0.2.15",
|
|
55
55
|
"rift-snapshot": "^0.0.13"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: choose-personas
|
|
3
|
-
description: "Selects, balances, and configures specialized agent personas for a Garden swarm task. Analyzes codebase context, domain complexity, and task requirements to formulate a triad of complementary personas with opposing priorities. Auto-detects the active coding harness and aligns worker harnesses and session-default models with operator preferences via a single intake question.
|
|
3
|
+
description: "Selects, balances, and configures specialized agent personas for a Garden swarm task. Analyzes codebase context, domain complexity, and task requirements to formulate a triad of complementary personas with opposing priorities. Auto-detects the active coding harness and aligns worker harnesses and session-default models with operator preferences via a single intake question. Synthesizes dynamic swarm configurations. Triggers: 'choose personas', 'select personas', 'set up agent team', 'assemble personas for this task', 'recommend agents'."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# `choose-personas`: Dynamic Swarm Persona Selection & Auto-Detected Harness Intake
|
|
@@ -60,7 +60,7 @@ Swarm workers are ALWAYS sovereign, independent interactive sessions (separate t
|
|
|
60
60
|
|
|
61
61
|
<CRITICAL>
|
|
62
62
|
Session Default Models (No Cross-Harness Model Quizzes):
|
|
63
|
-
Swarm workers operate in sovereign interactive sessions and inherit whatever foundation model is active in that harness session. NEVER present a separate question asking the operator to choose "Foundation Model Pairings", and NEVER present model options that do not correspond to the chosen harness. In
|
|
63
|
+
Swarm workers operate in sovereign interactive sessions and inherit whatever foundation model is active in that harness session. NEVER present a separate question asking the operator to choose "Foundation Model Pairings", and NEVER present model options that do not correspond to the chosen harness. In prompt cards and swarm specifications, models default to `"Session Default (active in window/tab)"`.
|
|
64
64
|
</CRITICAL>
|
|
65
65
|
|
|
66
66
|
<CRITICAL>
|
|
@@ -97,7 +97,7 @@ sequenceDiagram
|
|
|
97
97
|
Note over Orch: Formulates primary triad + harness pairing
|
|
98
98
|
Orch->>User: Renders unified ask_question modal (Team shape + Harness)
|
|
99
99
|
User-->>Orch: Submits chosen triad
|
|
100
|
-
Orch->>
|
|
100
|
+
Orch->>Garden: Synthesizes dynamic swarm configuration
|
|
101
101
|
end
|
|
102
102
|
```
|
|
103
103
|
|
|
@@ -136,8 +136,8 @@ Invoke `ask_question` with a SINGLE concise question combining execution mode an
|
|
|
136
136
|
- Option 3: Single-Agent Inline (Execute sequentially within current chat session)
|
|
137
137
|
- Option 4: Custom configuration (allows user write-in).
|
|
138
138
|
|
|
139
|
-
### Step 4:
|
|
140
|
-
Once ratified,
|
|
139
|
+
### Step 4: Synthesize Swarm Specification
|
|
140
|
+
Once ratified, Garden synthesizes the swarm configuration dynamically in memory (zero on-disk JSON). If inspectable output is needed, Garden emits to stdout or prompt cards in `/tmp/garden-<project>/`:
|
|
141
141
|
|
|
142
142
|
```json
|
|
143
143
|
{
|
|
@@ -185,8 +185,7 @@ Once ratified, write `garden-swarm.json` to the target project directory with wo
|
|
|
185
185
|
## 4. Verification & Automatic Prompt Generation Handoff
|
|
186
186
|
|
|
187
187
|
Before concluding:
|
|
188
|
-
1.
|
|
189
|
-
2.
|
|
190
|
-
3. Proceed to Worker On-Ramp ([`launch-workers`](../launch-workers/SKILL.md)):
|
|
188
|
+
1. Confirm each worker has unique `name` and non-empty `tags`.
|
|
189
|
+
2. Proceed to Worker On-Ramp ([`launch-workers`](../launch-workers/SKILL.md)):
|
|
191
190
|
- **Pathway A (Dynamic Repurposing)**: If idle cluster peers were detected, run `garden repurpose` to reassign them to the chosen personas/roles without manual session setup.
|
|
192
191
|
- **Pathway B (Fresh Session Bootstrapping)**: Call `garden prompts` to generate the 10-backtick raw markdown blocks in `/tmp/garden-<project>/`, present tab setup instructions, and await cluster readiness via `rhizo who --all --json`.
|
package/skills/garden/SKILL.md
CHANGED
|
@@ -31,7 +31,7 @@ Garden directs multi-agent swarms using Rhizo for transport and Vine for workspa
|
|
|
31
31
|
flowchart TD
|
|
32
32
|
subgraph Garden["Garden Layer (Methodology & Ceremonies)"]
|
|
33
33
|
Phase0["Phase 0: Interactive Intake Interview (Scope, Team & Models)"]
|
|
34
|
-
Phase1["Phase 1: choose-personas (
|
|
34
|
+
Phase1["Phase 1: choose-personas (Synthesize Swarm Roles)"]
|
|
35
35
|
Phase2["Phase 2: launch-workers (10-Backtick Prompt Cards & Sessions)"]
|
|
36
36
|
Phase3["Phase 3: dialectical-pump (Research ➔ Design ➔ Audit)"]
|
|
37
37
|
Phase4["Phase 4: plan-implementation (Locking & Strands)"]
|
|
@@ -87,7 +87,7 @@ Execute phases sequentially. Never skip phases or invert the order.
|
|
|
87
87
|
| Phase | Sub-Skill / Step | Action | Quality Gate to Proceed |
|
|
88
88
|
| :--- | :--- | :--- | :--- |
|
|
89
89
|
| **Phase 0** | **Intake Gate** | Fast-path check (`rhizo who --json`) or single-question intake via `ask_question` calibrated to detected harness. | Active cluster workers confirmed or operator submits choice. |
|
|
90
|
-
| **Phase 1** | [`choose-personas`](../choose-personas/SKILL.md) | Synthesize
|
|
90
|
+
| **Phase 1** | [`choose-personas`](../choose-personas/SKILL.md) | Synthesize swarm configuration reflecting detected harness and chosen shape (zero on-disk JSON). | Swarm roles ratified. |
|
|
91
91
|
| **Phase 2** | [`launch-workers`](../launch-workers/SKILL.md) | Output 10-backtick raw markdown prompt cards and numbered session instructions. | `rhizo who --json` confirms 100% of workers active & listening. |
|
|
92
92
|
| **Phase 3** | [`dialectical-pump`](../dialectical-pump/SKILL.md) | Grounded triadic deliberation: research, design, adversarial audit. | Zero open `CRIT` or `BLOCKER` defects in `audit_report.md`. |
|
|
93
93
|
| **Phase 4** | [`plan-implementation`](../plan-implementation/SKILL.md) | Author master implementation plan with locking schedules, strands, and Two-Point Diff contracts (Provider, Consumer, Replacement deletion). | Complete `implementation_plan.md` with task-locking matrix. |
|
|
@@ -178,7 +178,7 @@ When the operator explicitly requests or names a worker or peer session (e.g. 'u
|
|
|
178
178
|
> **Orchestrator Scope Restriction**: This fast-path applies **ONLY** to a session that was explicitly initialized or designated by the operator as the Lead Orchestrator. A fresh unbootstrapped session must NEVER assume it is the orchestrator simply because `<project>-orchestrator` appears in `rhizo who`!
|
|
179
179
|
|
|
180
180
|
<INVARIANT>
|
|
181
|
-
Unbootstrapped Session Identity: If a session was NOT explicitly bootstrapped with an identity in its conversation history (via a Garden bootstrap prompt card, an explicit operator assignment, or prior 'rhizo open <name>' in that same conversation), it MUST NEVER guess, adopt, or assume an existing identity from 'rhizo who --json'
|
|
181
|
+
Unbootstrapped Session Identity: If a session was NOT explicitly bootstrapped with an identity in its conversation history (via a Garden bootstrap prompt card, an explicit operator assignment, or prior 'rhizo open <name>' in that same conversation), it MUST NEVER guess, adopt, or assume an existing identity from 'rhizo who --json' (especially NEVER '<project>-orchestrator'). If the operator commands '/rhizo listen' without arguments in an unbootstrapped session, the session MUST either:
|
|
182
182
|
1. Run 'rhizo name' to allocate a fresh unique identity, followed by 'rhizo open <name>', OR
|
|
183
183
|
2. Ask the operator via 'ask_question' which persona or role this window represents.
|
|
184
184
|
Never assume you are the orchestrator or an existing active worker simply because those names appear in the project directory.
|
|
@@ -205,13 +205,13 @@ Swarm workers are ALWAYS sovereign, independent interactive sessions (dedicated
|
|
|
205
205
|
|
|
206
206
|
<CRITICAL>
|
|
207
207
|
Session Default Models (Standalone Model Quizzes Prohibited):
|
|
208
|
-
Swarm workers operate in sovereign interactive sessions and inherit whatever foundation model is active in that harness session (e.g., Gemini in Antigravity, Claude in Claude Code, configured workspace models in OpenCode). NEVER present a separate question asking the operator to choose "Foundation Model Pairings". In
|
|
208
|
+
Swarm workers operate in sovereign interactive sessions and inherit whatever foundation model is active in that harness session (e.g., Gemini in Antigravity, Claude in Claude Code, configured workspace models in OpenCode). NEVER present a separate question asking the operator to choose "Foundation Model Pairings". In prompt cards, model configuration defaults to `"Session Default (active in window/tab)"`.
|
|
209
209
|
</CRITICAL>
|
|
210
210
|
|
|
211
211
|
#### Automatic Fulfillment & 10-Backtick Prompt Generation:
|
|
212
212
|
Upon receiving the operator's response:
|
|
213
213
|
1. Run `garden init` if `garden.toml` or `AGENTS.md` is not yet initialized.
|
|
214
|
-
2.
|
|
214
|
+
2. Synthesize swarm configuration reflecting the chosen workers, roles, detected harness, and session-default models (zero on-disk JSON).
|
|
215
215
|
3. Run `garden prompts` which writes individual prompt cards to `/tmp/garden-<project>/<worker>.md` and all cards to `/tmp/garden-<project>/all-workers.md`.
|
|
216
216
|
4. Present the operator with concise setup instructions and copy commands (NEVER paste prompt cards inline in chat):
|
|
217
217
|
```text
|
|
@@ -466,12 +466,12 @@ To prevent silent deadlocks when workers stall, crash, or fail to re-arm listene
|
|
|
466
466
|
|
|
467
467
|
---
|
|
468
468
|
|
|
469
|
-
## 5. Configuration &
|
|
469
|
+
## 5. Configuration & Architecture Reference
|
|
470
470
|
|
|
471
471
|
See [`docs/configuration.md`](../../docs/configuration.md) for full details on:
|
|
472
|
-
- **Environment Variables**: `
|
|
472
|
+
- **Environment Variables**: `GARDEN_CONFIG`, `GARDEN_PROJECT_DIR`, and `GARDEN_TERMINAL_APP`.
|
|
473
473
|
- **`garden.toml`**: Project-level defaults (`name`, `preferred_terminal`, `session_prefix`, `default_triad`).
|
|
474
|
-
-
|
|
474
|
+
- **Dynamic Swarm Synthesis**: Swarm specification schema (`project`, `target_repo`, `orchestrator`, `shared_workspace`, `workers` array: `name`, `persona`, `role`, `harness`, `model`, `tags`, `system_prompt`, `opposing_priority`) generated dynamically in-memory without on-disk JSON artifacts.
|
|
475
475
|
- **The 10-Backtick Protocol**: Clean raw markdown formatting for copy-paste worker bootstrap prompts.
|
|
476
476
|
|
|
477
477
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: launch-workers
|
|
3
|
-
description: "Generates and formats X distinct copy-pasteable bootstrap prompts for new agent sessions (Claude Code, Pi, OpenCode, Antigravity, etc.) to join the Garden work group on Rhizo and Vine.
|
|
3
|
+
description: "Generates and formats X distinct copy-pasteable bootstrap prompts for new agent sessions (Claude Code, Pi, OpenCode, Antigravity, etc.) to join the Garden work group on Rhizo and Vine. Synthesizes balanced triads dynamically, configures identities, environment setup (RHIZO_AGENT_NAME, cd, rhizo open), single-shot listener discipline, task claiming, and Vine strand isolation. Spits out prompt blocks wrapped in 10 backticks for clean, unrendered raw markdown copying, and verifies cluster heartbeat readiness via rhizo who --json before handing off. Triggers: 'launch workers', 'spin up workers', 'start worker swarm', 'generate worker prompts', 'bootstrap swarm', 'launch fleet'."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# `launch-workers`: Prompt-Based Swarm Bootstrapping & Work Group Onboarding
|
|
@@ -100,7 +100,7 @@ garden prompts --write garden-prompts.md
|
|
|
100
100
|
garden prompts --worker <project>-architect # (or suffix shorthand: --worker architect)
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
Garden automatically synthesizes the standard balanced triad with procedurally generated whimsical entities (e.g. botanical spirits, clockwork automatons, mythical cryptids):
|
|
104
104
|
- `@<project>-architect` (e.g. Bramblestitch / Cogswell Pendulum - Staff Systems Architect)
|
|
105
105
|
- `@<project>-auditor` (e.g. Prickle-Thistle / Grumblewick Snark - Verification & Adversarial Auditor)
|
|
106
106
|
- `@<project>-implementer` (e.g. Moss-Weaver / Sprocket-Hop - DevEx & Implementation Lead)
|
|
@@ -161,9 +161,9 @@ When the swarm mission is completed, or when canceling a run:
|
|
|
161
161
|
garden teardown
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
-
Or
|
|
164
|
+
Or dynamically querying the project workers:
|
|
165
165
|
```bash
|
|
166
|
-
for worker in $(
|
|
166
|
+
for worker in $(rhizo who --all --json | jq -r '.active_agents[] | select(.tags | contains(["<project>"])) | .name'); do
|
|
167
167
|
rhizo close "$worker" 2>/dev/null || true
|
|
168
168
|
done
|
|
169
169
|
```
|