helloagents 3.0.33 → 3.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -4
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -4
- package/README.md +78 -74
- package/README_CN.md +78 -74
- package/bootstrap-lite.md +9 -11
- package/bootstrap.md +21 -23
- package/gemini-extension.json +1 -1
- package/install.ps1 +27 -4
- package/install.sh +27 -3
- package/package.json +2 -2
- package/scripts/capability-registry.mjs +5 -3
- package/scripts/cli-doctor-codex.mjs +153 -1
- package/scripts/cli-doctor-render.mjs +2 -1
- package/scripts/cli-doctor.mjs +3 -3
- package/scripts/cli-hosts.mjs +1 -1
- package/scripts/cli-lifecycle-hosts.mjs +124 -54
- package/scripts/cli-lifecycle.mjs +50 -15
- package/scripts/cli-messages.mjs +7 -7
- package/scripts/cli-runtime-root.mjs +9 -1
- package/scripts/delivery-gate-messages.mjs +5 -4
- package/scripts/delivery-gate.mjs +11 -22
- package/scripts/guard.mjs +1 -1
- package/scripts/notify-closeout.mjs +61 -22
- package/scripts/notify-context.mjs +5 -5
- package/scripts/notify-route.mjs +1 -1
- package/scripts/notify-sound.mjs +2 -1
- package/scripts/notify.mjs +2 -2
- package/scripts/plan-contract.mjs +10 -14
- package/scripts/project-session-cleanup.mjs +91 -31
- package/scripts/qa-review-state.mjs +313 -0
- package/scripts/ralph-loop.mjs +32 -13
- package/scripts/runtime-artifacts.mjs +2 -2
- package/scripts/runtime-scope.mjs +14 -13
- package/scripts/runtime-ttl.mjs +7 -4
- package/scripts/session-capsule.mjs +75 -13
- package/scripts/session-token.mjs +44 -9
- package/scripts/state-document.mjs +77 -0
- package/scripts/workflow-core.mjs +13 -19
- package/scripts/workflow-plan-files.mjs +1 -1
- package/scripts/workflow-recommendation.mjs +55 -67
- package/scripts/workflow-state.mjs +8 -8
- package/skills/commands/auto/SKILL.md +12 -12
- package/skills/commands/build/SKILL.md +9 -10
- package/skills/commands/commit/SKILL.md +1 -1
- package/skills/commands/help/SKILL.md +11 -13
- package/skills/commands/init/SKILL.md +18 -9
- package/skills/commands/loop/SKILL.md +70 -96
- package/skills/commands/plan/SKILL.md +7 -8
- package/skills/commands/prd/SKILL.md +3 -3
- package/skills/commands/qa/SKILL.md +49 -0
- package/skills/hello-ui/SKILL.md +3 -3
- package/skills/helloagents/SKILL.md +11 -14
- package/skills/qa-review/SKILL.md +92 -0
- package/templates/plans/contract.json +4 -7
- package/templates/plans/plan.md +1 -1
- package/templates/plans/tasks.md +1 -1
- package/templates/verify.yaml +1 -1
- package/scripts/review-state.mjs +0 -193
- package/scripts/verify-state.mjs +0 -175
- package/skills/commands/global/SKILL.md +0 -71
- package/skills/commands/verify/SKILL.md +0 -46
- package/skills/commands/wiki/SKILL.md +0 -57
- package/skills/hello-review/SKILL.md +0 -42
- package/skills/hello-verify/SKILL.md +0 -144
- /package/hooks/{hooks.json → hooks-gemini.json} +0 -0
|
@@ -9,10 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "helloagents",
|
|
11
11
|
"description": "Quality-driven orchestration kernel for AI CLIs: intelligent routing, quality verification, safety guards, and notifications",
|
|
12
|
-
"source":
|
|
13
|
-
"source": "github",
|
|
14
|
-
"repo": "hellowind777/helloagents"
|
|
15
|
-
},
|
|
12
|
+
"source": "./",
|
|
16
13
|
"author": {
|
|
17
14
|
"name": "HelloWind",
|
|
18
15
|
"email": "hellowind777@gmail.com"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "helloagents",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "HelloAGENTS — The orchestration kernel that makes any AI CLI smarter. Adds intelligent routing,
|
|
3
|
+
"version": "3.0.37",
|
|
4
|
+
"description": "HelloAGENTS — The orchestration kernel that makes any AI CLI smarter. Adds intelligent routing, unified QA gates, safety guards, and notifications.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "HelloWind",
|
|
7
7
|
"email": "hellowind777@gmail.com"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "helloagents",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "HelloAGENTS — Quality-driven orchestration kernel for AI CLIs with intelligent routing,
|
|
3
|
+
"version": "3.0.37",
|
|
4
|
+
"description": "HelloAGENTS — Quality-driven orchestration kernel for AI CLIs with intelligent routing, unified QA gates, safety guards, and notifications.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "HelloWind",
|
|
7
7
|
"email": "hellowind777@gmail.com"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"interface": {
|
|
29
29
|
"displayName": "HelloAGENTS",
|
|
30
30
|
"shortDescription": "Quality-driven orchestration kernel for AI CLIs",
|
|
31
|
-
"longDescription": "HelloAGENTS is a quality-driven orchestration kernel that enhances AI coding CLIs with intelligent routing,
|
|
31
|
+
"longDescription": "HelloAGENTS is a quality-driven orchestration kernel that enhances AI coding CLIs with intelligent routing, goal-aware execution, unified QA gates, safety guards, and notifications. It provides a comprehensive skill system for ensuring code quality and development best practices.",
|
|
32
32
|
"developerName": "HelloWind",
|
|
33
33
|
"category": "Developer Tools",
|
|
34
34
|
"capabilities": [
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
],
|
|
38
38
|
"websiteURL": "https://github.com/hellowind777/helloagents",
|
|
39
39
|
"defaultPrompt": [
|
|
40
|
-
"Help me set up quality verification for my project",
|
|
41
40
|
"Review my code for potential issues",
|
|
42
41
|
"Guide me through the design workflow for a new feature",
|
|
43
42
|
"Initialize HelloAGENTS configuration for this project"
|
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
|
-
[](./package.json)
|
|
12
12
|
[](https://www.npmjs.com/package/helloagents)
|
|
13
13
|
[](./package.json)
|
|
14
14
|
[](./skills)
|
|
@@ -78,9 +78,9 @@ HelloAGENTS adds a workflow layer on top of Claude Code, Gemini CLI, and Codex C
|
|
|
78
78
|
|
|
79
79
|
## Core Features
|
|
80
80
|
|
|
81
|
-
### 1) 14
|
|
81
|
+
### 1) 14 built-in workflow skills
|
|
82
82
|
|
|
83
|
-
HelloAGENTS
|
|
83
|
+
HelloAGENTS ships 14 built-in skills. They are loaded only when the current stage needs them, so simple tasks stay light while complex work gets stricter checks.
|
|
84
84
|
|
|
85
85
|
| Skill | Focus |
|
|
86
86
|
|-------|-------|
|
|
@@ -88,19 +88,19 @@ HelloAGENTS includes 14 `hello-*` skills. They are loaded only when the current
|
|
|
88
88
|
| `hello-api` | API design, validation, error format, compatibility |
|
|
89
89
|
| `hello-security` | auth, secrets, permissions, injection risks |
|
|
90
90
|
| `hello-test` | TDD, coverage, edge cases, test structure |
|
|
91
|
-
| `
|
|
91
|
+
| `qa-review` | unified quality review, verification commands, blocking fixes, delivery evidence, closeout |
|
|
92
|
+
| `helloagents` | command routing, workflow stage rules, project knowledge, and state coordination |
|
|
92
93
|
| `hello-errors` | error handling, logs, retry and recovery behavior |
|
|
93
94
|
| `hello-perf` | performance, caching, query and rendering risks |
|
|
94
95
|
| `hello-data` | database, migrations, transactions, indexes |
|
|
95
96
|
| `hello-arch` | architecture, boundaries, code size, maintainability |
|
|
96
97
|
| `hello-debug` | bug diagnosis and escalation when stuck |
|
|
97
98
|
| `hello-subagent` | subagent delegation and result integration |
|
|
98
|
-
| `hello-review` | code review with structured findings |
|
|
99
99
|
| `hello-write` | documentation, reports, and written deliverables |
|
|
100
100
|
| `hello-reflect` | reusable lessons and knowledge updates |
|
|
101
101
|
|
|
102
102
|
All UI work first follows the shared UI quality baseline.
|
|
103
|
-
In global mode, in initialized projects, or in explicit UI workflows, `hello-ui` adds deeper design-contract execution, design-system mapping, and visual validation on top of that baseline.
|
|
103
|
+
In host global mode, in initialized projects, or in explicit UI workflows, `hello-ui` adds deeper design-contract execution, design-system mapping, and visual validation on top of that baseline.
|
|
104
104
|
When visual evidence is required, HelloAGENTS records it in the current session `artifacts/visual.json`.
|
|
105
105
|
|
|
106
106
|
### 2) Commands for different work styles
|
|
@@ -114,12 +114,10 @@ Commands run inside the AI CLI chat with a `~` prefix. The command skill is read
|
|
|
114
114
|
| `~plan` | Requirements, solution design, task breakdown, and plan package |
|
|
115
115
|
| `~build` | Implementation from the current request or an existing plan |
|
|
116
116
|
| `~prd` | Modern product requirements document through guided dimension-by-dimension exploration |
|
|
117
|
-
| `~loop` |
|
|
118
|
-
| `~
|
|
119
|
-
| `~init` | Same as `~wiki` |
|
|
120
|
-
| `~global` | Initialize project-level global mode |
|
|
117
|
+
| `~loop` | Long-running entry; in Codex it prefers `/goal -> ~auto -> ~qa` |
|
|
118
|
+
| `~init` | Initialize the project workflow and sync project knowledge |
|
|
121
119
|
| `~test` | Write tests for a target module or recent change |
|
|
122
|
-
| `~
|
|
120
|
+
| `~qa` | Run the unified quality loop: review, verification commands, fixes, and closeout |
|
|
123
121
|
| `~commit` | Generate a conventional commit message and sync knowledge |
|
|
124
122
|
| `~clean` | Archive finished plans and clean temporary runtime files |
|
|
125
123
|
| `~help` | Show commands and current settings |
|
|
@@ -128,7 +126,7 @@ Compatibility aliases:
|
|
|
128
126
|
|
|
129
127
|
- `~do` → `~build`
|
|
130
128
|
- `~design` → `~plan`
|
|
131
|
-
- `~review` → `~
|
|
129
|
+
- `~review` → `~qa`
|
|
132
130
|
|
|
133
131
|
### 3) Project knowledge base
|
|
134
132
|
|
|
@@ -147,9 +145,7 @@ The knowledge base helps future turns understand the repo without re-discovering
|
|
|
147
145
|
| `plans/<feature>/` | active plan packages |
|
|
148
146
|
| `archive/` | archived plan packages |
|
|
149
147
|
|
|
150
|
-
`~
|
|
151
|
-
|
|
152
|
-
`~global` does more: it creates or updates the knowledge base, writes the project-level global-mode marker, and refreshes project-level HelloAGENTS package-root links for supported hosts.
|
|
148
|
+
`~init` initializes the project workflow: it writes the project-level full carrier marker, prepares project state, and creates or updates the knowledge base.
|
|
153
149
|
|
|
154
150
|
### 4) Structured plan packages
|
|
155
151
|
|
|
@@ -180,7 +176,7 @@ For `~prd`, HelloAGENTS also creates PRD files such as:
|
|
|
180
176
|
|
|
181
177
|
`contract.json` is used by the workflow to decide verification scope, reviewer/tester focus, optional advisor checks, and optional visual validation.
|
|
182
178
|
|
|
183
|
-
`tasks.md` also includes a Codex `/goal` entry. For long-running Codex work, use that prepared entry instead of giving `/goal` a raw product document.
|
|
179
|
+
`tasks.md` also includes a Codex `/goal` entry. For long-running Codex work, use that prepared entry instead of giving `/goal` a raw product document. The default chain is `/goal -> ~auto -> ~qa`: Codex keeps the long-running continuation, `~auto` executes the AFK work, and `~qa` remains the final quality gate before closeout.
|
|
184
180
|
|
|
185
181
|
### 5) State and recovery
|
|
186
182
|
|
|
@@ -193,24 +189,30 @@ HelloAGENTS now resolves the current state file from `state_path`:
|
|
|
193
189
|
|
|
194
190
|
`<workspace>` is the current Git branch, `detached-<sha>` for a detached HEAD, or `workspace` for non-Git projects. `.helloagents/sessions/active.json` only records the active session index.
|
|
195
191
|
|
|
196
|
-
`
|
|
192
|
+
For project-local sessions, HelloAGENTS now only uses stable host identifiers such as `sessionId`, `conversationId`, `threadId`, or `HELLOAGENTS_NOTIFY_SESSION_ID`. It no longer uses terminal/window ids such as `WT_SESSION`, `TERM_SESSION_ID`, or `WINDOWID` to create extra project session directories.
|
|
193
|
+
|
|
194
|
+
`STATE.md` records where the current workflow stopped. It is not a universal memory file for every conversation. Codex `/goal` does not replace `state_path`, `turn-state`, or local evidence files; it only handles long-running continuation on the Codex side.
|
|
197
195
|
|
|
198
196
|
### 6) Verification and delivery evidence
|
|
199
197
|
|
|
200
198
|
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.
|
|
201
199
|
|
|
202
|
-
Runtime
|
|
200
|
+
Runtime state now stays intentionally small:
|
|
203
201
|
|
|
204
|
-
- `.helloagents/sessions/<workspace>/<session>/
|
|
205
|
-
- `.helloagents/sessions/<workspace>/<session>/events.jsonl`
|
|
202
|
+
- `.helloagents/sessions/<workspace>/<session>/STATE.md`
|
|
206
203
|
- `.helloagents/sessions/active.json`
|
|
207
|
-
- `.helloagents/sessions/<workspace>/<session>/artifacts/review.json`
|
|
204
|
+
- `.helloagents/sessions/<workspace>/<session>/artifacts/qa-review.json`
|
|
208
205
|
- `.helloagents/sessions/<workspace>/<session>/artifacts/advisor.json`
|
|
209
206
|
- `.helloagents/sessions/<workspace>/<session>/artifacts/visual.json`
|
|
210
207
|
- `.helloagents/sessions/<workspace>/<session>/artifacts/closeout.json`
|
|
211
|
-
-
|
|
208
|
+
- `~/.codex/.helloagents/notify-state.json` for Codex-native closeout de-duplication only
|
|
209
|
+
|
|
210
|
+
`turn-state`, route context, and the artifact index are stored inside `STATE.md` metadata instead of a separate `capsule.json`. `events.jsonl` is opt-in trace output, not a default runtime file.
|
|
211
|
+
Project-local `STATE.md` is now materialized more lazily, and legacy root-level `.helloagents/artifacts/*.log` files are cleaned up automatically instead of growing as a second history system.
|
|
212
|
+
|
|
213
|
+
Standard runtime evidence and transient runtime state now expire after 72 hours. Long-running Codex goal flows still keep their 720-hour upper bound where the workflow explicitly needs it.
|
|
212
214
|
|
|
213
|
-
Delivery gate, guard, and
|
|
215
|
+
Delivery gate, guard, and QA gate messages use action-oriented wording such as processing path, closeout action, and visual validation action, so blocked flows show what to do next without turning executable steps into optional suggestions. Final closeout also enforces a single HelloAGENTS wrapper, so one reply does not emit duplicate closeout headers.
|
|
214
216
|
That wrapper is now reserved for direct final-user delivery only. Intermediate reports, delegated task results, and sub-agent replies stay natural, and sub-agent stop hooks reject wrapped closeout replies.
|
|
215
217
|
|
|
216
218
|
### 7) Safer install, update, cleanup, and diagnostics
|
|
@@ -221,8 +223,8 @@ The CLI manages host files explicitly:
|
|
|
221
223
|
- `update` refreshes the selected target or all targets
|
|
222
224
|
- `cleanup` removes managed injections and links
|
|
223
225
|
- `uninstall` performs scoped cleanup before package removal
|
|
224
|
-
- `doctor` reports drift in carriers, links, hooks, config entries, plugin roots, cache copies, and versions
|
|
225
|
-
- per-host mode tracking is written only after
|
|
226
|
+
- `doctor` reports drift in carriers, links, hooks, config entries, plugin roots, cache copies, and versions; for Codex, it also surfaces native `codex doctor` output when available
|
|
227
|
+
- per-host mode tracking is written only after host setup succeeds, and failed native global cleanup keeps the host tracked as `global` instead of silently layering standby on top
|
|
226
228
|
|
|
227
229
|
## Quick Start
|
|
228
230
|
|
|
@@ -266,20 +268,14 @@ Type:
|
|
|
266
268
|
~help
|
|
267
269
|
```
|
|
268
270
|
|
|
269
|
-
You should see the
|
|
271
|
+
You should see the available chat commands and the current settings.
|
|
270
272
|
|
|
271
273
|
### 4) Create project knowledge
|
|
272
274
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
```text
|
|
276
|
-
~wiki
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
For project-level global mode:
|
|
275
|
+
Initialize the project workflow:
|
|
280
276
|
|
|
281
277
|
```text
|
|
282
|
-
~
|
|
278
|
+
~init
|
|
283
279
|
```
|
|
284
280
|
|
|
285
281
|
## CLI Management
|
|
@@ -313,7 +309,7 @@ If you omit `--standby` or `--global`, HelloAGENTS first reuses the tracked/dete
|
|
|
313
309
|
|
|
314
310
|
### npm and one-shot script entries
|
|
315
311
|
|
|
316
|
-
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`. For install, an omitted mode is treated as `standby`. For update, cleanup, uninstall, and branch switching, an omitted mode is forwarded unchanged so HelloAGENTS can reuse the tracked or detected mode for that CLI first.
|
|
312
|
+
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`. For install, an omitted mode is treated as `standby`. For update, cleanup, uninstall, and branch switching, an omitted mode is forwarded unchanged so HelloAGENTS can reuse the tracked or detected mode for that CLI first. If you do not provide `HELLOAGENTS`, the one-shot install scripts now behave like plain package install: they install or update the package only and do not auto-deploy any host CLI. For a custom tarball or package spec, set `HELLOAGENTS_PACKAGE` instead of `HELLOAGENTS_BRANCH`. For a guaranteed refresh of an already installed package, prefer `npm explore -g helloagents -- npm run sync-hosts -- ...` after the package command.
|
|
317
313
|
|
|
318
314
|
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`. Codex hooks use standalone `~/.codex/hooks.json` instead of adding large hook blocks to `config.toml`, and Codex global plugin roots plus plugin cache now link back to that same stable runtime root.
|
|
319
315
|
|
|
@@ -328,11 +324,13 @@ HELLOAGENTS=codex npm install -g helloagents
|
|
|
328
324
|
# Install to Codex in global mode
|
|
329
325
|
HELLOAGENTS=codex:global npm install -g helloagents
|
|
330
326
|
|
|
331
|
-
# Update
|
|
332
|
-
|
|
327
|
+
# Update the package, then refresh Claude in standby mode
|
|
328
|
+
npm update -g helloagents
|
|
329
|
+
npm explore -g helloagents -- npm run sync-hosts -- claude --standby
|
|
333
330
|
|
|
334
|
-
# Switch to the beta branch
|
|
335
|
-
|
|
331
|
+
# Switch to the beta branch, then refresh all CLIs in standby mode
|
|
332
|
+
npm install -g https://github.com/hellowind777/helloagents/archive/refs/heads/beta.tar.gz
|
|
333
|
+
npm explore -g helloagents -- npm run sync-hosts -- --all --standby
|
|
336
334
|
|
|
337
335
|
# Clean Gemini integration before package uninstall
|
|
338
336
|
npm explore -g helloagents -- npm run uninstall -- gemini --standby
|
|
@@ -348,11 +346,13 @@ $env:HELLOAGENTS="codex"; npm install -g helloagents
|
|
|
348
346
|
# Install to Codex in global mode
|
|
349
347
|
$env:HELLOAGENTS="codex:global"; npm install -g helloagents
|
|
350
348
|
|
|
351
|
-
# Update
|
|
352
|
-
|
|
349
|
+
# Update the package, then refresh Claude in standby mode
|
|
350
|
+
npm update -g helloagents
|
|
351
|
+
npm explore -g helloagents -- npm run sync-hosts -- claude --standby
|
|
353
352
|
|
|
354
|
-
# Switch to the beta branch
|
|
355
|
-
|
|
353
|
+
# Switch to the beta branch, then refresh all CLIs in standby mode
|
|
354
|
+
npm install -g https://github.com/hellowind777/helloagents/archive/refs/heads/beta.tar.gz
|
|
355
|
+
npm explore -g helloagents -- npm run sync-hosts -- --all --standby
|
|
356
356
|
|
|
357
357
|
# Clean Gemini integration before package uninstall
|
|
358
358
|
npm explore -g helloagents -- npm run uninstall -- gemini --standby
|
|
@@ -365,9 +365,11 @@ After the package is installed, you can also call its npm scripts directly:
|
|
|
365
365
|
npm explore -g helloagents -- npm run deploy:global
|
|
366
366
|
npm explore -g helloagents -- npm run sync-hosts -- --all --standby
|
|
367
367
|
npm explore -g helloagents -- npm run cleanup-hosts -- codex --standby
|
|
368
|
-
npm explore -g helloagents -- npm run uninstall -- --all
|
|
368
|
+
npm explore -g helloagents -- npm run uninstall -- --all
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
+
Fresh installs can still use `HELLOAGENTS=target[:mode]` directly. For update, branch switching, or any forced host re-sync of an already installed package, the explicit `npm run sync-hosts` step above is the deterministic path.
|
|
372
|
+
|
|
371
373
|
#### One-shot scripts
|
|
372
374
|
|
|
373
375
|
macOS / Linux:
|
|
@@ -408,7 +410,7 @@ $env:HELLOAGENTS="codex:standby"; $env:HELLOAGENTS_ACTION="cleanup"; irm https:/
|
|
|
408
410
|
$env:HELLOAGENTS="gemini"; $env:HELLOAGENTS_ACTION="uninstall"; irm https://raw.githubusercontent.com/hellowind777/helloagents/main/install.ps1 | iex
|
|
409
411
|
```
|
|
410
412
|
|
|
411
|
-
The PowerShell
|
|
413
|
+
The shell and PowerShell wrappers now parse `HELLOAGENTS` once, keep plain package install/update behavior when no target is specified, clear lifecycle env before update, branch switching, and uninstall, and then run one explicit sync or cleanup path.
|
|
412
414
|
|
|
413
415
|
### Branch switching
|
|
414
416
|
|
|
@@ -425,7 +427,7 @@ Use normal npm commands when you only want to change the package and not sync ho
|
|
|
425
427
|
```bash
|
|
426
428
|
npm install -g https://github.com/hellowind777/helloagents/archive/refs/heads/beta.tar.gz
|
|
427
429
|
npm update -g helloagents
|
|
428
|
-
npm explore -g helloagents -- npm run uninstall -- --all
|
|
430
|
+
npm explore -g helloagents -- npm run uninstall -- --all
|
|
429
431
|
npm uninstall -g helloagents
|
|
430
432
|
```
|
|
431
433
|
|
|
@@ -445,16 +447,18 @@ npm uninstall -g helloagents
|
|
|
445
447
|
| Gemini CLI | native extension install | managed by Gemini extension system |
|
|
446
448
|
| Codex CLI | native local-plugin chain | `~/.agents/plugins/marketplace.json`, `~/plugins/helloagents/ -> ~/.helloagents/helloagents`, `~/.codex/plugins/cache/local-plugins/helloagents/local/ -> ~/.helloagents/helloagents`, `~/.codex/config.toml`, `~/.codex/hooks.json`, `~/.codex/helloagents -> ~/.helloagents/helloagents` |
|
|
447
449
|
|
|
448
|
-
In global mode, HelloAGENTS now attempts the host-native install commands automatically. If a host command is unavailable, run the same commands manually:
|
|
450
|
+
In global mode, HelloAGENTS now attempts the host-native install commands automatically. For Claude Code, the marketplace should be added from the Git URL so the plugin source stays on HTTPS and avoids an SSH-only clone during installation. If a host command is unavailable, run the same commands manually:
|
|
449
451
|
|
|
450
452
|
```text
|
|
451
|
-
/plugin marketplace add hellowind777/helloagents
|
|
453
|
+
/plugin marketplace add https://github.com/hellowind777/helloagents.git
|
|
452
454
|
/plugin install helloagents@helloagents
|
|
453
|
-
|
|
455
|
+
helloagents install gemini --global
|
|
454
456
|
```
|
|
455
457
|
|
|
456
458
|
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.
|
|
457
459
|
|
|
460
|
+
When you switch Claude or Gemini back to standby, HelloAGENTS first removes the native plugin or extension. If that cleanup fails, the host stays tracked as `global` instead of silently stacking standby on top.
|
|
461
|
+
|
|
458
462
|
Codex global mode is installed by HelloAGENTS automatically through the local-plugin path.
|
|
459
463
|
|
|
460
464
|
## Commands in Chat
|
|
@@ -468,17 +472,16 @@ Codex global mode is installed by HelloAGENTS automatically through the local-pl
|
|
|
468
472
|
| Review a plan before implementation | `~plan "refactor payment module"` |
|
|
469
473
|
| Implement from a clear request or active plan | `~build "finish task 2 in the plan"` |
|
|
470
474
|
| Build a full product requirement document | `~prd "modern dashboard for operations team"` |
|
|
471
|
-
|
|
|
472
|
-
|
|
|
473
|
-
|
|
|
474
|
-
| Validate current work | `~verify` |
|
|
475
|
+
| Run a long Codex task through `/goal -> ~auto -> ~qa` | `~loop "finish the auth refactor"` |
|
|
476
|
+
| Initialize or refresh the project workflow | `~init` |
|
|
477
|
+
| Validate current work | `~qa` |
|
|
475
478
|
| Generate commit message and sync knowledge | `~commit` |
|
|
476
479
|
|
|
477
|
-
###
|
|
480
|
+
### Project initialization vs host global deployment
|
|
478
481
|
|
|
479
|
-
In standby mode, projects that are not initialized get lighter rules and explicit `~command` entry points. A project
|
|
482
|
+
In standby mode, projects that are not initialized get lighter rules and explicit `~command` entry points. A project becomes initialized after `~init` writes the project-level `<!-- HELLOAGENTS_PROFILE: full -->` marker.
|
|
480
483
|
|
|
481
|
-
In global mode, HelloAGENTS applies full rules by default.
|
|
484
|
+
In global mode, HelloAGENTS applies full rules by default at the host level.
|
|
482
485
|
|
|
483
486
|
## Project Knowledge Base
|
|
484
487
|
|
|
@@ -503,11 +506,8 @@ When `project_store_mode = "repo-shared"`:
|
|
|
503
506
|
Runtime state and evidence remain local to the working project:
|
|
504
507
|
|
|
505
508
|
- `state_path`
|
|
506
|
-
- `.helloagents/sessions/<workspace>/<session>/capsule.json`
|
|
507
|
-
- `.helloagents/sessions/<workspace>/<session>/events.jsonl`
|
|
508
509
|
- `.helloagents/sessions/active.json`
|
|
509
510
|
- `.helloagents/sessions/<workspace>/<session>/artifacts/*.json`
|
|
510
|
-
- `.helloagents/sessions/<workspace>/<session>/artifacts/loop-results.tsv`
|
|
511
511
|
|
|
512
512
|
### Temporary sessions outside project-local storage
|
|
513
513
|
|
|
@@ -517,7 +517,7 @@ For read-only work with no local output, if neither the current directory nor it
|
|
|
517
517
|
~/.helloagents/runtime/<scope-key>/
|
|
518
518
|
```
|
|
519
519
|
|
|
520
|
-
This only stores short-lived `
|
|
520
|
+
This only stores short-lived `STATE.md` and `artifacts/`. Optional `events.jsonl` trace files are only written when trace mode is enabled. It is not project knowledge. Expired transient sessions are removed by TTL cleanup.
|
|
521
521
|
|
|
522
522
|
Once the task creates or modifies local files, or otherwise leaves local output in the current project, HelloAGENTS creates the project-local `.helloagents/sessions/.../STATE.md` automatically instead of keeping that task only in the user-level transient runtime.
|
|
523
523
|
|
|
@@ -525,11 +525,10 @@ Once the task creates or modifies local files, or otherwise leaves local output
|
|
|
525
525
|
|
|
526
526
|
| Command or setting | Behavior |
|
|
527
527
|
|--------------------|----------|
|
|
528
|
-
| `~
|
|
529
|
-
| `~global` | creates knowledge base plus project-level global-mode marker and package-root links |
|
|
528
|
+
| `~init` | initializes the project workflow and syncs the knowledge base |
|
|
530
529
|
| `kb_create_mode = 0` | disables automatic knowledge updates |
|
|
531
530
|
| `kb_create_mode = 1` | syncs knowledge automatically only when the KB already exists |
|
|
532
|
-
| `kb_create_mode = 2` | for coding tasks, auto-creates or syncs the KB when it already exists or the project is
|
|
531
|
+
| `kb_create_mode = 2` | for coding tasks, auto-creates or syncs the KB when it already exists or the project is initialized |
|
|
533
532
|
|
|
534
533
|
## Workflow and Delivery
|
|
535
534
|
|
|
@@ -538,7 +537,7 @@ Once the task creates or modifies local files, or otherwise leaves local output
|
|
|
538
537
|
HelloAGENTS uses this stage model for structured work:
|
|
539
538
|
|
|
540
539
|
```text
|
|
541
|
-
ROUTE / TIER → SPEC → PLAN → BUILD →
|
|
540
|
+
ROUTE / TIER → SPEC → PLAN → BUILD → QA → CONSOLIDATE
|
|
542
541
|
```
|
|
543
542
|
|
|
544
543
|
| Stage | Purpose |
|
|
@@ -547,7 +546,7 @@ ROUTE / TIER → SPEC → PLAN → BUILD → VERIFY → CONSOLIDATE
|
|
|
547
546
|
| `SPEC` | clarify goal, constraints, and success criteria |
|
|
548
547
|
| `PLAN` | prepare plan files and choose needed skills |
|
|
549
548
|
| `BUILD` | implement and run local checks |
|
|
550
|
-
| `
|
|
549
|
+
| `QA` | review, run commands, check contract and evidence |
|
|
551
550
|
| `CONSOLIDATE` | update state, knowledge, and closeout evidence |
|
|
552
551
|
|
|
553
552
|
### Delivery tiers
|
|
@@ -615,7 +614,7 @@ Default shape:
|
|
|
615
614
|
| `output_language` | `""` | follow the user language unless set |
|
|
616
615
|
| `output_format` | `true` | direct final-user closeout from the main agent uses the HelloAGENTS layout; intermediate, delegated, and sub-agent output stays natural |
|
|
617
616
|
| `notify_level` | `0` | `0` off, `1` desktop, `2` sound, `3` both |
|
|
618
|
-
| `ralph_loop_enabled` | `true` | run
|
|
617
|
+
| `ralph_loop_enabled` | `true` | run the QA stop gate for explicit `~qa` / `~loop` or required closeout gates |
|
|
619
618
|
| `guard_enabled` | `true` | block dangerous commands |
|
|
620
619
|
| `kb_create_mode` | `1` | `0` off, `1` sync existing KB automatically, `2` auto-create or sync the KB for coding tasks |
|
|
621
620
|
| `project_store_mode` | `"local"` | `local` or `repo-shared` |
|
|
@@ -634,6 +633,7 @@ Default shape:
|
|
|
634
633
|
- standby updates `~/.claude/settings.json` with managed hooks and permissions
|
|
635
634
|
- standby creates `~/.claude/helloagents -> ~/.helloagents/helloagents`
|
|
636
635
|
- global mode uses Claude Code's plugin system
|
|
636
|
+
- switching from global back to standby removes the native plugin first; if that cleanup fails, HelloAGENTS keeps Claude tracked as `global`
|
|
637
637
|
|
|
638
638
|
### Gemini CLI
|
|
639
639
|
|
|
@@ -641,6 +641,7 @@ Default shape:
|
|
|
641
641
|
- standby updates `~/.gemini/settings.json` with managed hooks
|
|
642
642
|
- standby creates `~/.gemini/helloagents -> ~/.helloagents/helloagents`
|
|
643
643
|
- global mode uses Gemini's extension system
|
|
644
|
+
- switching from global back to standby removes the native extension first; if that cleanup fails, HelloAGENTS keeps Gemini tracked as `global`
|
|
644
645
|
|
|
645
646
|
### Codex CLI
|
|
646
647
|
|
|
@@ -655,10 +656,12 @@ Codex is rules-file driven by default.
|
|
|
655
656
|
- that hook trust state is machine-local generated metadata derived from the current absolute `~/.codex/hooks.json` path; unlike `model_instructions_file = "~/.codex/AGENTS.md"`, it is not portable config and should be regenerated on each machine
|
|
656
657
|
- standby creates `~/.codex/helloagents -> ~/.helloagents/helloagents`
|
|
657
658
|
- global mode installs the native local-plugin chain, but keeps `~/.helloagents/helloagents` as the single managed runtime source by linking plugin roots, plugin cache, and `~/.codex/helloagents` back to it
|
|
659
|
+
- for Codex app/plugin discovery, `global` is the native path; `standby` remains the lighter default for explicit project work
|
|
658
660
|
- cleanup removes only the HelloAGENTS-managed hook trust entries and legacy managed notify residues, while keeping user-owned hook state untouched
|
|
659
661
|
- Codex hooks only synchronize runtime state and enforce Stop gates; they do not inject HelloAGENTS rules or route text through hook output
|
|
660
662
|
- Codex closeout de-duplicates Stop hooks and native `codex-notify`, so one turn does not notify twice, and clientless delegated child-completion events stay silent when the managed Stop hook is active
|
|
661
663
|
- `/goal` remains Codex-native. Enable it explicitly with `helloagents codex goals enable` when long-running plan execution is needed
|
|
664
|
+
- Current OpenAI docs still mark `/goal` as experimental, and Codex app support is still preview. HelloAGENTS therefore treats `/goal` as an opt-in Codex-native accelerator, not as a required runtime dependency
|
|
662
665
|
- Goal-aware commands resume from `tasks.md`, `contract.json`, and `state_path`; they do not create goals automatically or mark them complete before HelloAGENTS verification and closeout
|
|
663
666
|
|
|
664
667
|
## Verification
|
|
@@ -672,8 +675,8 @@ npm test
|
|
|
672
675
|
The current suite covers:
|
|
673
676
|
|
|
674
677
|
- install, update, cleanup, uninstall, branch switching, and mode switching
|
|
675
|
-
- one-shot shell and PowerShell lifecycle dispatch, plus wrapper mode-routing rules for install, update, cleanup, uninstall, and branch switching
|
|
676
|
-
- Claude, Gemini, and Codex host integration behavior
|
|
678
|
+
- one-shot shell and PowerShell lifecycle dispatch, plus wrapper env cleanup and mode-routing rules for install, update, cleanup, uninstall, and branch switching
|
|
679
|
+
- Claude, Gemini, and Codex host integration behavior, including global-to-standby cleanup and failed native cleanup tracking
|
|
677
680
|
- Codex managed `model_instructions_file`, `notify`, `hooks.json`, hook trust state, local plugin, marketplace, and cache behavior
|
|
678
681
|
- Codex cleanup of legacy managed notify variants on Windows and canonical managed notify restoration rules
|
|
679
682
|
- Codex `/goal` feature toggles, long-running route context, and goal-aware command contracts
|
|
@@ -698,17 +701,18 @@ Both.
|
|
|
698
701
|
- `skills/` defines task-specific behavior
|
|
699
702
|
- `scripts/` provides runtime helpers for routing, guard, notify, verification, state, and evidence
|
|
700
703
|
|
|
701
|
-
### Should I use `~
|
|
704
|
+
### Should I use `~init` or `--global`?
|
|
702
705
|
|
|
703
|
-
Use `~
|
|
706
|
+
Use `~init` inside a repo when you want to initialize that project workflow and sync project knowledge.
|
|
704
707
|
|
|
705
|
-
Use
|
|
708
|
+
Use `helloagents --global` when you want host-wide deployment across supported CLIs.
|
|
706
709
|
|
|
707
710
|
### What is the difference between standby and global?
|
|
708
711
|
|
|
709
|
-
`standby` is lighter and explicit. It deploys rules to selected CLIs
|
|
712
|
+
`standby` is lighter and explicit. It deploys rules to selected CLIs while leaving each repo uninitialized until you run `~init`.
|
|
710
713
|
|
|
711
|
-
`global` applies full rules broadly. Claude and Gemini use native plugin/extension installs. Codex uses the local-plugin path.
|
|
714
|
+
`global` applies full rules broadly at the host level. Claude and Gemini use native plugin/extension installs. Codex uses the local-plugin path.
|
|
715
|
+
If you mainly want Codex app/plugin discoverability, use `global`. If you mainly want a lighter, explicit project workflow, keep `standby`.
|
|
712
716
|
|
|
713
717
|
### Do Codex hooks show injected content?
|
|
714
718
|
|
|
@@ -723,7 +727,7 @@ Yes.
|
|
|
723
727
|
|
|
724
728
|
### Does `npm uninstall -g helloagents` remove project knowledge?
|
|
725
729
|
|
|
726
|
-
No. Run `npm explore -g helloagents -- npm run uninstall -- --all
|
|
730
|
+
No. Run `npm explore -g helloagents -- npm run uninstall -- --all` before package removal so HelloAGENTS can reuse the tracked or detected mode for each CLI and clean host integrations plus the stable runtime copy. Project `.helloagents/` files and `~/.helloagents/helloagents.json` are intentionally preserved unless you remove them yourself.
|
|
727
731
|
|
|
728
732
|
## Troubleshooting
|
|
729
733
|
|