@axiomantic/garden 0.2.34 → 0.2.35
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 +16 -0
- 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 +2 -2
- package/skills/garden/SKILL.md +16 -0
- package/skills/orchestrate-swarm/SKILL.md +16 -0
package/SKILL.md
CHANGED
|
@@ -82,6 +82,22 @@ To prevent LLM tool-calling omissions, germination uses dedicated positional sub
|
|
|
82
82
|
3. **`garden germinate inline <seed>`**: Runs the 3-stage dialectical pump (Research ➔ Design ➔ Audit) within the active chat session.
|
|
83
83
|
4. **`garden germinate status <seed>`**: Inspects dynamic lifecycle progress (`SOWN` ➔ `DISPATCHED` ➔ `GERMINATED` ➔ `WOVEN`).
|
|
84
84
|
|
|
85
|
+
### C. Two-Wave Adversarial Review & Meta-Triage (`garden review`)
|
|
86
|
+
Orchestrates two-wave empirical code reviews for branch diffs or full repository audits without on-disk JSON:
|
|
87
|
+
```bash
|
|
88
|
+
# Branch / PR diff review (default: multi-lens Wave 1 across 100% of hunks + Wave 2 5-Gate Meta-Reviewer):
|
|
89
|
+
garden review [--diff] [--base <ref>] [--uncommitted] [--subagent|--tmux|--force-prompts] [--json]
|
|
90
|
+
|
|
91
|
+
# Deep repository or scoped audit (default: sharded Wave 1 by structural moduleGroup + Green-Mirage verifier):
|
|
92
|
+
garden review --audit [--paths src,tests] [-n 4] [--write review-report.md] [--json]
|
|
93
|
+
|
|
94
|
+
# Sow ratified findings (KEEP_HIGH_VALUE / REWRITE_FIX) directly as botanical seeds:
|
|
95
|
+
garden review --sow "Fix race condition in lease renewal" --season v0.3.0 --sunlight high
|
|
96
|
+
```
|
|
97
|
+
- **Wave 1 (Discovery)**: `rmDiff` defaults to `multi-lens` (Systems/Anti-Heuristic, Runtime/Failure-Mode, Green-Mirage Verifier across 100% of diff hunks); `rmAudit` defaults to `sharded` (disjoint structural `moduleGroup` shards + repo-wide Green-Mirage Verifier; zero magic line/file count thresholds).
|
|
98
|
+
- **Wave 2 (Adversarial Meta-Reviewer)**: Fresh 1:1 `@meta-reviewer` enforcing all 5 Empirical Triage Gates (`Gate 1` Ground-Truth, `Gate 2` Live Call-Graph Reachability, `Gate 3` Realistic Scale, `Gate 4` Minimal-Fix / Zero-API-Creep, `Gate 5` First-Do-No-Harm & Pillar 6 Anti-Heuristic) and classifying findings into `KEEP_HIGH_VALUE`, `REWRITE_FIX`, `DROP_FALSE_POSITIVE`, and `DROP_BLOAT`.
|
|
99
|
+
- Ephemeral prompt cards, subagent briefs, and report templates are written strictly as Markdown under `/tmp/garden-<project>/review/`.
|
|
100
|
+
|
|
85
101
|
---
|
|
86
102
|
|
|
87
103
|
## 3. The End-to-End Ceremony Workflow
|
|
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.
|
|
3
|
+
"version": "0.2.35",
|
|
4
4
|
"description": "Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine",
|
|
5
5
|
"main": "bin/run.js",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "git+https://github.com/axiomantic/garden.git"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"test": "
|
|
33
|
+
"test": "nimble test",
|
|
34
34
|
"build": "nim c -d:release --threads:on --mm:orc -o:bin/garden src/garden.nim"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
package/skills/garden/SKILL.md
CHANGED
|
@@ -82,6 +82,22 @@ To prevent LLM tool-calling omissions, germination uses dedicated positional sub
|
|
|
82
82
|
3. **`garden germinate inline <seed>`**: Runs the 3-stage dialectical pump (Research ➔ Design ➔ Audit) within the active chat session.
|
|
83
83
|
4. **`garden germinate status <seed>`**: Inspects dynamic lifecycle progress (`SOWN` ➔ `DISPATCHED` ➔ `GERMINATED` ➔ `WOVEN`).
|
|
84
84
|
|
|
85
|
+
### C. Two-Wave Adversarial Review & Meta-Triage (`garden review`)
|
|
86
|
+
Orchestrates two-wave empirical code reviews for branch diffs or full repository audits without on-disk JSON:
|
|
87
|
+
```bash
|
|
88
|
+
# Branch / PR diff review (default: multi-lens Wave 1 across 100% of hunks + Wave 2 5-Gate Meta-Reviewer):
|
|
89
|
+
garden review [--diff] [--base <ref>] [--uncommitted] [--subagent|--tmux|--force-prompts] [--json]
|
|
90
|
+
|
|
91
|
+
# Deep repository or scoped audit (default: sharded Wave 1 by structural moduleGroup + Green-Mirage verifier):
|
|
92
|
+
garden review --audit [--paths src,tests] [-n 4] [--write review-report.md] [--json]
|
|
93
|
+
|
|
94
|
+
# Sow ratified findings (KEEP_HIGH_VALUE / REWRITE_FIX) directly as botanical seeds:
|
|
95
|
+
garden review --sow "Fix race condition in lease renewal" --season v0.3.0 --sunlight high
|
|
96
|
+
```
|
|
97
|
+
- **Wave 1 (Discovery)**: `rmDiff` defaults to `multi-lens` (Systems/Anti-Heuristic, Runtime/Failure-Mode, Green-Mirage Verifier across 100% of diff hunks); `rmAudit` defaults to `sharded` (disjoint structural `moduleGroup` shards + repo-wide Green-Mirage Verifier; zero magic line/file count thresholds).
|
|
98
|
+
- **Wave 2 (Adversarial Meta-Reviewer)**: Fresh 1:1 `@meta-reviewer` enforcing all 5 Empirical Triage Gates (`Gate 1` Ground-Truth, `Gate 2` Live Call-Graph Reachability, `Gate 3` Realistic Scale, `Gate 4` Minimal-Fix / Zero-API-Creep, `Gate 5` First-Do-No-Harm & Pillar 6 Anti-Heuristic) and classifying findings into `KEEP_HIGH_VALUE`, `REWRITE_FIX`, `DROP_FALSE_POSITIVE`, and `DROP_BLOAT`.
|
|
99
|
+
- Ephemeral prompt cards, subagent briefs, and report templates are written strictly as Markdown under `/tmp/garden-<project>/review/`.
|
|
100
|
+
|
|
85
101
|
---
|
|
86
102
|
|
|
87
103
|
## 3. The End-to-End Ceremony Workflow
|
|
@@ -447,6 +447,22 @@ When cluster capacity needs adjustment, or idle listeners from other projects ar
|
|
|
447
447
|
4. **Negative Controls & Safety**:
|
|
448
448
|
`garden repurpose` automatically halts if a worker is currently executing an in-flight task (`BUSY`), returning exit code 1. Repurposing a busy worker requires explicit `--force` override.
|
|
449
449
|
|
|
450
|
+
### SOP 7: Two-Wave Adversarial Code Review & Meta-Triage (`garden review`)
|
|
451
|
+
When orchestrating a branch/diff review or a deep codebase audit:
|
|
452
|
+
1. **Generate Two-Wave Review Plan**:
|
|
453
|
+
Run `garden review [--diff|--audit] [--paths <csv>] [--subagent|--tmux|--force-prompts] [--json]` (never write `.json` state to disk; artifacts live in `/tmp/garden-<project>/review/`).
|
|
454
|
+
- Diff mode defaults to `multi-lens` (100% hunk coverage across Systems/Anti-Heuristic, Runtime/Failure-Mode, and Green-Mirage Verification).
|
|
455
|
+
- Audit mode defaults to `sharded` (disjoint structural `moduleGroup` shards + repo-wide Green-Mirage Verifier; zero magic line/file count thresholds).
|
|
456
|
+
2. **Execute Wave 1 (Discovery)**:
|
|
457
|
+
In `subagents` mode, spawn a fresh 1:1 drillable subagent per Wave 1 reviewer brief, collect empirical findings (`file:line`, symbol, command output, call-path reachability), and close each handle with `rhizo close <name>`.
|
|
458
|
+
3. **Execute Wave 2 (5-Gate Adversarial Meta-Reviewer)**:
|
|
459
|
+
Spawn a fresh 1:1 `@meta-reviewer` subagent (or bootstrap card) with all Wave 1 findings, enforcing `Gate 1` (Ground-Truth), `Gate 2` (Live Call-Graph Reachability), `Gate 3` (Realistic Scale), `Gate 4` (Minimal-Fix / Zero-API-Creep), and `Gate 5` (First-Do-No-Harm & Pillar 6 Anti-Heuristic) to triage every item into `KEEP_HIGH_VALUE`, `REWRITE_FIX`, `DROP_FALSE_POSITIVE`, or `DROP_BLOAT`, then run `rhizo close <meta_reviewer>`.
|
|
460
|
+
4. **Sow Ratified Fixes**:
|
|
461
|
+
Sow `KEEP_HIGH_VALUE` and `REWRITE_FIX` items directly into `.garden/seeds/*.toml` via:
|
|
462
|
+
```bash
|
|
463
|
+
garden review --sow "<finding_title>" --season <season> --sunlight <level>
|
|
464
|
+
```
|
|
465
|
+
|
|
450
466
|
---
|
|
451
467
|
|
|
452
468
|
## 4. Swarm Conclusion & Teardown
|