helloagents 3.0.7 → 3.0.8-beta.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.
Files changed (40) 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 +62 -55
  5. package/README_CN.md +56 -49
  6. package/bootstrap-lite.md +42 -25
  7. package/bootstrap.md +46 -30
  8. package/gemini-extension.json +1 -1
  9. package/package.json +12 -2
  10. package/scripts/capability-registry.mjs +4 -4
  11. package/scripts/cli-codex-config.mjs +49 -55
  12. package/scripts/cli-codex.mjs +67 -77
  13. package/scripts/cli-doctor.mjs +20 -17
  14. package/scripts/cli-messages.mjs +1 -1
  15. package/scripts/cli-toml.mjs +30 -0
  16. package/scripts/guard-rules.mjs +26 -1
  17. package/scripts/guard.mjs +38 -10
  18. package/scripts/notify-context.mjs +2 -7
  19. package/scripts/notify.mjs +19 -8
  20. package/scripts/turn-state.mjs +173 -0
  21. package/scripts/workflow-core.mjs +6 -6
  22. package/scripts/workflow-recommendation.mjs +14 -14
  23. package/scripts/workflow-state.mjs +2 -2
  24. package/skills/_meta/SKILL.md +1 -1
  25. package/skills/commands/auto/SKILL.md +24 -9
  26. package/skills/commands/build/SKILL.md +3 -3
  27. package/skills/commands/clean/SKILL.md +3 -3
  28. package/skills/commands/help/SKILL.md +3 -3
  29. package/skills/commands/idea/SKILL.md +2 -2
  30. package/skills/commands/init/SKILL.md +12 -7
  31. package/skills/commands/loop/SKILL.md +1 -1
  32. package/skills/commands/plan/SKILL.md +11 -9
  33. package/skills/commands/prd/SKILL.md +8 -6
  34. package/skills/commands/verify/SKILL.md +5 -5
  35. package/skills/commands/wiki/SKILL.md +8 -10
  36. package/skills/hello-review/SKILL.md +1 -1
  37. package/skills/hello-subagent/SKILL.md +3 -2
  38. package/skills/hello-ui/SKILL.md +12 -12
  39. package/skills/hello-verify/SKILL.md +6 -5
  40. package/skills/helloagents/SKILL.md +17 -12
@@ -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.7",
12
+ "version": "3.0.8-beta.1",
13
13
  "source": "./",
