@howlil/ez-agents 3.4.2 → 4.0.0
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/README.md +735 -462
- package/agents/ez-architect-agent.md +267 -0
- package/agents/ez-backend-agent.md +303 -0
- package/agents/ez-chief-strategist.md +271 -0
- package/agents/ez-codebase-mapper.md +770 -770
- package/agents/ez-context-manager.md +319 -0
- package/agents/ez-debugger.md +1255 -1255
- package/agents/ez-design-expert.md +347 -0
- package/agents/ez-devops-agent.md +331 -0
- package/agents/ez-executor.md +487 -487
- package/agents/ez-frontend-agent.md +322 -0
- package/agents/ez-phase-researcher.md +553 -553
- package/agents/ez-planner.md +1307 -1307
- package/agents/ez-product-engineer.md +435 -0
- package/agents/ez-project-researcher.md +629 -629
- package/agents/ez-qa-agent.md +320 -0
- package/agents/ez-release-agent.md +333 -0
- package/agents/ez-requirements-agent.md +377 -0
- package/agents/ez-roadmapper.md +650 -650
- package/agents/ez-technical-writer.md +551 -0
- package/agents/ez-ux-expert.md +393 -0
- package/agents/ez-verifier.md +579 -579
- package/bin/guards/autonomy-guard.cjs +346 -0
- package/bin/guards/context-budget-guard.cjs +278 -0
- package/bin/guards/hallucination-guard.cjs +380 -0
- package/bin/guards/hidden-state-guard.cjs +182 -0
- package/bin/guards/team-overhead-guard.cjs +266 -0
- package/bin/guards/tool-sprawl-guard.cjs +271 -0
- package/bin/install.js +3221 -3272
- package/bin/lib/analytics/analytics-collector.cjs +86 -0
- package/bin/lib/analytics/analytics-reporter.cjs +130 -0
- package/bin/lib/analytics/cohort-analyzer.cjs +138 -0
- package/bin/lib/analytics/funnel-analyzer.cjs +147 -0
- package/bin/lib/analytics/nps-tracker.cjs +147 -0
- package/bin/lib/archetype-detector.cjs +289 -0
- package/bin/lib/assistant-adapter.cjs +361 -0
- package/bin/lib/audit-exec.cjs +175 -0
- package/bin/lib/auth.cjs +176 -0
- package/bin/lib/backup-service.cjs +422 -0
- package/bin/lib/bdd-validator.cjs +622 -0
- package/bin/lib/business-flow-mapper.cjs +429 -0
- package/bin/lib/circuit-breaker.cjs +276 -0
- package/bin/lib/code-complexity-analyzer.cjs +360 -0
- package/bin/lib/codebase-analyzer.cjs +241 -0
- package/bin/lib/commands.cjs +691 -0
- package/bin/lib/config.cjs +236 -0
- package/bin/lib/constraint-extractor.cjs +526 -0
- package/bin/lib/content-scanner.cjs +238 -0
- package/bin/lib/context-cache.cjs +154 -0
- package/bin/lib/context-compressor.cjs +102 -0
- package/bin/lib/context-deduplicator.cjs +105 -0
- package/bin/lib/context-errors.cjs +78 -0
- package/bin/lib/context-manager.cjs +338 -0
- package/bin/lib/context-metadata-tracker.cjs +140 -0
- package/bin/lib/context-relevance-scorer.cjs +99 -0
- package/bin/lib/core.cjs +507 -0
- package/bin/lib/cost-alerts.cjs +174 -0
- package/bin/lib/cost-tracker.cjs +275 -0
- package/bin/lib/crash-recovery.cjs +220 -0
- package/bin/lib/dependency-graph.cjs +319 -0
- package/bin/lib/deploy/deploy-audit-log.cjs +76 -0
- package/bin/lib/deploy/deploy-detector.cjs +69 -0
- package/bin/lib/deploy/deploy-env-manager.cjs +109 -0
- package/bin/lib/deploy/deploy-health-check.cjs +88 -0
- package/bin/lib/deploy/deploy-pre-flight.cjs +57 -0
- package/bin/lib/deploy/deploy-rollback.cjs +72 -0
- package/bin/lib/deploy/deploy-runner.cjs +97 -0
- package/bin/lib/deploy/deploy-status.cjs +74 -0
- package/bin/lib/discussion-synthesizer.cjs +439 -0
- package/bin/lib/error-cache.cjs +114 -0
- package/bin/lib/error-registry.cjs +177 -0
- package/bin/lib/file-access.cjs +207 -0
- package/bin/lib/file-lock.cjs +236 -0
- package/bin/lib/finops/budget-enforcer.cjs +126 -0
- package/bin/lib/finops/cost-reporter.cjs +132 -0
- package/bin/lib/finops/finops-analyzer.cjs +112 -0
- package/bin/lib/finops/spot-manager.cjs +118 -0
- package/bin/lib/framework-detector.cjs +396 -0
- package/bin/lib/frontmatter.cjs +313 -0
- package/bin/lib/fs-utils.cjs +153 -0
- package/bin/lib/gate-executor.cjs +272 -0
- package/bin/lib/gates/README.md +374 -0
- package/bin/lib/gates/gate-01-requirement.cjs +303 -0
- package/bin/lib/gates/gate-02-architecture.cjs +555 -0
- package/bin/lib/gates/gate-03-code.cjs +635 -0
- package/bin/lib/gates/gate-04-security.cjs +829 -0
- package/bin/lib/git-errors.cjs +83 -0
- package/bin/lib/git-utils.cjs +321 -0
- package/bin/lib/git-workflow-engine.cjs +1157 -0
- package/bin/lib/health-check.cjs +227 -0
- package/bin/lib/index.cjs +279 -0
- package/bin/lib/init.cjs +725 -0
- package/bin/lib/lock-logger.cjs +194 -0
- package/bin/lib/lock-state.cjs +263 -0
- package/bin/lib/lockfile-validator.cjs +227 -0
- package/bin/lib/log-rotation.cjs +71 -0
- package/bin/lib/logger.cjs +125 -0
- package/bin/lib/memory-compression.cjs +256 -0
- package/bin/lib/milestone.cjs +247 -0
- package/bin/lib/model-provider.cjs +241 -0
- package/bin/lib/package-manager-detector.cjs +203 -0
- package/bin/lib/package-manager-executor.cjs +385 -0
- package/bin/lib/package-manager-service.cjs +216 -0
- package/bin/lib/perf/api-monitor.cjs +88 -0
- package/bin/lib/perf/db-optimizer.cjs +78 -0
- package/bin/lib/perf/frontend-performance.cjs +56 -0
- package/bin/lib/perf/perf-analyzer.cjs +77 -0
- package/bin/lib/perf/perf-baseline.cjs +102 -0
- package/bin/lib/perf/perf-reporter.cjs +117 -0
- package/bin/lib/perf/regression-detector.cjs +92 -0
- package/bin/lib/phase.cjs +963 -0
- package/bin/lib/planning-write.cjs +123 -0
- package/bin/lib/project-reporter.cjs +565 -0
- package/bin/lib/quality-gate.cjs +332 -0
- package/bin/lib/quality-metrics.cjs +324 -0
- package/bin/lib/recovery-manager.cjs +98 -0
- package/bin/lib/release-validator.cjs +617 -0
- package/bin/lib/retry.cjs +119 -0
- package/bin/lib/roadmap.cjs +309 -0
- package/bin/lib/safe-exec.cjs +173 -0
- package/bin/lib/safe-path.cjs +130 -0
- package/bin/lib/security-errors.cjs +62 -0
- package/bin/lib/session-chain.cjs +304 -0
- package/bin/lib/session-errors.cjs +81 -0
- package/bin/lib/session-export.cjs +251 -0
- package/bin/lib/session-import.cjs +262 -0
- package/bin/lib/session-manager.cjs +280 -0
- package/bin/lib/skill-context.cjs +148 -0
- package/bin/lib/skill-matcher.cjs +236 -0
- package/bin/lib/skill-registry.cjs +360 -0
- package/bin/lib/skill-resolver.cjs +449 -0
- package/bin/lib/skill-triggers.cjs +90 -0
- package/bin/lib/skill-validator.cjs +270 -0
- package/bin/lib/skill-versioning.cjs +355 -0
- package/bin/lib/stack-detector.cjs +399 -0
- package/bin/lib/state.cjs +736 -0
- package/bin/lib/tech-debt-analyzer.cjs +309 -0
- package/bin/lib/temp-file.cjs +239 -0
- package/bin/lib/template.cjs +223 -0
- package/bin/lib/test-file-lock.cjs +112 -0
- package/bin/lib/test-graceful.cjs +93 -0
- package/bin/lib/test-logger.cjs +60 -0
- package/bin/lib/test-safe-exec.cjs +38 -0
- package/bin/lib/test-safe-path.cjs +33 -0
- package/bin/lib/test-temp-file.cjs +125 -0
- package/bin/lib/tier-manager.cjs +428 -0
- package/bin/lib/timeout-exec.cjs +63 -0
- package/bin/lib/tradeoff-analyzer.cjs +284 -0
- package/bin/lib/url-fetch.cjs +170 -0
- package/bin/lib/verify.cjs +863 -0
- package/bin/update.js +217 -214
- package/commands/deploy.cjs +53 -0
- package/commands/ez/add-tests.md +41 -41
- package/commands/ez/audit-milestone.md +36 -36
- package/commands/ez/complete-milestone.md +136 -136
- package/commands/ez/discuss-phase.md +90 -90
- package/commands/ez/execute-phase.md +52 -41
- package/commands/ez/help.md +22 -22
- package/commands/ez/map-codebase.md +71 -71
- package/commands/ez/new-milestone.md +44 -44
- package/commands/ez/new-project.md +51 -42
- package/commands/ez/plan-phase.md +53 -45
- package/commands/ez/progress.md +36 -24
- package/commands/ez/quick.md +45 -45
- package/commands/ez/resume-work.md +40 -40
- package/commands/ez/run-phase.md +580 -0
- package/commands/ez/settings.md +36 -36
- package/commands/ez/update.md +37 -37
- package/commands/ez/verify-work.md +402 -38
- package/commands/health-check.cjs +44 -0
- package/commands/rollback.cjs +47 -0
- package/ez-agents/bin/ez-tools.cjs +1692 -716
- package/ez-agents/bin/guards/autonomy-guard.cjs +346 -0
- package/ez-agents/bin/guards/context-budget-guard.cjs +247 -0
- package/ez-agents/bin/guards/hallucination-guard.cjs +271 -0
- package/ez-agents/bin/guards/hidden-state-guard.cjs +182 -0
- package/ez-agents/bin/guards/team-overhead-guard.cjs +266 -0
- package/ez-agents/bin/guards/tool-sprawl-guard.cjs +271 -0
- package/ez-agents/bin/lib/analytics/analytics-collector.cjs +86 -0
- package/ez-agents/bin/lib/analytics/analytics-reporter.cjs +130 -0
- package/ez-agents/bin/lib/analytics/cohort-analyzer.cjs +138 -0
- package/ez-agents/bin/lib/analytics/funnel-analyzer.cjs +147 -0
- package/ez-agents/bin/lib/analytics/nps-tracker.cjs +147 -0
- package/ez-agents/bin/lib/archetype-detector.cjs +289 -0
- package/ez-agents/bin/lib/audit-exec.cjs +166 -167
- package/ez-agents/bin/lib/auth.cjs +176 -176
- package/ez-agents/bin/lib/backup-service.cjs +422 -0
- package/ez-agents/bin/lib/bdd-validator.cjs +622 -0
- package/ez-agents/bin/lib/business-flow-mapper.cjs +429 -0
- package/ez-agents/bin/lib/code-complexity-analyzer.cjs +360 -0
- package/ez-agents/bin/lib/codebase-analyzer.cjs +241 -0
- package/ez-agents/bin/lib/commands.cjs +685 -685
- package/ez-agents/bin/lib/config.cjs +41 -1
- package/ez-agents/bin/lib/constraint-extractor.cjs +526 -0
- package/ez-agents/bin/lib/content-scanner.cjs +238 -0
- package/ez-agents/bin/lib/context-cache.cjs +154 -0
- package/ez-agents/bin/lib/context-errors.cjs +71 -0
- package/ez-agents/bin/lib/context-manager.cjs +220 -0
- package/ez-agents/bin/lib/core.cjs +507 -512
- package/ez-agents/bin/lib/cost-tracker.cjs +243 -0
- package/ez-agents/bin/lib/crash-recovery.cjs +172 -0
- package/ez-agents/bin/lib/dependency-graph.cjs +319 -0
- package/ez-agents/bin/lib/deploy/deploy-audit-log.cjs +76 -0
- package/ez-agents/bin/lib/deploy/deploy-detector.cjs +69 -0
- package/ez-agents/bin/lib/deploy/deploy-env-manager.cjs +109 -0
- package/ez-agents/bin/lib/deploy/deploy-health-check.cjs +88 -0
- package/ez-agents/bin/lib/deploy/deploy-pre-flight.cjs +57 -0
- package/ez-agents/bin/lib/deploy/deploy-rollback.cjs +72 -0
- package/ez-agents/bin/lib/deploy/deploy-runner.cjs +97 -0
- package/ez-agents/bin/lib/deploy/deploy-status.cjs +74 -0
- package/ez-agents/bin/lib/discussion-synthesizer.cjs +458 -0
- package/ez-agents/bin/lib/file-access.cjs +207 -0
- package/ez-agents/bin/lib/finops/budget-enforcer.cjs +126 -0
- package/ez-agents/bin/lib/finops/cost-reporter.cjs +132 -0
- package/ez-agents/bin/lib/finops/finops-analyzer.cjs +112 -0
- package/ez-agents/bin/lib/finops/spot-manager.cjs +118 -0
- package/ez-agents/bin/lib/framework-detector.cjs +396 -0
- package/ez-agents/bin/lib/frontmatter.cjs +3 -1
- package/ez-agents/bin/lib/gates/README.md +374 -0
- package/ez-agents/bin/lib/gates/gate-01-requirement.cjs +303 -0
- package/ez-agents/bin/lib/gates/gate-02-architecture.cjs +555 -0
- package/ez-agents/bin/lib/gates/gate-03-code.cjs +635 -0
- package/ez-agents/bin/lib/gates/gate-04-security.cjs +829 -0
- package/ez-agents/bin/lib/git-errors.cjs +83 -0
- package/ez-agents/bin/lib/git-utils.cjs +118 -0
- package/ez-agents/bin/lib/git-workflow-engine.cjs +1157 -0
- package/ez-agents/bin/lib/health-check.cjs +162 -162
- package/ez-agents/bin/lib/index.cjs +40 -2
- package/ez-agents/bin/lib/init.cjs +0 -2
- package/ez-agents/bin/lib/lockfile-validator.cjs +227 -0
- package/ez-agents/bin/lib/log-rotation.cjs +71 -0
- package/ez-agents/bin/lib/logger.cjs +99 -154
- package/ez-agents/bin/lib/memory-compression.cjs +256 -0
- package/ez-agents/bin/lib/package-manager-detector.cjs +203 -0
- package/ez-agents/bin/lib/package-manager-executor.cjs +385 -0
- package/ez-agents/bin/lib/package-manager-service.cjs +216 -0
- package/ez-agents/bin/lib/perf/api-monitor.cjs +88 -0
- package/ez-agents/bin/lib/perf/db-optimizer.cjs +78 -0
- package/ez-agents/bin/lib/perf/frontend-performance.cjs +56 -0
- package/ez-agents/bin/lib/perf/perf-analyzer.cjs +77 -0
- package/ez-agents/bin/lib/perf/perf-baseline.cjs +102 -0
- package/ez-agents/bin/lib/perf/perf-reporter.cjs +117 -0
- package/ez-agents/bin/lib/perf/regression-detector.cjs +92 -0
- package/ez-agents/bin/lib/project-reporter.cjs +502 -0
- package/ez-agents/bin/lib/quality-gate.cjs +332 -0
- package/ez-agents/bin/lib/recovery-manager.cjs +98 -0
- package/ez-agents/bin/lib/release-validator.cjs +617 -0
- package/ez-agents/bin/lib/safe-exec.cjs +128 -214
- package/ez-agents/bin/lib/security-errors.cjs +62 -0
- package/ez-agents/bin/lib/session-chain.cjs +304 -0
- package/ez-agents/bin/lib/session-errors.cjs +81 -0
- package/ez-agents/bin/lib/session-export.cjs +251 -0
- package/ez-agents/bin/lib/session-import.cjs +262 -0
- package/ez-agents/bin/lib/session-manager.cjs +280 -0
- package/ez-agents/bin/lib/skill-context.cjs +148 -0
- package/ez-agents/bin/lib/skill-matcher.cjs +236 -0
- package/ez-agents/bin/lib/skill-registry.cjs +341 -0
- package/ez-agents/bin/lib/skill-resolver.cjs +449 -0
- package/ez-agents/bin/lib/skill-triggers.cjs +90 -0
- package/ez-agents/bin/lib/skill-validator.cjs +270 -0
- package/ez-agents/bin/lib/skill-versioning.cjs +355 -0
- package/ez-agents/bin/lib/stack-detector.cjs +399 -0
- package/ez-agents/bin/lib/tech-debt-analyzer.cjs +309 -0
- package/ez-agents/bin/lib/tier-manager.cjs +428 -0
- package/ez-agents/bin/lib/tradeoff-analyzer.cjs +284 -0
- package/ez-agents/bin/lib/url-fetch.cjs +170 -0
- package/ez-agents/bin/lib/verify.cjs +863 -863
- package/ez-agents/references/decimal-phase-calculation.md +65 -65
- package/ez-agents/references/git-integration.md +248 -248
- package/ez-agents/references/git-planning-commit.md +38 -38
- package/ez-agents/references/metrics-schema.md +118 -0
- package/ez-agents/references/model-profile-resolution.md +34 -34
- package/ez-agents/references/model-profiles.md +93 -93
- package/ez-agents/references/phase-argument-parsing.md +61 -61
- package/ez-agents/references/planning-config.md +340 -200
- package/ez-agents/references/tier-strategy.md +103 -0
- package/ez-agents/references/ui-brand.md +160 -160
- package/ez-agents/references/verification-patterns.md +612 -612
- package/ez-agents/templates/DEBUG.md +164 -164
- package/ez-agents/templates/UAT.md +247 -247
- package/ez-agents/templates/agent-output-format.md +404 -0
- package/ez-agents/templates/bdd-feature.md +173 -0
- package/ez-agents/templates/codebase/architecture.md +255 -255
- package/ez-agents/templates/codebase/structure.md +285 -285
- package/ez-agents/templates/copilot-instructions.md +7 -7
- package/ez-agents/templates/debug-subagent-prompt.md +91 -91
- package/ez-agents/templates/discovery.md +146 -146
- package/ez-agents/templates/discussion.md +68 -0
- package/ez-agents/templates/handoff-protocol.md +294 -0
- package/ez-agents/templates/incident-runbook.md +205 -0
- package/ez-agents/templates/mode-workflow-templates.md +301 -0
- package/ez-agents/templates/phase-prompt.md +610 -610
- package/ez-agents/templates/planner-subagent-prompt.md +117 -117
- package/ez-agents/templates/project.md +184 -184
- package/ez-agents/templates/release-checklist.md +136 -0
- package/ez-agents/templates/research.md +552 -552
- package/ez-agents/templates/rollback-plan.md +201 -0
- package/ez-agents/templates/security-user-setup.md +244 -0
- package/ez-agents/templates/skill-validation-rules.md +476 -0
- package/ez-agents/templates/state.md +180 -176
- package/ez-agents/templates/summary-complex.md +59 -59
- package/ez-agents/tests/gates/gate-01-02.test.cjs +812 -0
- package/ez-agents/tests/gates/gate-03-04.test.cjs +762 -0
- package/ez-agents/tests/gates/gate-05-validator.test.cjs +145 -0
- package/ez-agents/tests/gates/gate-06-docs-validator.test.cjs +244 -0
- package/ez-agents/tests/gates/gate-07-release-validator.test.cjs +219 -0
- package/ez-agents/tests/guards/context-budget-guard.test.cjs +145 -0
- package/ez-agents/tests/guards/edge-case-guards.test.cjs +238 -0
- package/ez-agents/tests/guards/hallucination-guard.test.cjs +124 -0
- package/ez-agents/workflows/audit-milestone.md +1 -1
- package/ez-agents/workflows/autonomous.md +131 -30
- package/ez-agents/workflows/complete-milestone.md +1 -1
- package/ez-agents/workflows/discuss-phase.md +1 -1
- package/ez-agents/workflows/execute-phase.md +169 -3
- package/ez-agents/workflows/help.md +86 -133
- package/ez-agents/workflows/hotfix.md +291 -0
- package/ez-agents/workflows/new-milestone.md +340 -11
- package/ez-agents/workflows/new-project.md +294 -318
- package/ez-agents/workflows/plan-phase.md +22 -40
- package/ez-agents/workflows/progress.md +15 -25
- package/ez-agents/workflows/release.md +253 -0
- package/ez-agents/workflows/resume-session.md +215 -0
- package/ez-agents/workflows/run-phase.md +531 -0
- package/ez-agents/workflows/settings.md +2 -35
- package/hooks/dist/ez-check-update.js +81 -81
- package/hooks/dist/ez-context-monitor.js +148 -141
- package/hooks/dist/ez-statusline.js +115 -115
- package/package.json +78 -64
- package/scripts/fix-qwen-installation.js +144 -144
- package/agents/ez-integration-checker.md +0 -443
- package/agents/ez-nyquist-auditor.md +0 -176
- package/agents/ez-plan-checker.md +0 -706
- package/agents/ez-research-synthesizer.md +0 -247
- package/agents/ez-ui-auditor.md +0 -439
- package/agents/ez-ui-checker.md +0 -300
- package/agents/ez-ui-researcher.md +0 -353
- package/commands/ez/add-phase.md +0 -43
- package/commands/ez/add-todo.md +0 -47
- package/commands/ez/auth.md +0 -87
- package/commands/ez/autonomous.md +0 -41
- package/commands/ez/check-todos.md +0 -45
- package/commands/ez/cleanup.md +0 -18
- package/commands/ez/debug.md +0 -168
- package/commands/ez/health.md +0 -22
- package/commands/ez/insert-phase.md +0 -32
- package/commands/ez/join-discord.md +0 -18
- package/commands/ez/list-phase-assumptions.md +0 -46
- package/commands/ez/pause-work.md +0 -38
- package/commands/ez/plan-milestone-gaps.md +0 -34
- package/commands/ez/reapply-patches.md +0 -124
- package/commands/ez/remove-phase.md +0 -31
- package/commands/ez/research-phase.md +0 -190
- package/commands/ez/set-profile.md +0 -34
- package/commands/ez/stats.md +0 -18
- package/commands/ez/ui-phase.md +0 -34
- package/commands/ez/ui-review.md +0 -32
- package/commands/ez/validate-phase.md +0 -35
- package/ez-agents/templates/UI-SPEC.md +0 -100
- package/ez-agents/templates/VALIDATION.md +0 -76
- package/ez-agents/templates/context.md +0 -352
- package/ez-agents/templates/verification-report.md +0 -322
- package/ez-agents/workflows/research-phase.md +0 -74
- package/ez-agents/workflows/ui-phase.md +0 -290
- package/ez-agents/workflows/ui-review.md +0 -157
- package/ez-agents/workflows/validate-phase.md +0 -167
package/README.md
CHANGED
|
@@ -1,462 +1,735 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
|
-
# EZ Agents
|
|
4
|
-
|
|
5
|
-
**
|
|
6
|
-
|
|
7
|
-
[](https://github.com/howlil/ez-agents/actions/workflows/ci.yml)
|
|
8
|
+
[](https://github.com/howlil/ez-agents/actions/workflows/test.yml)
|
|
9
|
+
[](https://github.com/howlil/ez-agents/actions/workflows/codeql.yml)
|
|
10
|
+
[](https://www.npmjs.com/package/@howlil/ez-agents)
|
|
11
|
+
[](https://npmjs.com/package/@howlil/ez-agents)
|
|
12
|
+
[](LICENSE)
|
|
13
|
+
[](https://github.com/howlil/ez-agents/stargazers)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm i -g @howlil/ez-agents@latest
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**Works with:** Claude Code · OpenCode · Gemini CLI · Codex · Copilot · Qwen · Kimi
|
|
20
|
+
|
|
21
|
+
[Quick Start](#quick-start) · [Lean Workflow](#lean-agile-workflow-v360) · [Commands](#commands) · [Setup](#setup) · [Docs](docs/) · [Lean Guide](docs/LEAN-GUIDE.md)
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
> **What is this?** EZ Agents is an AI App Builder. An Orchestrator (Chief Strategist) takes your project brief, decomposes it into a dependency-aware task graph, delegates work to Specialist Agents in parallel, enforces quality gates, and delivers implementation-ready output — code, tests, docs, and release artifacts. Works for new projects, existing codebases, rapid MVPs, and enterprise-scale products.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Why EZ Agents Exists
|
|
32
|
+
|
|
33
|
+
AI agents are capable — but capability without coordination produces chaos. Real software delivery requires:
|
|
34
|
+
|
|
35
|
+
- **Coordination** — agents need to share state and hand off work cleanly
|
|
36
|
+
- **Context discipline** — decisions, contracts, and requirements must persist across sessions
|
|
37
|
+
- **Quality gates** — code that passes tests is not the same as code that ships safely
|
|
38
|
+
- **Structure without ceremony** — the right amount of process for the project size
|
|
39
|
+
|
|
40
|
+
EZ Agents provides a Chief Strategist Orchestrator that coordinates a pool of Specialist Agents through a 10-phase SDLC workflow — from intake to post-release loop. Stack-agnostic and requirement-driven.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Quick Start
|
|
45
|
+
|
|
46
|
+
### 1. Install
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm i -g @howlil/ez-agents@latest
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 2. Setup for Your AI Tool
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# For Claude Code
|
|
56
|
+
ez-agents --claude --global
|
|
57
|
+
|
|
58
|
+
# For OpenCode
|
|
59
|
+
ez-agents --opencode --global
|
|
60
|
+
|
|
61
|
+
# For Gemini CLI
|
|
62
|
+
ez-agents --gemini --global
|
|
63
|
+
|
|
64
|
+
# See all options
|
|
65
|
+
ez-agents --help
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 3. Start a Project
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# In your project directory
|
|
72
|
+
/ez:new-project
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
You'll answer a few questions about what you're building, then EZ Agents generates a roadmap. From there, use the **lean agile flow**:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# ⚡ FAST PATH: Single command for all phases (recommended)
|
|
79
|
+
/ez:run-phase 1 # 35-55 min per phase
|
|
80
|
+
/ez:run-phase 1 --yolo # Fully autonomous, no pauses
|
|
81
|
+
|
|
82
|
+
# 🎯 MANUAL CONTROL: Per phase
|
|
83
|
+
/ez:discuss-phase 1 # Optional — clarify approach (15 min)
|
|
84
|
+
/ez:plan-phase 1 # Create task breakdown (20 min)
|
|
85
|
+
/ez:execute-phase 1 # Build (one task per commit) (30 min)
|
|
86
|
+
/ez:verify-work 1 # Test it works (10 min)
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### 4. Complete Milestone
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
/ez:audit-milestone # Verify all requirements met (10 min)
|
|
93
|
+
/ez:complete-milestone 1.0.0 # Archive and tag release (5 min)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Total time from idea to MVP: 2-3 days** 🚀
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## How It Works
|
|
101
|
+
|
|
102
|
+
### System Architecture
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
106
|
+
│ EZ AGENTS ORCHESTRATION SYSTEM │
|
|
107
|
+
│ │
|
|
108
|
+
│ A multi-agent coordination system for building software with AI agents │
|
|
109
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
110
|
+
|
|
111
|
+
USER
|
|
112
|
+
│
|
|
113
|
+
▼
|
|
114
|
+
┌───────────────────────┐
|
|
115
|
+
│ ez-chief-strategist │ ◄── Orchestrator
|
|
116
|
+
│ (Chief Strategist) │ (Work classification,
|
|
117
|
+
└───────────┬───────────┘ routing, state machine)
|
|
118
|
+
│
|
|
119
|
+
┌───────────────────────┼───────────────────────┐
|
|
120
|
+
│ │ │
|
|
121
|
+
▼ ▼ ▼
|
|
122
|
+
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
123
|
+
│ Specialist │ │ Specialist │ │ Specialist │
|
|
124
|
+
│ Agents │ │ Agents │ │ Agents │
|
|
125
|
+
│ │ │ │ │ │
|
|
126
|
+
│ • ez-planner │ │ • ez-executor │ │ • ez-verifier │
|
|
127
|
+
│ • ez-researcher │ │ • ez-debugger │ │ • ez-auditor │
|
|
128
|
+
│ • ez-mapper │ │ • ez-qa-agent │ │ • ez-roadmapper │
|
|
129
|
+
│ • ez-architect │ │ • ez-devops │ │ │
|
|
130
|
+
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### The Phase Workflow
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
┌─────────────────┐
|
|
137
|
+
│ Start Project │
|
|
138
|
+
│ /ez:new-project│
|
|
139
|
+
└────────┬────────┘
|
|
140
|
+
│
|
|
141
|
+
▼
|
|
142
|
+
┌─────────────────────────────────────────────────┐
|
|
143
|
+
│ For Each Phase: │
|
|
144
|
+
│ │
|
|
145
|
+
│ 1. /ez:discuss-phase → Decide HOW to build │
|
|
146
|
+
│ 2. /ez:plan-phase → Break into tasks │
|
|
147
|
+
│ 3. /ez:execute-phase → Build (one commit/task)│
|
|
148
|
+
│ 4. /ez:verify-work → Test it works │
|
|
149
|
+
└─────────────────────────────────────────────────┘
|
|
150
|
+
│
|
|
151
|
+
▼
|
|
152
|
+
┌─────────────────────────┐
|
|
153
|
+
│ /ez:audit-milestone │
|
|
154
|
+
│ /ez:complete-milestone │
|
|
155
|
+
└─────────────────────────┘
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Chief Strategist State Machine
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
TASK RECEIVED
|
|
162
|
+
│
|
|
163
|
+
▼
|
|
164
|
+
┌─────────────┐
|
|
165
|
+
│ 1. TRIAGE │ ──► Classify: feature/bug/refactor/incident
|
|
166
|
+
└──────┬──────┘
|
|
167
|
+
│
|
|
168
|
+
▼
|
|
169
|
+
┌───────────────────┐
|
|
170
|
+
│ 2. RETRIVE_CTX │ ──► Load project context
|
|
171
|
+
└──────┬────────────┘
|
|
172
|
+
│
|
|
173
|
+
▼
|
|
174
|
+
┌───────────────────┐
|
|
175
|
+
│ 3. PROPOSE_ACTION │ ──► Select agent + skills
|
|
176
|
+
└──────┬────────────┘
|
|
177
|
+
│
|
|
178
|
+
▼
|
|
179
|
+
┌───────────────────┐
|
|
180
|
+
│ 4. POLICY_CHECK │ ──► Validate constraints
|
|
181
|
+
└──────┬────────────┘
|
|
182
|
+
│
|
|
183
|
+
▼
|
|
184
|
+
┌───────────────────┐
|
|
185
|
+
│ 5. EXECUTE │ ──► Route to specialist agent
|
|
186
|
+
└──────┬────────────┘
|
|
187
|
+
│
|
|
188
|
+
▼
|
|
189
|
+
┌───────────────────┐
|
|
190
|
+
│ 6. VERIFY │ ──► Validate results
|
|
191
|
+
└──────┬────────────┘
|
|
192
|
+
│
|
|
193
|
+
▼
|
|
194
|
+
┌───────────────────┐
|
|
195
|
+
│ 7. COMPLETE │ ──► Log audit trail
|
|
196
|
+
└───────────────────┘
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Smart Orchestration
|
|
200
|
+
|
|
201
|
+
Core commands automatically invoke helper commands based on context — so you don't have to remember to run them. All auto-invocations are visible with an `[auto]` prefix.
|
|
202
|
+
|
|
203
|
+
| Command | Auto Pre | Auto Post | Conditional |
|
|
204
|
+
|---------|----------|-----------|-------------|
|
|
205
|
+
| `/ez:execute-phase` | health check | verify-work | discuss-phase (medium/enterprise, no CONTEXT.md) · add-todo (scope creep) |
|
|
206
|
+
| `/ez:plan-phase` | — | — | discuss-phase (phase touches auth/DB/payment/security area) |
|
|
207
|
+
| `/ez:release medium` | — | — | verify-work |
|
|
208
|
+
| `/ez:release enterprise` | — | — | verify-work → audit-milestone → arch-review |
|
|
209
|
+
| `/ez:progress` | health check (silent) | — | — |
|
|
210
|
+
|
|
211
|
+
**Override flags:**
|
|
212
|
+
|
|
213
|
+
| Flag | Effect |
|
|
214
|
+
|------|--------|
|
|
215
|
+
| `--no-auto` | Disable all auto-invocations for that run |
|
|
216
|
+
| `--verbose` | Show detail for every auto-invocation step |
|
|
217
|
+
| `--skip-discussion` | Skip only the auto discuss-phase trigger |
|
|
218
|
+
|
|
219
|
+
Disable globally: set `"smart_orchestration": { "enabled": false }` in `.planning/config.json`.
|
|
220
|
+
|
|
221
|
+
### Wave-Based Parallel Execution
|
|
222
|
+
|
|
223
|
+
Tasks are grouped into waves based on dependencies. Independent tasks run in parallel; dependent tasks wait for prerequisites.
|
|
224
|
+
|
|
225
|
+
```
|
|
226
|
+
Phase 1: Foundation
|
|
227
|
+
│
|
|
228
|
+
├─ Wave 1 (Parallel) ───────────────────────────┐
|
|
229
|
+
│ ┌─────────────────┐ ┌─────────────────┐ │
|
|
230
|
+
│ │ Task 1.1: │ │ Task 1.2: │ │
|
|
231
|
+
│ │ Database Schema │ │ Next.js Setup │ │
|
|
232
|
+
│ │ │ │ │ │
|
|
233
|
+
│ │ Fresh 200K ctx │ │ Fresh 200K ctx │ │
|
|
234
|
+
│ │ ↓ │ │ ↓ │ │
|
|
235
|
+
│ │ git commit │ │ git commit │ │
|
|
236
|
+
│ │ "feat: schema" │ │ "feat: setup" │ │
|
|
237
|
+
│ └─────────────────┘ └─────────────────┘ │
|
|
238
|
+
└────────────────────────────────────────────────┘
|
|
239
|
+
│
|
|
240
|
+
▼
|
|
241
|
+
├─ Wave 2 (Depends on Wave 1) ──────────────────┐
|
|
242
|
+
│ ┌─────────────────┐ │
|
|
243
|
+
│ │ Task 1.3: │ │
|
|
244
|
+
│ │ Auth Endpoints │ ← Needs schema + setup │
|
|
245
|
+
│ │ │ │
|
|
246
|
+
│ │ Fresh 200K ctx │ │
|
|
247
|
+
│ │ ↓ │ │
|
|
248
|
+
│ │ git commit │ │
|
|
249
|
+
│ │ "feat: auth" │ │
|
|
250
|
+
│ └─────────────────┘ │
|
|
251
|
+
└────────────────────────────────────────────────┘
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
**Benefits:**
|
|
255
|
+
- **Fresh context per task** — AI doesn't lose context due to window limits
|
|
256
|
+
- **Atomic commits** — Each task = one commit, easy to revert if issues arise
|
|
257
|
+
- **Parallel execution** — Independent tasks run together, faster delivery
|
|
258
|
+
- **Clean git history** — Descriptive commit messages, clear what changed
|
|
259
|
+
|
|
260
|
+
### What Makes It Different
|
|
261
|
+
|
|
262
|
+
| Problem | Without EZ Agents | With EZ Agents |
|
|
263
|
+
|---------|------------------|----------------|
|
|
264
|
+
| **Lost context** | "What was I working on again?" | STATE.md tracks decisions, blockers, next steps |
|
|
265
|
+
| **Vague plans** | "Build the API" | Specific tasks: "Create POST /users endpoint with validation" |
|
|
266
|
+
| **No verification** | Code written, but does it work? | Each phase has explicit verification criteria |
|
|
267
|
+
| **Messy git history** | "WIP", "fix", "asdf" | One commit per task, meaningful messages |
|
|
268
|
+
| **Scope creep** | Features added ad-hoc | ROADMAP.md tracks what's in/out of scope |
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## Features
|
|
273
|
+
|
|
274
|
+
### Core
|
|
275
|
+
|
|
276
|
+
- **Multi-Model Support** — Use Qwen, Kimi, OpenAI, or Anthropic. Mix providers per task.
|
|
277
|
+
- **Wave Execution** — Independent tasks run in parallel; dependent tasks wait their turn
|
|
278
|
+
- **Context Engineering** — PROJECT.md, STATE.md, SUMMARY.md preserve decisions across sessions
|
|
279
|
+
- **Atomic Commits** — Each task gets its own commit with context about what changed and why
|
|
280
|
+
- **Milestone Tracking** — Version releases with requirements audit and git tagging
|
|
281
|
+
- **Smart Orchestration** — Core commands auto-invoke helpers (health, verify-work, discuss-phase) based on context. All visible with `[auto]` prefix. Override with `--no-auto`.
|
|
282
|
+
|
|
283
|
+
### Built for Production
|
|
284
|
+
|
|
285
|
+
- **Security** — Command injection prevention, path validation, audit logging
|
|
286
|
+
- **Cross-Platform** — Pure JavaScript. Works on Windows, macOS, Linux (no Unix dependencies)
|
|
287
|
+
- **Error Handling** — Retry logic with backoff, circuit breaker for failing operations
|
|
288
|
+
- **Git Safety** — Atomic commits, branch automation, merge strategies
|
|
289
|
+
|
|
290
|
+
### CI/CD Pipeline
|
|
291
|
+
|
|
292
|
+
EZ Agents includes comprehensive CI/CD automation for enterprise-grade quality:
|
|
293
|
+
|
|
294
|
+
**Pipeline Stages:**
|
|
295
|
+
```
|
|
296
|
+
Push → Lint → Test → Security Scan → Build → Deploy Staging → Deploy Production
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
**Security Scanning:**
|
|
300
|
+
- **CodeQL** - Semantic code analysis for vulnerabilities (SAST)
|
|
301
|
+
- **Semgrep** - Fast pattern-based security scanning
|
|
302
|
+
- **npm audit** - Dependency vulnerability detection
|
|
303
|
+
- **Dependabot** - Automated dependency updates
|
|
304
|
+
|
|
305
|
+
**Environment Promotion:**
|
|
306
|
+
- **Develop branch** → Auto-deploy to staging
|
|
307
|
+
- **Main branch** → Deploy to production (requires manual approval)
|
|
308
|
+
- **Health checks** - Post-deployment validation
|
|
309
|
+
- **Auto-rollback** - Automatic rollback on health check failure
|
|
310
|
+
|
|
311
|
+
**Coverage Enforcement:**
|
|
312
|
+
- Minimum 70% code coverage threshold
|
|
313
|
+
- Coverage reports uploaded as artifacts
|
|
314
|
+
- Optional Codecov integration
|
|
315
|
+
|
|
316
|
+
**View Pipeline Status:**
|
|
317
|
+
- [CI Pipeline](https://github.com/howlil/ez-agents/actions/workflows/ci.yml)
|
|
318
|
+
- [Tests](https://github.com/howlil/ez-agents/actions/workflows/test.yml)
|
|
319
|
+
- [CodeQL](https://github.com/howlil/ez-agents/actions/workflows/codeql.yml)
|
|
320
|
+
- [Security Scan](https://github.com/howlil/ez-agents/actions/workflows/security-scan.yml)
|
|
321
|
+
|
|
322
|
+
### For Existing Codebases
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
# Analyze what you have
|
|
326
|
+
/ez:map-codebase
|
|
327
|
+
|
|
328
|
+
# Then plan what to add
|
|
329
|
+
/ez:new-project
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
Parallel agents analyze your stack, architecture, conventions, and pain points. The output: structured docs that inform the roadmap.
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## Lean Agile Workflow (v3.6.0)
|
|
337
|
+
|
|
338
|
+
### 🚀 Fast Path (Recommended)
|
|
339
|
+
|
|
340
|
+
Single command to run all phases iteratively:
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
/ez:run-phase 1 # Start from first incomplete phase
|
|
344
|
+
/ez:run-phase 2 # Start from specific phase
|
|
345
|
+
/ez:run-phase 1 --yolo # Fully autonomous (no pauses)
|
|
346
|
+
/ez:run-phase 1 --no-discuss # Skip discussion (if CONTEXT.md exists)
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
**What it does:**
|
|
350
|
+
1. Discovers phases from ROADMAP.md
|
|
351
|
+
2. For each phase: discuss → plan → execute → verify
|
|
352
|
+
3. Pause points for approval (unless --yolo)
|
|
353
|
+
4. Auto-advances to next phase
|
|
354
|
+
5. Updates STATE.md and ROADMAP.md automatically
|
|
355
|
+
|
|
356
|
+
**Time:** 35-55 minutes per phase
|
|
357
|
+
|
|
358
|
+
### 🎯 Manual Control
|
|
359
|
+
|
|
360
|
+
Step-by-step control for each phase:
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
# Step 1: Discuss (Optional)
|
|
364
|
+
/ez:discuss-phase 1
|
|
365
|
+
# Creates: CONTEXT.md (vision, decisions, boundaries)
|
|
366
|
+
|
|
367
|
+
# Step 2: Plan
|
|
368
|
+
/ez:plan-phase 1
|
|
369
|
+
# Creates: 01-01-PLAN.md (tasks with verification criteria)
|
|
370
|
+
|
|
371
|
+
# Step 3: Execute
|
|
372
|
+
/ez:execute-phase 1
|
|
373
|
+
# Creates: 01-01-SUMMARY.md + git commits
|
|
374
|
+
|
|
375
|
+
# Step 4: Verify
|
|
376
|
+
/ez:verify-work 1
|
|
377
|
+
# Creates: UAT results, diagnoses failures
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
**Time:** 75-105 minutes per phase
|
|
381
|
+
|
|
382
|
+
### 📁 Documentation Strategy
|
|
383
|
+
|
|
384
|
+
**Essential Files (4 only):**
|
|
385
|
+
|
|
386
|
+
| File | Purpose | Max Lines |
|
|
387
|
+
|------|---------|-----------|
|
|
388
|
+
| `STATE.md` | Single source of truth | 200 |
|
|
389
|
+
| `ROADMAP.md` | Phase structure & progress | 300 |
|
|
390
|
+
| `REQUIREMENTS.md` | What to build (MoSCoW) | 500 |
|
|
391
|
+
| `SUMMARY.md` | What was built | 50 |
|
|
392
|
+
|
|
393
|
+
**Deprecated (No longer required):**
|
|
394
|
+
- ❌ CONTEXT.md → Merge decisions into STATE.md
|
|
395
|
+
- ❌ RESEARCH.md → Inline research in PLAN.md
|
|
396
|
+
- ❌ VERIFICATION.md → Inline in SUMMARY.md
|
|
397
|
+
- ❌ UAT.md → Merge into SUMMARY.md
|
|
398
|
+
- ❌ DISCUSSION.md → Removed entirely
|
|
399
|
+
|
|
400
|
+
### 🔄 Git Strategy
|
|
401
|
+
|
|
402
|
+
**One commit per plan** (not per task):
|
|
403
|
+
|
|
404
|
+
```bash
|
|
405
|
+
# Good
|
|
406
|
+
git commit -m "Phase 1 Plan 1: User authentication"
|
|
407
|
+
git commit -m "Phase 1 complete: Foundation"
|
|
408
|
+
|
|
409
|
+
# Avoid (too granular)
|
|
410
|
+
git commit -m "feat: add login endpoint"
|
|
411
|
+
git commit -m "feat: add jwt middleware"
|
|
412
|
+
git commit -m "feat: add auth tests"
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
**Result:** 2-3 commits per phase (not 10-20)
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
## Commands
|
|
420
|
+
|
|
421
|
+
### Core Workflow (Lean Agile)
|
|
422
|
+
|
|
423
|
+
| Command | What It Does |
|
|
424
|
+
|---------|-------------|
|
|
425
|
+
| `/ez:new-project` | Initialize: answer questions, get requirements and roadmap |
|
|
426
|
+
| `/ez:run-phase [N]` | **NEW!** Run all phases iteratively with pause points. Use `--yolo` for fully autonomous. |
|
|
427
|
+
| `/ez:quick` | Small task without full phase workflow (bug fixes, config changes) |
|
|
428
|
+
|
|
429
|
+
### Phase Workflow (Manual Control)
|
|
430
|
+
|
|
431
|
+
| Command | What It Does |
|
|
432
|
+
|---------|-------------|
|
|
433
|
+
| `/ez:discuss-phase [N]` | Optional — Clarify implementation approach before planning |
|
|
434
|
+
| `/ez:plan-phase [N]` | Create task breakdown with verification criteria |
|
|
435
|
+
| `/ez:execute-phase [N]` | Build the plan (parallel waves, one commit per task) |
|
|
436
|
+
| `/ez:verify-work [N]` | Manual testing with auto-diagnosis of failures |
|
|
437
|
+
|
|
438
|
+
### Milestone Management
|
|
439
|
+
|
|
440
|
+
| Command | What It Does |
|
|
441
|
+
|---------|-------------|
|
|
442
|
+
| `/ez:audit-milestone` | Verify all requirements are met |
|
|
443
|
+
| `/ez:complete-milestone` | Archive milestone, create git tag |
|
|
444
|
+
| `/ez:new-milestone` | Start next version cycle |
|
|
445
|
+
|
|
446
|
+
### Utilities
|
|
447
|
+
|
|
448
|
+
| Command | What It Does |
|
|
449
|
+
|---------|-------------|
|
|
450
|
+
| `/ez:map-codebase` | Analyze existing codebase (before `/ez:new-project`) |
|
|
451
|
+
| `/ez:progress` | See where you are and what's next |
|
|
452
|
+
| `/ez:resume-work` | Restore context from last session |
|
|
453
|
+
| `/ez:settings` | Configure workflow, model profile, git strategy |
|
|
454
|
+
| `/ez:update` | Update EZ Agents (with changelog preview) |
|
|
455
|
+
| `/ez:help` | Show all commands |
|
|
456
|
+
|
|
457
|
+
---
|
|
458
|
+
|
|
459
|
+
## Context Access Commands
|
|
460
|
+
|
|
461
|
+
EZ Agents provides commands for gathering context from local files and remote URLs during planning phases.
|
|
462
|
+
|
|
463
|
+
### `ez-tools context read <pattern>`
|
|
464
|
+
|
|
465
|
+
Read local files using glob patterns.
|
|
466
|
+
|
|
467
|
+
**Examples:**
|
|
468
|
+
```bash
|
|
469
|
+
node ez-tools.cjs context read "README.md"
|
|
470
|
+
node ez-tools.cjs context read "src/**/*.ts"
|
|
471
|
+
node ez-tools.cjs context read "*.json" "!package-lock.json"
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
**Supported patterns:**
|
|
475
|
+
- Single files: `README.md`
|
|
476
|
+
- Glob patterns: `src/**/*.ts`
|
|
477
|
+
- Brace expansion: `*.{ts,js}`
|
|
478
|
+
- Negation: `!*.test.ts`
|
|
479
|
+
|
|
480
|
+
### `ez-tools context fetch <url>`
|
|
481
|
+
|
|
482
|
+
Fetch content from URL (HTTPS only, requires user confirmation).
|
|
483
|
+
|
|
484
|
+
**Examples:**
|
|
485
|
+
```bash
|
|
486
|
+
node ez-tools.cjs context fetch https://example.com/spec.md
|
|
487
|
+
node ez-tools.cjs context fetch https://raw.githubusercontent.com/user/repo/main/README.md
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
**Security:**
|
|
491
|
+
- Only HTTPS URLs allowed
|
|
492
|
+
- User confirmation required before fetching
|
|
493
|
+
- Content scanned for XSS/malware before use
|
|
494
|
+
|
|
495
|
+
### `ez-tools context request`
|
|
496
|
+
|
|
497
|
+
Interactive mode for requesting multiple context sources. Enter file patterns or URLs one per line, then press Enter on an empty line to finish.
|
|
498
|
+
|
|
499
|
+
**Example:**
|
|
500
|
+
```bash
|
|
501
|
+
node ez-tools.cjs context request
|
|
502
|
+
> README.md
|
|
503
|
+
> src/**/*.ts
|
|
504
|
+
> https://example.com/api-docs.md
|
|
505
|
+
>
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
---
|
|
509
|
+
|
|
510
|
+
## Setup
|
|
511
|
+
|
|
512
|
+
### Prerequisites
|
|
513
|
+
|
|
514
|
+
- Node.js >= 16.7.0
|
|
515
|
+
- One of: Claude Code, OpenCode, Gemini CLI, Codex, Copilot, Qwen Code, Kimi Code
|
|
516
|
+
|
|
517
|
+
### Installation
|
|
518
|
+
|
|
519
|
+
```bash
|
|
520
|
+
npm i -g @howlil/ez-agents@latest
|
|
521
|
+
ez-agents --claude --global
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### Updating
|
|
525
|
+
|
|
526
|
+
```bash
|
|
527
|
+
npm update -g @howlil/ez-agents
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
**Development Install** (for contributing)
|
|
531
|
+
|
|
532
|
+
```bash
|
|
533
|
+
git clone https://github.com/howlil/ez-agents.git
|
|
534
|
+
cd ez-agents
|
|
535
|
+
npm install -g .
|
|
536
|
+
ez-agents --claude --local
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
---
|
|
540
|
+
|
|
541
|
+
## Configuration
|
|
542
|
+
|
|
543
|
+
EZ Agents stores settings in `.planning/config.json`. You configure this during `/ez:new-project` or adjust later with `/ez:settings`.
|
|
544
|
+
|
|
545
|
+
### Key Settings
|
|
546
|
+
|
|
547
|
+
| Setting | Options | Default | What It Does |
|
|
548
|
+
|---------|---------|---------|-------------|
|
|
549
|
+
| `mode` | `interactive`, `yolo` | `interactive` | `yolo` skips confirmation prompts |
|
|
550
|
+
| `model_profile` | `quality`, `balanced`, `budget` | `balanced` | Controls which model tier each agent uses |
|
|
551
|
+
| `granularity` | `coarse`, `standard`, `fine` | `standard` | How many phases (3-5, 5-8, or 8-12) |
|
|
552
|
+
| `smart_orchestration.enabled` | `true`, `false` | `true` | Enable/disable auto-invocation of helper commands |
|
|
553
|
+
|
|
554
|
+
### Model Profiles
|
|
555
|
+
|
|
556
|
+
| Agent | `quality` | `balanced` | `budget` |
|
|
557
|
+
|-------|-----------|------------|----------|
|
|
558
|
+
| Planner | Opus | Opus | Sonnet |
|
|
559
|
+
| Executor | Opus | Sonnet | Sonnet |
|
|
560
|
+
| Researcher | Opus | Sonnet | Haiku |
|
|
561
|
+
| Verifier | Sonnet | Sonnet | Haiku |
|
|
562
|
+
|
|
563
|
+
**When to use each:**
|
|
564
|
+
- **quality** — Critical work, complex decisions, you have quota
|
|
565
|
+
- **balanced** — Day-to-day development (the default for a reason)
|
|
566
|
+
- **budget** — High-volume work, familiar domains, prototyping
|
|
567
|
+
|
|
568
|
+
### Multi-Provider Setup
|
|
569
|
+
|
|
570
|
+
Different providers for different tasks:
|
|
571
|
+
|
|
572
|
+
```json
|
|
573
|
+
{
|
|
574
|
+
"provider": {
|
|
575
|
+
"default": "alibaba",
|
|
576
|
+
"anthropic": {
|
|
577
|
+
"api_key": "env:ANTHROPIC_API_KEY"
|
|
578
|
+
},
|
|
579
|
+
"alibaba": {
|
|
580
|
+
"api_key": "env:DASHSCOPE_API_KEY"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"agent_overrides": {
|
|
584
|
+
"ez-planner": { "provider": "alibaba", "model": "qwen-max" },
|
|
585
|
+
"ez-executor": { "provider": "anthropic", "model": "sonnet" }
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
---
|
|
591
|
+
|
|
592
|
+
## Project Structure
|
|
593
|
+
|
|
594
|
+
After running `/ez:new-project`, you'll have:
|
|
595
|
+
|
|
596
|
+
```
|
|
597
|
+
.planning/
|
|
598
|
+
PROJECT.md # What you're building and why
|
|
599
|
+
REQUIREMENTS.md # Scoped requirements with IDs
|
|
600
|
+
ROADMAP.md # Phase breakdown with status
|
|
601
|
+
STATE.md # Current decisions, blockers, next steps
|
|
602
|
+
config.json # Your configuration
|
|
603
|
+
phases/
|
|
604
|
+
01-phase-name/
|
|
605
|
+
01-01-PLAN.md # Tasks to execute
|
|
606
|
+
01-01-SUMMARY.md # What was built and why
|
|
607
|
+
CONTEXT.md # Your implementation preferences
|
|
608
|
+
RESEARCH.md # Domain research
|
|
609
|
+
VERIFICATION.md # Test results
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
**Note:** You can add `.planning/` to `.gitignore` if you don't want planning docs in your repo. Set `commit_docs: false` in `/ez:settings`.
|
|
613
|
+
|
|
614
|
+
---
|
|
615
|
+
|
|
616
|
+
## Example: Building a Task App
|
|
617
|
+
|
|
618
|
+
Let's say you want to build "a task management app with team collaboration."
|
|
619
|
+
|
|
620
|
+
### 1. Initialize
|
|
621
|
+
|
|
622
|
+
```bash
|
|
623
|
+
/ez:new-project
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
You answer questions:
|
|
627
|
+
- Tech stack? → "Next.js + PostgreSQL"
|
|
628
|
+
- Auth method? → "Email + OAuth (Google, GitHub)"
|
|
629
|
+
- First milestone? → "MVP: user accounts, create/edit tasks, share with team"
|
|
630
|
+
|
|
631
|
+
EZ Agents generates research, requirements, and a roadmap with ~6 phases.
|
|
632
|
+
|
|
633
|
+
### 2. Phase 1: Foundation
|
|
634
|
+
|
|
635
|
+
```bash
|
|
636
|
+
/ez:discuss-phase 1
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
You clarify: "Use Next.js App Router, Prisma for DB, next-auth for OAuth."
|
|
640
|
+
|
|
641
|
+
```bash
|
|
642
|
+
/ez:plan-phase 1
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
Research runs (auth patterns, Prisma schema design). Plan is created:
|
|
646
|
+
- Task 1: Database schema (users, tasks, teams)
|
|
647
|
+
- Task 2: Next.js setup with next-auth
|
|
648
|
+
- Task 3: User model and auth endpoints
|
|
649
|
+
|
|
650
|
+
```bash
|
|
651
|
+
/ez:execute-phase 1
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
Three tasks, three commits. Each task gets fresh context.
|
|
655
|
+
|
|
656
|
+
```bash
|
|
657
|
+
/ez:verify-work 1
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
You test: Can register? Can login? Can connect to DB? All pass.
|
|
661
|
+
|
|
662
|
+
### 3. Repeat for Each Phase
|
|
663
|
+
|
|
664
|
+
```bash
|
|
665
|
+
/ez:discuss-phase 2
|
|
666
|
+
/ez:plan-phase 2
|
|
667
|
+
/ez:execute-phase 2
|
|
668
|
+
/ez:verify-work 2
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
### 4. Complete Milestone
|
|
672
|
+
|
|
673
|
+
```bash
|
|
674
|
+
/ez:audit-milestone # Checks all requirements are met
|
|
675
|
+
/ez:complete-milestone # Archives, tags v1.0
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
---
|
|
679
|
+
|
|
680
|
+
## Documentation
|
|
681
|
+
|
|
682
|
+
| Doc | What's Inside |
|
|
683
|
+
|-----|---------------|
|
|
684
|
+
| [User Guide](docs/USER-GUIDE.md) | Full command reference, workflows, troubleshooting |
|
|
685
|
+
| [Workflows](docs/WORKFLOWS.md) | Complete workflow diagrams for all use cases |
|
|
686
|
+
| [Provider Behaviors](docs/PROVIDER-BEHAVIORS.md) | Differences between Claude, OpenCode, Gemini, etc. |
|
|
687
|
+
| [Qwen Code Install](docs/QWEN-CODE-INSTALL.md) | Fix for Qwen Code CLI installation issues |
|
|
688
|
+
|
|
689
|
+
---
|
|
690
|
+
|
|
691
|
+
## Contributing
|
|
692
|
+
|
|
693
|
+
Contributions welcome! A few guidelines:
|
|
694
|
+
|
|
695
|
+
1. **Test your changes** — Run `npm test` before submitting
|
|
696
|
+
2. **Keep it cross-platform** — No Unix-specific commands (use `fs-utils.cjs`)
|
|
697
|
+
3. **Document behavior** — Update USER-GUIDE.md for new commands
|
|
698
|
+
4. **Respect the workflow** — EZ Agents is about structure; don't break existing patterns
|
|
699
|
+
|
|
700
|
+
### Development Setup
|
|
701
|
+
|
|
702
|
+
```bash
|
|
703
|
+
git clone https://github.com/howlil/ez-agents.git
|
|
704
|
+
cd ez-agents
|
|
705
|
+
npm install
|
|
706
|
+
npm run build:hooks
|
|
707
|
+
npm link
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
### Running Tests
|
|
711
|
+
|
|
712
|
+
```bash
|
|
713
|
+
npm test # Run all tests
|
|
714
|
+
npm run test:coverage # With coverage report
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
---
|
|
718
|
+
|
|
719
|
+
## Acknowledgments
|
|
720
|
+
|
|
721
|
+
EZ Agents is a fork of the original project by [TÂCHES](https://github.com/glittercowboy). This fork adds multi-model support (Qwen, Kimi, OpenAI), enterprise-grade security, and cross-platform reliability. Not affiliated with the upstream repository.
|
|
722
|
+
|
|
723
|
+
---
|
|
724
|
+
|
|
725
|
+
## License
|
|
726
|
+
|
|
727
|
+
MIT — see [LICENSE](LICENSE)
|
|
728
|
+
|
|
729
|
+
---
|
|
730
|
+
|
|
731
|
+
## Getting Help
|
|
732
|
+
|
|
733
|
+
- **Issues:** [GitHub Issues](https://github.com/howlil/ez-agents/issues)
|
|
734
|
+
- **Discussions:** [GitHub Discussions](https://github.com/howlil/ez-agents/discussions)
|
|
735
|
+
- **npm:** [@howlil/ez-agents](https://www.npmjs.com/package/@howlil/ez-agents)
|