@zonease/aiworker-cli 0.10.3 → 0.11.0

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/README.md CHANGED
@@ -86,8 +86,12 @@ A single worker can also run without the gateway:
86
86
  | |
87
87
  | Project Brain (filesystem) worker.db |
88
88
  | - SOUL / USER / MEMORY - identity and config |
89
- | - memories and brain skills - conversations and messages |
90
- | - policy and capabilities - encrypted local state |
89
+ | - memories and governance - conversations and messages |
90
+ | - managed native skill - encrypted local state |
91
+ | projection manifest |
92
+ | - native skill files in |
93
+ | .agents / .claude |
94
+ | - policy and capabilities |
91
95
  | - admission proposals |
92
96
  | |
93
97
  | AIWorker thin adapter |
@@ -143,7 +147,7 @@ cd ~/code/my-project
143
147
  aiworker up --soul developer # one shot: init + doctor + executor readiness + serve
144
148
  ```
145
149
 
146
- `aiworker up` lays down the Project Brain layout under `<cwd>/.aiworker/` (worker.db, master key, persona, brain skills), runs the preflight checks, reports executor readiness, and starts the worker HTTP/admin server (default `:9217`). It does not choose an executor for you; use `aiworker executor select --engine <id> --apply` for that. Pick a Soul from `developer` / `hr-recruiting` / `finance-ops` / `qa-reviewer` / `general-assistant` — Souls shape persona / risk preferences / default brief sections; governance kernel behavior is the same across all Souls.
150
+ `aiworker up` lays down the Project Brain layout under `<cwd>/.aiworker/` (worker.db, master key, persona, policy, memories, native skill projection manifest) and projects managed `aiworker-*` executor-native skills under `.agents/skills` and `.claude/skills`. It then runs preflight checks, reports executor readiness, and starts the worker HTTP/admin server (default `:9217`). It does not choose an executor for you; use `aiworker executor select --engine <id> --apply` for that. Pick a Soul from `developer` / `hr-recruiting` / `finance-ops` / `qa-reviewer` / `general-assistant` — Souls shape persona / risk preferences / default brief sections; governance kernel behavior is the same across all Souls.
147
151
 
148
152
  Step-by-step alternative:
149
153
 
@@ -172,6 +176,42 @@ Full CLI reference: [`docs/cli.md`](docs/cli.md).
172
176
 
173
177
  ---
174
178
 
179
+ ## Developer repo proof loop
180
+
181
+ For a repo-scoped developer worker, AIWorker adds a reviewable proof loop around
182
+ the executor:
183
+
184
+ 1. The external executor still performs the work.
185
+ 2. Brain Journal records task intent, selected context, executor events, tool
186
+ signals, authority preflight, Gate verdict, and outcome.
187
+ 3. Brain Gate separates hard invariants from Brain Engine review and heuristic
188
+ quality signals.
189
+ 4. Failed or incomplete work can be held or rerun with parent/child lineage.
190
+ 5. Useful lessons become Brain Inbox candidates first; canonical memory writes
191
+ still go through admission approval and apply.
192
+
193
+ Useful local commands:
194
+
195
+ ```sh
196
+ aiworker run --message "review this change"
197
+ aiworker brain journal show <taskId>
198
+ aiworker brain inbox propose <taskId>
199
+ ```
200
+
201
+ When running the worker HTTP API, operator-triggered reruns are available at:
202
+
203
+ ```sh
204
+ curl -X POST \
205
+ -H "Authorization: Bearer $(cat .aiworker/local/bootstrap-token.txt)" \
206
+ http://127.0.0.1:9217/api/worker/orchestrator/tasks/<taskId>/rerun
207
+ ```
208
+
209
+ Authority preflight is a truthfulness surface, not a sandbox claim. High-risk
210
+ ambient executor work is marked as observe-only unless the capability is
211
+ explicitly brokered by AIWorker.
212
+
213
+ ---
214
+
175
215
  ## Start a fleet (multiple workers + gateway)
176
216
 
177
217
  The gateway aggregates multiple workers into a fleet: one operator CLI controls all of them, while each worker keeps owning its own brain, conversations, and secrets.
@@ -352,7 +392,7 @@ and [`docs/changelog.md`](docs/changelog.md).
352
392
  > section in [`docs/governance-node-status.md`](docs/governance-node-status.md).
353
393
  > Before 1.0.0, CLI / API / config shapes may still change.
354
394
 
355
- CLI npm latest: **0.10.3**.
395
+ CLI npm latest: **0.11.0**.
356
396
 
357
397
  | Module | Status |
358
398
  |---|---|