@axiomantic/garden 0.2.31 → 0.2.32

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 CHANGED
@@ -71,6 +71,10 @@ Options:
71
71
  - `--json`: Structured machine-parseable JSON output.
72
72
  - `--list`: Displays all sown seeds and their dynamic lifecycle status.
73
73
 
74
+ > [!IMPORTANT]
75
+ > **Canonical Trunk `ROADMAP.md` Handling Rule**:
76
+ > Both `garden plant` and `rhizo task create` (`autoSowGardenTask`) automatically mutate `ROADMAP.md` (and write `.garden/seeds/<id>.toml`) in the canonical trunk working directory. The Lead Orchestrator MUST commit updated `ROADMAP.md` (and any tracked `.garden/seeds/` files) on canonical trunk `main` **before** running `vine new` or `vine weave` so trunk stays clean and strands do not hit merge conflicts during `vine weave`. Never delegate `ROADMAP.md` updates to `@auditor`.
77
+
74
78
  ### B. Deterministic Germination (`garden germinate <subcommand> <seed>`)
75
79
  To prevent LLM tool-calling omissions, germination uses dedicated positional subcommands:
76
80
  1. **`garden germinate dispatch <seed>`**: Enqueues the seed directly to Rhizo cluster work queues (`queue:<project>:tasks`) with dialectical pump specifications.
@@ -228,6 +232,12 @@ Upon receiving the operator's response:
228
232
  - **If `prompts`**: Present concise setup instructions with clickable `/tmp/garden-<project>/<worker>.md` paths (NEVER paste full prompt cards inline in chat), register the orchestrator (`rhizo open`), and arm the listener if in a CLI subprocess harness.
229
233
  5. Verify cluster readiness (`rhizo who --json`) before proceeding to Phase 3.
230
234
 
235
+ > [!CRITICAL]
236
+ > **Pre-Submit Auditor Registration Invariant & Zero-`--force` Recovery**:
237
+ > `vine submit` mints per-auditor cryptographic `audit_ticket`s (`audit_ticket_hash:<agent_id>`) via `STRAND_SUBMITTED` delivery only for agents already registered on the project in Rhizo at the moment `vine submit` runs (a manual `rhizo send` from an orchestrator does **not** mint a `vine` `audit_ticket`).
238
+ > - **Register `@auditor` During Bootstrap**: The designated `@auditor` MUST register via `rhizo open <auditor_id> --tags "<project>,auditor"` **before** any worker executes `vine submit` (ideally during Phase 2 swarm bootstrap alongside the workers).
239
+ > - **Zero-`--force` Late-Auditor Recovery**: If an auditor registers after `vine submit` already ran, never bypass with `--force` (`--force` is banned on `vine audit approve`). Once `<auditor_id>` is online in `rhizo who`, have the worker re-run `vine submit --author <author_id> ...` (or have the orchestrator dispatch an updated `STRAND_SUBMITTED` ticket generated after registration) so an authentic `audit_ticket_hash:<auditor_id>` is minted.
240
+
231
241
 
232
242
  ---
233
243
 
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.31",
3
+ "version": "0.2.32",
4
4
  "description": "Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine",
5
5
  "main": "bin/run.js",
