@itz4blitz/agentful 1.2.1 → 1.4.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.
Files changed (75) hide show
  1. package/README.md +20 -41
  2. package/bin/cli.js +41 -1056
  3. package/bin/hooks/architect-drift-detector.js +242 -0
  4. package/bin/hooks/block-file-creation.js +271 -0
  5. package/bin/hooks/context-awareness.js +369 -0
  6. package/bin/hooks/post-action-suggestions.js +75 -0
  7. package/bin/hooks/product-spec-watcher.js +151 -0
  8. package/bin/hooks/session-start.js +93 -0
  9. package/lib/context-awareness.js +369 -0
  10. package/lib/index.js +17 -14
  11. package/lib/init.js +99 -24
  12. package/lib/parallel-execution.js +235 -0
  13. package/lib/presets.js +80 -4
  14. package/lib/state-validator.README.md +442 -0
  15. package/lib/state-validator.example.js +262 -0
  16. package/lib/state-validator.js +562 -0
  17. package/package.json +4 -7
  18. package/template/.claude/agents/architect.md +2 -2
  19. package/template/.claude/agents/backend.md +17 -30
  20. package/template/.claude/agents/frontend.md +17 -39
  21. package/template/.claude/agents/orchestrator.md +63 -4
  22. package/template/.claude/agents/product-analyzer.md +1 -1
  23. package/template/.claude/agents/tester.md +16 -29
  24. package/template/.claude/commands/agentful-analyze.md +47 -59
  25. package/template/.claude/commands/agentful-decide.md +73 -95
  26. package/template/.claude/commands/agentful-generate.md +221 -14
  27. package/template/.claude/commands/agentful-init.md +621 -0
  28. package/template/.claude/commands/agentful-product.md +27 -38
  29. package/template/.claude/commands/agentful-start.md +133 -120
  30. package/template/.claude/commands/agentful-status.md +51 -68
  31. package/template/.claude/commands/agentful-validate.md +29 -69
  32. package/template/.claude/commands/agentful.md +1 -1
  33. package/template/.claude/product/EXAMPLES.md +2 -2
  34. package/template/.claude/product/index.md +1 -1
  35. package/template/.claude/settings.json +39 -0
  36. package/template/.claude/skills/research/SKILL.md +432 -0
  37. package/template/CLAUDE.md +226 -33
  38. package/template/bin/hooks/analyze-trigger.js +69 -0
  39. package/template/bin/hooks/architect-drift-detector.js +242 -0
  40. package/template/bin/hooks/block-file-creation.js +271 -0
  41. package/template/bin/hooks/health-check.js +153 -0
  42. package/template/bin/hooks/product-spec-watcher.js +151 -0
  43. package/version.json +1 -1
  44. package/bin/hooks/post-agent.js +0 -101
  45. package/bin/hooks/post-feature.js +0 -227
  46. package/bin/hooks/pre-agent.js +0 -118
  47. package/bin/hooks/pre-feature.js +0 -138
  48. package/lib/VALIDATION_README.md +0 -455
  49. package/lib/ci/claude-action-integration.js +0 -641
  50. package/lib/ci/index.js +0 -10
  51. package/lib/core/analyzer.js +0 -497
  52. package/lib/core/cli.js +0 -141
  53. package/lib/core/detectors/conventions.js +0 -342
  54. package/lib/core/detectors/framework.js +0 -276
  55. package/lib/core/detectors/index.js +0 -15
  56. package/lib/core/detectors/language.js +0 -199
  57. package/lib/core/detectors/patterns.js +0 -356
  58. package/lib/core/generator.js +0 -626
  59. package/lib/core/index.js +0 -9
  60. package/lib/core/output-parser.js +0 -458
  61. package/lib/core/storage.js +0 -515
  62. package/lib/core/templates.js +0 -556
  63. package/lib/pipeline/cli.js +0 -423
  64. package/lib/pipeline/engine.js +0 -928
  65. package/lib/pipeline/executor.js +0 -440
  66. package/lib/pipeline/index.js +0 -33
  67. package/lib/pipeline/integrations.js +0 -559
  68. package/lib/pipeline/schemas.js +0 -288
  69. package/lib/remote/client.js +0 -361
  70. package/lib/server/auth.js +0 -270
  71. package/lib/server/client-example.js +0 -190
  72. package/lib/server/executor.js +0 -477
  73. package/lib/server/index.js +0 -494
  74. package/lib/update-helpers.js +0 -505
  75. package/lib/validation.js +0 -460
