helloagents 3.0.3-beta.1 → 3.0.7

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 (72) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/README.md +134 -41
  5. package/README_CN.md +135 -42
  6. package/bootstrap-lite.md +104 -46
  7. package/bootstrap.md +143 -113
  8. package/cli.mjs +80 -427
  9. package/gemini-extension.json +1 -1
  10. package/hooks/hooks-claude.json +10 -0
  11. package/hooks/hooks.json +10 -0
  12. package/package.json +2 -12
  13. package/scripts/advisor-state.mjs +222 -0
  14. package/scripts/capability-registry.mjs +59 -0
  15. package/scripts/cli-codex-backup.mjs +59 -0
  16. package/scripts/cli-codex-config.mjs +100 -0
  17. package/scripts/cli-codex.mjs +34 -156
  18. package/scripts/cli-config.mjs +1 -0
  19. package/scripts/cli-doctor-render.mjs +28 -0
  20. package/scripts/cli-doctor.mjs +367 -0
  21. package/scripts/cli-host-detect.mjs +94 -0
  22. package/scripts/cli-lifecycle-hosts.mjs +123 -0
  23. package/scripts/cli-lifecycle.mjs +213 -0
  24. package/scripts/cli-messages.mjs +76 -52
  25. package/scripts/closeout-state.mjs +213 -0
  26. package/scripts/delivery-gate.mjs +256 -0
  27. package/scripts/guard-rules.mjs +122 -0
  28. package/scripts/guard.mjs +190 -168
  29. package/scripts/notify-context.mjs +77 -17
  30. package/scripts/notify-events.mjs +5 -1
  31. package/scripts/notify-route.mjs +111 -0
  32. package/scripts/notify-shared.mjs +0 -2
  33. package/scripts/notify-source.mjs +113 -0
  34. package/scripts/notify-ui.mjs +40 -6
  35. package/scripts/notify.mjs +120 -59
  36. package/scripts/plan-contract.mjs +210 -0
  37. package/scripts/project-storage.mjs +235 -0
  38. package/scripts/ralph-loop.mjs +9 -58
  39. package/scripts/replay-state.mjs +210 -0
  40. package/scripts/review-state.mjs +220 -0
  41. package/scripts/runtime-context.mjs +74 -0
  42. package/scripts/verify-state.mjs +226 -0
  43. package/scripts/visual-state.mjs +244 -0
  44. package/scripts/workflow-core.mjs +165 -0
  45. package/scripts/workflow-plan-files.mjs +249 -0
  46. package/scripts/workflow-recommendation.mjs +335 -0
  47. package/scripts/workflow-state.mjs +113 -0
  48. package/skills/commands/auto/SKILL.md +37 -71
  49. package/skills/commands/build/SKILL.md +67 -0
  50. package/skills/commands/clean/SKILL.md +10 -8
  51. package/skills/commands/commit/SKILL.md +8 -4
  52. package/skills/commands/help/SKILL.md +17 -10
  53. package/skills/commands/idea/SKILL.md +55 -0
  54. package/skills/commands/init/SKILL.md +6 -3
  55. package/skills/commands/loop/SKILL.md +6 -5
  56. package/skills/commands/plan/SKILL.md +116 -0
  57. package/skills/commands/prd/SKILL.md +20 -15
  58. package/skills/commands/verify/SKILL.md +32 -9
  59. package/skills/commands/wiki/SKILL.md +7 -5
  60. package/skills/hello-review/SKILL.md +9 -0
  61. package/skills/hello-subagent/SKILL.md +4 -3
  62. package/skills/hello-ui/SKILL.md +36 -8
  63. package/skills/hello-verify/SKILL.md +10 -2
  64. package/skills/helloagents/SKILL.md +24 -13
  65. package/templates/DESIGN.md +25 -4
  66. package/templates/STATE.md +3 -0
  67. package/templates/plans/contract.json +48 -0
  68. package/templates/plans/plan.md +23 -0
  69. package/templates/plans/tasks.md +3 -3
  70. package/skills/commands/design/SKILL.md +0 -108
  71. package/skills/commands/review/SKILL.md +0 -16
  72. package/templates/plans/design.md +0 -14
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "helloagents",
11
11
  "description": "Quality-driven orchestration kernel for AI CLIs: intelligent routing, quality verification, safety guards, and notifications",
12
- "version": "3.0.3-beta.1",
12
+ "version": "3.0.7",
13
13
  "source": "./",
