helloagents 3.0.9-beta.1 → 3.0.10

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 (42) 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 +403 -649
  5. package/README_CN.md +405 -649
  6. package/bootstrap-lite.md +18 -18
  7. package/bootstrap.md +22 -22
  8. package/gemini-extension.json +1 -1
  9. package/package.json +2 -12
  10. package/scripts/cli-codex-config.mjs +8 -2
  11. package/scripts/cli-codex.mjs +5 -3
  12. package/scripts/cli-lifecycle.mjs +11 -0
  13. package/scripts/cli-messages.mjs +3 -3
  14. package/scripts/cli-toml-values.mjs +25 -0
  15. package/scripts/cli-toml.mjs +15 -0
  16. package/scripts/guard.mjs +2 -2
  17. package/scripts/notify-context.mjs +7 -7
  18. package/scripts/notify-events.mjs +0 -8
  19. package/scripts/notify-gates.mjs +128 -0
  20. package/scripts/notify-ui.mjs +3 -0
  21. package/scripts/notify.mjs +44 -76
  22. package/scripts/project-storage.mjs +5 -5
  23. package/scripts/workflow-core.mjs +5 -5
  24. package/scripts/workflow-recommendation.mjs +4 -4
  25. package/scripts/workflow-state.mjs +1 -1
  26. package/skills/commands/auto/SKILL.md +13 -13
  27. package/skills/commands/build/SKILL.md +6 -6
  28. package/skills/commands/clean/SKILL.md +6 -6
  29. package/skills/commands/commit/SKILL.md +2 -2
  30. package/skills/commands/help/SKILL.md +3 -3
  31. package/skills/commands/idea/SKILL.md +5 -5
  32. package/skills/commands/init/SKILL.md +4 -4
  33. package/skills/commands/loop/SKILL.md +14 -14
  34. package/skills/commands/plan/SKILL.md +13 -13
  35. package/skills/commands/prd/SKILL.md +13 -13
  36. package/skills/commands/verify/SKILL.md +3 -3
  37. package/skills/commands/wiki/SKILL.md +5 -5
  38. package/skills/hello-subagent/SKILL.md +1 -1
  39. package/skills/hello-ui/SKILL.md +14 -14
  40. package/skills/hello-verify/SKILL.md +2 -2
  41. package/skills/helloagents/SKILL.md +3 -2
  42. package/templates/plans/contract.json +2 -2
package/README.md CHANGED
@@ -6,9 +6,9 @@
6
6
 
7
7
  <div align="center">
8
8
 
9
- **Quality-driven workflow framework for AI coding CLIs 14 auto-activated skills, process discipline, and checklist-based quality checks.**
9
+ **A workflow layer for AI coding CLIs: skills, project knowledge, delivery checks, safer config writes, and resumable execution.**
10
10
 
