@axiomantic/garden 0.2.16 → 0.2.17
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/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/garden/SKILL.md +3 -3
- package/skills/launch-workers/SKILL.md +11 -8
package/README.md
CHANGED
|
@@ -189,11 +189,11 @@ Garden utilizes the **Active Swarm Fast-Path (First-Look Invariant)**:
|
|
|
189
189
|
> - **Session-Native Model Inheritance**: Swarm workers inherit whatever foundation model is active in that harness window (`Session Default (active in window/tab)`). Disconnected model pairing quizzes are eliminated.
|
|
190
190
|
|
|
191
191
|
### 3. Prompt-Based Swarm Bootstrapping (`launch-workers`)
|
|
192
|
-
Garden writes `garden-swarm.json` and runs `garden prompts` to
|
|
193
|
-
- The Orchestrator
|
|
194
|
-
1. Open **Tab 1 / Window 1**:
|
|
195
|
-
2. Open **Tab 2 / Window 2**:
|
|
196
|
-
3. Open **Tab 3 / Window 3**:
|
|
192
|
+
Garden writes `garden-swarm.json` and runs `garden prompts` to write prompt cards directly to temporary files (`/tmp/garden-<project>/<worker>.md`) rather than flooding the chat window with thousands of lines of raw text:
|
|
193
|
+
- The Orchestrator displays concise session assignments with clickable file links and OS copy commands:
|
|
194
|
+
1. Open **Tab 1 / Window 1**: Paste Prompt 1 (`pbcopy < /tmp/garden-<project>/<project>-auditor.md`)
|
|
195
|
+
2. Open **Tab 2 / Window 2**: Paste Prompt 2 (`pbcopy < /tmp/garden-<project>/<project>-architect.md`)
|
|
196
|
+
3. Open **Tab 3 / Window 3**: Paste Prompt 3 (`pbcopy < /tmp/garden-<project>/<project>-implementer.md`)
|
|
197
197
|
- Each session enters the project directory, exports `RHIZO_AGENT_NAME`, registers on the Redis bus (`rhizo open`), and arms its single-shot listener (`rhizo listen`).
|
|
198
198
|
- The Orchestrator confirms all workers are live via `rhizo who --json` before dispatching tasks!
|
|
199
199
|
|
|
@@ -220,8 +220,8 @@ The main chat orchestrator dispatches work over Redis. Workers code in isolated
|
|
|
220
220
|
| :--- | :--- | :--- |
|
|
221
221
|
| `garden plant` | `"<description>" [--season <name>] [--sunlight <level>] [--tags <csv>] [--list] [--json]` | Sow a roadmap seed to `.garden/seeds/<id>.toml` or list sown seeds. |
|
|
222
222
|
| `garden germinate` | `<dispatch\|prompt\|inline\|status> <seed_id>` | Deterministically germinate a seed via Rhizo work queues, prompt cards, inline pump, or status query. |
|
|
223
|
-
| `garden prompts` | `[--worker <name>] [--write [file]] [--json] [--project-dir <dir>] [--swarm-file <file>]` | Generate
|
|
224
|
-
| `garden launch` | `[--worker <name>] [--write [file]] [--json] [--project-dir <dir>] [--swarm-file <file>]` | Bootstrap swarm worker sessions (
|
|
223
|
+
| `garden prompts` | `[--worker <name>] [--inline] [--write [file]] [--json] [--project-dir <dir>] [--swarm-file <file>]` | Generate bootstrap prompt cards (written to /tmp/garden-<project>/ by default; pass --inline for stdout). |
|
|
224
|
+
| `garden launch` | `[--worker <name>] [--inline] [--write [file]] [--json] [--project-dir <dir>] [--swarm-file <file>]` | Bootstrap swarm worker sessions (writes prompt cards to /tmp/garden-<project>/). |
|
|
225
225
|
| `garden status` | `[--json]` | Telemetry query across active Rhizo agents, listener status, and Vine strands. |
|
|
226
226
|
| `garden init` | `[<target_dir>] [--force]` | Initialize `garden.toml`, docs scaffold, and install guide in `AGENTS.md`. |
|
|
227
227
|
| `garden teardown`| `[--swarm-file <file>]` | Gracefully close registered swarm agents on the Redis bus. |
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/skills/garden/SKILL.md
CHANGED
|
@@ -129,11 +129,11 @@ Swarm workers operate in sovereign interactive sessions and inherit whatever fou
|
|
|
129
129
|
Upon receiving the operator's response:
|
|
130
130
|
1. Run `garden init` if `garden.toml` or `AGENTS.md` is not yet initialized.
|
|
131
131
|
2. Generate `garden-swarm.json` reflecting the chosen workers, roles, detected harness, and session-default models.
|
|
132
|
-
3. Run `garden prompts`
|
|
133
|
-
4. Present the operator with
|
|
132
|
+
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`.
|
|
133
|
+
4. Present the operator with concise setup instructions and copy commands (NEVER paste prompt cards inline in chat):
|
|
134
134
|
```text
|
|
135
135
|
1. Open X terminal tabs or windows in your detected coding harness.
|
|
136
|
-
2. Copy
|
|
136
|
+
2. Copy each worker's prompt card from its file (e.g. `pbcopy < /tmp/garden-<project>/<worker>.md`) and paste into its session.
|
|
137
137
|
3. Once pasted, tell me here (or I will automatically detect them online via `rhizo who`).
|
|
138
138
|
```
|
|
139
139
|
5. Register the orchestrator's presence (`rhizo open <project>-orchestrator`) and arm the listener.
|
|
@@ -15,13 +15,12 @@ description: "Generates and formats X distinct copy-pasteable bootstrap prompts
|
|
|
15
15
|
1. **Human-in-the-Loop Sovereign Session Autonomy**:
|
|
16
16
|
- Terminal multiplexers (tmux) are unsupported. We do not blindly spawn tmux background processes or attempt to drive terminal multiplexers with fragile subshell scripting.
|
|
17
17
|
- Workers run in sovereign, independent interactive sessions (dedicated terminal tabs or IDE windows) in the operator's active coding harness.
|
|
18
|
-
2. **
|
|
18
|
+
2. **Prompt Card Temp File Delivery (Zero Chat Flooding)**:
|
|
19
19
|
<CRITICAL>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
``````````
|
|
24
|
-
This guarantees that nested backtick fences (```bash) and internal markdown headers inside the prompts do NOT prematurely terminate the code block or render markdown, preserving pristine raw text for one-click clipboard copying.
|
|
20
|
+
`garden prompts` and `garden launch` automatically write worker prompt cards to `/tmp/garden-<project>/<worker-name>.md` and a combined roster to `/tmp/garden-<project>/all-workers.md`.
|
|
21
|
+
Orchestrator agents MUST NEVER dump thousands of lines of prompt text inline into the chat conversation. Dumping cards inline exhausts token context budgets, causes scrolling fatigue, and triggers chat UI rendering bugs.
|
|
22
|
+
Instead, orchestrators MUST output concise session assignments with clickable file links and OS-calibrated clipboard copy commands (e.g. `pbcopy < /tmp/garden-<project>/<worker>.md`).
|
|
23
|
+
Inside the generated files and when `--inline` is passed, blocks are wrapped in 10 backticks (``````````markdown) to protect nested markdown and shell code blocks.
|
|
25
24
|
</CRITICAL>
|
|
26
25
|
3. **Single-Shot Listener Discipline**:
|
|
27
26
|
<CRITICAL>
|
|
@@ -103,8 +102,12 @@ The Orchestrator presents the generated prompt blocks to the operator with clear
|
|
|
103
102
|
- **Session 3 (@<project>-implementer)**: e.g. Antigravity IDE (Window 3) or OpenCode $\to$ Paste Card 3
|
|
104
103
|
2. **Harness & Model Agnostic Flexibility**:
|
|
105
104
|
Explicitly reassure the operator: *"Workers can run in ANY coding harness (Antigravity, Claude Code, OpenCode, Pi, Cursor) and inherit the active model configured in that window/session. Coordination occurs strictly over Rhizo (local Redis) and Vine (Rift strands)."*
|
|
106
|
-
3. **
|
|
107
|
-
|
|
105
|
+
3. **Temp File Links & Clipboard Copy Commands (Zero Inline Chat Flooding)**:
|
|
106
|
+
NEVER paste the multi-page prompt card bodies inline into chat. Output the concise list of workers with clickable file links and OS-calibrated clipboard copy commands:
|
|
107
|
+
- **@<project>-architect**: `pbcopy < /tmp/garden-<project>/<project>-architect.md`
|
|
108
|
+
- **@<project>-auditor**: `pbcopy < /tmp/garden-<project>/<project>-auditor.md`
|
|
109
|
+
- **@<project>-implementer**: `pbcopy < /tmp/garden-<project>/<project>-implementer.md`
|
|
110
|
+
- **All Combined**: `/tmp/garden-<project>/all-workers.md`
|
|
108
111
|
4. **Immediate Autonomous Onboarding**:
|
|
109
112
|
Each prompt instructs the pasted session to immediately:
|
|
110
113
|
- `cd "<project_dir>"`
|