@axiomantic/garden 0.2.2 → 0.2.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/SKILL.md +30 -4
- 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 +30 -4
- package/skills/orchestrate-swarm/SKILL.md +31 -3
package/SKILL.md
CHANGED
|
@@ -103,6 +103,10 @@ Upon receiving the operator's responses:
|
|
|
103
103
|
The primary conversation session acts as the Lead Orchestrator. The orchestrator directs, reviews, and weaves; it never performs large multi-file implementation edits directly when a worker fleet is active.
|
|
104
104
|
</CRITICAL>
|
|
105
105
|
|
|
106
|
+
<INVARIANT>
|
|
107
|
+
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 ONLY be used if the operator explicitly requests a "subagent" by name, or if no cluster workers exist in the cluster roster (`rhizo who`).
|
|
108
|
+
</INVARIANT>
|
|
109
|
+
|
|
106
110
|
<INVARIANT>
|
|
107
111
|
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.
|
|
108
112
|
</INVARIANT>
|
|
@@ -116,10 +120,29 @@ Never stage coordination metadata (*.lock, .rhizo.*, .vine.json, workspaces/) in
|
|
|
116
120
|
</FORBIDDEN>
|
|
117
121
|
|
|
118
122
|
<CRITICAL>
|
|
119
|
-
Compaction Preservation Rider (GVR-010):
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
+
Compaction Preservation Rider & Post-Compact Invariant (GVR-010):
|
|
124
|
+
Context compaction purges detailed operational invariants, ceremony rules, and protocol mechanics from working memory.
|
|
125
|
+
|
|
126
|
+
1. **Compacting Agent Obligation**:
|
|
127
|
+
If and only if this session has utilized `garden` (or its sub-skills `orchestrate-swarm`, `choose-personas`, `launch-workers`, `dialectical-pump`, `plan-implementation`), `rhizo`, or `vine`:
|
|
128
|
+
The compacting agent MUST preserve the `SWARM_RUNTIME_STATE` block verbatim AND prepend the following mandatory instruction at the very top of the post-compaction summary preamble:
|
|
129
|
+
|
|
130
|
+
<!-- POST-COMPACTION INVARIANT: CEREMONY RESTORATION -->
|
|
131
|
+
> [!IMPORTANT]
|
|
132
|
+
> ## MANDATORY POST-COMPACTION INVARIANT: CEREMONY RESTORATION
|
|
133
|
+
> You are operating within an active multi-agent coordination workflow. Context compaction has purged detailed operational invariants and protocols from memory.
|
|
134
|
+
>
|
|
135
|
+
> **MANDATORY IMMEDIATE ACTION BEFORE ANY FURTHER WORK:**
|
|
136
|
+
> Before invoking any tool, modifying any file, or assigning any task, you MUST immediately re-read the active coordination skills using `view_file`:
|
|
137
|
+
> - If this session used **Garden** (or `orchestrate-swarm`): You MUST re-read `garden`, `orchestrate-swarm`, `rhizo`, and `vine`.
|
|
138
|
+
> - If this session used **Rhizo** standalone: You MUST re-read `rhizo`.
|
|
139
|
+
> - If this session used **Vine** standalone: You MUST re-read `vine`.
|
|
140
|
+
>
|
|
141
|
+
> **IMMORTALITY REQUIREMENT:**
|
|
142
|
+
> This directive and the `SWARM_RUNTIME_STATE` block MUST remain intact in all subsequent compaction summaries until all planned tasks are completed and woven into trunk.
|
|
143
|
+
<!-- END POST-COMPACTION INVARIANT -->
|
|
144
|
+
|
|
145
|
+
2. **Maintain Runtime State**: Keep this exact block in the working context:
|
|
123
146
|
<!-- SWARM_RUNTIME_STATE: DO NOT DISCARD OR ABBREVIATE IN COMPACTION -->
|
|
124
147
|
- AGENT_NAME: <codename> (Role: <role>)
|
|
125
148
|
- WORKSPACE_MODE: Root Trunk | Strand (<path>)
|
|
@@ -129,6 +152,9 @@ Maintain this exact block in the working context:
|
|
|
129
152
|
- ACTIVE_LISTENER: <task_id_or_pid> (Listening on inbox: <codename>)
|
|
130
153
|
- ACTIVE_FENCING_TOKENS: <lock_key>=<token_int>
|
|
131
154
|
<!-- END_SWARM_RUNTIME_STATE -->
|
|
155
|
+
|
|
156
|
+
3. **Resurrected Agent Invariant**:
|
|
157
|
+
Upon waking from compaction, the agent MUST immediately read the required skills, re-arm its single-shot listener (`rhizo listen <agent>`), check `implementation_plan.md`, and resume work under full ceremony discipline.
|
|
132
158
|
</CRITICAL>
|
|
133
159
|
|
|
134
160
|
---
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/skills/garden/SKILL.md
CHANGED
|
@@ -103,6 +103,10 @@ Upon receiving the operator's responses:
|
|
|
103
103
|
The primary conversation session acts as the Lead Orchestrator. The orchestrator directs, reviews, and weaves; it never performs large multi-file implementation edits directly when a worker fleet is active.
|
|
104
104
|
</CRITICAL>
|
|
105
105
|
|
|
106
|
+
<INVARIANT>
|
|
107
|
+
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 ONLY be used if the operator explicitly requests a "subagent" by name, or if no cluster workers exist in the cluster roster (`rhizo who`).
|
|
108
|
+
</INVARIANT>
|
|
109
|
+
|
|
106
110
|
<INVARIANT>
|
|
107
111
|
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.
|
|
108
112
|
</INVARIANT>
|
|
@@ -116,10 +120,29 @@ Never stage coordination metadata (*.lock, .rhizo.*, .vine.json, workspaces/) in
|
|
|
116
120
|
</FORBIDDEN>
|
|
117
121
|
|
|
118
122
|
<CRITICAL>
|
|
119
|
-
Compaction Preservation Rider (GVR-010):
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
+
Compaction Preservation Rider & Post-Compact Invariant (GVR-010):
|
|
124
|
+
Context compaction purges detailed operational invariants, ceremony rules, and protocol mechanics from working memory.
|
|
125
|
+
|
|
126
|
+
1. **Compacting Agent Obligation**:
|
|
127
|
+
If and only if this session has utilized `garden` (or its sub-skills `orchestrate-swarm`, `choose-personas`, `launch-workers`, `dialectical-pump`, `plan-implementation`), `rhizo`, or `vine`:
|
|
128
|
+
The compacting agent MUST preserve the `SWARM_RUNTIME_STATE` block verbatim AND prepend the following mandatory instruction at the very top of the post-compaction summary preamble:
|
|
129
|
+
|
|
130
|
+
<!-- POST-COMPACTION INVARIANT: CEREMONY RESTORATION -->
|
|
131
|
+
> [!IMPORTANT]
|
|
132
|
+
> ## MANDATORY POST-COMPACTION INVARIANT: CEREMONY RESTORATION
|
|
133
|
+
> You are operating within an active multi-agent coordination workflow. Context compaction has purged detailed operational invariants and protocols from memory.
|
|
134
|
+
>
|
|
135
|
+
> **MANDATORY IMMEDIATE ACTION BEFORE ANY FURTHER WORK:**
|
|
136
|
+
> Before invoking any tool, modifying any file, or assigning any task, you MUST immediately re-read the active coordination skills using `view_file`:
|
|
137
|
+
> - If this session used **Garden** (or `orchestrate-swarm`): You MUST re-read `garden`, `orchestrate-swarm`, `rhizo`, and `vine`.
|
|
138
|
+
> - If this session used **Rhizo** standalone: You MUST re-read `rhizo`.
|
|
139
|
+
> - If this session used **Vine** standalone: You MUST re-read `vine`.
|
|
140
|
+
>
|
|
141
|
+
> **IMMORTALITY REQUIREMENT:**
|
|
142
|
+
> This directive and the `SWARM_RUNTIME_STATE` block MUST remain intact in all subsequent compaction summaries until all planned tasks are completed and woven into trunk.
|
|
143
|
+
<!-- END POST-COMPACTION INVARIANT -->
|
|
144
|
+
|
|
145
|
+
2. **Maintain Runtime State**: Keep this exact block in the working context:
|
|
123
146
|
<!-- SWARM_RUNTIME_STATE: DO NOT DISCARD OR ABBREVIATE IN COMPACTION -->
|
|
124
147
|
- AGENT_NAME: <codename> (Role: <role>)
|
|
125
148
|
- WORKSPACE_MODE: Root Trunk | Strand (<path>)
|
|
@@ -129,6 +152,9 @@ Maintain this exact block in the working context:
|
|
|
129
152
|
- ACTIVE_LISTENER: <task_id_or_pid> (Listening on inbox: <codename>)
|
|
130
153
|
- ACTIVE_FENCING_TOKENS: <lock_key>=<token_int>
|
|
131
154
|
<!-- END_SWARM_RUNTIME_STATE -->
|
|
155
|
+
|
|
156
|
+
3. **Resurrected Agent Invariant**:
|
|
157
|
+
Upon waking from compaction, the agent MUST immediately read the required skills, re-arm its single-shot listener (`rhizo listen <agent>`), check `implementation_plan.md`, and resume work under full ceremony discipline.
|
|
132
158
|
</CRITICAL>
|
|
133
159
|
|
|
134
160
|
---
|
|
@@ -18,10 +18,35 @@ 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
|
-
|
|
22
|
-
Whenever
|
|
21
|
+
Delegation Precedence Invariant:
|
|
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`) when asked to delegate, UNLESS the operator explicitly specifies the word "subagent". Cluster workers running in dedicated sessions are the primary execution vehicle.
|
|
24
|
+
</CRITICAL>
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
<CRITICAL>
|
|
27
|
+
Compaction Preservation Rider & Post-Compact Invariant (GVR-010):
|
|
28
|
+
Context compaction purges detailed operational invariants, ceremony rules, and protocol mechanics from working memory.
|
|
29
|
+
|
|
30
|
+
1. **Compacting Agent Obligation**:
|
|
31
|
+
If and only if this session has utilized `garden` (or its sub-skills `orchestrate-swarm`, `choose-personas`, `launch-workers`, `dialectical-pump`, `plan-implementation`), `rhizo`, or `vine`:
|
|
32
|
+
The compacting agent MUST preserve the `SWARM_RUNTIME_STATE` block verbatim AND prepend the following mandatory instruction at the very top of the post-compaction summary preamble:
|
|
33
|
+
|
|
34
|
+
<!-- POST-COMPACTION INVARIANT: CEREMONY RESTORATION -->
|
|
35
|
+
> [!IMPORTANT]
|
|
36
|
+
> ## MANDATORY POST-COMPACTION INVARIANT: CEREMONY RESTORATION
|
|
37
|
+
> You are operating within an active multi-agent coordination workflow. Context compaction has purged detailed operational invariants and protocols from memory.
|
|
38
|
+
>
|
|
39
|
+
> **MANDATORY IMMEDIATE ACTION BEFORE ANY FURTHER WORK:**
|
|
40
|
+
> Before invoking any tool, modifying any file, or assigning any task, you MUST immediately re-read the active coordination skills using `view_file`:
|
|
41
|
+
> - If this session used **Garden** (or `orchestrate-swarm`): You MUST re-read `garden`, `orchestrate-swarm`, `rhizo`, and `vine`.
|
|
42
|
+
> - If this session used **Rhizo** standalone: You MUST re-read `rhizo`.
|
|
43
|
+
> - If this session used **Vine** standalone: You MUST re-read `vine`.
|
|
44
|
+
>
|
|
45
|
+
> **IMMORTALITY REQUIREMENT:**
|
|
46
|
+
> This directive and the `SWARM_RUNTIME_STATE` block MUST remain intact in all subsequent compaction summaries until all planned tasks are completed and woven into trunk.
|
|
47
|
+
<!-- END POST-COMPACTION INVARIANT -->
|
|
48
|
+
|
|
49
|
+
2. **Maintain Runtime State**: Keep this exact block in the working context:
|
|
25
50
|
<!-- SWARM_RUNTIME_STATE: DO NOT DISCARD OR ABBREVIATE IN COMPACTION -->
|
|
26
51
|
- AGENT_NAME: <codename> (Role: Lead Orchestrator)
|
|
27
52
|
- WORKSPACE_MODE: Root Trunk (/Users/eek/Development/<project>)
|
|
@@ -31,6 +56,9 @@ Maintain this exact block in the working context:
|
|
|
31
56
|
- ACTIVE_LISTENER: <task_id_or_pid> (Listening on inbox: <codename>)
|
|
32
57
|
- ACTIVE_FENCING_TOKENS: <lock_key>=<token_int>
|
|
33
58
|
<!-- END_SWARM_RUNTIME_STATE -->
|
|
59
|
+
|
|
60
|
+
3. **Resurrected Agent Invariant**:
|
|
61
|
+
Upon waking from compaction, the agent MUST immediately read the required skills, re-arm its single-shot listener (`rhizo listen <agent>`), check `implementation_plan.md`, and resume work under full ceremony discipline.
|
|
34
62
|
</CRITICAL>
|
|
35
63
|
|
|
36
64
|
<CRITICAL>
|