@axiomantic/garden 0.2.8 → 0.2.9
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/README.md +7 -7
- package/SKILL.md +10 -2
- 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 +1 -1
- package/skills/choose-personas/SKILL.md +10 -4
- package/skills/garden/SKILL.md +10 -2
- package/skills/launch-workers/SKILL.md +4 -0
- package/skills/orchestrate-swarm/SKILL.md +2 -2
package/README.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
**Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine**
|
|
6
6
|
|
|
7
7
|
[](LICENSE)
|
|
8
|
-
[](https://github.com/axiomantic/rhizo)
|
|
9
|
+
[](https://github.com/axiomantic/vine)
|
|
10
10
|
[](README.md)
|
|
11
11
|
[](README.md)
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
> ```
|
|
30
30
|
> The session automatically acts as the **Lead Orchestrator**. It conducts a brief interactive intake interview to calibrate your desired team balance, coding harnesses, and model tiers. It then configures your project (`garden.toml` & `garden-swarm.json`) and prints ready-to-copy prompt cards wrapped in **10 backticks** (` ``````````markdown `). You paste these cards into separate terminal tabs or coding harnesses, and Garden coordinates the entire swarm over Rhizo (local Redis message bus) and Vine (isolated Rift copy-on-write workspaces)!
|
|
31
31
|
|
|
32
|
-
Instead of treating AI agents as isolated single-turn chatbots, Garden provisions **prompt-bootstrapped worker swarms** across your favorite AI coding harnesses (Claude Code, OpenCode, Antigravity, Pi, Cursor), balances specialized personas with designated foundation models, drives **empirically grounded dialectical deliberation**, schedules distributed fencing mutexes, and integrates code through isolated
|
|
32
|
+
Instead of treating AI agents as isolated single-turn chatbots, Garden provisions **prompt-bootstrapped worker swarms** across your favorite AI coding harnesses (Claude Code, OpenCode, Antigravity, Pi, Cursor), balances specialized personas with designated foundation models, drives **empirically grounded dialectical deliberation**, schedules distributed fencing mutexes, and integrates code through isolated Rift copy-on-write strands verified by Vine's Two-Key Gate.
|
|
33
33
|
|
|
34
34
|
```mermaid
|
|
35
35
|
flowchart TD
|
|
@@ -45,7 +45,7 @@ flowchart TD
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
subgraph Layer2["Layer 2: Vine (Workstream Integrator)"]
|
|
48
|
-
Strands["
|
|
48
|
+
Strands["Rift Strands (Zero-cost copy-on-write workspaces)"]
|
|
49
49
|
TwoKey["Two-Key Gate (Mechanical merge-tree + semantic test suite)"]
|
|
50
50
|
Weave["Trunk Weaving (Fast-forward verified branches)"]
|
|
51
51
|
end
|
|
@@ -82,7 +82,7 @@ Garden is completely standalone and can direct multi-agent dialectics, persona s
|
|
|
82
82
|
|
|
83
83
|
However, Garden is designed from the ground up to pair seamlessly with **Rhizo** and **Vine**:
|
|
84
84
|
- [**Rhizo**](https://github.com/axiomantic/rhizo) (Transport & Concurrency): Inter-agent messaging bus, monotonic fencing locks, and task queues over Redis.
|
|
85
|
-
- [**Vine**](https://github.com/axiomantic/vine) (Workspaces & Verification):
|
|
85
|
+
- [**Vine**](https://github.com/axiomantic/vine) (Workspaces & Verification): Zero-cost Rift copy-on-write strands, polyglot build-cache normalization, and the Two-Key integration gate (`git merge-tree` mechanical + compiler/test suite semantic checks).
|
|
86
86
|
- **Garden** (Swarm Ceremonies): Prompt-based worker session bootstrapping, 3-stage empirical dialectical pump (research, architecture, audit), and master ceremonial implementation planning.
|
|
87
87
|
|
|
88
88
|
---
|
|
@@ -113,7 +113,7 @@ Install the compiled CLI tools directly onto your `$PATH`:
|
|
|
113
113
|
|
|
114
114
|
```bash
|
|
115
115
|
# Install all three tools:
|
|
116
|
-
npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden
|
|
116
|
+
npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden rift-snapshot
|
|
117
117
|
|
|
118
118
|
# Or install Garden alone:
|
|
119
119
|
npm install -g @axiomantic/garden
|
|
@@ -190,7 +190,7 @@ The personas deliberate across three empirical stages:
|
|
|
190
190
|
### 5. Ceremonial Planning (`plan-implementation`)
|
|
191
191
|
Garden authors `implementation_plan.md`:
|
|
192
192
|
- Schedules distributed fencing locks (`rhizo lock file:<path> --fencing`).
|
|
193
|
-
- Assigns tasks and
|
|
193
|
+
- Assigns tasks and provisions isolated Rift strands (`vine new <task_id>`).
|
|
194
194
|
- Sets up dynamic progress checkboxes and harness To-Do tracking.
|
|
195
195
|
|
|
196
196
|
### 6. Live Orchestration & Trunk Weaving (`orchestrate-swarm`)
|
package/SKILL.md
CHANGED
|
@@ -73,7 +73,11 @@ When an operator initiates a project or requests multi-agent coordination, the s
|
|
|
73
73
|
- *Option 2*: Focused Duo (2 Workers: Implementation Lead `@<project>-implementer`, Adversarial Auditor `@<project>-auditor`).
|
|
74
74
|
- *Option 3*: Custom Swarm (Operator specifies custom roles and headcount).
|
|
75
75
|
3. **Question 3: Available AI Coding Harnesses**:
|
|
76
|
-
- The operator specifies which coding environments they
|
|
76
|
+
- The operator specifies which coding environments they will open dedicated tabs/windows for (Claude Code CLI, OpenCode, Antigravity, Pi, Cursor, Headless Terminal).
|
|
77
|
+
<CRITICAL>
|
|
78
|
+
Sovereign Sessions Only (Universal Subagent Prohibition):
|
|
79
|
+
Swarm workers are ALWAYS sovereign, independent interactive sessions (dedicated terminal tabs, CLI windows, or IDE sessions) bootstrapped via copy-paste prompt cards. Harness-internal subagents (e.g. Antigravity's `invoke_subagent`, Claude Code's `Task`, OpenCode subtasks, Cursor sub-composers) are STRICTLY PROHIBITED as swarm workers across all harnesses. Internal subagents are ephemeral, cannot maintain continuous background listeners, and cause severe context poisoning. NEVER offer or present "subagents" as an option in Question 3 or any other intake question.
|
|
80
|
+
</CRITICAL>
|
|
77
81
|
4. **Question 4: Foundation Model Pairing & Equivalencies**:
|
|
78
82
|
- Recommend optimal models with fallback equivalents:
|
|
79
83
|
- `@<project>-architect`: Gemini 3.8 Flash / Claude 3.5 Sonnet / GPT-4o (deep architecture comprehension).
|
|
@@ -224,7 +228,11 @@ This intake gate applies to ANY request to "work on X", "build Y", "fix Z", or "
|
|
|
224
228
|
</CRITICAL>
|
|
225
229
|
|
|
226
230
|
<INVARIANT>
|
|
227
|
-
|
|
231
|
+
Sovereign Session & Subagent Prohibition: Swarm workers are ALWAYS sovereign, independent interactive sessions (dedicated terminal tabs, CLI windows, or IDE sessions) bootstrapped via Garden 10-backtick prompt cards. Harness-internal subagents (e.g., Antigravity's 'invoke_subagent', Claude Code's 'Task', OpenCode subagents, Cursor sub-composers) are STRICTLY PROHIBITED from acting as cluster swarm workers across all harnesses. Internal subagents are ephemeral, terminate upon single-task completion, cannot maintain persistent blocking listeners ('rhizo listen'), corrupt workspace isolation, and cause severe context poisoning by dumping execution traces back into the parent prompt. When orchestrating or bootstrapping a swarm, an orchestrator must NEVER spawn internal subagents and must NEVER offer "subagents" as a worker execution option during intake.
|
|
232
|
+
</INVARIANT>
|
|
233
|
+
|
|
234
|
+
<INVARIANT>
|
|
235
|
+
Delegation Precedence: When instructed to "delegate", "assign", or "dispatch" work, the Lead Orchestrator MUST route tasks to active cluster workers via Rhizo (`rhizo send <worker>`, `rhizo enqueue queue:<project>:tasks`, or `rhizo task assign/claim`). Harness-internal subagents (e.g. `invoke_subagent`, `Task`, `Agent`) must NEVER be used to fulfill cluster swarm roles; they are restricted solely to transient, single-turn ad-hoc inspections in non-swarm solo chats when the operator explicitly requests a "subagent" by name.
|
|
228
236
|
</INVARIANT>
|
|
229
237
|
|
|
230
238
|
<INVARIANT>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -41,12 +41,18 @@ graph TD
|
|
|
41
41
|
|
|
42
42
|
When proposing personas, the assistant must explicitly pair each persona with an appropriate **coding harness** and **foundation model**, taking operator preferences into account (defaulting to Antigravity + Gemini 3.8 Flash for rapid implementation, and invoking Claude for deep adversarial auditing):
|
|
43
43
|
|
|
44
|
+
<CRITICAL>
|
|
45
|
+
Sovereign Dedicated Sessions Only (Universal Subagent Prohibition):
|
|
46
|
+
Every recommended harness represents an INDEPENDENT, DEDICATED CODING SESSION (separate terminal tab or dedicated IDE window) to be bootstrapped by the operator via Garden 10-backtick prompt cards.
|
|
47
|
+
Harness-internal subagents (e.g. Antigravity's `invoke_subagent`, Claude Code's `Task`, OpenCode subtasks, Cursor sub-composers) are STRICTLY FORBIDDEN from acting as swarm workers. NEVER pair a persona with internal subagents.
|
|
48
|
+
</CRITICAL>
|
|
49
|
+
|
|
44
50
|
| Role Mandate | Recommended Harness | Recommended Model Tier | Rationale |
|
|
45
51
|
| :--- | :--- | :--- | :--- |
|
|
46
|
-
| **Architectural Design & Systems Modeling** | **Antigravity** or **OpenCode** | **Gemini 3.8 Flash** or **Claude 3.5 Sonnet** | Fast token throughput, deep reasoning, superior multi-file architectural comprehension, and native background ear support. |
|
|
47
|
-
| **Adversarial Audit & Code Quality Purism** | **Claude Code CLI** | **Claude 3 Opus** or **Claude 3.5 Sonnet** | Uncompromising adherence to instructions, meticulous attention to negative controls, zero tolerance for superficial green tests. |
|
|
48
|
-
| **DevEx, Rapid Prototyping & Implementation** | **Antigravity** | **Gemini 3.8 Flash** | Native reactive tool execution (`run_command`), rapid file modification, direct terminal feedback. |
|
|
49
|
-
| **Hermetic / Local Security Analysis** | **Headless Terminal Worker** | **Ollama / Local DeepSeek-R1** | Air-gapped execution for proprietary credentials, licensing checks, or sensitive security audits. |
|
|
52
|
+
| **Architectural Design & Systems Modeling** | **Antigravity (Dedicated Window)** or **OpenCode (Dedicated Session)** | **Gemini 3.8 Flash** or **Claude 3.5 Sonnet** | Fast token throughput, deep reasoning, superior multi-file architectural comprehension, and native background ear support. |
|
|
53
|
+
| **Adversarial Audit & Code Quality Purism** | **Claude Code CLI (Dedicated Tab)** | **Claude 3 Opus** or **Claude 3.5 Sonnet** | Uncompromising adherence to instructions, meticulous attention to negative controls, zero tolerance for superficial green tests. |
|
|
54
|
+
| **DevEx, Rapid Prototyping & Implementation** | **Antigravity (Dedicated Window)** | **Gemini 3.8 Flash** | Native reactive tool execution (`run_command`), rapid file modification, direct terminal feedback. |
|
|
55
|
+
| **Hermetic / Local Security Analysis** | **Headless Terminal Worker (Dedicated Tab)** | **Ollama / Local DeepSeek-R1** | Air-gapped execution for proprietary credentials, licensing checks, or sensitive security audits. |
|
|
50
56
|
|
|
51
57
|
---
|
|
52
58
|
|
package/skills/garden/SKILL.md
CHANGED
|
@@ -73,7 +73,11 @@ When an operator initiates a project or requests multi-agent coordination, the s
|
|
|
73
73
|
- *Option 2*: Focused Duo (2 Workers: Implementation Lead `@<project>-implementer`, Adversarial Auditor `@<project>-auditor`).
|
|
74
74
|
- *Option 3*: Custom Swarm (Operator specifies custom roles and headcount).
|
|
75
75
|
3. **Question 3: Available AI Coding Harnesses**:
|
|
76
|
-
- The operator specifies which coding environments they
|
|
76
|
+
- The operator specifies which coding environments they will open dedicated tabs/windows for (Claude Code CLI, OpenCode, Antigravity, Pi, Cursor, Headless Terminal).
|
|
77
|
+
<CRITICAL>
|
|
78
|
+
Sovereign Sessions Only (Universal Subagent Prohibition):
|
|
79
|
+
Swarm workers are ALWAYS sovereign, independent interactive sessions (dedicated terminal tabs, CLI windows, or IDE sessions) bootstrapped via copy-paste prompt cards. Harness-internal subagents (e.g. Antigravity's `invoke_subagent`, Claude Code's `Task`, OpenCode subtasks, Cursor sub-composers) are STRICTLY PROHIBITED as swarm workers across all harnesses. Internal subagents are ephemeral, cannot maintain continuous background listeners, and cause severe context poisoning. NEVER offer or present "subagents" as an option in Question 3 or any other intake question.
|
|
80
|
+
</CRITICAL>
|
|
77
81
|
4. **Question 4: Foundation Model Pairing & Equivalencies**:
|
|
78
82
|
- Recommend optimal models with fallback equivalents:
|
|
79
83
|
- `@<project>-architect`: Gemini 3.8 Flash / Claude 3.5 Sonnet / GPT-4o (deep architecture comprehension).
|
|
@@ -224,7 +228,11 @@ This intake gate applies to ANY request to "work on X", "build Y", "fix Z", or "
|
|
|
224
228
|
</CRITICAL>
|
|
225
229
|
|
|
226
230
|
<INVARIANT>
|
|
227
|
-
|
|
231
|
+
Sovereign Session & Subagent Prohibition: Swarm workers are ALWAYS sovereign, independent interactive sessions (dedicated terminal tabs, CLI windows, or IDE sessions) bootstrapped via Garden 10-backtick prompt cards. Harness-internal subagents (e.g., Antigravity's 'invoke_subagent', Claude Code's 'Task', OpenCode subagents, Cursor sub-composers) are STRICTLY PROHIBITED from acting as cluster swarm workers across all harnesses. Internal subagents are ephemeral, terminate upon single-task completion, cannot maintain persistent blocking listeners ('rhizo listen'), corrupt workspace isolation, and cause severe context poisoning by dumping execution traces back into the parent prompt. When orchestrating or bootstrapping a swarm, an orchestrator must NEVER spawn internal subagents and must NEVER offer "subagents" as a worker execution option during intake.
|
|
232
|
+
</INVARIANT>
|
|
233
|
+
|
|
234
|
+
<INVARIANT>
|
|
235
|
+
Delegation Precedence: When instructed to "delegate", "assign", or "dispatch" work, the Lead Orchestrator MUST route tasks to active cluster workers via Rhizo (`rhizo send <worker>`, `rhizo enqueue queue:<project>:tasks`, or `rhizo task assign/claim`). Harness-internal subagents (e.g. `invoke_subagent`, `Task`, `Agent`) must NEVER be used to fulfill cluster swarm roles; they are restricted solely to transient, single-turn ad-hoc inspections in non-swarm solo chats when the operator explicitly requests a "subagent" by name.
|
|
228
236
|
</INVARIANT>
|
|
229
237
|
|
|
230
238
|
<INVARIANT>
|
|
@@ -37,6 +37,10 @@ description: "Generates and formats X distinct copy-pasteable bootstrap prompts
|
|
|
37
37
|
</CRITICAL>
|
|
38
38
|
5. **Zero Dirty Commits**:
|
|
39
39
|
- Never stage coordination state (`.rhizo.*`, `*.lock`, `.vine.json`, `workspaces/`) into Git.
|
|
40
|
+
6. **Sovereign Dedicated Session Invariant (Universal Subagent Prohibition)**:
|
|
41
|
+
<CRITICAL>
|
|
42
|
+
Swarm workers are ALWAYS sovereign, independent interactive sessions (separate terminal tabs or IDE windows) bootstrapped via Garden 10-backtick prompt cards. Harness-internal subagents (e.g. Antigravity's `invoke_subagent`, Claude Code's `Task`, OpenCode subtasks, Cursor sub-composers) are STRICTLY FORBIDDEN from acting as swarm workers. Prompt cards are generated strictly for human operators to paste into separate sessions. The orchestrator must NEVER attempt to automate prompt cards by feeding them into internal subagents.
|
|
43
|
+
</CRITICAL>
|
|
40
44
|
|
|
41
45
|
---
|
|
42
46
|
|
|
@@ -18,9 +18,9 @@ The main chat session assumes the role of **Lead Orchestrator**:
|
|
|
18
18
|
- **Gated Integration**: Never run `git merge` directly. Only weave branches that have passed both Key 1 (mechanical merge-tree) and Key 2 (live compiler/tests) inside their Vine strands.
|
|
19
19
|
|
|
20
20
|
<CRITICAL>
|
|
21
|
-
Delegation Precedence Invariant:
|
|
21
|
+
Delegation Precedence & Sovereign Session Invariant:
|
|
22
22
|
Whenever instructed to "delegate", "assign", or "dispatch" work, the Lead Orchestrator MUST route tasks to active cluster workers via Rhizo (`rhizo send <worker>`, `rhizo enqueue queue:<project>:tasks`, or `rhizo task assign/claim`).
|
|
23
|
-
NEVER spawn harness-internal subagents (e.g. `invoke_subagent`, `Task
|
|
23
|
+
Cluster workers operate exclusively in dedicated, sovereign sessions bootstrapped via 10-backtick prompt cards. NEVER spawn harness-internal subagents (e.g. `invoke_subagent`, `Task`, OpenCode subtasks) to act as cluster workers. Internal subagents are ephemeral, cannot maintain persistent blocking listeners, and cause severe context poisoning. Harness-internal subagents are restricted solely to transient, single-turn ad-hoc inspections in non-swarm solo chats when the operator explicitly specifies the word "subagent".
|
|
24
24
|
</CRITICAL>
|
|
25
25
|
|
|
26
26
|
<CRITICAL>
|