@axiomantic/garden 0.2.19 → 0.2.21

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Axiomantic / Agora Contributors
3
+ Copyright (c) 2026 Elijah Shaw-Rutschman
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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.19",
3
+ "version": "0.2.21",
4
4
  "description": "Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine",
5
5
  "main": "bin/run.js",
6
6
  "bin": {
@@ -154,11 +154,20 @@ The Thesis in a code review is neither a raw dump of files nor vague conversatio
154
154
  - Test Suite Executed: Exact command and execution time
155
155
  - Assertion Style: Complete structural equality (`assert actual == expected`) or tripwire snapshots
156
156
  - Negative Controls: List of tests asserting failure under invalid/adversarial inputs
157
+
158
+ ## 4. Changelog & Release Discipline
159
+ - Changelog Target: Path to changelog (`CHANGELOG.md`) or explicitly marked bypass (`--allow-no-changelog`)
160
+ - Unreleased Entry: Exact entry recorded under `## [Unreleased]` via `vine changelog`
157
161
  ```
158
162
 
159
163
  ### Step 4.2: The Five-Pillar Forensic Code Audit (Antithesis)
160
164
 
161
- The Auditor executes the following five rigorous checks against the Claim Bundle and the strand diff (`git diff origin/main...HEAD`):
165
+ The Auditor executes the following checks against the Claim Bundle and the strand diff (`git diff origin/main...HEAD`):
166
+
167
+ #### Pillar 0: Changelog Gate & Release Discipline
168
+ - [ ] **Changelog Updated**: If the project contains a changelog (`CHANGELOG.md`, `changelog.md`, etc.), verify that the strand diff modifies it under `## [Unreleased]`.
169
+ - [ ] **No Unreleased Section Missing**: Verify that `## [Unreleased]` exists (scaffolded via `vine changelog --ensure-unreleased` if needed).
170
+ - [ ] **Exit Code 5 Clearance**: Confirm `vine gate` passed without `GATE_CHANGELOG_VIOLATION` (or `--allow-no-changelog` was explicitly justified).
162
171
 
163
172
  #### Pillar 1: Disconnected Shelfware & Closed-Circuit Consumer Audit
164
173
  - [ ] **Live Consumer Call-Site Verification**: Does the new capability plug directly into the production entrypoint, router, CLI dispatcher, or UI?
@@ -125,13 +125,27 @@ Instead, it acts as an **Intelligent Intake Concierge**:
125
125
  - **If Option 3 selected**: Execute inline in the current session.
126
126
 
127
127
  #### Fast-Path: Re-using an Active / Existing Swarm (First-Look Invariant)
128
- Before asking ANY intake questions or presenting configuration modals, the orchestrator MUST run `rhizo who --json` to inspect the cluster.
128
+ Before asking ANY intake questions or presenting configuration modals, the designated orchestrator MUST run `rhizo who --json` to inspect the cluster.
129
129
  If active, healthy workers are ALREADY registered and listening on the Rhizo cluster:
130
130
  - **DO NOT** ask intake interview questions or prompt the operator for new sessions or models.
131
131
  - **DO NOT** display swarm composition or harness questions.
132
132
  - Automatically attach to the existing online workers (`@worker-1`, `@worker-2`, ...).
133
133
  - Confirm cluster readiness and proceed immediately to Phase 3 (Dialectical Pump / Task Breakdown) or Phase 5 (Task Dispatch).
134
134
 
135
+ > [!CAUTION]
136
+ > **Orchestrator Scope Restriction**: This fast-path applies **ONLY** to a session that was explicitly initialized or designated by the operator as the Lead Orchestrator. A fresh unbootstrapped session must NEVER assume it is the orchestrator simply because `<project>-orchestrator` appears in `rhizo who`!
137
+
138
+ <INVARIANT>
139
+ Unbootstrapped Session Identity: If a session was NOT explicitly bootstrapped with an identity in its conversation history (via a Garden bootstrap prompt card, an explicit operator assignment, or prior 'rhizo open <name>' in that same conversation), it MUST NEVER guess, adopt, or assume an existing identity from 'rhizo who --json' or 'garden-swarm.json' (especially NEVER '<project>-orchestrator'). If the operator commands '/rhizo listen' without arguments in an unbootstrapped session, the session MUST either:
140
+ 1. Run 'rhizo name' to allocate a fresh unique identity, followed by 'rhizo open <name>', OR
141
+ 2. Ask the operator via 'ask_question' which persona or role this window represents.
142
+ Never assume you are the orchestrator or an existing active worker simply because those names appear in the project directory.
143
+ </INVARIANT>
144
+
145
+ <FORBIDDEN>
146
+ Never Hijack or Kill Another Session's Active Listener: When 'rhizo listen <agent>' fails with "Error: Listener already active for agent ... (PID X)", an agent MUST NEVER kill that PID, run 'kill <pid>', or pass '--force' unless the agent has verified in its own conversation history that this agent name was explicitly opened and running in THIS session. In 'rhizo who', 'status: STALE' only indicates that no messages have been routed recently; it does NOT mean the blocking listener process in another window is dead or orphaned. Killing listener PIDs from other windows corrupts the cluster, severs peer communication, and hijacks sovereign sessions.
147
+ </FORBIDDEN>
148
+
135
149
  #### Cold-Start Intake Protocol (Zero Active Workers Only)
136
150
  When an operator initiates a fresh project or requests multi-agent coordination and NO active cluster workers exist, the session MUST NOT silently guess configuration.
137
151
  Because the coding harness is auto-detected from the session environment (`ANTIGRAVITY_APP_DIR` $\to$ Antigravity IDE, `CLAUDE_CODE` $\to$ Claude Code CLI, `OPENCODE_SESSION_ID` $\to$ OpenCode, `CODEX_SESSION_ID` $\to$ ChatGPT Desktop / Codex, `PI_SESSION_ID` $\to$ Pi), the orchestrator invokes `ask_question` to conduct a streamlined **Single-Question Intake Interview**:
@@ -322,6 +322,7 @@ The Orchestrator or designated Auditor initiates **Key 3: The Pre-Weave Adversar
322
322
 
323
323
  1. **Thesis Intake**: Demand the worker's **Deliverable Claim Bundle** (task contract, Two-Point Diff mapping, test evidence, negative controls).
324
324
  2. **Five-Pillar Presumption-of-Guilt Audit**:
325
+ - **Changelog Gate (Key 2 Interlock)**: If the repository contains a changelog (`CHANGELOG.md`, `changelog.md`, etc.), verify that changes are documented under `## [Unreleased]`. Confirm `vine gate` passed without changelog violations (or verify worker ran `vine changelog "..."`). Reject if an existing changelog is untouched unless `--allow-no-changelog` was explicitly approved.
325
326
  - **Pillar 1 (Closed-Circuit Two-Point Diff)**: Inspect strand diff against `origin/main` (`git -C "$strand_path" diff --name-only origin/main...HEAD`). Confirm both Provider and live Consumer call-sites are modified. Reject hermetic shelfware lacking a live consumer.
326
327
  - **Pillar 2 (Holistic Integration)**: Verify real production integration (no hollow mocks, stubs, naive string splits, or swallowed exceptions).
327
328
  - **Pillar 3 (Literal Fidelity & Reference Parity)**: When duplicating functionality, porting, or executing specific operator directives, demand literal true fidelity. Reject approximations ("looks right", "good enough for happy paths") and verify edge case parity against reference specifications.