hool-cli 0.2.0 → 0.2.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- # HOOL — Human Out Of Loop
1
+ # hool-cli
2
2
 
3
3
  Agent-Driven SDLC. Describe what you want to build, then step away. Agents handle spec, design, architecture, implementation, testing, and bug fixing.
4
4
 
@@ -19,31 +19,104 @@ Then open your AI coding tool and tell it:
19
19
  Read .hool/prompts/orchestrator.md and begin Phase 1: Brainstorm
20
20
  ```
21
21
 
22
- ## Commands
22
+ ## Install
23
23
 
24
24
  ```bash
25
- npx hool-cli init # Scaffold HOOL in current directory
26
- npx hool-cli status # Show current phase and task summary
27
- npx hool-cli reset # Reset operations and memory (keeps phase docs)
25
+ npm install -g hool-cli
28
26
  ```
29
27
 
30
- Or install globally:
28
+ Update to the latest version:
29
+
30
+ ```bash
31
+ npm update -g hool-cli
32
+ ```
33
+
34
+ ## Commands
35
+
36
+ ### `hool init`
37
+
38
+ Scaffold HOOL in the current directory. Creates phase directories, operations files, agent memory, prompts, and platform instructions.
31
39
 
32
40
  ```bash
33
- npm install -g hool-cli
34
41
  hool init
42
+ hool init --dir ./myapp --platform claude-code --type web-app --mode full-hool
43
+ ```
44
+
45
+ **Options:**
46
+ - `-d, --dir <path>` — Project directory (default: `.`)
47
+ - `-p, --platform <platform>` — `claude-code`, `cursor`, or `generic`
48
+ - `-t, --type <type>` — `web-app`, `browser-game`, `mobile-android`, `animation`, `cli-tool`, `api-only`, `desktop`, `other`
49
+ - `-m, --mode <mode>` — `interactive` (default) or `full-hool`
50
+
51
+ ### `hool onboard`
52
+
53
+ Onboard an existing codebase into HOOL. Scaffolds the full HOOL structure around your existing code (no files are touched), then sets up onboarding tasks for agents to reverse-engineer project docs.
54
+
55
+ ```bash
56
+ hool onboard
57
+ hool onboard --dir ./myapp --platform claude-code --type web-app
58
+ ```
59
+
60
+ If `.hool/` already exists, prompts for **re-onboard** — a lightweight path that only resets `current-phase.md` and prepends onboarding tasks to the task board, preserving all memory and phase docs.
61
+
62
+ ### `hool status`
63
+
64
+ Show current phase, task summary, bug count, and human review status.
65
+
66
+ ```bash
35
67
  hool status
36
68
  ```
37
69
 
38
- Update to the latest version:
70
+ ### `hool reset`
71
+
72
+ Reset operations files and agent memory. Phase documents are preserved.
39
73
 
40
74
  ```bash
41
- npm update -g hool-cli
75
+ hool reset
42
76
  ```
43
77
 
44
- ## Documentation
78
+ ### `hool mode [new-mode]`
79
+
80
+ Show or switch execution mode.
81
+
82
+ ```bash
83
+ hool mode # show current mode
84
+ hool mode full-hool # switch to full-hool
85
+ hool mode interactive # switch to interactive
86
+ ```
87
+
88
+ ## Modes
89
+
90
+ - **Interactive** (default) — You review and approve spec, design, and architecture (Phases 0-4) before agents build autonomously.
91
+ - **Full-HOOL** — You brainstorm the idea, then agents handle everything. Decisions are logged for post-build review.
92
+
93
+ ## Eight Agents
94
+
95
+ | Agent | Role |
96
+ |-------|------|
97
+ | **Product Lead** | Vision, contracts, doc consistency, phase gating, agent dispatch |
98
+ | **FE Tech Lead** | FE scaffold, low-level design, code review |
99
+ | **BE Tech Lead** | BE scaffold, low-level design, code review |
100
+ | **FE Dev** | Frontend implementation |
101
+ | **BE Dev** | Backend implementation |
102
+ | **QA** | Test plan, test execution, bug reporting |
103
+ | **Forensic** | Root cause analysis, bug triage, fix routing |
104
+ | **Governor** | Behavioral auditor, rule enforcement, corrective feedback |
105
+
106
+ The Product Lead is the only user-facing agent. All others are dispatched internally. The Governor runs continuously to audit agent behavior.
107
+
108
+ ## Supported Platforms
109
+
110
+ | Platform | Instruction file | MCP support |
111
+ |----------|-----------------|-------------|
112
+ | Claude Code | `CLAUDE.md` | Full (auto-installs) |
113
+ | Cursor | `.cursor/rules/hool.mdc` | Full (auto-installs) |
114
+ | Generic | `.hool/prompts/` only | Manual setup |
115
+
116
+ ## Links
45
117
 
46
- Full documentation: [github.com/the-wise-agents/hool](https://github.com/the-wise-agents/hool)
118
+ - [GitHub](https://github.com/the-wise-agents/hool)
119
+ - [Full documentation](https://github.com/the-wise-agents/hool#readme)
47
120
 
48
121
  ## License
49
122
 
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ const program = new Command();
30
30
  program
31
31
  .name('hool')
32
32
  .description('Agent-Driven SDLC — scaffold and configure HOOL for any project')
33
- .version('0.2.0');
33
+ .version('0.2.1');
34
34
  // ── hool init ──────────────────────────────────────────────
35
35
  program
36
36
  .command('init')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hool-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Agent-Driven SDLC — scaffold and configure HOOL for any project",
5
5
  "bin": {
6
6
  "hool": "./dist/index.js"
@@ -12,7 +12,8 @@
12
12
  },
13
13
  "files": [
14
14
  "dist",
15
- "prompts"
15
+ "prompts",
16
+ "README.md"
16
17
  ],
17
18
  "dependencies": {
18
19
  "@inquirer/prompts": "^8.3.0",
@@ -9,10 +9,11 @@ You own the product vision, manage the full SDLC lifecycle, define contracts, en
9
9
  1. Read your Always Read files (state + memory)
10
10
  2. Determine where you are: read `operations/current-phase.md` and `operations/task-board.md`
11
11
  3. **If there are pending tasks**: Tell the user what's pending and ask if you should proceed — do NOT silently wait for instructions. You are the driver, not a passenger. Example: "I have 5 pending onboarding tasks. Should I proceed, or do you have something else in mind?"
12
- 4. If mid-phase with pending tasks: continue the dispatch loop (see Autonomous Execution Loop)
13
- 5. If between phases: check gate conditions, advance if met
14
- 6. If standby (onboarded project or post-phase-12): wait for user to tell you what to do, then route to the right phase/agent
15
- 7. If user gives a new request at any point: assess it, update spec/task-board as needed, route accordingly
12
+ 4. **If current phase is "onboarding"**: This is your highest priority. The project was onboarded from an existing codebase and needs reverse-engineered documentation before any development can happen. Complete ALL onboarding tasks on the task board immediately reverse-engineer project profile, spec, architecture, BE LLD, seed agent memories, surface issues and inconsistencies. Do not wait for explicit instruction. Do not treat user conversation as a reason to delay onboarding. If the user asks a question, answer it, then resume onboarding.
13
+ 5. If mid-phase with pending tasks: continue the dispatch loop (see Autonomous Execution Loop)
14
+ 6. If between phases: check gate conditions, advance if met
15
+ 7. If standby (onboarded project or post-phase-12): wait for user to tell you what to do, then route to the right phase/agent
16
+ 8. If user gives a new request at any point: assess it, update spec/task-board as needed, route accordingly
16
17
 
17
18
  ## Execution Modes
18
19