11
- [![Version](https://img.shields.io/badge/version-3.0.9-orange.svg)](./package.json)
11
+ [![Version](https://img.shields.io/badge/version-3.0.10-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)
@@ -25,35 +25,30 @@
25
25
  ---
26
26
 
27
27
  > [!IMPORTANT]
28
- > **Looking for v2.x?** The legacy Python-based codebase has been moved to a separate archive repository: [helloagents-archive](https://github.com/hellowind777/helloagents-archive). The v3 line is a complete rewrite pure Node.js/Markdown architecture, no Python dependency.
28
+ > Looking for `v2.x`? The old Python line now lives in [helloagents-archive](https://github.com/hellowind777/helloagents-archive). The `v3` line is a full rewrite based on Node.js, Markdown rules, skills, and small runtime scripts.
29
29
 
30
- ## 📑 Table of Contents
30
+ ## Contents
31
31
 
32
- <details>
33
- <summary><strong>Click to expand</strong></summary>
32
+ - [What HelloAGENTS Does](#what-helloagents-does)
33
+ - [What Changed Since v3.0.7](#what-changed-since-v307)
34
+ - [Core Features](#core-features)
35
+ - [Quick Start](#quick-start)
36
+ - [CLI Management](#cli-management)
37
+ - [Commands in Chat](#commands-in-chat)
38
+ - [Project Knowledge Base](#project-knowledge-base)
39
+ - [Workflow and Delivery](#workflow-and-delivery)
40
+ - [Configuration](#configuration)
41
+ - [How Each CLI Is Integrated](#how-each-cli-is-integrated)
42
+ - [Verification](#verification)
43
+ - [FAQ](#faq)
44
+ - [Troubleshooting](#troubleshooting)
45
+ - [License](#license)
34
46
 
35
- - [🎯 Why HelloAGENTS?](#-why-helloagents)
36
- - [🆚 Compared with v2.3.8](#-compared-with-v238)
37
- - [✨ Core Features](#-core-features)
38
- - [🚀 Quick Start](#-quick-start)
39
- - [🔄 Installation Lifecycle & File Writes](#-installation-lifecycle--file-writes)
40
- - [📖 Commands](#-commands)
41
- - [🔧 Configuration](#-configuration)
42
- - [⚙️ How It Works](#️-how-it-works)
43
- - [📚 Usage Guide](#-usage-guide)
44
- - [🧪 Verification](#-verification)
45
- - [❓ FAQ](#-faq)
46
- - [🛠️ Troubleshooting](#️-troubleshooting)
47
- - [📈 Version History](#-version-history)
48
- - [📜 License](#-license)
47
+ ## What HelloAGENTS Does
49
48
 
50
- </details>
49
+ AI coding CLIs can move fast, but they can also stop at advice, skip checks, lose project context, or report completion before the work is really done.
51
50
 
52
- ## 🎯 Why HelloAGENTS?
53
-
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
-
56
- HelloAGENTS fixes that. It's a workflow layer that sits on top of your AI CLI and enforces quality at every step.
51
+ HelloAGENTS adds a workflow layer on top of Claude Code, Gemini CLI, and Codex CLI. It helps the agent choose the right path, use task-specific quality skills, keep a project knowledge base, and verify work before delivery.
57
52
 
58
53
  <table>
59
54
  <tr>
@@ -74,814 +69,573 @@ HelloAGENTS fixes that. It's a workflow layer that sits on top of your AI CLI an
74
69
  </tr>
75
70
  </table>
76
71
 
77
- | Challenge | Without HelloAGENTS | With HelloAGENTS |
78
- |-----------|-------------------|-----------------|
79
- | **Stops at planning** | Ends with suggestions | Pushes through to implementation and verification |
80
- | **Quality inconsistency** | Varies by prompt | 14 skills auto-activate based on task type |
81
- | **Risky operations** | Easy to make destructive mistakes | Guard system blocks dangerous commands |
82
- | **No verification** | "It should work" | Ralph Loop runs lint/test/build before completion |
83
- | **Knowledge loss** | Context scattered across sessions | Project KB persists and grows |
72
+ | Problem | Without HelloAGENTS | With HelloAGENTS |
73
+ |---------|---------------------|------------------|
74
+ | Stops too early | Ends with suggestions | Continues into build, verify, and closeout |
75
+ | Quality is inconsistent | Depends on each prompt | 14 quality skills activate by task type |
76
+ | Context is scattered | Plans live in chat history | Project knowledge and plan files stay on disk |
77
+ | Completion is vague | Natural language says “done” | Delivery checks use state, evidence, and verification |
78
+ | Config writes are risky | CLI files can drift | Install, update, cleanup, and doctor flows check managed files |
84
79
 
85
- ### 💡 Best For
86
- - ✅ **Developers using AI CLIs** who want consistent, verified output
87
- - ✅ **Teams** that need quality guardrails on AI-assisted coding
88
- - ✅ **Complex projects** requiring structured design → develop → verify workflows
80
+ ## What Changed Since v3.0.7
89
81
 
90
- ### ⚠️ Not For
91
- - ❌ Simple one-off questions (HelloAGENTS adds process overhead)
92
- - ❌ Non-coding tasks (optimized for software engineering)
82
+ These are the main user-visible runtime and install changes in `v3.0.10`, compared with `v3.0.7`:
93
83
 
94
- ## 🆚 Compared with v2.3.8
84
+ - Main-agent delivery now uses structured `turn-state` values such as `complete`, `waiting`, and `blocked`; stop, notify, and closeout no longer infer completion from natural-language text.
85
+ - Workflow recovery now uses the current `state_path`, with session-scoped state files under `.helloagents/sessions/<branch>/<session-or-default>/STATE.md`.
86
+ - The old project-root state fallback has been removed, so recovery follows one current state path.
87
+ - Codex standby/global install, refresh, cleanup, and doctor checks are stricter: managed `notify` entries are marked, multiline `notify` arrays are preserved, and user-owned `model_instructions_file`, `notify`, and non-managed `codex_hooks` are kept during restore.
88
+ - Codex global mode now refreshes the home read root, local plugin root, marketplace entry, enabled plugin block, and cache copy after reinstall, update, or local branch changes.
95
89
 
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.
90
+ ## Core Features
97
91
 
98
- | Dimension | v2.3.8 | Local `v3.0.9` |
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 workflow framework for AI CLIs, centered on routing, checks, 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 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
- | **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 |
92
+ ### 1) 14 task-aware quality skills
110
93
 
111
- In one sentence: `v2.3.8` was closer to "workflow glue for multiple CLIs"; `v3.0.9` is a workflow framework that unifies quality rules, plan files, verification records, and installation lifecycle into one operating model.
94
+ HelloAGENTS includes 14 `hello-*` skills. They are loaded only when the current stage needs them, so simple tasks stay light while complex work gets stricter checks.
112
95
 
113
- ## Core Features
96
+ | Skill | Focus |
97
+ |-------|-------|
98
+ | `hello-ui` | UI planning, design contracts, implementation mapping, visual validation |
99
+ | `hello-api` | API design, validation, error format, compatibility |
100
+ | `hello-security` | auth, secrets, permissions, injection risks |
101
+ | `hello-test` | TDD, coverage, edge cases, test structure |
102
+ | `hello-verify` | review, command verification, delivery evidence, closeout |
103
+ | `hello-errors` | error handling, logs, retry and recovery behavior |
104
+ | `hello-perf` | performance, caching, query and rendering risks |
105
+ | `hello-data` | database, migrations, transactions, indexes |
106
+ | `hello-arch` | architecture, boundaries, code size, maintainability |
107
+ | `hello-debug` | bug diagnosis and escalation when stuck |
108
+ | `hello-subagent` | subagent delegation and result integration |
109
+ | `hello-review` | code review with structured findings |
110
+ | `hello-write` | documentation, reports, and written deliverables |
111
+ | `hello-reflect` | reusable lessons and knowledge updates |
114
112
 
115
- HelloAGENTS enforces quality through three mechanisms working together:
113
+ All UI work first follows the shared UI quality baseline.
114
+ In activated projects or explicit UI workflows, `hello-ui` adds deeper design-contract execution, design-system mapping, and visual validation.
115
+ When visual evidence is required, HelloAGENTS can record `.helloagents/.ralph-visual.json`.
116
116
 
117
- <table>
118
- <tr>
119
- <td width="50%" valign="top">
120
- <img src="./readme_images/02-feature-icon-installer.svg" width="48" align="left">
117
+ ### 2) Commands for different work styles
121
118
 
122
- **🎯 14 Auto-Activated Quality Skills**
119
+ Commands run inside the AI CLI chat with a `~` prefix. The command skill is read directly; unrelated skills are not loaded unless the workflow needs them.
123
120
 
124
- Skills activate automatically based on what you're building — no configuration needed.
125
- - UI, Security, API, Architecture, Performance
126
- - Testing, Error Handling, Data, Code Review
127
- - Debugging, Subagents, Documentation, Verification, Reflection
121
+ | Command | Purpose |
122
+ |---------|---------|
123
+ | `~idea` | Lightweight exploration and option comparison; does not write files |
124
+ | `~auto` | Chooses the main path and keeps going until delivery or a real blocker |
125
+ | `~plan` | Requirements, solution design, task breakdown, and plan package |
126
+ | `~build` | Implementation from the current request or an existing plan |
127
+ | `~prd` | Modern product requirements document through guided dimension-by-dimension exploration |
128
+ | `~loop` | Iterative improvement with metric, guard command, keep/revert decisions |
129
+ | `~wiki` | Create or sync only the project knowledge base |
130
+ | `~init` | Full project bootstrap: knowledge base plus project-level rule files and skill links |
131
+ | `~test` | Write tests for a target module or recent change |
132
+ | `~verify` | Review, run verification commands, fix failures, and close out |
133
+ | `~commit` | Generate a conventional commit message and sync knowledge |
134
+ | `~clean` | Archive finished plans and clean temporary runtime files |
135
+ | `~help` | Show commands and current settings |
128
136
 
129
- **Your gain:** every task gets the right quality checks without you remembering to ask.
137
+ Compatibility aliases:
130
138
 
131
- </td>
132
- <td width="50%" valign="top">
133
- <img src="./readme_images/03-feature-icon-workflow.svg" width="48" align="left">
139
+ - `~do` → `~build`
140
+ - `~design` → `~plan`
141
+ - `~review` → `~verify` in review-first mode
134
142
 
135
- **📋 Checklist-Based Delivery Checks**
143
+ ### 3) Project knowledge base
136
144
 
137
- After coding, HelloAGENTS collects delivery checklists from all activated skills and verifies each item before reporting completion.
145
+ HelloAGENTS can create and maintain a project knowledge base under `.helloagents/`.
138
146
 
139
- **Your gain:** nothing ships until it actually passes quality checks not just "looks done."
147
+ The knowledge base helps future turns understand the repo without re-discovering the same facts. It can store:
140
148
 
141
- </td>
142
- </tr>
143
- <tr>
144
- <td width="50%" valign="top">
145
- <img src="./readme_images/04-feature-icon-safety.svg" width="48" align="left">
149
+ | File or directory | Purpose |
150
+ |-------------------|---------|
151
+ | `context.md` | project overview, stack, architecture, module index |
152
+ | `guidelines.md` | non-obvious coding conventions inferred from the repo |
153
+ | `verify.yaml` | verification commands such as lint, test, build |
154
+ | `CHANGELOG.md` | project-level change history |
155
+ | `DESIGN.md` | stable UI design contract when the project has UI work |
156
+ | `modules/*.md` | module-specific notes and lessons |
157
+ | `plans/<feature>/` | active plan packages |
158
+ | `archive/` | archived plan packages |
146
159
 
147
- **🛡️ Guard System + Ralph Loop**
160
+ `~wiki` creates or updates the knowledge base only.
148
161
 
149
- L1 blocks destructive commands (`rm -rf /`, `git push --force`, `DROP DATABASE`). L2 scans for hardcoded secrets and security patterns. Ralph Loop auto-runs verification commands after every task.
162
+ `~init` does more: it creates or updates the knowledge base, writes project-level rule files, and refreshes host-native project skill links for supported hosts.
150
163
 
151
- **Your gain:** safer defaults with zero-config protection, verified output every time.
164
+ ### 4) Structured plan packages
152
165
 
153
- </td>
154
- <td width="50%" valign="top">
155
- <img src="./readme_images/05-feature-icon-compat.svg" width="48" align="left">
166
+ Complex work can be stored as plan packages instead of a single paragraph in chat.
156
167
 
157
- **⚡ Structured Workflow**
168
+ For `~plan`, HelloAGENTS uses:
158
169
 
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.
170
+ - `requirements.md`
171
+ - `plan.md`
172
+ - `tasks.md`
173
+ - `contract.json`
160
174
 
161
- **Your gain:** proportional effort quick tasks stay fast, complex tasks get full process.
175
+ For `~prd`, HelloAGENTS also creates PRD files such as:
162
176
 
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">
177
+ - `prd/00-overview.md`
178
+ - `prd/01-user-stories.md`
179
+ - `prd/02-functional.md`
180
+ - `prd/03-ui-design.md`
181
+ - `prd/04-technical.md`
182
+ - `prd/05-nonfunctional.md`
183
+ - `prd/06-i18n-l10n.md`
184
+ - `prd/07-accessibility.md`
185
+ - `prd/08-content.md`
186
+ - `prd/09-testing.md`
187
+ - `prd/10-deployment.md`
188
+ - `prd/11-legal-privacy.md`
189
+ - `prd/12-timeline.md`
168
190
 
169
- **🧠 Structured Plan Files**
191
+ `contract.json` is used by the workflow to decide verification scope, reviewer/tester focus, optional advisor checks, and optional visual validation.
170
192
 
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.
193
+ ### 5) State and recovery
172
194
 
173
- **Your gain:** routing, implementation, verification, and closeout all work from the same plan files instead of drifting across free-form summaries.
195
+ Long tasks need a small recovery snapshot, but one shared state file is not safe enough for concurrent work.
174
196
 
175
- </td>
176
- <td width="50%" valign="top">
177
- <img src="./readme_images/05-feature-icon-compat.svg" width="48" align="left">
197
+ HelloAGENTS now resolves the current state file from `state_path`:
178
198
 
179
- **🗂️ Local / Shared Project Storage**
199
+ - with a stable session id: `.helloagents/sessions/<branch>/<session>/STATE.md`
200
+ - without a stable session id: `.helloagents/sessions/<branch>/default/STATE.md`
180
201
 
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>/`.
202
+ `STATE.md` records where the current workflow stopped. It is not a universal memory file for every conversation.
182
203
 
183
- **Your gain:** local runtime isolation stays intact while stable KB and plan files stop fragmenting across worktrees.
204
+ ### 6) Verification and delivery evidence
184
205
 
185
- </td>
186
- </tr>
187
- </table>
206
+ HelloAGENTS does not treat “tests passed” and “task complete” as the same thing. Delivery can also require plan coverage, task checklist status, review evidence, advisor evidence, and visual evidence.
207
+
208
+ Runtime evidence files include:
209
+
210
+ - `.helloagents/.ralph-review.json`
211
+ - `.helloagents/.ralph-advisor.json`
212
+ - `.helloagents/.ralph-visual.json`
213
+ - `.helloagents/.ralph-closeout.json`
214
+ - `.helloagents/loop-results.tsv`
215
+
216
+ ### 7) Safer install, update, cleanup, and diagnostics
217
+
218
+ The CLI manages host files explicitly:
188
219
 
189
- ## 🚀 Quick Start
220
+ - `install` writes only the selected target unless `--all` is used
221
+ - `update` refreshes the selected target or all targets
222
+ - `cleanup` removes managed injections and links
223
+ - `uninstall` performs scoped cleanup before package removal
224
+ - `doctor` reports drift in carriers, links, hooks, config entries, plugin roots, cache copies, and versions
190
225
 
191
- ### 1) Install once
226
+ ## Quick Start
227
+
228
+ ### 1) Install the package
192
229
 
193
230
  ```bash
194
231
  npm install -g helloagents
195
232
  ```
196
233
 
197
- If your system already has another `helloagents` executable in `PATH`, use the bundled stable alias instead:
234
+ If another executable named `helloagents` already exists in your `PATH`, use the stable alias:
198
235
 
199
236
  ```bash
200
237
  helloagents-js
201
238
  ```
202
239
 
203
- `postinstall` now only installs the package and initializes `~/.helloagents/helloagents.json`. It **does not auto-deploy to any CLI target**.
240
+ `postinstall` only installs the package command and initializes `~/.helloagents/helloagents.json`. It does not deploy to any AI CLI automatically.
241
+
242
+ ### 2) Deploy to a CLI
204
243
 
205
- After the package is installed, deploy explicitly to the targets you want:
244
+ Use standby mode for selected projects and explicit activation:
206
245
 
207
246
  ```bash
208
247
  helloagents install codex --standby
209
248
  helloagents install --all --standby
210
249
  ```
211
250
 
212
- > `npm install helloagents` without `-g` follows the same rule: it installs the package only and does not modify any CLI config automatically.
213
-
214
- ### 2) Choose your mode
215
-
216
- | Goal | What to run | What happens |
217
- |------|-------------|--------------|
218
- | Install the package without touching hosts yet | `npm install -g helloagents` | Installs the command and `~/.helloagents/helloagents.json` only |
219
- | Keep HelloAGENTS light by default | `helloagents install --all --standby` | **Standby mode** explicitly deploys lite rules to the target CLIs |
220
- | Enable full rules everywhere | `helloagents install --all --global` or `helloagents --global` | Switches to **global mode**; Claude/Gemini use native plugin/extension installs, Codex gets the native local-plugin chain automatically |
221
- | Re-sync after local branch switch / file updates | `helloagents update codex`, `helloagents install --all --standby`, or `helloagents --global` | Refreshes injected/copied files for the target or current mode |
222
-
223
- ### 2.1) Manage one CLI at a time
224
-
225
- ```bash
226
- helloagents install codex --standby
227
- helloagents install --all --global
228
- helloagents update codex
229
- helloagents cleanup claude --global
230
- helloagents uninstall gemini
231
- ```
232
-
233
- - Supported targets: `claude`, `gemini`, `codex`, or `--all`
234
- - If you omit `--standby` / `--global`, HelloAGENTS reuses the tracked/detected mode for that CLI and falls back to `standby`
235
- - `install` / `update` affect only the selected CLI; use `--all` when you want an explicit bulk deploy
236
- - Claude Code / Gemini CLI still require native plugin/extension install or uninstall commands in `global` mode; Codex CLI is still handled automatically
237
-
238
- If you want full rules everywhere, switch to global mode:
251
+ Use global mode when you want full rules everywhere:
239
252
 
240
253
  ```bash
241
254
  helloagents --global
242
255
  ```
243
256
 
244
- Then install the native plugin/extension for your CLI where required:
257
+ ### 3) Verify inside your AI CLI
245
258
 
246
- ```bash
247
- # Claude Code
248
- /plugin marketplace add hellowind777/helloagents
259
+ Type:
249
260
 
250
- # Gemini CLI
251
- gemini extensions install https://github.com/hellowind777/helloagents
261
+ ```text
262
+ ~help
252
263
  ```
253
264
 
254
- Codex CLI does not need a manual plugin command. `helloagents --global` now installs the native local-plugin chain automatically by writing:
255
- - `~/.agents/plugins/marketplace.json`
256
- - `~/plugins/helloagents/`
257
- - `~/.codex/plugins/cache/local-plugins/helloagents/local/`
258
- - `helloagents@local-plugins` in `~/.codex/config.toml`
265
+ You should see the 13 chat commands and the current settings.
259
266
 
260
- ### 3) Verify in chat
267
+ ### 4) Create project knowledge
261
268
 
262
- ```bash
263
- # In your AI CLI chat, type:
264
- ~help
265
- ```
269
+ For knowledge base only:
266
270
 
267
- **Expected output:**
271
+ ```text
272
+ ~wiki
268
273
  ```
269
- 💡【HelloAGENTS】- Help
270
274
 
271
- Available commands: ~idea, ~auto, ~plan, ~build, ~prd, ~loop, ~wiki, ~init, ~test, ~verify, ~commit, ~clean, ~help
275
+ For full project bootstrap:
272
276
 
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
277
+ ```text
278
+ ~init
274
279
  ```
275
280
 
276
- ### 4) First use
277
-
278
- ```bash
279
- # Simple task — direct execution
280
- "Fix the typo in src/utils.ts line 42"
281
+ ## CLI Management
281
282
 
282
- # Complex task — use ~auto for full workflow
283
- ~auto "Add user authentication with JWT"
283
+ ### Shell commands
284
284
 
285
- # Want to review the plan first?
286
- ~plan "Refactor the payment module"
285
+ ```bash
286
+ helloagents --standby
287
+ helloagents --global
288
+ helloagents install codex --standby
289
+ helloagents install --all --global
290
+ helloagents update codex
291
+ helloagents cleanup claude --global
292
+ helloagents uninstall gemini
293
+ helloagents doctor
294
+ helloagents doctor codex --json
287
295
  ```
288
296
 
289
- ## 🔄 Installation Lifecycle & File Writes
290
-
291
- HelloAGENTS touches different files depending on mode. The write/cleanup rules are predictable and reversible.
297
+ Supported targets:
292
298
 
293
- ### Standby mode (default)
299
+ - `claude`
300
+ - `gemini`
301
+ - `codex`
302
+ - `--all`
294
303
 
295
- | CLI | Files HelloAGENTS writes or updates | What it preserves | What uninstall / mode switch cleans |
296
- |-----|-------------------------------------|-------------------|-------------------------------------|
297
- | Claude Code | `~/.claude/CLAUDE.md`, `~/.claude/settings.json`, `~/.claude/helloagents -> <package-root>` | Existing non-HelloAGENTS markdown, settings, permissions, and hooks | Removes injected marker block, HelloAGENTS hooks/permissions, and symlink |
298
- | Gemini CLI | `~/.gemini/GEMINI.md`, `~/.gemini/settings.json`, `~/.gemini/helloagents -> <package-root>` | Existing markdown, hooks, and unrelated settings | Removes injected marker block, HelloAGENTS hooks, and symlink |
299
- | Codex CLI | `~/.codex/AGENTS.md`, `~/.codex/config.toml`, timestamped backups like `~/.codex/config.toml_YYYYMMDD-HHMMSS.bak`, `~/.codex/helloagents -> <package-root>` | Existing top-level TOML keys and unrelated sections via backup/restore | Removes injected marker block, HelloAGENTS config keys, symlink, and the latest HelloAGENTS-managed backup |
304
+ If you omit `--standby` or `--global`, HelloAGENTS first reuses the tracked/detected mode for that CLI, then falls back to `standby`.
300
305
 
301
- ### Global mode
306
+ ### Standby mode files
302
307
 
303
- | CLI | How installation works | Files involved |
304
- |-----|------------------------|----------------|
305
- | Claude Code | Native plugin install (manual CLI command) | Managed by Claude's plugin system |
306
- | Gemini CLI | Native extension install (manual CLI command) | Managed by Gemini's extension system |
307
- | Codex CLI | Native local-plugin chain (automatic) | `~/.agents/plugins/marketplace.json`, `~/plugins/helloagents/`, `~/.codex/plugins/cache/local-plugins/helloagents/local/`, `~/.codex/config.toml`, `~/.codex/helloagents -> ~/plugins/helloagents` |
308
-
309
- ### Update / reinstall / branch-switch behavior
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 rules files (`CLAUDE.md`, `GEMINI.md`, `AGENTS.md`) are still snapshots and must be refreshed after bootstrap or branch changes.
312
- - **Codex global mode** uses copied runtime files and keeps `~/.codex/helloagents -> ~/plugins/helloagents` as the stable read-root fallback expected by bootstrap routing. Re-running `helloagents --global` refreshes both `~/plugins/helloagents/` and the Codex cache copy.
313
- - Re-running the current mode command is supported intentionally: `helloagents --standby` and `helloagents --global` both act as **switch-or-refresh** commands.
314
- - For deterministic manual cleanup, run `helloagents cleanup` before `npm uninstall -g helloagents`.
315
- - `npm uninstall -g helloagents` removes the package; `~/.helloagents/helloagents.json` is intentionally preserved.
316
-
317
- ## 📖 Commands
318
-
319
- All commands run inside AI chat with the `~` prefix:
320
-
321
- **Workflow Commands:**
322
-
323
- | Command | Purpose |
324
- |---------|---------|
325
- | `~idea` | Lightweight ideation — compare directions and explore options without writing files |
326
- | `~auto` | End-to-end execution — picks the main lane, keeps chaining into build / verify / closeout, 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 |
329
- | `~prd` | Complete PRD — 13-dimension brainstorm-style exploration, generates product requirements |
330
- | `~loop` | Autonomous iteration — set a target + metric, AI loops until goal is met |
331
-
332
- **Quality Commands:**
333
-
334
- | Command | Purpose |
335
- |---------|---------|
336
- | `~test` | Write complete tests (TDD: Red → Green → Refactor) |
337
- | `~verify` | Unified verification entry — review, lint, typecheck, test, build, and fix loops |
338
-
339
- **Utility Commands:**
340
-
341
- | Command | Purpose |
342
- |---------|---------|
343
- | `~wiki` | Create or sync the project knowledge base only (`.helloagents/`) |
344
- | `~init` | Full project bootstrap: KB + project-level rule files |
345
- | `~commit` | Generate conventional commit message + KB sync |
346
- | `~clean` | Archive completed plans, clean temp files |
347
- | `~help` | Show all commands and current config |
348
-
349
- Compatibility aliases:
350
- - `~design` → `~plan`
351
- - `~do` → `~build`
352
- - `~review` → `~verify` (review-priority mode)
308
+ | CLI | Files written or updated | Cleanup behavior |
309
+ |-----|--------------------------|------------------|
310
+ | Claude Code | `~/.claude/CLAUDE.md`, `~/.claude/settings.json`, `~/.claude/helloagents -> <package-root>` | removes managed marker block, HelloAGENTS hooks/permissions, and symlink |
311
+ | Gemini CLI | `~/.gemini/GEMINI.md`, `~/.gemini/settings.json`, `~/.gemini/helloagents -> <package-root>` | removes managed marker block, HelloAGENTS hooks, and symlink |
312
+ | Codex CLI | `~/.codex/AGENTS.md`, `~/.codex/config.toml`, `~/.codex/helloagents -> <package-root>`, managed backups | removes managed marker block, managed config keys, symlink, and the latest managed backup |
353
313
 
354
- ## 🔧 Configuration
314
+ ### Global mode files
355
315
 
356
- Config file: `~/.helloagents/helloagents.json` (auto-created on install)
316
+ | CLI | Install method | Files involved |
317
+ |-----|----------------|----------------|
318
+ | Claude Code | native plugin install | managed by Claude Code plugin system |
319
+ | Gemini CLI | native extension install | managed by Gemini extension system |
320
+ | Codex CLI | native local-plugin chain | `~/.agents/plugins/marketplace.json`, `~/plugins/helloagents/`, `~/.codex/plugins/cache/local-plugins/helloagents/local/`, `~/.codex/config.toml`, `~/.codex/helloagents -> ~/plugins/helloagents` |
357
321
 
358
- Only include keys you want to override missing keys use defaults.
322
+ Claude Code and Gemini CLI global mode still require their host-native install commands:
359
323
 
360
- ```json
361
- {
362
- "output_language": "",
363
- "output_format": true,
364
- "notify_level": 0,
365
- "ralph_loop_enabled": true,
366
- "guard_enabled": true,
367
- "kb_create_mode": 1,
368
- "project_store_mode": "local",
369
- "commit_attribution": "",
370
- "install_mode": "standby"
371
- }
324
+ ```text
325
+ /plugin marketplace add hellowind777/helloagents
326
+ gemini extensions install https://github.com/hellowind777/helloagents
372
327
  ```
373
328
 
374
- | Key | Default | Description |
375
- |-----|---------|-------------|
376
- | `output_language` | `""` | Empty = follow user language. Set `zh-CN`, `en`, etc. to override |
377
- | `output_format` | `true` | `true` = only the main agent's final closing reply after streaming ends may use the HelloAGENTS layout; all streaming/progress/intermediate output and all subagent replies stay natural, `false` = natural output |
378
- | `notify_level` | `0` | `0`=off, `1`=desktop, `2`=sound, `3`=both |
379
- | `ralph_loop_enabled` | `true` | Auto-run verification after task completion |
380
- | `guard_enabled` | `true` | Block dangerous commands |
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 files and move KB/plan files to `~/.helloagents/projects/<repo-key>/` |
383
- | `commit_attribution` | `""` | Empty = no attribution. Set text to append to commit messages |
384
- | `install_mode` | `"standby"` | `"standby"` = per-project activation (lite rules), `"global"` = full rules for all projects |
385
-
386
- <details>
387
- <summary>📝 Common configuration scenarios</summary>
388
-
389
- **Switch to global mode (full rules everywhere):**
390
- ```bash
391
- helloagents --global
392
- ```
329
+ Codex global mode is installed by HelloAGENTS automatically through the local-plugin path.
393
330
 
394
- **Switch back to standby mode (default):**
395
- ```bash
396
- helloagents --standby
397
- ```
331
+ ## Commands in Chat
398
332
 
399
- **English-only output:**
400
- ```json
401
- { "output_language": "en" }
402
- ```
333
+ ### Typical flows
403
334
 
404
- **Disable KB auto-creation:**
405
- ```json
406
- { "kb_create_mode": 0 }
407
- ```
335
+ | Goal | Use |
336
+ |------|-----|
337
+ | Compare ideas before writing files | `~idea "compare two API designs"` |
338
+ | Let HelloAGENTS choose the path and continue | `~auto "add JWT login"` |
339
+ | Review a plan before implementation | `~plan "refactor payment module"` |
340
+ | Implement from a clear request or active plan | `~build "finish task 2 in the plan"` |
341
+ | Build a full product requirement document | `~prd "modern dashboard for operations team"` |
342
+ | Iterate toward a metric | `~loop "reduce bundle size" --metric "npm run size" --direction lower` |
343
+ | Create or refresh project knowledge only | `~wiki` |
344
+ | Fully activate project workflow | `~init` |
345
+ | Validate current work | `~verify` |
346
+ | Generate commit message and sync knowledge | `~commit` |
408
347
 
409
- **Share KB and plan packages across multiple worktrees:**
410
- ```json
411
- { "project_store_mode": "repo-shared" }
412
- ```
348
+ ### Activated vs unactivated projects
413
349
 
414
- **Enable desktop + sound notifications:**
415
- ```json
416
- { "notify_level": 3 }
417
- ```
350
+ In standby mode, unactivated projects get lighter rules and explicit `~command` entry points. A project becomes activated when `.helloagents/` exists, usually through `~wiki` or `~init`.
418
351
 
419
- **Disable guard (not recommended):**
420
- ```json
421
- { "guard_enabled": false }
422
- ```
352
+ In global mode, HelloAGENTS applies full rules by default.
423
353
 
424
- </details>
354
+ ## Project Knowledge Base
425
355
 
426
- ## ⚙️ How It Works
356
+ ### Local mode
427
357
 
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.
358
+ By default, project knowledge lives in the project:
429
359
 
430
- **The 6-stage workflow:**
360
+ ```text
361
+ .helloagents/
362
+ ```
431
363
 
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 plan files 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 files, and archive completed plan packages
364
+ This directory acts as both:
438
365
 
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 files
443
- - `T3` — high-risk or irreversible chains such as auth, security, payment, database, or production release work
366
+ - the activation signal
367
+ - the local knowledge, plan, state, and runtime directory
444
368
 
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`
369
+ ### Repo-shared mode
450
370
 
451
- **Quality rules and skills by task type:**
452
- - UI / frontend / visual interaction work always follows the active bootstrap's UI quality baseline
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` records
455
- - Touching API endpoints? → `hello-api` activates (REST conventions, validation, error format)
456
- - Any code change? → `hello-test`, `hello-verify`, `hello-review` activate
371
+ When `project_store_mode = "repo-shared"`:
457
372
 
458
- ### Standby vs Global Mode
373
+ - local `.helloagents/` keeps activation and runtime files
374
+ - stable knowledge and plan files move to `~/.helloagents/projects/<repo-key>/`
375
+ - multiple worktrees of the same git repo can share the same stable knowledge
459
376
 
460
- HelloAGENTS supports two installation modes with different installation methods:
377
+ Runtime state and evidence remain local to the working project:
461
378
 
462
- | Mode | Install Method | Rules | Skills | Best For |
463
- |------|---------------|-------|--------|----------|
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
- | **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 |
379
+ - `state_path`
380
+ - `.ralph-*.json`
381
+ - `loop-results.tsv`
466
382
 
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.
383
+ ### Knowledge creation rules
468
384
 
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.
385
+ | Command or setting | Behavior |
386
+ |--------------------|----------|
387
+ | `~wiki` | creates or syncs the knowledge base only |
388
+ | `~init` | creates knowledge base plus project-level rule files and skill links |
389
+ | `kb_create_mode = 0` | disables automatic knowledge updates |
390
+ | `kb_create_mode = 1` | updates knowledge automatically for coding tasks in activated projects or global mode |
391
+ | `kb_create_mode = 2` | updates knowledge more aggressively in activated projects or global mode |
470
392
 
471
- Bulk switch via CLI: `helloagents --global` or `helloagents --standby`
393
+ ## Workflow and Delivery
472
394
 
473
- Re-running the same mode command is also valid. It refreshes the current mode's injected/copied files after branch switches, local development changes, or manual cleanup.
395
+ ### Workflow stages
474
396
 
475
- ## 📚 Usage Guide
397
+ HelloAGENTS uses this stage model for structured work:
476
398
 
477
- ### Core Workflow Lanes
399
+ ```text
400
+ ROUTE / TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE
401
+ ```
478
402
 
479
- | Mode | Description | When to use |
480
- |------|-------------|-------------|
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` | End-to-end execution across the lanes above, continuing until delivery unless blocked | Want HelloAGENTS to choose the right path end-to-end |
486
- | `~prd` | 13-dimension PRD generation | Need comprehensive product requirements |
403
+ | Stage | Purpose |
404
+ |-------|---------|
405
+ | `ROUTE / TIER` | decide whether the task is idea, plan, build, verify, PRD, or automatic flow |
406
+ | `SPEC` | clarify goal, constraints, and success criteria |
407
+ | `PLAN` | prepare plan files and choose needed skills |
408
+ | `BUILD` | implement and run local checks |
409
+ | `VERIFY` | review, run commands, check contract and evidence |
410
+ | `CONSOLIDATE` | update state, knowledge, and closeout evidence |
487
411
 
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.
412
+ ### Delivery tiers
489
413
 
490
- ### Quality Verification (Ralph Loop)
414
+ | Tier | Typical use |
415
+ |------|-------------|
416
+ | `T0` | read-only analysis, idea exploration, comparison |
417
+ | `T1` | low-risk focused fixes or explicit verification |
418
+ | `T2` | multi-file features, new projects, structured plans |
419
+ | `T3` | high-risk or irreversible work such as auth, payment, database, release, production operations |
491
420
 
492
- After every task, Ralph Loop auto-runs your project's verification commands:
493
- - Priority: logical `.helloagents/verify.yaml` (`project_store_mode=repo-shared` resolves it from the shared project store) → `package.json` scripts → auto-detected
494
- - All pass? → Collect skill checklists → Verify → Done
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 plan files, or unreplaced template placeholders
421
+ ### UI workflow
497
422
 
498
- ### Knowledge Base (`.helloagents/`)
423
+ UI work follows this priority:
499
424
 
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.
425
+ 1. current `plan.md` or PRD UI decisions
426
+ 2. `.helloagents/DESIGN.md`
427
+ 3. shared UI quality baseline
428
+ 4. `hello-ui` implementation and validation rules
501
429
 
502
- By default, KB and plan files live in the project's local `.helloagents/`. The active recovery snapshot now has a single authoritative path: `state_path`. When the host exposes a stable conversation/session identifier, HelloAGENTS writes it to `.helloagents/sessions/<branch>/<session>/STATE.md`; otherwise it uses the branch default slot at `.helloagents/sessions/<branch>/default/STATE.md`. If `project_store_mode = "repo-shared"`, the local `.helloagents/` directory keeps the activation signal, session-scoped `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.
430
+ For heavier UI work, `contract.json` can require:
503
431
 
504
- `STATE.md` is the active recovery snapshot resolved from `state_path`, not a universal memory file for every interaction. Its branch + session layout prevents concurrent conversations on the same repo from fighting over one shared file. 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`.
432
+ - `ui.styleAdvisor.required`
433
+ - `ui.visualValidation.required`
505
434
 
506
- | File | Purpose |
507
- |------|---------|
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) |
510
- | `context.md` | Project architecture, tech stack, conventions |
511
- | `guidelines.md` | Non-obvious coding rules |
512
- | `verify.yaml` | Verification commands |
513
- | `CHANGELOG.md` | Change history |
514
- | `modules/*.md` | Module documentation + experience |
515
- | `plans/` | Active plan packages (`requirements.md`, `plan.md`, `tasks.md`, `contract.json`) |
516
- | `archive/` | Completed plan packages |
435
+ Those requirements are closed with `.helloagents/.ralph-advisor.json` and `.helloagents/.ralph-visual.json`.
517
436
 
518
- ### Smart Commit (`~commit`)
437
+ ### Verification sources
519
438
 
520
- - Analyzes `git diff` to generate Conventional Commits messages
521
- - Pre-commit quality checks (code-doc consistency, test coverage)
522
- - Auto-excludes sensitive files (`.env`, `*.pem`, `*.key`)
523
- - Respects `commit_attribution` config
524
- - Syncs KB per `kb_create_mode` setting
439
+ Verification commands are detected in this order:
525
440
 
526
- ### Autonomous Iteration (`~loop`)
441
+ 1. logical `.helloagents/verify.yaml`
442
+ 2. package manager scripts such as `package.json`
443
+ 3. automatic detection
527
444
 
528
- Set a target and metric, then let AI iterate:
529
- 1. Review → Ideate → Modify → Commit → Verify → Decide → Log → Repeat
530
- 2. Results tracked in `.helloagents/loop-results.tsv`
531
- 3. Uses `git revert` for clean rollback on failed experiments
445
+ When `project_store_mode = "repo-shared"`, logical `.helloagents/verify.yaml` resolves from the shared project store.
532
446
 
533
- ## 🧪 Verification
447
+ ## Configuration
534
448
 
535
- HelloAGENTS ships with Node's built-in test runner:
449
+ Config file:
536
450
 
537
- ```bash
538
- npm test
451
+ ```text
452
+ ~/.helloagents/helloagents.json
539
453
  ```
540
454
 
541
- The test suite validates:
542
- - standby/global install, reinstall, refresh, uninstall, and cross-mode switching
543
- - Claude/Gemini/Codex config file merge, restore, and cleanup behavior
544
- - Codex local-plugin refresh after local branch or file changes
545
- - runtime inject/route/guard/Ralph Loop chains
546
- - cleanup when Codex global files exist but `~/.codex/` is already gone
455
+ Default shape:
547
456
 
548
- ## ❓ FAQ
457
+ ```json
458
+ {
459
+ "output_language": "",
460
+ "output_format": true,
461
+ "notify_level": 0,
462
+ "ralph_loop_enabled": true,
463
+ "guard_enabled": true,
464
+ "kb_create_mode": 1,
465
+ "project_store_mode": "local",
466
+ "commit_attribution": "",
467
+ "install_mode": "standby"
468
+ }
469
+ ```
549
470
 
550
- <details>
551
- <summary><strong>Q: Is this a CLI tool or a prompt framework?</strong></summary>
471
+ | Key | Default | Meaning |
472
+ |-----|---------|---------|
473
+ | `output_language` | `""` | follow the user language unless set |
474
+ | `output_format` | `true` | only the main agent's final closeout message may use the HelloAGENTS layout |
475
+ | `notify_level` | `0` | `0` off, `1` desktop, `2` sound, `3` both |
476
+ | `ralph_loop_enabled` | `true` | run verification after task completion |
477
+ | `guard_enabled` | `true` | block dangerous commands |
478
+ | `kb_create_mode` | `1` | control automatic knowledge base updates |
479
+ | `project_store_mode` | `"local"` | `local` or `repo-shared` |
480
+ | `commit_attribution` | `""` | optional text appended to commit messages |
481
+ | `install_mode` | `"standby"` | current default install mode |
552
482
 
553
- **A:** Both. The CLI (`cli.mjs`) handles installation, mode switching, and CLI configuration. The actual workflow comes from `bootstrap.md` / `bootstrap-lite.md` rules, quality skills, and host-appropriate runtime helpers. On Claude/Gemini that includes hook scripts such as `notify.mjs`, `guard.mjs`, and `ralph-loop.mjs`; on Codex the default path is rules-file driven to keep TUI output quiet. Think of it as a delivery system + intelligent quality protocol.
554
- </details>
483
+ ## How Each CLI Is Integrated
555
484
 
556
- <details>
557
- <summary><strong>Q: What changed from v2.x to v3.x?</strong></summary>
485
+ ### Claude Code
558
486
 
559
- **A:** Everything. The v3 line is a complete rewrite:
560
- - Python package pure Node.js/Markdown architecture
561
- - 15 commands 12 commands + 14 auto-activated quality skills
562
- - 6 CLI targets → 3 (Claude Code + Codex CLI + Gemini CLI)
563
- - New: checklist gate control, guard system, ~prd, ~loop, ~verify, design system generation
564
- - See [Version History](#-version-history) for full details.
565
- </details>
487
+ - standby writes `~/.claude/CLAUDE.md`
488
+ - standby updates `~/.claude/settings.json` with managed hooks and permissions
489
+ - standby creates `~/.claude/helloagents -> <package-root>`
490
+ - global mode uses Claude Code's plugin system
566
491
 
567
- <details>
568
- <summary><strong>Q: Which CLI should I use?</strong></summary>
492
+ ### Gemini CLI
569
493
 
570
- **A:** Claude Code gets the best experience (plugin system, 11 lifecycle hooks, Agent Teams support). Gemini CLI works via extension system. Codex CLI works well too. Install the package first, then deploy explicitly to the CLI you want with `helloagents install <target> --standby` or `helloagents install --all --standby`.
571
- </details>
494
+ - standby writes `~/.gemini/GEMINI.md`
495
+ - standby updates `~/.gemini/settings.json` with managed hooks
496
+ - standby creates `~/.gemini/helloagents -> <package-root>`
497
+ - global mode uses Gemini's extension system
572
498
 
573
- <details>
574
- <summary><strong>Q: What are the 14 quality skills?</strong></summary>
499
+ ### Codex CLI
575
500
 
576
- **A:** They auto-activate based on task type:
577
- - **hello-ui**: deep UI implementation and validation (contracts, design-system mapping, accessibility, responsive, animation)
578
- - **hello-api**: API design (REST, validation, error format, rate limiting)
579
- - **hello-security**: Security (auth, input validation, XSS/CSRF, secrets management)
580
- - **hello-test**: Testing (TDD workflow, boundary cases, AAA pattern)
581
- - **hello-verify**: Verification gate (Ralph Loop, circuit breaker)
582
- - **hello-errors**: Error handling (structured errors, logging, recovery)
583
- - **hello-perf**: Performance (N+1, caching, code splitting, virtual scroll)
584
- - **hello-data**: Database (migrations, transactions, indexes, integrity)
585
- - **hello-arch**: Architecture (SOLID, boundaries, code volume limits)
586
- - **hello-debug**: Debugging (4-stage process, escalation on stuck)
587
- - **hello-subagent**: Subagent orchestration (dispatch, coordination, review)
588
- - **hello-review**: Code review (logic, security, performance, maintainability)
589
- - **hello-write**: Documentation (pyramid principle, audience-aware)
590
- - **hello-reflect**: Experience capture (lessons learned → KB)
501
+ Codex is rules-file driven by default.
591
502
 
592
- Subagents may skip workflow packaging such as routing, interaction flow, and output formatting, but they still follow core rules such as coding principles, safety constraints, and failure handling.
593
- </details>
503
+ - standby writes `~/.codex/AGENTS.md`
504
+ - standby writes a managed `model_instructions_file` pointing to that file
505
+ - standby writes a managed `notify` command for closeout notification
506
+ - standby creates `~/.codex/helloagents -> <package-root>`
507
+ - global mode installs the native local-plugin chain
508
+ - HelloAGENTS does not enable Codex hooks by default
594
509
 
595
- <details>
596
- <summary><strong>Q: What is standby vs global mode?</strong></summary>
510
+ ## Verification
597
511
 
598
- **A:** Standby mode (default) deploys lite rules to the targets you choose, typically with `helloagents install <target> --standby` or `helloagents install --all --standby`. A project enters the full project flow once it has `.helloagents/`, usually via `~wiki` (KB only) or `~init` (full bootstrap). Global mode uses each CLI's native plugin/extension system for full rules everywhere; deploy it with `helloagents install <target> --global`, `helloagents install --all --global`, or bulk-switch with `helloagents --global`.
599
- </details>
512
+ Run all tests:
600
513
 
601
- <details>
602
- <summary><strong>Q: Where does project knowledge go?</strong></summary>
514
+ ```bash
515
+ npm test
516
+ ```
603
517
 
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
- </details>
518
+ The current test suite covers:
606
519
 
607
- <details>
608
- <summary><strong>Q: What is the Guard system?</strong></summary>
520
+ - install, update, uninstall, cleanup, and mode switching
521
+ - Claude, Gemini, and Codex config merge and restore behavior
522
+ - Codex managed `model_instructions_file`, `notify`, local plugin, marketplace, and cache behavior
523
+ - `helloagents doctor`
524
+ - project storage and `repo-shared` behavior
525
+ - session-scoped `state_path`
526
+ - runtime routing, guard, verification, visual evidence, and delivery gates
527
+ - README and skill contract alignment
609
528
 
610
- **A:** Two-layer safety:
611
- - **L1 Blocking**: Stops destructive commands before execution (`rm -rf /`, `git push --force`, `DROP DATABASE`, `chmod 777`, `FLUSHALL`)
612
- - **L2 Advisory**: Scans file writes for hardcoded secrets, API keys, .env exposure — warns but doesn't block
613
- </details>
529
+ ## FAQ
614
530
 
615
- <details>
616
- <summary><strong>Q: What does the bottom next-step bar mean when formatted output is enabled?</strong></summary>
531
+ ### Is this a CLI tool or a prompt framework?
617
532
 
618
- **A:** It always shows the most appropriate next action. If a natural follow-up exists, HelloAGENTS states it directly. If the current task is fully complete with no meaningful follow-up, it falls back to a completion/waiting status instead of empty filler.
619
- </details>
533
+ Both.
620
534
 
621
- <details>
622
- <summary><strong>Q: Can I disable features I don't need?</strong></summary>
535
+ - `cli.mjs` handles install, update, cleanup, diagnostics, and host config
536
+ - `bootstrap.md` and `bootstrap-lite.md` define workflow rules
537
+ - `skills/` defines task-specific behavior
538
+ - `scripts/` provides runtime helpers for routing, guard, notify, verification, state, and evidence
623
539
 
624
- **A:** Yes. Set `guard_enabled: false` to disable the guard, `ralph_loop_enabled: false` to skip verification, `kb_create_mode: 0` to disable KB. Quality skills auto-activate but don't add overhead for unrelated tasks.
625
- </details>
540
+ ### Should I use `~wiki` or `~init`?
626
541
 
627
- <details>
628
- <summary><strong>Q: What is ~prd?</strong></summary>
542
+ Use `~wiki` when you only want project knowledge.
629
543
 
630
- **A:** A 13-dimension PRD generator. It walks through product overview, user stories, functional requirements, UI/UX design, technical architecture, non-functional requirements, i18n, accessibility, content strategy, testing, deployment, legal/privacy, and timeline — brainstorm-style, one dimension at a time.
631
- </details>
544
+ Use `~init` when you also want project-level rule files and host-native project skill links.
632
545
 
633
- ## 🛠️ Troubleshooting
546
+ ### What is the difference between standby and global?
634
547
 
635
- ### Plugin not loading (Claude Code)
548
+ `standby` is lighter and explicit. It deploys rules to selected CLIs and keeps full project workflow behind project activation.
636
549
 
637
- **Problem:** `~help` not recognized after plugin installation
550
+ `global` applies full rules broadly. Claude and Gemini use native plugin/extension installs. Codex uses the local-plugin path.
638
551
 
639
- **Solution:** Restart Claude Code. If still not working, check `/plugin list` to verify installation.
552
+ ### Why does Codex not use hooks by default?
640
553
 
641
- ---
554
+ The current Codex integration is more predictable with managed rules files, `model_instructions_file`, `notify`, and local plugins. Hooks can still show output in the TUI, so HelloAGENTS does not enable Codex hooks by default.
642
555
 
643
- ### Extension not working (Gemini CLI)
556
+ ### Can I turn off notifications or guard checks?
644
557
 
645
- **Problem:** `~help` not recognized after `gemini extensions install`
558
+ Yes.
646
559
 
647
- **Solution:** Restart Gemini CLI. Verify with `gemini extensions list`. Make sure the extension is enabled.
560
+ - set `notify_level` to `0` to disable notifications
561
+ - set `guard_enabled` to `false` to disable command guards
648
562
 
649
- ---
563
+ ### Does `npm uninstall -g helloagents` remove project knowledge?
650
564
 
651
- ### File writes blocked outside workspace
565
+ No. Package uninstall removes the package. Project `.helloagents/` files and `~/.helloagents/helloagents.json` are intentionally preserved unless you remove them yourself.
652
566
 
653
- **Problem:** Gemini CLI or Codex CLI reports that a file path is outside the allowed workspace.
567
+ ## Troubleshooting
654
568
 
655
- **Solution:** Write files inside the current project workspace, or inside the CLI's temporary workspace directory. In headless verification, prefer paths under the current repo instead of arbitrary absolute paths.
569
+ ### `~help` is not recognized
656
570
 
657
- ---
571
+ Check:
658
572
 
659
- ### Commands not found
573
+ ```bash
574
+ npm list -g helloagents
575
+ helloagents doctor
576
+ ```
660
577
 
661
- **Problem:** `~help` not recognized after installation
578
+ Then restart the target CLI.
662
579
 
663
- **Solution:**
664
- - Verify installation: `npm list -g helloagents`
665
- - Claude Code: check `~/.claude/CLAUDE.md` contains HelloAGENTS markers
666
- - Gemini CLI: check `~/.gemini/GEMINI.md` contains HelloAGENTS markers
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
- - Restart your CLI
580
+ ### A CLI appears installed but behavior is stale
669
581
 
670
- ---
582
+ Run:
671
583
 
672
- ### Local branch switched but Codex global plugin still uses old files
584
+ ```bash
585
+ helloagents doctor
586
+ helloagents update codex
587
+ helloagents --standby
588
+ helloagents --global
589
+ ```
673
590
 
674
- **Problem:** You changed branches or updated a linked local checkout, but Codex global mode is still running older copied files.
591
+ Use the command that matches your installed mode and target CLI.
675
592
 
676
- **Solution:** Re-run the current mode command:
677
- - `helloagents --global` → refreshes `~/plugins/helloagents/` and the Codex cache copy
678
- - `helloagents --standby` → refreshes injected files and symlinks for standby mode
593
+ ### Codex still uses old files after a local branch switch
679
594
 
680
- ---
595
+ Refresh Codex:
681
596
 
682
- ### Guard blocking legitimate commands
597
+ ```bash
598
+ helloagents update codex
599
+ ```
683
600
 
684
- **Problem:** Guard blocks a command you actually want to run
601
+ For global mode, you can also run:
685
602
 
686
- **Solution:** Set `guard_enabled: false` in `~/.helloagents/helloagents.json`. Or review the blocked command — the guard only blocks truly destructive operations like `rm -rf /` and `git push --force`.
603
+ ```bash
604
+ helloagents --global
605
+ ```
687
606
 
688
- ---
607
+ ### Notifications do not work
689
608
 
690
- ### Ralph Loop keeps failing
609
+ Check `notify_level` first.
691
610
 
692
- **Problem:** Verification loop won't pass
611
+ - Windows: PowerShell must be able to show desktop notifications or play sound
612
+ - macOS: `afplay` should be available
613
+ - Linux: install `aplay`, `paplay`, or `notify-send`
693
614
 
694
- **Solution:**
695
- - Check `.helloagents/verify.yaml` for correct commands
696
- - Run the verification commands manually to see actual errors
697
- - Circuit breaker activates after 3 consecutive failures — `hello-debug` escalation kicks in
615
+ ### Guard blocks a command you intended to run
698
616
 
699
- ---
617
+ Review the command. Guard blocks known destructive operations and warns about risky writes. If you still want to disable it:
700
618
 
701
- ### CCswitch replaces HelloAGENTS config
619
+ ```json
620
+ { "guard_enabled": false }
621
+ ```
702
622
 
703
- **Problem:** After switching CCswitch profiles, HelloAGENTS stops working
623
+ ## License
704
624
 
705
- **Solution:** Re-run `/plugin marketplace add hellowind777/helloagents` after switching profiles. CCswitch replaces the entire CLI config directory.
625
+ Code is licensed under [Apache-2.0](./LICENSE.md). Documentation is licensed under CC BY 4.0.
706
626
 
707
- ---
627
+ ## Contributing
708
628
 
709
- ### Notifications not working
710
-
711
- **Problem:** No sound or desktop notifications
712
-
713
- **Solution:**
714
- - Check `notify_level` in config (0=off by default)
715
- - Windows: Ensure PowerShell can access `System.Media.SoundPlayer`
716
- - macOS: Ensure `afplay` is available
717
- - Linux: Ensure `aplay` or `paplay` is installed
718
-
719
- ## 📈 Version History
720
-
721
- ### v3.0.9 (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
729
-
730
- **What the current line now delivers relative to `v2.3.8`:**
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
733
- - ✨ Re-centered the command surface around `~idea`, `~plan`, `~build`, `~verify`, `~prd`, `~loop`, and `~wiki`, plus 14 auto-activated quality skills
734
- - ✨ Turned project files into first-class workflow records: `STATE.md`, `DESIGN.md`, `requirements.md`, `plan.md`, `tasks.md`, `contract.json`, and `.ralph-*` records
735
- - ✨ Rebuilt installation around standby/global dual-mode deployment; Codex now uses the native local-plugin chain while Claude/Gemini keep host-native integration
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
737
-
738
- ### v3.0.4
739
-
740
- **Standby and runtime boundaries:**
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
742
- - ✨ Solidified standby, unactivated projects with a compact quality floor so lightweight mode still keeps modern stack, performance, and UI-quality baselines
743
- - 🔧 Refined bootstrap terminology and runtime wording for more precise, professional guidance without changing the existing guardrail model
744
-
745
- ### v3.0.3
746
-
747
- **Workflow and KB activation:**
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`
750
- - 🔧 Refined `kb_create_mode` wording across bootstrap, help text, and README so it only describes sync timing inside activated projects or global mode
751
- - 🧪 Added routing coverage for `~wiki` and kept standby `.helloagents/` activation behavior under test
752
-
753
- ### v3.0.2
754
-
755
- **Fixes and verification:**
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
760
-
761
- ### v3.0.1
762
-
763
- **Fixes and verification:**
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
765
- - 🔧 Codex cleanup now removes empty `~/.agents/plugins/marketplace.json` residue during config restore
766
- - 🔧 Scoped `update` continues to reuse the detected host mode even when tracked config is stale, matching the intended `helloagents update <cli>` behavior
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
769
-
770
- ### v3.0.0 🎉
771
-
772
- **Breaking Changes:**
773
- - 🔴 Complete rewrite: Python package → pure Node.js/Markdown architecture. `pip`/`uv` installation no longer available
774
- - 🔴 Commands renamed/removed: `~design` → `~plan`, `~review` → `~verify`, `~do` → `~build`, removed `~exec`/`~rollback`/`~rlm`/`~status`/`~validatekb`/`~upgradekb`/`~cleanplan`
775
- - 🔴 Configuration keys changed from uppercase to lowercase. Removed: `BILINGUAL_COMMIT`, `EVAL_MODE`, `UPDATE_CHECK`, `CSV_BATCH_MAX`
776
-
777
- **New Features:**
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
779
- - ✨ 3 supported CLIs: Claude Code (plugin/marketplace), Gemini CLI (extension), Codex CLI (npm)
780
- - ✨ Checklist-based delivery checks: all activated skills must pass the delivery checklist before task completion
781
- - ✨ `~prd` command: 13-dimension brainstorm-style PRD framework
782
- - ✨ `~loop` command: autonomous iteration optimization with metric tracking and git-based rollback
783
- - ✨ `~verify` command: auto-detect and run all verification commands
784
- - ✨ Guard system (`guard.mjs`): L1 blocking for destructive commands + L2 advisory for security patterns
785
- - ✨ Standby/Global mode: `install_mode` config for per-project or global activation
786
- - ✨ Flow state management (`STATE.md`): recovery snapshot for compaction/resume handoff (≤70 lines)
787
- - ✨ Design system generation (`DESIGN.md`): auto-created for UI projects as a project-level contract
788
- - ✨ Plan package system: `requirements.md` + `plan.md` + `tasks.md` + `contract.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`
791
-
792
- **Architecture:**
793
- - 📦 6-stage workflow: ROUTE/TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE
794
- - 📦 Simplified configuration: 8 lowercase keys with sensible defaults
795
- - 📦 Dual-mode installation: standby (explicit non-plugin deploy) / global (plugin/extension)
796
- - 📦 Modular script architecture: `cli-utils.mjs` (shared utilities), `notify-ui.mjs` (cross-platform sound/desktop), `guard.mjs` (security), `ralph-loop.mjs` (verification)
797
- - 📦 Cross-platform hook compatibility: dynamic event name resolution (Claude Code / Gemini CLI / Codex CLI) via environment variables or CLI argument inference
798
- - 📦 Standby mode routing isolation: new project detection only triggers in global mode or activated projects, keeping unactivated projects undisturbed
799
- - 📦 Notification system with cross-platform sound + desktop support (Windows toast, macOS osascript, Linux notify-send)
800
-
801
- ### v2.3.8
802
-
803
- **Architecture Changes:**
804
- - Routing tier consolidation: removed R2 simplified flow and R3 standard flow, unified to R0/R1/R2 three-tier routing
805
- - Evaluation driven by dimension sufficiency, replacing fixed total score threshold
806
- - Last-round question+confirmation combined, reducing standalone confirmation steps
807
- - Removed L0 user memory system and custom command extension
808
- - Config system consolidation: single `~/.helloagents/helloagents.json`
809
- - Added code size control rules: warning 300/40 lines, mandatory split 400/60 lines
810
-
811
- **New Features:**
812
- - ✨ 5 new workflow commands: `~test`, `~rollback`, `~validatekb`, `~upgradekb`, `~cleanplan`
813
- - ✨ `notify_level` config key for notification behavior control
814
- - ✨ Standalone config reader module for hook scripts
815
-
816
- **Security:**
817
- - Fixed path injection vulnerability in `shared_tasks.py`
818
- - Fixed incomplete path traversal guard in `validate_package.py`
819
-
820
- ### v2.3.7
821
-
822
- **Bug Fixes:**
823
- - Fixed non-coding tasks incorrectly creating KB when `KB_CREATE_MODE=2`
824
- - Fixed R2 standard flow redirecting to archive instead of DEVELOP after proposal selection
825
- - Fixed non-coding tasks incorrectly creating plan packages
826
-
827
- **Improvements:**
828
- - 📦 Optimized implementation plan state recovery after context compression
829
- - 📦 Optimized overall design flow
830
-
831
- ### v2.3.6
832
-
833
- **New Features:**
834
- - ✨ Sub-agent orchestration overhaul: brainstormer sub-agent for parallel proposal ideation
835
- - ✨ Sub-agent blocking mechanism: auto-block and fallback on failure/timeout
836
-
837
- **Improvements:**
838
- - 📦 Tool/Shell constraint optimization: allow fallback to Shell when built-in tools fail
839
- - 📦 Shell encoding constraint refinement: explicit UTF-8 no-BOM requirement
840
- - 📦 Removed 3 redundant sub-agents, functionality returned to main agent and RLM roles
841
-
842
- ### v2.3.5
843
-
844
- **New Features:**
845
- - ✨ Voice notification system with 5 event sounds across Windows/macOS/Linux
846
- - ✨ Claude Code hooks expanded from 9 to 11 lifecycle event types
847
- - ✨ Hooks support expanded to Gemini CLI and Grok CLI
848
- - ✨ Configuration integrity check on session start
849
- - ✨ Recovery snapshot injection before context compaction
850
- - ✨ User-defined tool registration and orchestration
851
-
852
- **Improvements:**
853
- - 📦 Comprehensive audit fixes (21 issues: 6 HIGH + 9 MEDIUM + 6 LOW)
854
- - 📦 Core architecture: new dispatcher module, Codex roles, Claude rules management
855
- - 📦 Install/update script refactoring with persistent configuration
856
-
857
- ## 📜 License
858
-
859
- This project is dual-licensed: Code under [Apache-2.0](./LICENSE.md), Documentation under CC BY 4.0.
860
-
861
- See [LICENSE.md](./LICENSE.md) for full details.
862
-
863
- ## 🤝 Contributing
864
-
865
- - 🐛 **Bug reports**: [Create an issue](https://github.com/hellowind777/helloagents/issues)
866
- - 💡 **Feature requests**: [Start a discussion](https://github.com/hellowind777/helloagents/issues)
867
- - 📖 **Documentation**: PRs welcome
868
-
869
- ## Supported CLIs
870
-
871
- | CLI | Standby Install (default) | Global Install (plugin) | Uninstall |
872
- |-----|--------------------------|------------------------|-----------|
873
- | Claude Code | `helloagents install claude --standby` | `/plugin marketplace add hellowind777/helloagents` | `npm uninstall -g helloagents` (+ `/plugin remove helloagents` if global) |
874
- | Gemini CLI | `helloagents install gemini --standby` | `gemini extensions install https://github.com/hellowind777/helloagents` | `npm uninstall -g helloagents` (+ `gemini extensions uninstall helloagents` if global) |
875
- | Codex CLI | `helloagents install codex --standby` | `helloagents install codex --global` | `npm uninstall -g helloagents` |
629
+ - Bug reports: [open an issue](https://github.com/hellowind777/helloagents/issues)
630
+ - Feature requests: [open an issue](https://github.com/hellowind777/helloagents/issues)
631
+ - Pull requests are welcome
876
632
 
877
633
  ---
878
634
 
879
635
  <div align="center">
880
636
 
881
- If this project helps your workflow, a star is always appreciated.
882
-
883
- Thanks to <a href="https://codexzh.com/?ref=EEABC8">codexzh.com</a> / <a href="https://ccodezh.com">ccodezh.com</a> for supporting this project
637
+ If this project helps you, a star is the best support.
884
638
 
885
- [⬆ Back to top](#helloagents)
639
+ Thanks to <a href="https://codexzh.com/?ref=EEABC8">codexzh.com</a> / <a href="https://ccodezh.com">ccodezh.com</a> for supporting this project.
886
640
 
887
641
  </div>