6
6
  "bin": {
@@ -71,6 +71,10 @@ Options:
71
71
  - `--json`: Structured machine-parseable JSON output.
72
72
  - `--list`: Displays all sown seeds and their dynamic lifecycle status.
73
73
 
74
+ > [!IMPORTANT]
75
+ > **Canonical Trunk `ROADMAP.md` Handling Rule**:
76
+ > Both `garden plant` and `rhizo task create` (`autoSowGardenTask`) automatically mutate `ROADMAP.md` (and write `.garden/seeds/<id>.toml`) in the canonical trunk working directory. The Lead Orchestrator MUST commit updated `ROADMAP.md` (and any tracked `.garden/seeds/` files) on canonical trunk `main` **before** running `vine new` or `vine weave` so trunk stays clean and strands do not hit merge conflicts during `vine weave`. Never delegate `ROADMAP.md` updates to `@auditor`.
77
+
74
78
  ### B. Deterministic Germination (`garden germinate <subcommand> <seed>`)
75
79
  To prevent LLM tool-calling omissions, germination uses dedicated positional subcommands:
76
80
  1. **`garden germinate dispatch <seed>`**: Enqueues the seed directly to Rhizo cluster work queues (`queue:<project>:tasks`) with dialectical pump specifications.
@@ -228,6 +232,12 @@ Upon receiving the operator's response:
228
232
  - **If `prompts`**: Present concise setup instructions with clickable `/tmp/garden-<project>/<worker>.md` paths (NEVER paste full prompt cards inline in chat), register the orchestrator (`rhizo open`), and arm the listener if in a CLI subprocess harness.
229
233
  5. Verify cluster readiness (`rhizo who --json`) before proceeding to Phase 3.
230
234
 
235
+ > [!CRITICAL]
236
+ > **Pre-Submit Auditor Registration Invariant & Zero-`--force` Recovery**:
237
+ > `vine submit` mints per-auditor cryptographic `audit_ticket`s (`audit_ticket_hash:<agent_id>`) via `STRAND_SUBMITTED` delivery only for agents already registered on the project in Rhizo at the moment `vine submit` runs (a manual `rhizo send` from an orchestrator does **not** mint a `vine` `audit_ticket`).
238
+ > - **Register `@auditor` During Bootstrap**: The designated `@auditor` MUST register via `rhizo open <auditor_id> --tags "<project>,auditor"` **before** any worker executes `vine submit` (ideally during Phase 2 swarm bootstrap alongside the workers).
239
+ > - **Zero-`--force` Late-Auditor Recovery**: If an auditor registers after `vine submit` already ran, never bypass with `--force` (`--force` is banned on `vine audit approve`). Once `<auditor_id>` is online in `rhizo who`, have the worker re-run `vine submit --author <author_id> ...` (or have the orchestrator dispatch an updated `STRAND_SUBMITTED` ticket generated after registration) so an authentic `audit_ticket_hash:<auditor_id>` is minted.
240
+
231
241
 
232
242
  ---
233
243
 
@@ -274,6 +274,10 @@ stateDiagram-v2
274
274
  ### SOP 1: Dispatching Tasks to Workers
275
275
  Depending on the task distribution model in `implementation_plan.md`:
276
276
 
277
+ - **Pre-Dispatch Hygiene (`ROADMAP.md` & `@auditor` Readiness)**:
278
+ - Both `garden plant` and `rhizo task create` (`autoSowGardenTask`) automatically mutate `ROADMAP.md` (and write `.garden/seeds/<id>.toml`) on canonical trunk. Commit updated `ROADMAP.md` (and tracked seed files) on canonical trunk `main` **before** running `vine new` or `vine weave` so strands branch from a clean trunk and never collide on `ROADMAP.md`.
279
+ - Confirm the designated `@auditor` is already registered (`rhizo open <auditor_id> --tags "<project>,auditor"` visible in `rhizo who --json`) **before** dispatching implementation tasks so per-auditor `audit_ticket`s mint automatically when workers run `vine submit` (see SOP 3).
280
+
277
281
  - **Direct Assignment (O2O)**:
278
282
  ```bash
279
283
  rhizo send --to @architect \
@@ -358,6 +362,8 @@ When a worker finishes implementation in their strand, they run `vine submit --a
358
362
 
359
363
  > [!CRITICAL]
360
364
  > **THE WORKER IS NOT THE AUDITOR**: Workers cannot audit or approve their own strands (`vine audit approve` strictly enforces `auditor != author`).
365
+ > **PRE-SUBMIT AUDITOR REGISTRATION INVARIANT & ZERO-`--force` RECOVERY**: `vine submit` mints per-auditor cryptographic `audit_ticket`s (`audit_ticket_hash:<agent_id>`) via `STRAND_SUBMITTED` delivery only for agents already registered on the project in Rhizo at submit time (a manual `rhizo send` from an orchestrator does **not** mint a `vine` `audit_ticket`). Therefore, `@auditor` MUST register (`rhizo open <auditor_id> --tags "<project>,auditor"`) **before** any worker runs `vine submit`. If an auditor registers late, never bypass with `--force` (`--force` is banned on `vine audit approve`); once `<auditor_id>` is online in `rhizo who`, have the worker re-run `vine submit --author <author_id> ...` (or dispatch an updated `STRAND_SUBMITTED` ticket generated after registration).
366
+ > **CANONICAL TRUNK `ROADMAP.md` HANDLING RULE**: Because `garden plant` and `rhizo task create` (`autoSowGardenTask`) automatically mutate canonical `ROADMAP.md` (and `.garden/seeds/<id>.toml`), the Lead Orchestrator MUST commit updated `ROADMAP.md` (and tracked seed files) on `main` **before** running `vine new` or `vine weave`, and harvest post-weave `ROADMAP.md` updates exclusively in the Lead Orchestrator (never delegated to `@auditor`).
361
367
  > **SINGLE-STRAND AUDIT ISOLATION**: The Lead Orchestrator dispatches an audit request for at most ONE strand at a time (batching multiple strands into a single audit message is strictly prohibited):
362
368
  > `rhizo send @auditor --subject "Audit Request: task-core-ds" --body '{"strand_path": "...", "author": "implementer", "ticket": "<64-char-hex-delivery-ticket>"}'`
363
369