14
14
  "author": {
15
15
  "name": "HelloWind",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helloagents",
3
- "version": "3.0.3-beta.1",
3
+ "version": "3.0.7",
4
4
  "description": "HelloAGENTS — The orchestration kernel that makes any AI CLI smarter. Adds intelligent routing, quality verification (Ralph Loop), safety guards, and notifications.",
5
5
  "author": "HelloWind",
6
6
  "license": "Apache-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helloagents",
3
- "version": "3.0.3-beta.1",
3
+ "version": "3.0.7",
4
4
  "description": "HelloAGENTS — Quality-driven orchestration kernel for AI CLIs with intelligent routing, quality verification (Ralph Loop), safety guards, and notifications.",
5
5
  "author": {
6
6
  "name": "HelloWind",
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  **Quality-driven orchestration kernel for AI coding CLIs — 14 auto-activated skills, process discipline, and checklist gating.**
10
10
 
11
- [![Version](https://img.shields.io/badge/version-3.0.2-orange.svg)](./package.json)
11
+ [![Version](https://img.shields.io/badge/version-3.0.7-orange.svg)](./package.json)
12
12
  [![npm](https://img.shields.io/npm/v/helloagents.svg)](https://www.npmjs.com/package/helloagents)
13
13
  [![Node](https://img.shields.io/badge/node-%3E%3D18-339933.svg)](./package.json)
14
14
  [![Skills](https://img.shields.io/badge/skills-14-6366f1.svg)](./skills)
@@ -33,6 +33,7 @@
33
33
  <summary><strong>Click to expand</strong></summary>
34
34
 
35
35
  - [🎯 Why HelloAGENTS?](#-why-helloagents)
36
+ - [🆚 Compared with v2.3.8](#-compared-with-v238)
36
37
  - [✨ Core Features](#-core-features)
37
38
  - [🚀 Quick Start](#-quick-start)
38
39
  - [🔄 Installation Lifecycle & File Writes](#-installation-lifecycle--file-writes)
@@ -90,6 +91,25 @@ HelloAGENTS fixes that. It's an orchestration layer that sits on top of your AI
90
91
  - ❌ Simple one-off questions (HelloAGENTS adds process overhead)
91
92
  - ❌ Non-coding tasks (optimized for software engineering)
92
93
 
94
+ ## 🆚 Compared with v2.3.8
95
+
96
+ If the last version you used seriously was `v2.3.8`, this is not a minor update. The current line is a full product-line reset.
97
+
98
+ | Dimension | v2.3.8 | Local `v3.0.7` |
99
+ |-----------|--------|----------------|
100
+ | **Implementation base** | Python package plus mixed scripts/rules | Pure Node.js + Markdown runtime built around `cli.mjs`, `bootstrap*.md`, `skills/`, and `scripts/` |
101
+ | **Product shape** | More like a multi-CLI management tool plus prompt protocol bundle | More like a quality orchestration kernel for AI CLIs, centered on routing, gating, verification, and resumable execution |
102
+ | **Installation model** | pip / uv / npx / shell installers in parallel | npm-first; install the package, then deploy explicitly to Claude / Gemini / Codex |
103
+ | **CLI strategy** | 6 targets with uneven capabilities | Focused on 3 primary surfaces: Claude Code, Gemini CLI, and Codex CLI |
104
+ | **Workflow model** | R0/R1/R2 routing plus older design/develop semantics | ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE routed kernel |
105
+ | **Command surface** | 15 commands including `~exec`, `~rollback`, `~rlm`, `~validatekb` | 12 focused commands such as `~idea`, `~plan`, `~build`, `~verify`, `~prd`, `~loop`, and `~wiki` |
106
+ | **Quality model** | More distributed rules, more reliance on prose | 14 auto-activated skills + checklist gating + Ralph Loop + structured evidence |
107
+ | **Project state** | KB felt auxiliary | `.helloagents/` is now the activation boundary; `STATE.md`, plan packages, `DESIGN.md`, and `contract.json` anchor the workflow |
108
+ | **KB storage** | Project-local only | Project-local by default, plus `project_store_mode=repo-shared` for sharing stable KB/plan assets across git worktrees |
109
+ | **Codex integration** | Earlier compatibility layers and legacy paths | Standby = injected rules + local links; global = native local-plugin chain with less noise and drift |
110
+
111
+ In one sentence: `v2.3.8` was closer to "workflow glue for multiple CLIs"; `v3.0.7` is a real orchestration kernel that unifies quality rules, plan artifacts, verification evidence, and installation lifecycle into one operating model.
112
+
93
113
  ## ✨ Core Features
94
114
 
95
115
  HelloAGENTS enforces quality through three mechanisms working together:
@@ -136,10 +156,32 @@ L1 blocks destructive commands (`rm -rf /`, `git push --force`, `DROP DATABASE`)
136
156
 
137
157
  **⚡ Structured Workflow**
138
158
 
139
- Simple tasks get direct execution. Complex tasks go through ORIENTCLARIFY → PLAN → EXECUTEVALIDATE with interactive design, solution proposals, and plan packages.
159
+ Simple tasks stay fast. Complex tasks use a routed kernel workflow: ROUTE/TIER SPEC → PLAN → BUILDVERIFY → CONSOLIDATE, with explicit command lanes for ideation, planning, implementation, and validation.
140
160
 
141
161
  **Your gain:** proportional effort — quick tasks stay fast, complex tasks get full process.
142
162
 
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td width="50%" valign="top">
167
+ <img src="./readme_images/02-feature-icon-installer.svg" width="48" align="left">
168
+
169
+ **🧠 Structured Plan Artifacts**
170
+
171
+ Complex tasks no longer rely on one paragraph of planning prose. They land as `requirements.md`, `plan.md`, `tasks.md`, `contract.json`, `STATE.md`, and `DESIGN.md` when needed.
172
+
173
+ **Your gain:** routing, implementation, verification, and closeout all move around the same set of facts instead of drifting across free-form summaries.
174
+
175
+ </td>
176
+ <td width="50%" valign="top">
177
+ <img src="./readme_images/05-feature-icon-compat.svg" width="48" align="left">
178
+
179
+ **🗂️ Local / Shared Project Storage**
180
+
181
+ By default, KB and plan packages stay in the project's local `.helloagents/`. If you work with multiple worktrees, `project_store_mode=repo-shared` moves the stable project memory to `~/.helloagents/projects/<repo-key>/`.
182
+
183
+ **Your gain:** local runtime isolation stays intact while stable KB and plan assets stop fragmenting across worktrees.
184
+
143
185
  </td>
144
186
  </tr>
145
187
  </table>
@@ -226,7 +268,7 @@ Codex CLI does not need a manual plugin command. `helloagents --global` now inst
226
268
  ```
227
269
  💡【HelloAGENTS】- Help
228
270
 
229
- Available commands: ~auto, ~design, ~prd, ~loop, ~wiki, ~init, ~test, ~verify, ~review, ~commit, ~clean, ~help
271
+ Available commands: ~idea, ~auto, ~plan, ~build, ~prd, ~loop, ~wiki, ~init, ~test, ~verify, ~commit, ~clean, ~help
230
272
 
231
273
  Auto-activated skills (14): hello-ui, hello-api, hello-security, hello-test, hello-verify, hello-errors, hello-perf, hello-data, hello-arch, hello-debug, hello-subagent, hello-review, hello-write, hello-reflect
232
274
  ```
@@ -241,7 +283,7 @@ Auto-activated skills (14): hello-ui, hello-api, hello-security, hello-test, hel
241
283
  ~auto "Add user authentication with JWT"
242
284
 
243
285
  # Want to review the plan first?
244
- ~design "Refactor the payment module"
286
+ ~plan "Refactor the payment module"
245
287
  ```
246
288
 
247
289
  ## 🔄 Installation Lifecycle & File Writes
@@ -280,8 +322,10 @@ All commands run inside AI chat with the `~` prefix:
280
322
 
281
323
  | Command | Purpose |
282
324
  |---------|---------|
283
- | `~auto` | Full autonomous workflow AI judges complexity, auto-plans and executes |
284
- | `~design` | Deep interactive design requirement gathering + solution proposals + plan package |
325
+ | `~idea` | Lightweight ideationcompare directions and explore options without writing files |
326
+ | `~auto` | Automatic orchestrationchooses the right path across ideation / planning / build / verify / PRD, and reuses an active plan package before reopening a new lane |
327
+ | `~plan` | Structured planning — requirement gathering + solution convergence + plan package |
328
+ | `~build` | Execution workflow — implement from the current request or an existing plan package |
285
329
  | `~prd` | Complete PRD — 13-dimension brainstorm-style exploration, generates product requirements |
286
330
  | `~loop` | Autonomous iteration — set a target + metric, AI loops until goal is met |
287
331
 
@@ -290,8 +334,7 @@ All commands run inside AI chat with the `~` prefix:
290
334
  | Command | Purpose |
291
335
  |---------|---------|
292
336
  | `~test` | Write complete tests (TDD: Red → Green → Refactor) |
293
- | `~verify` | Run all verification commands (lint/test/build/typecheck) |
294
- | `~review` | Code review with severity classification |
337
+ | `~verify` | Unified verification entry — review, lint, typecheck, test, build, and fix loops |
295
338
 
296
339
  **Utility Commands:**
297
340
 
@@ -303,6 +346,11 @@ All commands run inside AI chat with the `~` prefix:
303
346
  | `~clean` | Archive completed plans, clean temp files |
304
347
  | `~help` | Show all commands and current config |
305
348
 
349
+ Compatibility aliases:
350
+ - `~design` → `~plan`
351
+ - `~do` → `~build`
352
+ - `~review` → `~verify` (review-priority mode)
353
+
306
354
  ## 🔧 Configuration
307
355
 
308
356
  Config file: `~/.helloagents/helloagents.json` (auto-created on install)
@@ -317,6 +365,7 @@ Only include keys you want to override — missing keys use defaults.
317
365
  "ralph_loop_enabled": true,
318
366
  "guard_enabled": true,
319
367
  "kb_create_mode": 1,
368
+ "project_store_mode": "local",
320
369
  "commit_attribution": "",
321
370
  "install_mode": "standby"
322
371
  }
@@ -330,6 +379,7 @@ Only include keys you want to override — missing keys use defaults.
330
379
  | `ralph_loop_enabled` | `true` | Auto-run verification after task completion |
331
380
  | `guard_enabled` | `true` | Block dangerous commands |
332
381
  | `kb_create_mode` | `1` | `0`=off, `1`=auto on coding tasks in activated projects or global mode, `2`=always in activated projects or global mode |
382
+ | `project_store_mode` | `"local"` | `"local"` = keep KB/plan files in project-local `.helloagents/`; `"repo-shared"` = keep local `.helloagents/` only for activation/STATE/runtime artifacts and move KB/plan files to `~/.helloagents/projects/<repo-key>/` |
333
383
  | `commit_attribution` | `""` | Empty = no attribution. Set text to append to commit messages |
334
384
  | `install_mode` | `"standby"` | `"standby"` = per-project activation (lite rules), `"global"` = full rules for all projects |
335
385
 
@@ -356,6 +406,11 @@ helloagents --standby
356
406
  { "kb_create_mode": 0 }
357
407
  ```
358
408
 
409
+ **Share KB and plan packages across multiple worktrees:**
410
+ ```json
411
+ { "project_store_mode": "repo-shared" }
412
+ ```
413
+
359
414
  **Enable desktop + sound notifications:**
360
415
  ```json
361
416
  { "notify_level": 3 }
@@ -370,22 +425,33 @@ helloagents --standby
370
425
 
371
426
  ## ⚙️ How It Works
372
427
 
373
- **Short version:** HelloAGENTS selects execution depth based on task complexity. Simple tasks run directly; complex tasks use the full 5-stage flow with verification at every step. Once the requirement and execution direction are clear, it prefers direct completion over repeated confirmation.
428
+ **Short version:** HelloAGENTS selects execution depth based on task type, risk, and project state. In standby mode, unactivated projects keep a lightweight rule set: safety, completion constraints, a compact quality floor, and explicit `~command` lanes. Once the project is activated through `.helloagents/`, or when global mode is enabled, HelloAGENTS switches to the full routed kernel workflow with explicit ideation, planning, build, verification, and consolidation stages.
374
429
 
375
- **The 5-stage flow:**
430
+ **The routed 6-stage kernel:**
376
431
 
377
- 1. **ORIENT** — Read project context (`.helloagents/context.md`, `guidelines.md`, `DESIGN.md`), scan relevant code
378
- 2. **CLARIFY** — Eliminate ambiguity. Simple tasks skip this. Complex tasks confirm key decisions
379
- 3. **PLAN** — Mark which quality skills are needed, generate design/plan if using `~design` or `~prd`
380
- 4. **EXECUTE** — Implement with TDD (test → code → refactor), verify after each step
381
- 5. **VALIDATE** — Run Ralph Loop (lint/test/build), collect delivery checklists from all activated skills, verify each item
432
+ 1. **ROUTE / TIER** — Decide whether the task belongs in `~idea`, `~plan`, `~build`, `~verify`, `~prd`, or `~auto`
433
+ 2. **SPEC** — Clarify goals, constraints, and success criteria
434
+ 3. **PLAN** — Mark required quality skills and prepare artifacts such as `requirements.md`, `plan.md`, and `tasks.md`
435
+ 4. **BUILD** — Implement with TDD (test → code → refactor), verify incrementally
436
+ 5. **VERIFY** — Run Ralph Loop, review diffs when needed, and collect delivery checklists
437
+ 6. **CONSOLIDATE** — Update `STATE.md`, sync KB artifacts, and archive completed plan packages
382
438
 
383
- **Routing rules:**
384
- - Simple tasks (single file, clear fix) → Direct execution
385
- - Complex tasks (3+ files, architecture change, new project) → Full 5-stage flow via `~design` or `~auto`
439
+ **Delivery Tier:**
440
+ - `T0` read-only exploration and idea comparison
441
+ - `T1` low-risk focused fixes or explicit verification
442
+ - `T2` — multi-file features, new projects, or work that needs structured artifacts
443
+ - `T3` — high-risk or irreversible chains such as auth, security, payment, database, or production release work
386
444
 
387
- **Quality skills auto-activate based on task type:**
388
- - Writing UI code? → `hello-ui` activates (design tokens, accessibility, responsive)
445
+ **Routing rules:**
446
+ - Exploration / compare options `~idea`
447
+ - Simple tasks (single file, clear fix) → Direct execution or `~build`
448
+ - Complex tasks (3+ files, architecture change, new project) → `~plan`, `~auto`, or `~prd`
449
+ - Review / validation requests → `~verify`
450
+
451
+ **Quality rules and skills by task type:**
452
+ - UI / frontend / visual interaction work always follows the active bootstrap carrier's shared UI kernel
453
+ - In activated projects, global mode, or explicit UI workflow commands, `hello-ui` adds deeper design-contract execution, design-system mapping, and visual validation
454
+ - When a UI `contract.json` explicitly asks for heavier UI assurance, HelloAGENTS keeps the default path light and only then adds optional `.helloagents/.ralph-advisor.json` and `.helloagents/.ralph-visual.json` evidence
389
455
  - Touching API endpoints? → `hello-api` activates (REST conventions, validation, error format)
390
456
  - Any code change? → `hello-test`, `hello-verify`, `hello-review` activate
391
457
 
@@ -395,10 +461,12 @@ HelloAGENTS supports two installation modes with different installation methods:
395
461
 
396
462
  | Mode | Install Method | Rules | Skills | Best For |
397
463
  |------|---------------|-------|--------|----------|
398
- | **Standby** (default) | `helloagents install <target> --standby` or `helloagents install --all --standby` | `bootstrap-lite.md` (lite rules) | `~command` on demand, project activation via `.helloagents/` (`~wiki` or `~init`) | Selective use, keeping other projects unaffected |
464
+ | **Standby** (default) | `helloagents install <target> --standby` or `helloagents install --all --standby` | `bootstrap-lite.md` (lite rules with compact quality floor, shared UI kernel, safety, and completion constraints) | `~command` on demand; before activation, UI tasks still follow the shared UI kernel; after `.helloagents/`, the full workflow activates | Selective use, keeping other projects unaffected |
399
465
  | **Global** | Manual plugins for Claude/Gemini; native local-plugin auto-install for Codex | `bootstrap.md` (full rules) | 14 skills auto-activate | All-in on HelloAGENTS across every project |
400
466
 
401
- Standby mode injects rules into `~/.claude/CLAUDE.md`, `~/.gemini/GEMINI.md`, and `~/.codex/AGENTS.md`; Codex then loads that local merged file via `developer_instructions` in `~/.codex/config.toml`. Each CLI also gets a `helloagents` package-root symlink. Claude Code and Gemini still use hooks where their host surfaces support quiet injection well. Codex deliberately does **not** enable HelloAGENTS hooks by default: the latest pre-source shows hook lifecycle output in TUI and does not honor `suppressOutput` as a true silent injection path, so Codex relies on the injected rules file plus the local symlink/native plugin layout instead. In global mode, Claude Code uses plugin hooks from `.claude-plugin/plugin.json`, Gemini loads `bootstrap.md` via `contextFileName` plus extension hooks, and Codex uses the native local-plugin chain (marketplace + local plugin root + cache + plugin enablement in `config.toml`) without plugin hooks.
467
+ Standby mode injects rules into `~/.claude/CLAUDE.md`, `~/.gemini/GEMINI.md`, and `~/.codex/AGENTS.md`; Codex then keeps `developer_instructions` in `~/.codex/config.toml` as the managed fallback so the home `AGENTS.md` remains the primary baseline. During a managed Codex install, HelloAGENTS temporarily removes any existing `model_instructions_file` entry because that setting can shadow the `AGENTS.md` chain; cleanup restores the user's original value. Each CLI also gets a `helloagents` package-root symlink. Claude Code and Gemini still use hooks where their host surfaces support quiet injection well. Codex deliberately does **not** enable HelloAGENTS hooks by default: the latest pre-source shows hook lifecycle output in TUI and does not honor `suppressOutput` as a true silent injection path, so Codex relies on the injected rules file plus the local symlink/native plugin layout instead. In global mode, Claude Code uses plugin hooks from `.claude-plugin/plugin.json`, Gemini loads `bootstrap.md` via `contextFileName` plus extension hooks, and Codex uses the native local-plugin chain (marketplace + local plugin root + cache + plugin enablement in `config.toml`) plus a synced `~/.codex/AGENTS.md` home baseline, still without plugin hooks.
468
+
469
+ In standby mode, `.helloagents/` is the activation boundary. Before activation, the lite carrier does **not** run the full 6-stage kernel or semantic auto-routing; it keeps the lightweight execution rules, explicit `~command` entry points, and minimum quality/completion guardrails. Once `.helloagents/` exists, the active project switches to the full project workflow and `bootstrap.md` becomes the runtime source of truth.
402
470
 
403
471
  Bulk switch via CLI: `helloagents --global` or `helloagents --standby`
404
472
 
@@ -406,39 +474,45 @@ Re-running the same mode command is also valid. It refreshes the current mode's
406
474
 
407
475
  ## 📚 Usage Guide
408
476
 
409
- ### Three Workflow Modes
477
+ ### Core Workflow Lanes
410
478
 
411
479
  | Mode | Description | When to use |
412
480
  |------|-------------|-------------|
413
- | `~auto` | Full autonomous flow: evaluate design develop verify | Clear requirement, want end-to-end delivery |
414
- | `~design` | Interactive design only, generates plan package | Want to review the plan before coding |
481
+ | `~idea` | Lightweight ideation only, no files written | Need help choosing a direction without activating full project flow |
482
+ | `~plan` | Interactive planning only, generates a plan package | Want to review the plan before coding |
483
+ | `~build` | Implementation workflow from the current task or existing plan package | Requirement is clear and you want execution |
484
+ | `~verify` | Verification / review workflow | Want audit, checks, and fix loops |
485
+ | `~auto` | Automatic orchestration across the lanes above | Want HelloAGENTS to choose the right path end-to-end |
415
486
  | `~prd` | 13-dimension PRD generation | Need comprehensive product requirements |
416
487
 
417
- Typical pattern: `~design` first review plan start coding. Or just `~auto` for one-shot delivery.
488
+ Typical pattern: `~idea` first to compare directions, then `~plan` to lock a solution, then `~build`, then `~verify`. Or just `~auto` for one-shot orchestration. If the project already has an active plan package, `~auto` should reuse that workflow state before reopening ideation or planning. For UI work, the decision priority is always `plan.md` / PRD UI decisions → `DESIGN.md` → generic UI rules.
418
489
 
419
490
  ### Quality Verification (Ralph Loop)
420
491
 
421
492
  After every task, Ralph Loop auto-runs your project's verification commands:
422
- - Priority: `.helloagents/verify.yaml` → `package.json` scripts → auto-detected
493
+ - Priority: logical `.helloagents/verify.yaml` (`project_store_mode=repo-shared` resolves it from the shared project store) → `package.json` scripts → auto-detected
423
494
  - All pass? → Collect skill checklists → Verify → Done
424
495
  - Any fail? → Reflect → Fix → Re-run (circuit breaker after 3 failures)
496
+ - Completion is also held back if the active plan package still has open tasks, missing required artifacts, or unreplaced template placeholders
425
497
 
426
498
  ### Knowledge Base (`.helloagents/`)
427
499
 
428
- `~wiki` creates or syncs the project-local knowledge base only. `~init` is the fuller bootstrap: it also writes project-local carrier files (`AGENTS.md`, `CLAUDE.md`, `.gemini/GEMINI.md`), refreshes the project `skills/helloagents` link, and appends the related ignore rules. In standby mode, the presence of `.helloagents/` is what promotes the current project into the full project workflow; project-local carrier files are optional.
500
+ `~wiki` creates or syncs the project knowledge base only. `~init` is the fuller bootstrap: it also writes project-local carrier files (`AGENTS.md`, `CLAUDE.md`, `.gemini/GEMINI.md`), refreshes the project `skills/helloagents` link, and appends the related ignore rules. In standby mode, the presence of the local `.helloagents/` is what promotes the current project into the full project workflow; project-local carrier files are optional.
501
+
502
+ By default, KB and plan files live in the project's local `.helloagents/`. If `project_store_mode = "repo-shared"`, the local `.helloagents/` directory keeps only the activation signal, `STATE.md`, and runtime artifacts such as `.ralph-*`, while `context.md`, `guidelines.md`, `DESIGN.md`, `verify.yaml`, `modules/`, `plans/`, and `archive/` move to `~/.helloagents/projects/<repo-key>/` so multiple worktrees of the same git repo can share stable project memory.
429
503
 
430
- `STATE.md` is a project-level recovery snapshot, not a universal memory file for every interaction. It is created and continuously updated for long-running project workflows such as `~wiki`, `~init`, `~design`, `~auto`, `~prd`, and `~loop`; updated when already present for verification/review style tasks; and intentionally not created for one-off read-only interactions such as `~help`.
504
+ `STATE.md` is a project-level recovery snapshot, not a universal memory file for every interaction. It is created and continuously updated for long-running project workflows such as `~wiki`, `~init`, `~plan`, `~build`, `~auto`, `~prd`, and `~loop`; updated when already present for verification/review style tasks; and intentionally not created for one-off read-only interactions such as `~help`.
431
505
 
432
506
  | File | Purpose |
433
507
  |------|---------|
434
- | `STATE.md` | Project-level recovery snapshot (≤50 lines, survives compression) |
435
- | `DESIGN.md` | Design system (UI projects only) |
508
+ | `STATE.md` | Project-level recovery snapshot (≤70 lines, survives compression as a resumable snapshot) |
509
+ | `DESIGN.md` | Project-level UI contract (design system, component patterns, state coverage, accessibility) |
436
510
  | `context.md` | Project architecture, tech stack, conventions |
437
511
  | `guidelines.md` | Non-obvious coding rules |
438
512
  | `verify.yaml` | Verification commands |
439
513
  | `CHANGELOG.md` | Change history |
440
514
  | `modules/*.md` | Module documentation + experience |
441
- | `plans/` | Active plan packages |
515
+ | `plans/` | Active plan packages (`requirements.md`, `plan.md`, `tasks.md`, `contract.json`) |
442
516
  | `archive/` | Completed plan packages |
443
517
 
444
518
  ### Smart Commit (`~commit`)
@@ -500,7 +574,7 @@ The test suite validates:
500
574
  <summary><strong>Q: What are the 14 quality skills?</strong></summary>
501
575
 
502
576
  **A:** They auto-activate based on task type:
503
- - **hello-ui**: UI construction (design tokens, accessibility, responsive, animation)
577
+ - **hello-ui**: deep UI implementation and validation (contracts, design-system mapping, accessibility, responsive, animation)
504
578
  - **hello-api**: API design (REST, validation, error format, rate limiting)
505
579
  - **hello-security**: Security (auth, input validation, XSS/CSRF, secrets management)
506
580
  - **hello-test**: Testing (TDD workflow, boundary cases, AAA pattern)
@@ -527,7 +601,7 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
527
601
  <details>
528
602
  <summary><strong>Q: Where does project knowledge go?</strong></summary>
529
603
 
530
- **A:** In the project-local `.helloagents/` directory. It can be created by `~wiki` (KB only) or `~init` (full project bootstrap), then auto-synced on code changes according to `kb_create_mode`. `STATE.md` is used as a concise recovery snapshot for long-running workflows, not as a catch-all memory file for every interaction.
604
+ **A:** By default, in the project-local `.helloagents/` directory. It can be created by `~wiki` (KB only) or `~init` (full project bootstrap), then auto-synced on code changes according to `kb_create_mode`. If `project_store_mode = "repo-shared"`, the local `.helloagents/` keeps only the activation signal, `STATE.md`, and `.ralph-*` runtime artifacts, while KB and plan files move to `~/.helloagents/projects/<repo-key>/`. `STATE.md` is used as a concise recovery snapshot for long-running workflows, not as a catch-all memory file for every interaction.
531
605
  </details>
532
606
 
533
607
  <details>
@@ -590,7 +664,7 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
590
664
  - Verify installation: `npm list -g helloagents`
591
665
  - Claude Code: check `~/.claude/CLAUDE.md` contains HelloAGENTS markers
592
666
  - Gemini CLI: check `~/.gemini/GEMINI.md` contains HelloAGENTS markers
593
- - Codex CLI: check `~/.codex/config.toml` has `model_instructions_file` pointing to `~/.codex/AGENTS.md` in standby mode, or to plugin `AGENTS.md` in global mode
667
+ - Codex CLI: check `~/.codex/AGENTS.md` contains HelloAGENTS markers, `~/.codex/config.toml` still has HelloAGENTS `developer_instructions` and `notify`, and no unexpected `model_instructions_file` is shadowing the managed baseline
594
668
  - Restart your CLI
595
669
 
596
670
  ---
@@ -644,7 +718,24 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
644
718
 
645
719
  ## 📈 Version History
646
720
 
647
- ### v3.0.3 (current)
721
+ ### v3.0.7 (current)
722
+
723
+ **What the current line now delivers relative to `v2.3.8`:**
724
+ - ✨ Full rewrite from a Python package to a Node.js/Markdown orchestration kernel, including install flow, runtime injection, skill system, and verification chain
725
+ - ✨ Replaced the older layered routing / design-develop model with one routed kernel: ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE
726
+ - ✨ Re-centered the command surface around `~idea`, `~plan`, `~build`, `~verify`, `~prd`, `~loop`, and `~wiki`, plus 14 auto-activated quality skills
727
+ - ✨ Turned project artifacts into first-class workflow facts: `STATE.md`, `DESIGN.md`, `requirements.md`, `plan.md`, `tasks.md`, `contract.json`, and `.ralph-*` evidence
728
+ - ✨ Rebuilt installation around standby/global dual-mode deployment; Codex now uses the native local-plugin chain while Claude/Gemini keep host-native integration
729
+ - ✨ Added `project_store_mode=repo-shared`, so multiple worktrees of one git repo can share stable KB and plan assets while local `.helloagents/` still isolates activation and runtime state
730
+
731
+ ### v3.0.4
732
+
733
+ **Standby and runtime boundaries:**
734
+ - 🔧 Clarified the activation boundary relative to `v3.0.3`: the full 6-stage kernel stays in `bootstrap.md`, while `bootstrap-lite.md` is treated as the standby carrier before project activation
735
+ - ✨ Solidified standby, unactivated projects with a compact quality floor so lightweight mode still keeps modern stack, performance, and UI-quality baselines
736
+ - 🔧 Refined bootstrap terminology and runtime wording for more precise, professional guidance without changing the existing guardrail model
737
+
738
+ ### v3.0.3
648
739
 
649
740
  **Workflow and KB activation:**
650
741
  - ✨ Added `~wiki` for creating or syncing `.helloagents/` without writing project-local carrier files
@@ -673,7 +764,7 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
673
764
 
674
765
  **Breaking Changes:**
675
766
  - 🔴 Complete rewrite: Python package → pure Node.js/Markdown architecture. `pip`/`uv` installation no longer available
676
- - 🔴 Commands renamed/removed: `~plan` → `~design`, removed `~exec`/`~rollback`/`~rlm`/`~status`/`~validatekb`/`~upgradekb`/`~cleanplan`
767
+ - 🔴 Commands renamed/removed: `~design` → `~plan`, `~review` → `~verify`, `~do` → `~build`, removed `~exec`/`~rollback`/`~rlm`/`~status`/`~validatekb`/`~upgradekb`/`~cleanplan`
677
768
  - 🔴 Configuration keys changed from uppercase to lowercase. Removed: `BILINGUAL_COMMIT`, `EVAL_MODE`, `UPDATE_CHECK`, `CSV_BATCH_MAX`
678
769
 
679
770
  **New Features:**
@@ -685,12 +776,14 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
685
776
  - ✨ `~verify` command: auto-detect and run all verification commands
686
777
  - ✨ Guard system (`guard.mjs`): L1 blocking for destructive commands + L2 advisory for security patterns
687
778
  - ✨ Standby/Global mode: `install_mode` config for per-project or global activation
688
- - ✨ Flow state management (`STATE.md`): AI context compression snapshot (≤50 lines)
689
- - ✨ Design system generation (`DESIGN.md`): auto-created for UI projects
690
- - ✨ Plan package system: `requirements.md` + `design.md` + `tasks.md`
779
+ - ✨ Flow state management (`STATE.md`): recovery snapshot for compaction/resume handoff (≤70 lines)
780
+ - ✨ Design system generation (`DESIGN.md`): auto-created for UI projects as a project-level contract
781
+ - ✨ Plan package system: `requirements.md` + `plan.md` + `tasks.md` + `contract.json`
782
+ - ✨ Optional advisor contract/evidence: only for T3 / UI / high-risk flows, via `contract.json` + `.helloagents/.ralph-advisor.json`
783
+ - ✨ Optional visual validation evidence: only when the UI contract explicitly requires it, via `contract.json` + `.helloagents/.ralph-visual.json`
691
784
 
692
785
  **Architecture:**
693
- - 📦 Unified 5-stage execution flow: ORIENTCLARIFY → PLAN → EXECUTEVALIDATE
786
+ - 📦 Routed 6-stage kernel: ROUTE/TIERSPEC → PLAN → BUILDVERIFY → CONSOLIDATE
694
787
  - 📦 Simplified configuration: 8 lowercase keys with sensible defaults
695
788
  - 📦 Dual-mode installation: standby (explicit non-plugin deploy) / global (plugin/extension)
696
789
  - 📦 Modular script architecture: `cli-utils.mjs` (shared utilities), `notify-ui.mjs` (cross-platform sound/desktop), `guard.mjs` (security), `ralph-loop.mjs` (verification)