helloagents 3.0.12 → 3.0.16-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 (73) hide show
  1. package/.claude-plugin/marketplace.json +6 -4
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/README.md +182 -35
  5. package/README_CN.md +184 -37
  6. package/bootstrap-lite.md +32 -26
  7. package/bootstrap.md +35 -29
  8. package/cli.mjs +119 -11
  9. package/gemini-extension.json +1 -1
  10. package/install.ps1 +128 -0
  11. package/install.sh +121 -0
  12. package/package.json +23 -4
  13. package/scripts/advisor-state.mjs +36 -63
  14. package/scripts/capability-registry.mjs +4 -4
  15. package/scripts/cli-branch.mjs +84 -0
  16. package/scripts/cli-codex-config.mjs +14 -20
  17. package/scripts/cli-codex.mjs +32 -38
  18. package/scripts/cli-doctor-render.mjs +4 -0
  19. package/scripts/cli-doctor.mjs +40 -30
  20. package/scripts/cli-host-detect.mjs +0 -1
  21. package/scripts/cli-hosts.mjs +16 -8
  22. package/scripts/cli-lifecycle-hosts.mjs +119 -32
  23. package/scripts/cli-lifecycle.mjs +24 -13
  24. package/scripts/cli-messages.mjs +34 -16
  25. package/scripts/cli-runtime-carrier.mjs +15 -0
  26. package/scripts/cli-runtime-root.mjs +72 -0
  27. package/scripts/cli-toml.mjs +0 -79
  28. package/scripts/cli-utils.mjs +30 -4
  29. package/scripts/closeout-state.mjs +35 -62
  30. package/scripts/delivery-gate-messages.mjs +70 -0
  31. package/scripts/delivery-gate.mjs +9 -75
  32. package/scripts/guard-rules.mjs +42 -42
  33. package/scripts/guard.mjs +44 -24
  34. package/scripts/notify-context.mjs +19 -28
  35. package/scripts/notify-events.mjs +3 -1
  36. package/scripts/notify-gates.mjs +2 -0
  37. package/scripts/notify-route.mjs +9 -7
  38. package/scripts/notify-ui.mjs +42 -32
  39. package/scripts/notify.mjs +72 -36
  40. package/scripts/project-storage.mjs +35 -66
  41. package/scripts/ralph-loop.mjs +36 -31
  42. package/scripts/replay-state.mjs +31 -128
  43. package/scripts/review-state.mjs +34 -61
  44. package/scripts/runtime-artifacts.mjs +95 -0
  45. package/scripts/runtime-context.mjs +35 -29
  46. package/scripts/runtime-scope.mjs +313 -0
  47. package/scripts/session-capsule.mjs +202 -0
  48. package/scripts/turn-state-cli.mjs +17 -0
  49. package/scripts/turn-state.mjs +185 -66
  50. package/scripts/turn-stop-gate.mjs +24 -6
  51. package/scripts/verify-state.mjs +34 -85
  52. package/scripts/visual-state.mjs +38 -65
  53. package/scripts/workflow-core.mjs +3 -3
  54. package/scripts/workflow-plan-files.mjs +1 -1
  55. package/scripts/workflow-recommendation.mjs +17 -13
  56. package/scripts/workflow-state.mjs +5 -5
  57. package/skills/commands/build/SKILL.md +1 -1
  58. package/skills/commands/commit/SKILL.md +1 -1
  59. package/skills/commands/help/SKILL.md +5 -3
  60. package/skills/commands/loop/SKILL.md +1 -1
  61. package/skills/commands/plan/SKILL.md +8 -6
  62. package/skills/commands/prd/SKILL.md +5 -3
  63. package/skills/commands/verify/SKILL.md +5 -5
  64. package/skills/hello-debug/SKILL.md +20 -3
  65. package/skills/hello-review/SKILL.md +2 -2
  66. package/skills/hello-subagent/SKILL.md +2 -2
  67. package/skills/hello-test/SKILL.md +6 -2
  68. package/skills/hello-ui/SKILL.md +7 -7
  69. package/skills/hello-verify/SKILL.md +10 -7
  70. package/skills/helloagents/SKILL.md +14 -9
  71. package/templates/context.md +6 -0
  72. package/templates/plans/plan.md +3 -0
  73. package/templates/plans/tasks.md +8 -3
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "helloagents-dev",
3
- "description": "Development marketplace for HelloAGENTS quality-driven orchestration kernel",
2
+ "name": "helloagents",
3
+ "description": "Official marketplace for the HelloAGENTS quality-driven orchestration kernel",
4
4
  "owner": {
5
5
  "name": "HelloWind",
6
6
  "email": "hellowind777@gmail.com"
@@ -9,8 +9,10 @@
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.12",
13
- "source": "./",
12
+ "source": {
13
+ "source": "github",
14
+ "repo": "hellowind777/helloagents"
15
+ },
14
16
  "author": {
15
17
  "name": "HelloWind",
16
18
  "email": "hellowind777@gmail.com"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helloagents",
3
- "version": "3.0.12",
3
+ "version": "3.0.16-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": {
6
6
  "name": "HelloWind",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helloagents",
3
- "version": "3.0.12",
3
+ "version": "3.0.16-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
@@ -8,7 +8,7 @@
8
8
 
9
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.12-orange.svg)](./package.json)
11
+ [![Version](https://img.shields.io/badge/version-3.0.16-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)
@@ -30,7 +30,7 @@
30
30
  ## Contents
31
31
 
32
32
  - [What HelloAGENTS Does](#what-helloagents-does)
33
- - [What Changed Since v3.0.11](#what-changed-since-v3011)
33
+ - [What Changed Since v3.0.15](#what-changed-since-v3015)
34
34
  - [Core Features](#core-features)
35
35
  - [Quick Start](#quick-start)
36
36
  - [CLI Management](#cli-management)
@@ -77,13 +77,17 @@ HelloAGENTS adds a workflow layer on top of Claude Code, Gemini CLI, and Codex C
77
77
  | Completion is vague | Natural language says “done” | Delivery checks use state, evidence, and verification |
78
78
  | Config writes are risky | CLI files can drift | Install, update, cleanup, and doctor flows check managed files |
79
79
 
80
- ## What Changed Since v3.0.11
80
+ ## What Changed Since v3.0.15
81
81
 
82
- These are the main user-visible runtime changes in `v3.0.12`, compared with `v3.0.11`:
82
+ These are the main user-visible changes in `v3.0.16`, compared with `v3.0.15 beta`:
83
83
 
84
- - Explicit `~auto` and `~loop` no longer get a free pass to stop a turn early. Before the runtime accepts the turn end, it now checks whether the main agent wrote a valid structured stop state.
85
- - `waiting` and `blocked` turn states now require both a `reasonCategory` and a concrete `reason`, so only real blockers can pause the workflow instead of vague “next step” hand-offs.
86
- - The stop hook and Codex turn-complete notification path now enforce the same gate, reducing cases where work still should continue but the agent stops as if it is waiting for approval.
84
+ - Codex notifications now handle both Codex TUI and `codex exec` completion events, so turn-state gates, delivery checks, and completion notifications stay consistent across Codex entrypoints.
85
+ - Codex on Windows now writes the managed notify command through the command shim, reducing failures caused by direct script paths or shell-specific resolution.
86
+ - Runtime configuration reads now reuse the current session cache when available, reducing repeated `~/.helloagents/helloagents.json` reads while preserving explicit refresh behavior.
87
+ - Persistent carrier files no longer snapshot user settings; runtime injection and final output formatting resolve current settings at execution time.
88
+ - Install tracking is stricter after partial host setup, so `helloagents update --all` can preserve each CLI’s detected or tracked mode more reliably.
89
+ - UI rule boundaries are clearer: the shared UI baseline is the minimum quality line, and `hello-ui` adds concrete design, implementation, and visual validation rules in global mode, activated projects, or explicit UI workflows.
90
+ - One-shot installers now support `HELLOAGENTS_ACTION=cleanup` for host cleanup without uninstalling the package.
87
91
 
88
92
  ## Core Features
89
93
 
@@ -109,8 +113,8 @@ HelloAGENTS includes 14 `hello-*` skills. They are loaded only when the current
109
113
  | `hello-reflect` | reusable lessons and knowledge updates |
110
114
 
111
115
  All UI work first follows the shared UI quality baseline.
112
- In activated projects or explicit UI workflows, `hello-ui` adds deeper design-contract execution, design-system mapping, and visual validation.
113
- When visual evidence is required, HelloAGENTS can record `.helloagents/.ralph-visual.json`.
116
+ In global mode, activated projects, or explicit UI workflows, `hello-ui` adds deeper design-contract execution, design-system mapping, and visual validation on top of that baseline.
117
+ When visual evidence is required, HelloAGENTS records it in the current session `artifacts/visual.json`.
114
118
 
115
119
  ### 2) Commands for different work styles
116
120
 
@@ -205,11 +209,13 @@ HelloAGENTS does not treat “tests passed” and “task complete” as the sam
205
209
 
206
210
  Runtime evidence files include:
207
211
 
208
- - `.helloagents/.ralph-review.json`
209
- - `.helloagents/.ralph-advisor.json`
210
- - `.helloagents/.ralph-visual.json`
211
- - `.helloagents/.ralph-closeout.json`
212
- - `.helloagents/loop-results.tsv`
212
+ - `.helloagents/sessions/<branch>/<session>/capsule.json`
213
+ - `.helloagents/sessions/<branch>/<session>/events.jsonl`
214
+ - `.helloagents/sessions/<branch>/<session>/artifacts/review.json`
215
+ - `.helloagents/sessions/<branch>/<session>/artifacts/advisor.json`
216
+ - `.helloagents/sessions/<branch>/<session>/artifacts/visual.json`
217
+ - `.helloagents/sessions/<branch>/<session>/artifacts/closeout.json`
218
+ - `.helloagents/sessions/<branch>/<session>/artifacts/loop-results.tsv`
213
219
 
214
220
  ### 7) Safer install, update, cleanup, and diagnostics
215
221
 
@@ -235,7 +241,7 @@ If another executable named `helloagents` already exists in your `PATH`, use the
235
241
  helloagents-js
236
242
  ```
237
243
 
238
- `postinstall` only installs the package command and initializes `~/.helloagents/helloagents.json`. It does not deploy to any AI CLI automatically.
244
+ By default, `postinstall` installs the package command, initializes `~/.helloagents/helloagents.json`, and syncs runtime files to `~/.helloagents/helloagents`. No host CLI is deployed unless you set `HELLOAGENTS=target[:mode]`, such as `HELLOAGENTS=codex:global`.
239
245
 
240
246
  ### 2) Deploy to a CLI
241
247
 
@@ -250,8 +256,11 @@ Use global mode when you want full rules everywhere:
250
256
 
251
257
  ```bash
252
258
  helloagents --global
259
+ helloagents install --all --global
253
260
  ```
254
261
 
262
+ After reinstalling, refreshing, or switching modes, restart the target AI CLI or open a new session; already running sessions do not reload injected rules automatically.
263
+
255
264
  ### 3) Verify inside your AI CLI
256
265
 
257
266
  Type:
@@ -288,6 +297,8 @@ helloagents install --all --global
288
297
  helloagents update codex
289
298
  helloagents cleanup claude --global
290
299
  helloagents uninstall gemini
300
+ helloagents switch-branch beta
301
+ helloagents switch-branch beta claude --global
291
302
  helloagents doctor
292
303
  helloagents doctor codex --json
293
304
  ```
@@ -301,13 +312,129 @@ Supported targets:
301
312
 
302
313
  If you omit `--standby` or `--global`, HelloAGENTS first reuses the tracked/detected mode for that CLI, then falls back to `standby`.
303
314
 
315
+ ### npm and one-shot script entries
316
+
317
+ Use these when you do not want to depend on the `helloagents` binary being available during package updates. In `HELLOAGENTS=target[:mode]`, target can be `all`, `claude`, `gemini`, or `codex`; mode can be `standby` or `global`, and defaults to `standby`.
318
+
319
+ Host configs use the stable `helloagents-js` entrypoint and runtime root `~/.helloagents/helloagents`, so Node global package paths can change without breaking managed hooks or Codex `notify`.
320
+
321
+ #### npm commands
322
+
323
+ macOS / Linux:
324
+
325
+ ```bash
326
+ # Install to Codex in standby mode
327
+ HELLOAGENTS=codex npm install -g helloagents
328
+
329
+ # Install to Codex in global mode
330
+ HELLOAGENTS=codex:global npm install -g helloagents
331
+
332
+ # Update and sync Claude in standby mode
333
+ HELLOAGENTS=claude:standby npm update -g helloagents
334
+
335
+ # Switch to the beta branch and sync all CLIs in standby mode
336
+ HELLOAGENTS=all:standby npm install -g github:hellowind777/helloagents#beta
337
+
338
+ # Clean Gemini integration before package uninstall
339
+ npm explore -g helloagents -- npm run uninstall -- gemini --standby
340
+ npm uninstall -g helloagents
341
+ ```
342
+
343
+ Windows PowerShell:
344
+
345
+ ```powershell
346
+ # Install to Codex in standby mode
347
+ $env:HELLOAGENTS="codex"; npm install -g helloagents
348
+
349
+ # Install to Codex in global mode
350
+ $env:HELLOAGENTS="codex:global"; npm install -g helloagents
351
+
352
+ # Update and sync Claude in standby mode
353
+ $env:HELLOAGENTS="claude:standby"; npm update -g helloagents
354
+
355
+ # Switch to the beta branch and sync all CLIs in standby mode
356
+ $env:HELLOAGENTS="all:standby"; npm install -g github:hellowind777/helloagents#beta
357
+
358
+ # Clean Gemini integration before package uninstall
359
+ npm explore -g helloagents -- npm run uninstall -- gemini --standby
360
+ npm uninstall -g helloagents
361
+ ```
362
+
363
+ After the package is installed, you can also call its npm scripts directly:
364
+
365
+ ```bash
366
+ npm explore -g helloagents -- npm run deploy:global
367
+ npm explore -g helloagents -- npm run sync-hosts -- --all --standby
368
+ npm explore -g helloagents -- npm run cleanup-hosts -- codex --standby
369
+ npm explore -g helloagents -- npm run uninstall -- --all --standby
370
+ ```
371
+
372
+ #### One-shot scripts
373
+
374
+ macOS / Linux:
375
+
376
+ ```bash
377
+ # Install
378
+ HELLOAGENTS=codex curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | sh
379
+
380
+ # Update
381
+ HELLOAGENTS=claude:standby HELLOAGENTS_ACTION=update curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | sh
382
+
383
+ # Switch branch
384
+ HELLOAGENTS=all:global HELLOAGENTS_ACTION=switch-branch HELLOAGENTS_BRANCH=beta curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | sh
385
+
386
+ # Cleanup host integration without uninstalling the package
387
+ HELLOAGENTS=codex:standby HELLOAGENTS_ACTION=cleanup curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | sh
388
+
389
+ # Uninstall
390
+ HELLOAGENTS=gemini HELLOAGENTS_ACTION=uninstall curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/main/install.sh | sh
391
+ ```
392
+
393
+ Windows PowerShell:
394
+
395
+ ```powershell
396
+ # Install
397
+ $env:HELLOAGENTS="codex"; irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
398
+
399
+ # Update
400
+ $env:HELLOAGENTS="claude:standby"; $env:HELLOAGENTS_ACTION="update"; irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
401
+
402
+ # Switch branch
403
+ $env:HELLOAGENTS="all:global"; $env:HELLOAGENTS_ACTION="switch-branch"; $env:HELLOAGENTS_BRANCH="beta"; irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
404
+
405
+ # Cleanup host integration without uninstalling the package
406
+ $env:HELLOAGENTS="codex:standby"; $env:HELLOAGENTS_ACTION="cleanup"; irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
407
+
408
+ # Uninstall
409
+ $env:HELLOAGENTS="gemini"; $env:HELLOAGENTS_ACTION="uninstall"; irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
410
+ ```
411
+
412
+ ### Branch switching
413
+
414
+ `switch-branch` installs the requested npm/GitHub ref first, then syncs host CLIs through npm scripts so it does not depend on the `helloagents` executable during updates:
415
+
416
+ ```bash
417
+ helloagents switch-branch beta
418
+ helloagents switch-branch beta claude --global
419
+ helloagents branch github:hellowind777/helloagents#beta --all --standby
420
+ ```
421
+
422
+ Use normal npm commands when you only want to change the package and not sync host CLIs immediately:
423
+
424
+ ```bash
425
+ npm install -g github:hellowind777/helloagents#beta
426
+ npm update -g helloagents
427
+ npm explore -g helloagents -- npm run uninstall -- --all --standby
428
+ npm uninstall -g helloagents
429
+ ```
430
+
304
431
  ### Standby mode files
305
432
 
306
433
  | CLI | Files written or updated | Cleanup behavior |
307
434
  |-----|--------------------------|------------------|
308
- | Claude Code | `~/.claude/CLAUDE.md`, `~/.claude/settings.json`, `~/.claude/helloagents -> <package-root>` | removes managed marker block, HelloAGENTS hooks/permissions, and symlink |
309
- | Gemini CLI | `~/.gemini/GEMINI.md`, `~/.gemini/settings.json`, `~/.gemini/helloagents -> <package-root>` | removes managed marker block, HelloAGENTS hooks, and symlink |
310
- | 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 |
435
+ | Claude Code | `~/.claude/CLAUDE.md`, `~/.claude/settings.json`, `~/.claude/helloagents -> ~/.helloagents/helloagents` | removes managed marker block, HelloAGENTS hooks/permissions, and symlink |
436
+ | Gemini CLI | `~/.gemini/GEMINI.md`, `~/.gemini/settings.json`, `~/.gemini/helloagents -> ~/.helloagents/helloagents` | removes managed marker block, HelloAGENTS hooks, and symlink |
437
+ | Codex CLI | `~/.codex/AGENTS.md`, `~/.codex/config.toml`, `~/.codex/helloagents -> ~/.helloagents/helloagents`, managed backups | removes managed marker block, managed config keys, symlink, and the latest managed backup |
311
438
 
312
439
  ### Global mode files
313
440
 
@@ -317,13 +444,16 @@ If you omit `--standby` or `--global`, HelloAGENTS first reuses the tracked/dete
317
444
  | Gemini CLI | native extension install | managed by Gemini extension system |
318
445
  | 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` |
319
446
 
320
- Claude Code and Gemini CLI global mode still require their host-native install commands:
447
+ In global mode, HelloAGENTS now attempts the host-native install commands automatically. If a host command is unavailable, run the same commands manually:
321
448
 
322
449
  ```text
323
450
  /plugin marketplace add hellowind777/helloagents
451
+ /plugin install helloagents@helloagents
324
452
  gemini extensions install https://github.com/hellowind777/helloagents
325
453
  ```
326
454
 
455
+ For Claude Code, the CLI also tries the equivalent `claude plugin marketplace add ...` and `claude plugin install ...` commands. The marketplace is named `helloagents`, and the plugin is also named `helloagents`, so the install target is `helloagents@helloagents`. Restart the host CLI after a global install.
456
+
327
457
  Codex global mode is installed by HelloAGENTS automatically through the local-plugin path.
328
458
 
329
459
  ## Commands in Chat
@@ -375,8 +505,20 @@ When `project_store_mode = "repo-shared"`:
375
505
  Runtime state and evidence remain local to the working project:
376
506
 
377
507
  - `state_path`
378
- - `.ralph-*.json`
379
- - `loop-results.tsv`
508
+ - `.helloagents/sessions/<branch>/<session>/capsule.json`
509
+ - `.helloagents/sessions/<branch>/<session>/events.jsonl`
510
+ - `.helloagents/sessions/<branch>/<session>/artifacts/*.json`
511
+ - `.helloagents/sessions/<branch>/<session>/artifacts/loop-results.tsv`
512
+
513
+ ### Unactivated or temporary sessions
514
+
515
+ If neither the current directory nor its parents contain an activated `.helloagents/` directory, HelloAGENTS does not write project files automatically. Temporary runtime state is kept under the user-level directory:
516
+
517
+ ```text
518
+ ~/.helloagents/runtime/<scope-key>/
519
+ ```
520
+
521
+ This only stores short-lived `capsule.json`, `events.jsonl`, and `artifacts/`. It is not project knowledge. Expired transient sessions are removed by TTL cleanup.
380
522
 
381
523
  ### Knowledge creation rules
382
524
 
@@ -422,15 +564,14 @@ UI work follows this priority:
422
564
 
423
565
  1. current `plan.md` or PRD UI decisions
424
566
  2. `.helloagents/DESIGN.md`
425
- 3. shared UI quality baseline
426
- 4. `hello-ui` implementation and validation rules
567
+ 3. `hello-ui` implementation and validation rules, together with the shared UI quality baseline
427
568
 
428
569
  For heavier UI work, `contract.json` can require:
429
570
 
430
571
  - `ui.styleAdvisor.required`
431
572
  - `ui.visualValidation.required`
432
573
 
433
- Those requirements are closed with `.helloagents/.ralph-advisor.json` and `.helloagents/.ralph-visual.json`.
574
+ Those requirements are closed with the current session `artifacts/advisor.json` and `artifacts/visual.json`.
434
575
 
435
576
  ### Verification sources
436
577
 
@@ -450,7 +591,7 @@ Config file:
450
591
  ~/.helloagents/helloagents.json
451
592
  ```
452
593
 
453
- Default shape:
594
+ Default shape. `host_install_modes` is added when per-CLI modes are tracked:
454
595
 
455
596
  ```json
456
597
  {
@@ -462,21 +603,23 @@ Default shape:
462
603
  "kb_create_mode": 1,
463
604
  "project_store_mode": "local",
464
605
  "commit_attribution": "",
465
- "install_mode": "standby"
606
+ "install_mode": "standby",
607
+ "host_install_modes": {}
466
608
  }
467
609
  ```
468
610
 
469
611
  | Key | Default | Meaning |
470
612
  |-----|---------|---------|
471
613
  | `output_language` | `""` | follow the user language unless set |
472
- | `output_format` | `true` | only the main agent's final closeout message may use the HelloAGENTS layout |
614
+ | `output_format` | `true` | main-agent final closeout must use the HelloAGENTS layout; intermediate and sub-agent output stays natural |
473
615
  | `notify_level` | `0` | `0` off, `1` desktop, `2` sound, `3` both |
474
- | `ralph_loop_enabled` | `true` | run verification after task completion |
616
+ | `ralph_loop_enabled` | `true` | run verification for explicit `~verify` / `~loop` or required closeout gates |
475
617
  | `guard_enabled` | `true` | block dangerous commands |
476
618
  | `kb_create_mode` | `1` | control automatic knowledge base updates |
477
619
  | `project_store_mode` | `"local"` | `local` or `repo-shared` |
478
620
  | `commit_attribution` | `""` | optional text appended to commit messages |
479
621
  | `install_mode` | `"standby"` | current default install mode |
622
+ | `host_install_modes` | `{}` | managed per-CLI mode map, such as `{ "codex": "standby" }`; used before falling back to `install_mode` |
480
623
 
481
624
  ## How Each CLI Is Integrated
482
625
 
@@ -484,14 +627,14 @@ Default shape:
484
627
 
485
628
  - standby writes `~/.claude/CLAUDE.md`
486
629
  - standby updates `~/.claude/settings.json` with managed hooks and permissions
487
- - standby creates `~/.claude/helloagents -> <package-root>`
630
+ - standby creates `~/.claude/helloagents -> ~/.helloagents/helloagents`
488
631
  - global mode uses Claude Code's plugin system
489
632
 
490
633
  ### Gemini CLI
491
634
 
492
635
  - standby writes `~/.gemini/GEMINI.md`
493
636
  - standby updates `~/.gemini/settings.json` with managed hooks
494
- - standby creates `~/.gemini/helloagents -> <package-root>`
637
+ - standby creates `~/.gemini/helloagents -> ~/.helloagents/helloagents`
495
638
  - global mode uses Gemini's extension system
496
639
 
497
640
  ### Codex CLI
@@ -499,9 +642,9 @@ Default shape:
499
642
  Codex is rules-file driven by default.
500
643
 
501
644
  - standby writes `~/.codex/AGENTS.md`
502
- - standby writes a managed `model_instructions_file` pointing to that file
503
- - standby writes a managed `notify` command for closeout notification
504
- - standby creates `~/.codex/helloagents -> <package-root>`
645
+ - standby writes a managed `model_instructions_file = "~/.codex/AGENTS.md"`
646
+ - standby writes a managed `notify = ["helloagents-js", "codex-notify"]` command for closeout notification
647
+ - standby creates `~/.codex/helloagents -> ~/.helloagents/helloagents`
505
648
  - global mode installs the native local-plugin chain
506
649
  - HelloAGENTS does not enable Codex hooks by default
507
650
 
@@ -520,12 +663,16 @@ The current test suite covers:
520
663
  - Codex managed `model_instructions_file`, `notify`, local plugin, marketplace, and cache behavior
521
664
  - `helloagents doctor`
522
665
  - project storage and `repo-shared` behavior
523
- - session-scoped `state_path`
666
+ - session-scoped `state_path`, runtime signals, and evidence
524
667
  - runtime routing, guard, verification, visual evidence, and delivery gates
525
668
  - README and skill contract alignment
526
669
 
527
670
  ## FAQ
528
671
 
672
+ ### What is the role of `docs/`?
673
+
674
+ `docs/` is reference material for users and AI agents. It may lag behind implementation; runtime behavior is defined by source code, bootstrap files, skills, templates, and tests.
675
+
529
676
  ### Is this a CLI tool or a prompt framework?
530
677
 
531
678
  Both.
@@ -560,7 +707,7 @@ Yes.
560
707
 
561
708
  ### Does `npm uninstall -g helloagents` remove project knowledge?
562
709
 
563
- No. Package uninstall removes the package. Project `.helloagents/` files and `~/.helloagents/helloagents.json` are intentionally preserved unless you remove them yourself.
710
+ No. Run `npm explore -g helloagents -- npm run uninstall -- --all --standby` before package removal to clean host integrations and the stable runtime copy. Project `.helloagents/` files and `~/.helloagents/helloagents.json` are intentionally preserved unless you remove them yourself.
564
711
 
565
712
  ## Troubleshooting
566
713