@axiomantic/garden 0.1.3 → 0.1.5
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 +6 -0
- package/SKILL.md +29 -96
- 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/bin/run.js +4 -1
- package/package.json +2 -1
- package/skills/garden/SKILL.md +29 -96
- package/skills/plan-implementation/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -110,6 +110,12 @@ npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden
|
|
|
110
110
|
npm install -g @axiomantic/garden
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
+
> [!TIP]
|
|
114
|
+
> **Zero-Install Run via NPX**: In restricted or containerized environments where global installation is unavailable, you can run any command directly without installing:
|
|
115
|
+
> ```bash
|
|
116
|
+
> npx -y @axiomantic/garden <command>
|
|
117
|
+
> ```
|
|
118
|
+
|
|
113
119
|
### 3. Repository Coordination Guide
|
|
114
120
|
|
|
115
121
|
Install the Garden multi-agent swarm coordination protocol directly into any project's `AGENTS.md`:
|
package/SKILL.md
CHANGED
|
@@ -5,26 +5,21 @@ description: "Master entrypoint and end-to-end ceremony director for multi-agent
|
|
|
5
5
|
|
|
6
6
|
# Garden: Multi-Agent Swarm Ceremony & Orchestration Engine
|
|
7
7
|
|
|
8
|
-
> **The Sovereign Orchestration Layer for Autonomous AI Swarms**
|
|
9
|
-
> *Where `rhizo` is the transport nervous system and `vine` is the workspace integrator, `garden` is the institutional intellect, deliberation crucible, and master ceremony conductor.*
|
|
10
|
-
|
|
11
8
|
## 0. Prerequisite & Automatic Bootstrapping
|
|
12
9
|
|
|
13
|
-
All swarm ceremonies require
|
|
14
|
-
```bash
|
|
15
|
-
npm install -g @axiomantic/garden
|
|
16
|
-
```
|
|
17
|
-
Or install the full coordination triad:
|
|
10
|
+
All swarm ceremonies require `garden`, `rhizo`, `vine`, and `rift`. If missing, install globally:
|
|
18
11
|
```bash
|
|
19
|
-
npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden
|
|
12
|
+
npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden rift-snapshot
|
|
20
13
|
```
|
|
21
|
-
|
|
14
|
+
|
|
15
|
+
> [!TIP]
|
|
16
|
+
> **Zero-Install Fallback (`npx`)**: In restricted environments where global installation is prohibited, prefix commands with `npx -y @axiomantic/garden <command>`.
|
|
22
17
|
|
|
23
18
|
---
|
|
24
19
|
|
|
25
|
-
## 1.
|
|
20
|
+
## 1. Architecture & Layering
|
|
26
21
|
|
|
27
|
-
Garden
|
|
22
|
+
Garden directs multi-agent swarms using Rhizo for transport and Vine for workspace virtualization:
|
|
28
23
|
|
|
29
24
|
```mermaid
|
|
30
25
|
flowchart TD
|
|
@@ -38,7 +33,7 @@ flowchart TD
|
|
|
38
33
|
|
|
39
34
|
subgraph Infrastructure["Coordination Infrastructure"]
|
|
40
35
|
Rhizo["Rhizo (Redis Bus, Fencing Mutexes, Work Queues)"]
|
|
41
|
-
Vine["Vine (
|
|
36
|
+
Vine["Vine (Rift Strands, Two-Key Gate, Weaving)"]
|
|
42
37
|
end
|
|
43
38
|
|
|
44
39
|
Phase1 --> Phase2 --> Phase3 --> Phase4 --> Phase5
|
|
@@ -52,94 +47,32 @@ flowchart TD
|
|
|
52
47
|
|
|
53
48
|
## 2. The 5-Phase End-to-End Ceremony
|
|
54
49
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
```mermaid
|
|
58
|
-
sequenceDiagram
|
|
59
|
-
autonumber
|
|
60
|
-
actor User as Human Operator
|
|
61
|
-
participant Orch as Main Chat (Orchestrator)
|
|
62
|
-
participant Swarm as Tmux Worker Swarm
|
|
63
|
-
participant Bus as Rhizo (Redis)
|
|
64
|
-
participant Gate as Vine (Strands & Gate)
|
|
65
|
-
|
|
66
|
-
User->>Orch: "garden: implement feature X"
|
|
67
|
-
Note over Orch: Phase 1: Team Calibration
|
|
68
|
-
Orch->>User: Suggests Persona Roster (Roles, Harnesses, Models) via ask_question
|
|
69
|
-
User-->>Orch: Ratifies / Adjusts Roster
|
|
70
|
-
|
|
71
|
-
Note over Orch: Phase 2: Fleet Provisioning
|
|
72
|
-
Orch->>Swarm: Executes launch-workers (tmux panes + Ghostty/Terminal viewer)
|
|
73
|
-
Swarm->>Bus: rhizo open + rhizo listen (Workers armed)
|
|
74
|
-
|
|
75
|
-
Note over Orch: Phase 3: Empirical Dialectic
|
|
76
|
-
Orch->>Swarm: Dispatches dialectical-pump
|
|
77
|
-
Note over Swarm: 1. Research ➔ understanding.md ➔ Fact-Check Gate<br/>2. Architecture ➔ design.md<br/>3. Adversarial Audit ➔ audit_report.md ➔ Remediation
|
|
78
|
-
Swarm-->>Orch: Ratified design.md & cleared audit report
|
|
79
|
-
|
|
80
|
-
Note over Orch: Phase 4: Master Planning
|
|
81
|
-
Orch->>Orch: Authors implementation_plan.md (Locks, Strands, To-Do list)
|
|
82
|
-
|
|
83
|
-
Note over Orch: Phase 5: Swarm Execution & Weaving
|
|
84
|
-
loop For Each Plan Task
|
|
85
|
-
Orch->>Bus: Dispatch task (rhizo send / enqueue)
|
|
86
|
-
Bus->>Swarm: Worker claims lease (rhizo claim)
|
|
87
|
-
Swarm->>Gate: Creates strand (vine new)
|
|
88
|
-
Swarm->>Swarm: Implements code + verifies tests
|
|
89
|
-
Swarm->>Gate: Verifies Two-Key Gate (vine gate)
|
|
90
|
-
Swarm->>Orch: Reports gate pass (rhizo reply)
|
|
91
|
-
Orch->>Gate: Fast-forward merge (vine weave)
|
|
92
|
-
Orch->>Orch: Updates plan checkbox & Harness To-Do
|
|
93
|
-
end
|
|
94
|
-
Orch->>User: Mission Accomplished Summary
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
## 3. Phase Transition Protocols & Quality Gates
|
|
100
|
-
|
|
101
|
-
### Gate 1 $\to$ 2: Persona Ratification Gate
|
|
102
|
-
- **Condition**: Operator has confirmed the roster via `ask_question`.
|
|
103
|
-
- **Artifact**: `garden-swarm.json` persisted in the project directory.
|
|
104
|
-
- **Action**: Call `launch-workers`.
|
|
105
|
-
|
|
106
|
-
### Gate 2 $\to$ 3: Cluster Readiness Gate
|
|
107
|
-
- **Condition**: All worker panes booted, heartbeats active in Redis.
|
|
108
|
-
- **Verification**: `rhizo who --json` confirms 100% of agents online and tagged.
|
|
109
|
-
- **Action**: Call `dialectical-pump`.
|
|
110
|
-
|
|
111
|
-
### Gate 3 $\to$ 4: Design Audit Clearance Gate
|
|
112
|
-
- **Condition**:
|
|
113
|
-
1. `understanding.md` passed the Fact-Check Gate (zero ungrounded claims).
|
|
114
|
-
2. `design.md` authored and debated by the triadic pump.
|
|
115
|
-
3. `audit_report.md` contains 0 open `CRIT` or `BLOCKER` defects.
|
|
116
|
-
- **Action**: Call `plan-implementation`.
|
|
50
|
+
Execute all five phases sequentially. Never skip phases or invert the order.
|
|
117
51
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
52
|
+
| Phase | Sub-Skill | Action | Quality Gate to Proceed |
|
|
53
|
+
| :--- | :--- | :--- | :--- |
|
|
54
|
+
| **Phase 1** | [`choose-personas`](../choose-personas/SKILL.md) | Formulate 3 balanced personas with harness/model pairings. | Operator ratifies `garden-swarm.json`. |
|
|
55
|
+
| **Phase 2** | [`launch-workers`](../launch-workers/SKILL.md) | Provision tmux session, register agents, launch viewer. | `rhizo who --json` confirms 100% of workers active. |
|
|
56
|
+
| **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`. |
|
|
57
|
+
| **Phase 4** | [`plan-implementation`](../plan-implementation/SKILL.md) | Author master implementation plan with locking schedules and strands. | Complete `implementation_plan.md` with task-locking matrix. |
|
|
58
|
+
| **Phase 5** | [`orchestrate-swarm`](../orchestrate-swarm/SKILL.md) | Main-chat governor: task dispatch, heartbeat monitoring, trunk weaving. | All plan tasks woven via `vine weave` after passing Two-Key Gate. |
|
|
121
59
|
|
|
122
60
|
---
|
|
123
61
|
|
|
124
|
-
##
|
|
125
|
-
|
|
126
|
-
When executing Garden, invoke the sub-skills at their designated phases:
|
|
62
|
+
## 3. Core Operational Invariants
|
|
127
63
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
| **Phase 2** | [`launch-workers`](../launch-workers/SKILL.md) | Provisions tmux session with worker panes, registers `rhizo open`, arms listeners, and launches OS terminal viewer (Ghostty / Terminal.app). | Live tmux session, visible terminal |
|
|
132
|
-
| **Phase 3** | [`dialectical-pump`](../dialectical-pump/SKILL.md) | Drives empirical multi-persona debate grounded in tool calls (file reading, test running, AST inspecting). Produces research, design, and audit docs. | `understanding.md`, `design.md`, `audit_report.md` |
|
|
133
|
-
| **Phase 4** | [`plan-implementation`](../plan-implementation/SKILL.md) | Authors master implementation plan detailing task assignments, `rhizo` locks (`--fencing`), `vine` strands, dynamic checkboxes, and To-Do tracking. | `implementation_plan.md` |
|
|
134
|
-
| **Phase 5** | [`orchestrate-swarm`](../orchestrate-swarm/SKILL.md) | Main-chat governor: dispatches tasks over Redis, tracks heartbeats, approves emergent design addenda, and executes `vine weave` upon Two-Key gate pass. | Completed code, woven trunk, git commits |
|
|
64
|
+
<CRITICAL>
|
|
65
|
+
The primary conversation session acts as the Supreme Orchestrator. The orchestrator directs, reviews, and weaves; it never performs large multi-file implementation edits directly when a worker fleet is active.
|
|
66
|
+
</CRITICAL>
|
|
135
67
|
|
|
136
|
-
|
|
68
|
+
<INVARIANT>
|
|
69
|
+
Zero Theatrical Dialogue: Every dialectical assertion must be substantiated with empirical evidence obtained through tool calls (file reading, test executions, benchmarks, or AST inspections). Theoretical roleplay without evidence is rejected.
|
|
70
|
+
</INVARIANT>
|
|
137
71
|
|
|
138
|
-
|
|
72
|
+
<INVARIANT>
|
|
73
|
+
Never merge code into the canonical trunk without a verified Two-Key Gate pass ('vine gate' exit code 0) inside an isolated Rift strand.
|
|
74
|
+
</INVARIANT>
|
|
139
75
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
In dialectical deliberations, every assertion must be backed by empirical evidence (line citations, test execution outputs, compiler errors).
|
|
144
|
-
3. **No Unmanaged Daemons / Zero Dirty Commits**:
|
|
145
|
-
All coordination metadata (`.rhizo.*`, `.vine.*`, `*.lock`) must remain in `.gitignore`. Workers must adhere to the Two-Key Gate before any code touches the canonical trunk.
|
|
76
|
+
<FORBIDDEN>
|
|
77
|
+
Never stage coordination metadata (*.lock, .rhizo.*, .vine.json, workspaces/) into Git. Keep all agent state ignored.
|
|
78
|
+
</FORBIDDEN>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/run.js
CHANGED
|
@@ -59,8 +59,10 @@ function resolveBinary() {
|
|
|
59
59
|
const arch = process.arch === 'arm64' ? 'arm64' : 'amd64';
|
|
60
60
|
const platform = process.platform === 'darwin' ? 'darwin' : (process.platform === 'linux' ? 'linux' : 'windows');
|
|
61
61
|
|
|
62
|
-
// 1. Check local/bundled locations
|
|
62
|
+
// 1. Check local/bundled locations (Fat-Package and local builds)
|
|
63
63
|
const candidates = [
|
|
64
|
+
path.join(__dirname, 'binaries', `${PKG_NAME}-${process.platform}-${process.arch}${ext}`),
|
|
65
|
+
path.join(__dirname, 'binaries', `${PKG_NAME}-${process.platform}-${process.arch === 'x64' ? 'amd64' : process.arch}${ext}`),
|
|
64
66
|
path.join(__dirname, `${PKG_NAME}-${process.platform}-${process.arch}${ext}`),
|
|
65
67
|
path.join(__dirname, `${PKG_NAME}${ext}`),
|
|
66
68
|
path.join(__dirname, '..', 'vendor', 'bin', `${PKG_NAME}${ext}`),
|
|
@@ -68,6 +70,7 @@ function resolveBinary() {
|
|
|
68
70
|
|
|
69
71
|
for (const cand of candidates) {
|
|
70
72
|
if (isCompatibleBinary(cand)) {
|
|
73
|
+
try { fs.chmodSync(cand, 0o755); } catch (_) {}
|
|
71
74
|
return cand;
|
|
72
75
|
}
|
|
73
76
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiomantic/garden",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine",
|
|
5
5
|
"main": "bin/run.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"skills": "./skills",
|
|
10
10
|
"files": [
|
|
11
11
|
"bin/run.js",
|
|
12
|
+
"bin/binaries/",
|
|
12
13
|
"scripts/",
|
|
13
14
|
"skills/",
|
|
14
15
|
"SKILL.md",
|
package/skills/garden/SKILL.md
CHANGED
|
@@ -5,26 +5,21 @@ description: "Master entrypoint and end-to-end ceremony director for multi-agent
|
|
|
5
5
|
|
|
6
6
|
# Garden: Multi-Agent Swarm Ceremony & Orchestration Engine
|
|
7
7
|
|
|
8
|
-
> **The Sovereign Orchestration Layer for Autonomous AI Swarms**
|
|
9
|
-
> *Where `rhizo` is the transport nervous system and `vine` is the workspace integrator, `garden` is the institutional intellect, deliberation crucible, and master ceremony conductor.*
|
|
10
|
-
|
|
11
8
|
## 0. Prerequisite & Automatic Bootstrapping
|
|
12
9
|
|
|
13
|
-
All swarm ceremonies require
|
|
14
|
-
```bash
|
|
15
|
-
npm install -g @axiomantic/garden
|
|
16
|
-
```
|
|
17
|
-
Or install the full coordination triad:
|
|
10
|
+
All swarm ceremonies require `garden`, `rhizo`, `vine`, and `rift`. If missing, install globally:
|
|
18
11
|
```bash
|
|
19
|
-
npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden
|
|
12
|
+
npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden rift-snapshot
|
|
20
13
|
```
|
|
21
|
-
|
|
14
|
+
|
|
15
|
+
> [!TIP]
|
|
16
|
+
> **Zero-Install Fallback (`npx`)**: In restricted environments where global installation is prohibited, prefix commands with `npx -y @axiomantic/garden <command>`.
|
|
22
17
|
|
|
23
18
|
---
|
|
24
19
|
|
|
25
|
-
## 1.
|
|
20
|
+
## 1. Architecture & Layering
|
|
26
21
|
|
|
27
|
-
Garden
|
|
22
|
+
Garden directs multi-agent swarms using Rhizo for transport and Vine for workspace virtualization:
|
|
28
23
|
|
|
29
24
|
```mermaid
|
|
30
25
|
flowchart TD
|
|
@@ -38,7 +33,7 @@ flowchart TD
|
|
|
38
33
|
|
|
39
34
|
subgraph Infrastructure["Coordination Infrastructure"]
|
|
40
35
|
Rhizo["Rhizo (Redis Bus, Fencing Mutexes, Work Queues)"]
|
|
41
|
-
Vine["Vine (
|
|
36
|
+
Vine["Vine (Rift Strands, Two-Key Gate, Weaving)"]
|
|
42
37
|
end
|
|
43
38
|
|
|
44
39
|
Phase1 --> Phase2 --> Phase3 --> Phase4 --> Phase5
|
|
@@ -52,94 +47,32 @@ flowchart TD
|
|
|
52
47
|
|
|
53
48
|
## 2. The 5-Phase End-to-End Ceremony
|
|
54
49
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
```mermaid
|
|
58
|
-
sequenceDiagram
|
|
59
|
-
autonumber
|
|
60
|
-
actor User as Human Operator
|
|
61
|
-
participant Orch as Main Chat (Orchestrator)
|
|
62
|
-
participant Swarm as Tmux Worker Swarm
|
|
63
|
-
participant Bus as Rhizo (Redis)
|
|
64
|
-
participant Gate as Vine (Strands & Gate)
|
|
65
|
-
|
|
66
|
-
User->>Orch: "garden: implement feature X"
|
|
67
|
-
Note over Orch: Phase 1: Team Calibration
|
|
68
|
-
Orch->>User: Suggests Persona Roster (Roles, Harnesses, Models) via ask_question
|
|
69
|
-
User-->>Orch: Ratifies / Adjusts Roster
|
|
70
|
-
|
|
71
|
-
Note over Orch: Phase 2: Fleet Provisioning
|
|
72
|
-
Orch->>Swarm: Executes launch-workers (tmux panes + Ghostty/Terminal viewer)
|
|
73
|
-
Swarm->>Bus: rhizo open + rhizo listen (Workers armed)
|
|
74
|
-
|
|
75
|
-
Note over Orch: Phase 3: Empirical Dialectic
|
|
76
|
-
Orch->>Swarm: Dispatches dialectical-pump
|
|
77
|
-
Note over Swarm: 1. Research ➔ understanding.md ➔ Fact-Check Gate<br/>2. Architecture ➔ design.md<br/>3. Adversarial Audit ➔ audit_report.md ➔ Remediation
|
|
78
|
-
Swarm-->>Orch: Ratified design.md & cleared audit report
|
|
79
|
-
|
|
80
|
-
Note over Orch: Phase 4: Master Planning
|
|
81
|
-
Orch->>Orch: Authors implementation_plan.md (Locks, Strands, To-Do list)
|
|
82
|
-
|
|
83
|
-
Note over Orch: Phase 5: Swarm Execution & Weaving
|
|
84
|
-
loop For Each Plan Task
|
|
85
|
-
Orch->>Bus: Dispatch task (rhizo send / enqueue)
|
|
86
|
-
Bus->>Swarm: Worker claims lease (rhizo claim)
|
|
87
|
-
Swarm->>Gate: Creates strand (vine new)
|
|
88
|
-
Swarm->>Swarm: Implements code + verifies tests
|
|
89
|
-
Swarm->>Gate: Verifies Two-Key Gate (vine gate)
|
|
90
|
-
Swarm->>Orch: Reports gate pass (rhizo reply)
|
|
91
|
-
Orch->>Gate: Fast-forward merge (vine weave)
|
|
92
|
-
Orch->>Orch: Updates plan checkbox & Harness To-Do
|
|
93
|
-
end
|
|
94
|
-
Orch->>User: Mission Accomplished Summary
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
## 3. Phase Transition Protocols & Quality Gates
|
|
100
|
-
|
|
101
|
-
### Gate 1 $\to$ 2: Persona Ratification Gate
|
|
102
|
-
- **Condition**: Operator has confirmed the roster via `ask_question`.
|
|
103
|
-
- **Artifact**: `garden-swarm.json` persisted in the project directory.
|
|
104
|
-
- **Action**: Call `launch-workers`.
|
|
105
|
-
|
|
106
|
-
### Gate 2 $\to$ 3: Cluster Readiness Gate
|
|
107
|
-
- **Condition**: All worker panes booted, heartbeats active in Redis.
|
|
108
|
-
- **Verification**: `rhizo who --json` confirms 100% of agents online and tagged.
|
|
109
|
-
- **Action**: Call `dialectical-pump`.
|
|
110
|
-
|
|
111
|
-
### Gate 3 $\to$ 4: Design Audit Clearance Gate
|
|
112
|
-
- **Condition**:
|
|
113
|
-
1. `understanding.md` passed the Fact-Check Gate (zero ungrounded claims).
|
|
114
|
-
2. `design.md` authored and debated by the triadic pump.
|
|
115
|
-
3. `audit_report.md` contains 0 open `CRIT` or `BLOCKER` defects.
|
|
116
|
-
- **Action**: Call `plan-implementation`.
|
|
50
|
+
Execute all five phases sequentially. Never skip phases or invert the order.
|
|
117
51
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
52
|
+
| Phase | Sub-Skill | Action | Quality Gate to Proceed |
|
|
53
|
+
| :--- | :--- | :--- | :--- |
|
|
54
|
+
| **Phase 1** | [`choose-personas`](../choose-personas/SKILL.md) | Formulate 3 balanced personas with harness/model pairings. | Operator ratifies `garden-swarm.json`. |
|
|
55
|
+
| **Phase 2** | [`launch-workers`](../launch-workers/SKILL.md) | Provision tmux session, register agents, launch viewer. | `rhizo who --json` confirms 100% of workers active. |
|
|
56
|
+
| **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`. |
|
|
57
|
+
| **Phase 4** | [`plan-implementation`](../plan-implementation/SKILL.md) | Author master implementation plan with locking schedules and strands. | Complete `implementation_plan.md` with task-locking matrix. |
|
|
58
|
+
| **Phase 5** | [`orchestrate-swarm`](../orchestrate-swarm/SKILL.md) | Main-chat governor: task dispatch, heartbeat monitoring, trunk weaving. | All plan tasks woven via `vine weave` after passing Two-Key Gate. |
|
|
121
59
|
|
|
122
60
|
---
|
|
123
61
|
|
|
124
|
-
##
|
|
125
|
-
|
|
126
|
-
When executing Garden, invoke the sub-skills at their designated phases:
|
|
62
|
+
## 3. Core Operational Invariants
|
|
127
63
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
| **Phase 2** | [`launch-workers`](../launch-workers/SKILL.md) | Provisions tmux session with worker panes, registers `rhizo open`, arms listeners, and launches OS terminal viewer (Ghostty / Terminal.app). | Live tmux session, visible terminal |
|
|
132
|
-
| **Phase 3** | [`dialectical-pump`](../dialectical-pump/SKILL.md) | Drives empirical multi-persona debate grounded in tool calls (file reading, test running, AST inspecting). Produces research, design, and audit docs. | `understanding.md`, `design.md`, `audit_report.md` |
|
|
133
|
-
| **Phase 4** | [`plan-implementation`](../plan-implementation/SKILL.md) | Authors master implementation plan detailing task assignments, `rhizo` locks (`--fencing`), `vine` strands, dynamic checkboxes, and To-Do tracking. | `implementation_plan.md` |
|
|
134
|
-
| **Phase 5** | [`orchestrate-swarm`](../orchestrate-swarm/SKILL.md) | Main-chat governor: dispatches tasks over Redis, tracks heartbeats, approves emergent design addenda, and executes `vine weave` upon Two-Key gate pass. | Completed code, woven trunk, git commits |
|
|
64
|
+
<CRITICAL>
|
|
65
|
+
The primary conversation session acts as the Supreme Orchestrator. The orchestrator directs, reviews, and weaves; it never performs large multi-file implementation edits directly when a worker fleet is active.
|
|
66
|
+
</CRITICAL>
|
|
135
67
|
|
|
136
|
-
|
|
68
|
+
<INVARIANT>
|
|
69
|
+
Zero Theatrical Dialogue: Every dialectical assertion must be substantiated with empirical evidence obtained through tool calls (file reading, test executions, benchmarks, or AST inspections). Theoretical roleplay without evidence is rejected.
|
|
70
|
+
</INVARIANT>
|
|
137
71
|
|
|
138
|
-
|
|
72
|
+
<INVARIANT>
|
|
73
|
+
Never merge code into the canonical trunk without a verified Two-Key Gate pass ('vine gate' exit code 0) inside an isolated Rift strand.
|
|
74
|
+
</INVARIANT>
|
|
139
75
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
In dialectical deliberations, every assertion must be backed by empirical evidence (line citations, test execution outputs, compiler errors).
|
|
144
|
-
3. **No Unmanaged Daemons / Zero Dirty Commits**:
|
|
145
|
-
All coordination metadata (`.rhizo.*`, `.vine.*`, `*.lock`) must remain in `.gitignore`. Workers must adhere to the Two-Key Gate before any code touches the canonical trunk.
|
|
76
|
+
<FORBIDDEN>
|
|
77
|
+
Never stage coordination metadata (*.lock, .rhizo.*, .vine.json, workspaces/) into Git. Keep all agent state ignored.
|
|
78
|
+
</FORBIDDEN>
|
|
@@ -16,7 +16,7 @@ The Orchestrator authors `implementation_plan.md` adhering to four core invarian
|
|
|
16
16
|
|
|
17
17
|
1. **Deterministic Assignment**: Every subtask has exactly one primary persona owner.
|
|
18
18
|
2. **Resource Fencing Before Mutation**: Any non-mergeable resource (e.g. database schemas, configuration files, migration scripts) must have an explicit `rhizo lock file:<path> --fencing` lease scheduled before modification begins.
|
|
19
|
-
3. **Workspace Isolation via Vine**: Complex, multi-file changes must occur in isolated
|
|
19
|
+
3. **Workspace Isolation via Vine**: Complex, multi-file changes must occur in isolated Rift strands (`vine new <task_id>`). Strands cannot be woven until passing the Two-Key Gate (`vine gate`).
|
|
20
20
|
4. **Zero Silent Architectural Drift**: If an implementer encounters an unforeseen constraint during coding, it cannot unilaterally alter the architecture. It must submit a formal design addendum.
|
|
21
21
|
|
|
22
22
|
---
|