@zachjxyz/moxie 0.6.3 → 0.6.4
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/bin/moxie
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zachjxyz/moxie",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Run multiple AI coding agents through spec-driven phases with quorum convergence. Supports CLI agents (Claude, Codex, Qwen, Aider, Goose, Amp, Cline, Roo) and Vercel AI Gateway models.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"moxie": "bin/moxie"
|
|
@@ -35,22 +35,19 @@ Thoroughly explore the project directory. Read:
|
|
|
35
35
|
|
|
36
36
|
### Step 3: Generate or review the RFC
|
|
37
37
|
|
|
38
|
-
**If no draft exists:** Write a comprehensive RFC
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
12. **Security Considerations** — Threat model, mitigations
|
|
52
|
-
13. **Open Questions** — Unresolved design decisions (if any)
|
|
53
|
-
|
|
38
|
+
**If no draft exists:** Write a comprehensive RFC. Include ONLY sections relevant to this
|
|
39
|
+
project — do not invent sections for features that don't exist. Common sections:
|
|
40
|
+
|
|
41
|
+
- **Title and Summary** — What the project is, in one paragraph
|
|
42
|
+
- **Architecture Overview** — Key modules, their responsibilities, how they connect
|
|
43
|
+
- **Data Model** — Entities, fields, relationships (if applicable)
|
|
44
|
+
- **API Surface** — Endpoints, commands, or interfaces (if applicable)
|
|
45
|
+
- **Core Logic** — Main algorithms, processing pipelines, business rules
|
|
46
|
+
- **Configuration** — Config options, environment variables, defaults
|
|
47
|
+
- **Build & Deployment** — How to build, test, deploy
|
|
48
|
+
- **Open Questions** — Unresolved design decisions (if any)
|
|
49
|
+
|
|
50
|
+
Skip sections that don't apply. Do NOT pad the RFC with placeholder content.
|
|
54
51
|
For EACH section, cite specific files and line numbers from the actual source code.
|
|
55
52
|
|
|
56
53
|
**If a draft exists:** Review it section by section against the actual source code.
|
|
@@ -88,6 +85,7 @@ If ALL agents (every agent in the config) show `reached: true`:
|
|
|
88
85
|
|
|
89
86
|
- Be EXHAUSTIVE — this RFC drives the entire pipeline. Missing details here mean gaps downstream.
|
|
90
87
|
- ALWAYS verify against actual source code. Cite file paths and line numbers for every claim.
|
|
88
|
+
- Be efficient with tool use: use offset/limit when reading files — only read the sections you need, not entire files.
|
|
91
89
|
- NEVER rubber-stamp a draft. Read the source code yourself and independently verify.
|
|
92
90
|
- The RFC must be self-contained: an agent reading only this document should understand the full system.
|
|
93
91
|
- Do NOT shortcut this phase for speed. Thoroughness is the goal. Quorum means genuine agreement.
|
|
@@ -63,7 +63,10 @@ Update `.moxie/phases/02-audit/ledger.json`:
|
|
|
63
63
|
- Add/update your agent in the `agents` map with `output_file` pointing to your file
|
|
64
64
|
- If you confirmed ALL findings from ALL prior agents with ZERO new findings and ZERO corrections:
|
|
65
65
|
set your entry to `reached: true`
|
|
66
|
-
- If you have
|
|
66
|
+
- If you have new findings rated **medium or higher**, or corrections to existing findings:
|
|
67
|
+
reset ALL agents to `reached: false` (forces re-verification)
|
|
68
|
+
- Trivial findings (low severity, documentation-only, cosmetic) should be noted but do NOT
|
|
69
|
+
require resetting quorum — add them to findings and keep existing reached states
|
|
67
70
|
|
|
68
71
|
### Step 6: Quorum check
|
|
69
72
|
|
|
@@ -84,6 +87,7 @@ Do NOT write the FINAL file unless ALL agents show `reached: true` in the ledger
|
|
|
84
87
|
|
|
85
88
|
- ALWAYS verify against actual source code, not other audits
|
|
86
89
|
- ALWAYS cite file paths and line numbers
|
|
90
|
+
- Be efficient with tool use: use offset/limit when reading files — only read the sections you need, not entire files.
|
|
87
91
|
- NEVER rubber-stamp — check the source yourself even if you agree
|
|
88
92
|
- Do NOT shortcut this phase for speed. Thoroughness prevents bugs downstream.
|
|
89
93
|
- If you are unsure about a finding, investigate deeper rather than confirming blindly
|
|
@@ -59,7 +59,10 @@ Do NOT write the FINAL file unless ALL agents show `reached: true` in the ledger
|
|
|
59
59
|
|
|
60
60
|
## Rules
|
|
61
61
|
|
|
62
|
+
- ONLY fix issues listed in the AUDIT-FINAL document. Do not refactor, clean up, or "improve"
|
|
63
|
+
code beyond what the audit identified. Scope creep here delays the pipeline.
|
|
62
64
|
- Fix highest severity issues first
|
|
65
|
+
- Be efficient with tool use: use offset/limit when reading files — only read the sections you need.
|
|
63
66
|
- ALWAYS run the full test suite after changes
|
|
64
67
|
- NEVER introduce new warnings or break existing tests
|
|
65
68
|
- When verifying, actually READ the code — not just test output
|
|
@@ -8,8 +8,10 @@ CONTEXT DOCS: .moxie/context/ (if present)
|
|
|
8
8
|
|
|
9
9
|
## Context
|
|
10
10
|
|
|
11
|
-
Audit issues are fixed. Now we need a finalized implementation plan
|
|
12
|
-
|
|
11
|
+
Audit issues are fixed. Now we need a finalized implementation plan for what the spec
|
|
12
|
+
describes but the codebase doesn't yet have. Compare the spec against the current source —
|
|
13
|
+
the plan should cover the DELTA: features, changes, or improvements the spec calls for
|
|
14
|
+
that are not yet implemented. Do not plan work that's already done.
|
|
13
15
|
|
|
14
16
|
**IMPORTANT: This pipeline requires UNANIMOUS quorum. ALL agents must independently verify
|
|
15
17
|
the plan against the spec and source code. Do NOT rubber-stamp — thoroughness is the goal.**
|
|
@@ -64,6 +66,7 @@ Do NOT write the FINAL file unless ALL agents show `reached: true` in the ledger
|
|
|
64
66
|
## Rules
|
|
65
67
|
|
|
66
68
|
- All file paths must be accurate against current source
|
|
69
|
+
- Be efficient with tool use: use offset/limit when reading files — only read the sections you need.
|
|
67
70
|
- Plan must be self-contained — agents must be able to build from it alone
|
|
68
71
|
- Phase ordering must respect dependencies
|
|
69
72
|
- Cite specific file paths and line numbers for every existing code reference
|
|
@@ -71,6 +71,7 @@ Do NOT write the FINAL file unless ALL agents show `reached: true` in the ledger
|
|
|
71
71
|
## Rules
|
|
72
72
|
|
|
73
73
|
- Complete phases in order — never skip
|
|
74
|
+
- Be efficient with tool use: use offset/limit when reading files — only read the sections you need.
|
|
74
75
|
- Each phase must pass the full test suite before marking "built"
|
|
75
76
|
- Verifiers must READ the code — no rubber-stamping based on test output alone
|
|
76
77
|
- Zero regressions on existing tests
|