14
14
  "author": {
15
15
  "name": "HelloWind",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helloagents",
3
- "version": "3.0.7",
3
+ "version": "3.0.8-beta.1",
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.7",
3
+ "version": "3.0.8-beta.1",
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
@@ -6,9 +6,9 @@
6
6
 
7
7
  <div align="center">
8
8
 
9
- **Quality-driven orchestration kernel for AI coding CLIs — 14 auto-activated skills, process discipline, and checklist gating.**
9
+ **Quality-driven workflow framework for AI coding CLIs — 14 auto-activated skills, process discipline, and checklist-based quality checks.**
10
10
 
11
- [![Version](https://img.shields.io/badge/version-3.0.7-orange.svg)](./package.json)
11
+ [![Version](https://img.shields.io/badge/version-3.0.8-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)
@@ -53,7 +53,7 @@
53
53
 
54
54
  Ever had an AI coding assistant that stops at "here's what you should do" instead of actually doing it? Or one that writes code but skips tests, ignores edge cases, and calls it done?
55
55
 
56
- HelloAGENTS fixes that. It's an orchestration layer that sits on top of your AI CLI and enforces quality at every step.
56
+ HelloAGENTS fixes that. It's a workflow layer that sits on top of your AI CLI and enforces quality at every step.
57
57
 
58
58
  <table>
59
59
  <tr>
@@ -95,20 +95,20 @@ HelloAGENTS fixes that. It's an orchestration layer that sits on top of your AI
95
95
 
96
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
97
 
98
- | Dimension | v2.3.8 | Local `v3.0.7` |
98
+ | Dimension | v2.3.8 | Local `v3.0.8` |
99
99
  |-----------|--------|----------------|
100
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 |
101
+ | **Product shape** | More like a multi-CLI management tool plus prompt protocol bundle | More like a quality workflow framework for AI CLIs, centered on routing, checks, verification, and resumable execution |
102
102
  | **Installation model** | pip / uv / npx / shell installers in parallel | npm-first; install the package, then deploy explicitly to Claude / Gemini / Codex |
103
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 |
104
+ | **Workflow model** | R0/R1/R2 routing plus older design/develop semantics | ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE 6-stage workflow |
105
+ | **Command surface** | 15 commands including `~exec`, `~rollback`, `~rlm`, `~validatekb` | 13 focused commands such as `~idea`, `~plan`, `~build`, `~verify`, `~prd`, `~loop`, `~wiki`, and `~help` |
106
+ | **Quality model** | More distributed rules, more reliance on prose | 14 auto-activated skills + checklist-based quality checks + Ralph Loop + verification records |
107
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
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
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
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.
111
+ In one sentence: `v2.3.8` was closer to "workflow glue for multiple CLIs"; `v3.0.8` is a workflow framework that unifies quality rules, plan files, verification records, and installation lifecycle into one operating model.
112
112
 
113
113
  ## ✨ Core Features
114
114
 
@@ -132,7 +132,7 @@ Skills activate automatically based on what you're building — no configuration
132
132
  <td width="50%" valign="top">
133
133
  <img src="./readme_images/03-feature-icon-workflow.svg" width="48" align="left">
134
134
 
135
- **📋 Checklist Gate Control**
135
+ **📋 Checklist-Based Delivery Checks**
136
136
 
137
137
  After coding, HelloAGENTS collects delivery checklists from all activated skills and verifies each item before reporting completion.
138
138
 
@@ -156,7 +156,7 @@ L1 blocks destructive commands (`rm -rf /`, `git push --force`, `DROP DATABASE`)
156
156
 
157
157
  **⚡ Structured Workflow**
158
158
 
159
- Simple tasks stay fast. Complex tasks use a routed kernel workflow: ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE, with explicit command lanes for ideation, planning, implementation, and validation.
159
+ Simple tasks stay fast. Complex tasks use a 6-stage workflow: ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE, with explicit command lanes for ideation, planning, implementation, and validation.
160
160
 
161
161
  **Your gain:** proportional effort — quick tasks stay fast, complex tasks get full process.
162
162
 
@@ -166,11 +166,11 @@ Simple tasks stay fast. Complex tasks use a routed kernel workflow: ROUTE/TIER
166
166
  <td width="50%" valign="top">
167
167
  <img src="./readme_images/02-feature-icon-installer.svg" width="48" align="left">
168
168
 
169
- **🧠 Structured Plan Artifacts**
169
+ **🧠 Structured Plan Files**
170
170
 
171
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
172
 
173
- **Your gain:** routing, implementation, verification, and closeout all move around the same set of facts instead of drifting across free-form summaries.
173
+ **Your gain:** routing, implementation, verification, and closeout all work from the same plan files instead of drifting across free-form summaries.
174
174
 
175
175
  </td>
176
176
  <td width="50%" valign="top">
@@ -180,7 +180,7 @@ Complex tasks no longer rely on one paragraph of planning prose. They land as `r
180
180
 
181
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
182
 
183
- **Your gain:** local runtime isolation stays intact while stable KB and plan assets stop fragmenting across worktrees.
183
+ **Your gain:** local runtime isolation stays intact while stable KB and plan files stop fragmenting across worktrees.
184
184
 
185
185
  </td>
186
186
  </tr>
@@ -308,7 +308,7 @@ HelloAGENTS touches different files depending on mode. The write/cleanup rules a
308
308
 
309
309
  ### Update / reinstall / branch-switch behavior
310
310
 
311
- - **Standby mode** keeps scripts, skills, templates, and hooks on `~/.claude/helloagents`, `~/.gemini/helloagents`, and `~/.codex/helloagents` symlinks, so linked package files reflect local changes immediately. The injected carrier files (`CLAUDE.md`, `GEMINI.md`, `AGENTS.md`) are still snapshots and must be refreshed after bootstrap or branch changes.
311
+ - **Standby mode** keeps scripts, skills, templates, and hooks on `~/.claude/helloagents`, `~/.gemini/helloagents`, and `~/.codex/helloagents` symlinks, so linked package files reflect local changes immediately. The injected rules files (`CLAUDE.md`, `GEMINI.md`, `AGENTS.md`) are still snapshots and must be refreshed after bootstrap or branch changes.
312
312
  - **Codex global mode** uses copied runtime files. Re-running `helloagents --global` refreshes both `~/plugins/helloagents/` and the Codex cache copy.
313
313
  - Re-running the current mode command is supported intentionally: `helloagents --standby` and `helloagents --global` both act as **switch-or-refresh** commands.
314
314
  - For deterministic manual cleanup, run `helloagents cleanup` before `npm uninstall -g helloagents`.
@@ -323,7 +323,7 @@ All commands run inside AI chat with the `~` prefix:
323
323
  | Command | Purpose |
324
324
  |---------|---------|
325
325
  | `~idea` | Lightweight ideation — compare 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 |
326
+ | `~auto` | End-to-end executionpicks the main lane, keeps chaining into build / verify / closeout, and reuses an active plan package before reopening a new lane |
327
327
  | `~plan` | Structured planning — requirement gathering + solution convergence + plan package |
328
328
  | `~build` | Execution workflow — implement from the current request or an existing plan package |
329
329
  | `~prd` | Complete PRD — 13-dimension brainstorm-style exploration, generates product requirements |
@@ -341,7 +341,7 @@ All commands run inside AI chat with the `~` prefix:
341
341
  | Command | Purpose |
342
342
  |---------|---------|
343
343
  | `~wiki` | Create or sync the project knowledge base only (`.helloagents/`) |
344
- | `~init` | Full project bootstrap: KB + project-local carrier files |
344
+ | `~init` | Full project bootstrap: KB + project-level rule files |
345
345
  | `~commit` | Generate conventional commit message + KB sync |
346
346
  | `~clean` | Archive completed plans, clean temp files |
347
347
  | `~help` | Show all commands and current config |
@@ -379,7 +379,7 @@ Only include keys you want to override — missing keys use defaults.
379
379
  | `ralph_loop_enabled` | `true` | Auto-run verification after task completion |
380
380
  | `guard_enabled` | `true` | Block dangerous commands |
381
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>/` |
382
+ | `project_store_mode` | `"local"` | `"local"` = keep KB/plan files in project-local `.helloagents/`; `"repo-shared"` = keep local `.helloagents/` only for activation/STATE/runtime files and move KB/plan files to `~/.helloagents/projects/<repo-key>/` |
383
383
  | `commit_attribution` | `""` | Empty = no attribution. Set text to append to commit messages |
384
384
  | `install_mode` | `"standby"` | `"standby"` = per-project activation (lite rules), `"global"` = full rules for all projects |
385
385
 
@@ -425,21 +425,21 @@ helloagents --standby
425
425
 
426
426
  ## ⚙️ How It Works
427
427
 
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.
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 6-stage workflow with explicit ideation, planning, build, verification, and consolidation stages.
429
429
 
430
- **The routed 6-stage kernel:**
430
+ **The 6-stage workflow:**
431
431
 
432
432
  1. **ROUTE / TIER** — Decide whether the task belongs in `~idea`, `~plan`, `~build`, `~verify`, `~prd`, or `~auto`
433
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`
434
+ 3. **PLAN** — Mark required quality skills and prepare plan files such as `requirements.md`, `plan.md`, and `tasks.md`
435
435
  4. **BUILD** — Implement with TDD (test → code → refactor), verify incrementally
436
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
437
+ 6. **CONSOLIDATE** — Update `STATE.md`, sync KB files, and archive completed plan packages
438
438
 
439
439
  **Delivery Tier:**
440
440
  - `T0` — read-only exploration and idea comparison
441
441
  - `T1` — low-risk focused fixes or explicit verification
442
- - `T2` — multi-file features, new projects, or work that needs structured artifacts
442
+ - `T2` — multi-file features, new projects, or work that needs structured files
443
443
  - `T3` — high-risk or irreversible chains such as auth, security, payment, database, or production release work
444
444
 
445
445
  **Routing rules:**
@@ -449,9 +449,9 @@ helloagents --standby
449
449
  - Review / validation requests → `~verify`
450
450
 
451
451
  **Quality rules and skills by task type:**
452
- - UI / frontend / visual interaction work always follows the active bootstrap carrier's shared UI kernel
452
+ - UI / frontend / visual interaction work always follows the active bootstrap's UI quality baseline
453
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
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` records
455
455
  - Touching API endpoints? → `hello-api` activates (REST conventions, validation, error format)
456
456
  - Any code change? → `hello-test`, `hello-verify`, `hello-review` activate
457
457
 
@@ -461,12 +461,12 @@ HelloAGENTS supports two installation modes with different installation methods:
461
461
 
462
462
  | Mode | Install Method | Rules | Skills | Best For |
463
463
  |------|---------------|-------|--------|----------|
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 |
464
+ | **Standby** (default) | `helloagents install <target> --standby` or `helloagents install --all --standby` | `bootstrap-lite.md` (lite rules with compact quality floor, UI quality baseline, safety, and completion constraints) | `~command` on demand; before activation, UI tasks still follow the UI quality baseline; after `.helloagents/`, the full workflow activates | Selective use, keeping other projects unaffected |
465
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 |
466
466
 
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.
467
+ Standby mode injects rules into `~/.claude/CLAUDE.md`, `~/.gemini/GEMINI.md`, and `~/.codex/AGENTS.md`; for Codex, HelloAGENTS also writes a managed `model_instructions_file` in `~/.codex/config.toml` that points to the synced `~/.codex/AGENTS.md`, so the same home rules file becomes Codex's base instructions override. Cleanup restores the user's original `model_instructions_file` 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 the same `~/.codex/AGENTS.md` home baseline, still without plugin hooks.
468
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.
469
+ In standby mode, `.helloagents/` is the activation boundary. Before activation, the lite rules file does **not** run the full 6-stage workflow 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 rules source.
470
470
 
471
471
  Bulk switch via CLI: `helloagents --global` or `helloagents --standby`
472
472
 
@@ -482,10 +482,10 @@ Re-running the same mode command is also valid. It refreshes the current mode's
482
482
  | `~plan` | Interactive planning only, generates a plan package | Want to review the plan before coding |
483
483
  | `~build` | Implementation workflow from the current task or existing plan package | Requirement is clear and you want execution |
484
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 |
485
+ | `~auto` | End-to-end execution across the lanes above, continuing until delivery unless blocked | Want HelloAGENTS to choose the right path end-to-end |
486
486
  | `~prd` | 13-dimension PRD generation | Need comprehensive product requirements |
487
487
 
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.
488
+ Typical pattern: `~idea` first to compare directions, then `~plan` to lock a solution, then `~build`, then `~verify`. Or just `~auto` for one-shot end-to-end execution. 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.
489
489
 
490
490
  ### Quality Verification (Ralph Loop)
491
491
 
@@ -493,13 +493,13 @@ After every task, Ralph Loop auto-runs your project's verification commands:
493
493
  - Priority: logical `.helloagents/verify.yaml` (`project_store_mode=repo-shared` resolves it from the shared project store) → `package.json` scripts → auto-detected
494
494
  - All pass? → Collect skill checklists → Verify → Done
495
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
496
+ - Completion is also held back if the active plan package still has open tasks, missing required plan files, or unreplaced template placeholders
497
497
 
498
498
  ### Knowledge Base (`.helloagents/`)
499
499
 
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.
500
+ `~wiki` creates or syncs the project knowledge base only. `~init` is the fuller bootstrap: it also writes project-level rule files (`AGENTS.md`, `CLAUDE.md`, `.gemini/GEMINI.md`), refreshes host-native project skill links, 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-level rule files are optional.
501
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.
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 files 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.
503
503
 
504
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`.
505
505
 
@@ -543,7 +543,7 @@ The test suite validates:
543
543
  - Claude/Gemini/Codex config file merge, restore, and cleanup behavior
544
544
  - Codex local-plugin refresh after local branch or file changes
545
545
  - runtime inject/route/guard/Ralph Loop chains
546
- - cleanup when Codex global artifacts exist but `~/.codex/` is already gone
546
+ - cleanup when Codex global files exist but `~/.codex/` is already gone
547
547
 
548
548
  ## ❓ FAQ
549
549
 
@@ -601,7 +601,7 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
601
601
  <details>
602
602
  <summary><strong>Q: Where does project knowledge go?</strong></summary>
603
603
 
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.
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 files, 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.
605
605
  </details>
606
606
 
607
607
  <details>
@@ -664,7 +664,7 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
664
664
  - Verify installation: `npm list -g helloagents`
665
665
  - Claude Code: check `~/.claude/CLAUDE.md` contains HelloAGENTS markers
666
666
  - Gemini CLI: check `~/.gemini/GEMINI.md` contains HelloAGENTS markers
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
667
+ - Codex CLI: check `~/.codex/AGENTS.md` contains HelloAGENTS markers and `~/.codex/config.toml` keeps `model_instructions_file` pointing to `~/.codex/AGENTS.md` plus `notify`
668
668
  - Restart your CLI
669
669
 
670
670
  ---
@@ -718,47 +718,54 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
718
718
 
719
719
  ## 📈 Version History
720
720
 
721
- ### v3.0.7 (current)
721
+ ### v3.0.8 (current)
722
+
723
+ **Fixes and verification:**
724
+ - 🔧 Claude Code / Gemini CLI `stop` delivery gating now prioritizes structured `turn-state` instead of inferring completion from natural-language text, so ordinary waiting turns no longer get misclassified as finished delivery
725
+ - 🔧 Codex cleanup now preserves user-owned post-install replacements for `model_instructions_file`, `notify`, and non-managed `codex_hooks` instead of restoring stale pre-install values over them
726
+ - 🧪 Added lifecycle/runtime regressions for structured `stop` gating and Codex config preservation after post-install user edits
727
+
728
+ ### v3.0.7
722
729
 
723
730
  **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
731
+ - ✨ Full rewrite from a Python package to a Node.js/Markdown workflow framework, including install flow, runtime injection, skill system, and verification chain
732
+ - ✨ Replaced the older layered routing / design-develop model with one 6-stage workflow: ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE
726
733
  - ✨ 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
734
+ - ✨ Turned project files into first-class workflow records: `STATE.md`, `DESIGN.md`, `requirements.md`, `plan.md`, `tasks.md`, `contract.json`, and `.ralph-*` records
728
735
  - ✨ 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
736
+ - ✨ Added `project_store_mode=repo-shared`, so multiple worktrees of one git repo can share stable KB and plan files while local `.helloagents/` still isolates activation and runtime state
730
737
 
731
738
  ### v3.0.4
732
739
 
733
740
  **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
741
+ - 🔧 Clarified the activation boundary relative to `v3.0.3`: the full 6-stage workflow stays in `bootstrap.md`, while `bootstrap-lite.md` is treated as the standby rules file before project activation
735
742
  - ✨ Solidified standby, unactivated projects with a compact quality floor so lightweight mode still keeps modern stack, performance, and UI-quality baselines
736
743
  - 🔧 Refined bootstrap terminology and runtime wording for more precise, professional guidance without changing the existing guardrail model
737
744
 
738
745
  ### v3.0.3
739
746
 
740
747
  **Workflow and KB activation:**
741
- - ✨ Added `~wiki` for creating or syncing `.helloagents/` without writing project-local carrier files
742
- - 🔧 Clarified the activation boundary: in standby mode, `.helloagents/` is the actual project activation signal; project-local carrier files remain optional and belong to `~init`
748
+ - ✨ Added `~wiki` for creating or syncing `.helloagents/` without writing project-level rule files
749
+ - 🔧 Clarified the activation boundary: in standby mode, `.helloagents/` is the actual project activation signal; project-level rule files remain optional and belong to `~init`
743
750
  - 🔧 Refined `kb_create_mode` wording across bootstrap, help text, and README so it only describes sync timing inside activated projects or global mode
744
751
  - 🧪 Added routing coverage for `~wiki` and kept standby `.helloagents/` activation behavior under test
745
752
 
746
753
  ### v3.0.2
747
754
 
748
755
  **Fixes and verification:**
749
- - 🔧 Removed the Codex-only static runtime-context block that had been reintroduced into generated `AGENTS.md` carriers in standby/global installs
750
- - 🔧 Re-checked Claude/Gemini standby/global static carriers and confirmed they do not inject the same deprecated runtime-context rule block
751
- - 🔧 Updated Codex installation docs to match the current `developer_instructions` loading path and the actual no-hooks behavior
752
- - 🧪 Added regression assertions to ensure Codex standby/global carriers no longer contain the removed runtime-context prefix
756
+ - 🔧 Removed the Codex-only static runtime-context block that had been reintroduced into generated `AGENTS.md` rules files in standby/global installs
757
+ - 🔧 Re-checked Claude/Gemini standby/global static rules files and confirmed they do not inject the same deprecated runtime-context rule block
758
+ - 🔧 Updated Codex installation docs to match the current `model_instructions_file -> ~/.codex/AGENTS.md` path and the actual no-hooks behavior
759
+ - 🧪 Added regression assertions to ensure Codex standby/global rules files no longer contain the removed runtime-context prefix
753
760
 
754
761
  ### v3.0.1
755
762
 
756
763
  **Fixes and verification:**
757
764
  - 🔧 `STATE.md` recovery rules are tightened: update on key decision changes, rewrite immediately when long-running work makes the snapshot stale, and confirm sync before host-driven compaction/recovery stages
758
- - 🔧 Codex cleanup now removes empty `~/.agents/plugins/marketplace.json` residue and ignores contaminated legacy `developer_instructions` backups during config restore
765
+ - 🔧 Codex cleanup now removes empty `~/.agents/plugins/marketplace.json` residue during config restore
759
766
  - 🔧 Scoped `update` continues to reuse the detected host mode even when tracked config is stale, matching the intended `helloagents update <cli>` behavior
760
- - 🔧 Standby branch/bootstrap refresh semantics are now documented precisely: symlinked package files update immediately, while injected carrier files refresh on `install` / `update` / mode-refresh commands
761
- - 🧪 Added lifecycle coverage for standby carrier refresh, stale-mode inference, empty Codex marketplace cleanup, contaminated Codex backup recovery, and version-agnostic npm pack testing
767
+ - 🔧 Standby branch/bootstrap refresh semantics are now documented precisely: symlinked package files update immediately, while injected rules files refresh on `install` / `update` / mode-refresh commands
768
+ - 🧪 Added lifecycle coverage for standby rules-file refresh, stale-mode inference, empty Codex marketplace cleanup, and version-agnostic npm pack testing
762
769
 
763
770
  ### v3.0.0 🎉
764
771
 
@@ -770,7 +777,7 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
770
777
  **New Features:**
771
778
  - ✨ 14 auto-activated quality skills: 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
772
779
  - ✨ 3 supported CLIs: Claude Code (plugin/marketplace), Gemini CLI (extension), Codex CLI (npm)
773
- - ✨ Checklist gate control: all activated skills must pass delivery checklist before task completion
780
+ - ✨ Checklist-based delivery checks: all activated skills must pass the delivery checklist before task completion
774
781
  - ✨ `~prd` command: 13-dimension brainstorm-style PRD framework
775
782
  - ✨ `~loop` command: autonomous iteration optimization with metric tracking and git-based rollback
776
783
  - ✨ `~verify` command: auto-detect and run all verification commands
@@ -779,11 +786,11 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
779
786
  - ✨ Flow state management (`STATE.md`): recovery snapshot for compaction/resume handoff (≤70 lines)
780
787
  - ✨ Design system generation (`DESIGN.md`): auto-created for UI projects as a project-level contract
781
788
  - ✨ 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`
789
+ - ✨ Optional advisor contract/records: only for T3 / UI / high-risk flows, via `contract.json` + `.helloagents/.ralph-advisor.json`
790
+ - ✨ Optional visual validation records: only when the UI contract explicitly requires it, via `contract.json` + `.helloagents/.ralph-visual.json`
784
791
 
785
792
  **Architecture:**
786
- - 📦 Routed 6-stage kernel: ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE
793
+ - 📦 6-stage workflow: ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE
787
794
  - 📦 Simplified configuration: 8 lowercase keys with sensible defaults
788
795
  - 📦 Dual-mode installation: standby (explicit non-plugin deploy) / global (plugin/extension)
789
796
  - 📦 Modular script architecture: `cli-utils.mjs` (shared utilities), `notify-ui.mjs` (cross-platform sound/desktop), `guard.mjs` (security), `ralph-loop.mjs` (verification)