package/README.md CHANGED
@@ -14,22 +14,22 @@
14
14
  [![Discord](https://img.shields.io/badge/Discord-Join%20Us-7289da)](https://discord.gg/SMDvJXUe)
15
15
  [![Documentation](https://img.shields.io/badge/docs-agentful.app-blue)](https://agentful.app)
16
16
 
17
- **AI agent toolkit for autonomous product development with Claude Code**
17
+ **Pre-configured development toolkit for Claude Code**
18
+
19
+ Orchestrates specialized agents in parallel with inter-agent communication to build features from product specs.
18
20
 
19
21
  [Quick Start](#quick-start) • [Documentation](https://agentful.app) • [Discord](https://discord.gg/SMDvJXUe)
20
22
 
21
23
  </div>
22
24
 
23
- **The Swiss Army Knife of AI Agents** - Works with any LLM (Claude, GLM, DeepSeek, Ollama), any tech stack, any platform. Self-hosted or cloud.
24
-
25
25
  ## Features
26
26
 
27
- - **8 specialized agents** - orchestrator, architect, backend, frontend, tester, reviewer, fixer, product-analyzer
28
- - **6 quality gates** - types, tests, coverage, lint, security, dead code
29
- - **Auto-generated domain agents** - learns your codebase patterns and conventions
30
- - **Self-hosted execution** - run agents on your infrastructure (optional)
31
- - **Multi-platform CI/CD** - GitHub Actions, GitLab, Jenkins, or any HTTP client
32
- - **Product-driven workflow** - define specs, agents build features
27
+ - **Parallel execution** - Multiple agents work simultaneously in git worktrees (frontend + backend + tests running concurrently)
28
+ - **Three-tier architecture** - Core agents (pre-built), domain agents (generated for your stack), ephemeral agents (task-specific)
29
+ - **Shared skills** - Reusable capabilities like validation, testing, and research across all agents
30
+ - **Quality gates** - Automated validation for every change (types, lint, tests, coverage, security, dead code)
31
+ - **Tech stack agnostic** - Works with any language/framework
32
+ - **Human checkpoints** - You decide, agents execute
33
33
 
34
34
  ## Quick Start
35
35
 
@@ -40,10 +40,12 @@ npx @itz4blitz/agentful init
40
40
  # 2. Start Claude Code
41
41
  claude
42
42
 
43
- # 3. Define product spec (interactive)
44
- /agentful-product
43
+ # 3. Define product spec (choose one):
44
+ /agentful-init # Interactive 7-question wizard (recommended for new users)
45
+ # OR
46
+ /agentful-product # Manual spec creation/analysis
45
47
 
46
- # 4. Start development
48
+ # 4. Start development (auto-generates agents on first run)
47
49
  /agentful-start
48
50
  ```
49
51
 
@@ -67,47 +69,24 @@ https://agentful.app/configure
67
69
 
68
70
  | Command | Description |
69
71
  |---------|-------------|
72
+ | `/agentful-init` | Interactive onboarding - 7 guided questions |
70
73
  | `/agentful-product` | Create and analyze product specifications |
74
+ | `/agentful-generate` | Generate domain-specific agents for your stack |
71
75
  | `/agentful-start` | Start autonomous development |
72
76
  | `/agentful-status` | View completion % and current work |
73
77
  | `/agentful-validate` | Run quality checks |
74
78
  | `/agentful-decide` | Answer blocking decisions |
75
- | `/agentful-analyze` | Generate domain-specific agents |
76
-
77
- ## Self-Hosted Remote Execution
78
-
79
- Run agents on your infrastructure:
80
-
81
- ```bash
82
- # Deploy to Oracle Cloud free tier ($0/month)
83
- agentful serve --auth=tailscale
84
-
85
- # Or use SSH tunnel for local dev
86
- ssh -L 3000:localhost:3000 your-server
87
- agentful serve
88
- ```
89
-
90
- See [deployment docs](https://agentful.app/remote-execution) for Tailscale, HMAC auth, and Oracle Cloud setup.
91
-
92
- ## CI/CD Integration
93
-
94
- Works with any platform via HTTP API or templates:
95
-
96
- - [GitHub Actions](https://agentful.app/ci-integration#github-actions)
97
- - [GitLab CI](https://agentful.app/ci-integration#gitlab-ci)
98
- - [Jenkins](https://agentful.app/ci-integration#jenkins)
99
- - [HTTP API](https://agentful.app/ci-integration#http-api) (CircleCI, Bitbucket, Travis, etc.)
100
79
 
101
80
  ## Documentation
102
81
 
103
82
  - **Full docs**: [agentful.app](https://agentful.app)
104
- - **Architecture**: [Agent system](https://agentful.app/concepts/architecture)
105
- - **Agents**: [Orchestrator](https://agentful.app/agents/orchestrator), [Backend](https://agentful.app/agents/backend), [Frontend](https://agentful.app/agents/frontend), etc.
106
- - **Skills**: [Product tracking](https://agentful.app/skills/product-tracking), [Validation](https://agentful.app/skills/validation), etc.
83
+ - **Architecture**: [Three-tier system](https://agentful.app/concepts/architecture) | [Background agents](https://agentful.app/concepts/background-agents)
84
+ - **Agents**: [Orchestrator](https://agentful.app/agents/orchestrator), [Backend](https://agentful.app/agents/backend), [Frontend](https://agentful.app/agents/frontend), [Reviewer](https://agentful.app/agents/reviewer), [Fixer](https://agentful.app/agents/fixer)
85
+ - **Skills**: [Validation](https://agentful.app/skills/validation), [Testing](https://agentful.app/skills/testing), [Research](https://agentful.app/skills/research), [Product Planning](https://agentful.app/skills/product-planning)
107
86
 
108
87
  ## Requirements
109
88
 
110
- - Claude Code ([code.anthropic.com](https://code.anthropic.com))
89
+ - [Claude Code](https://claude.ai/download)
111
90
  - Node.js 22+
112
91
  - Git
113
92