@zonease/aiworker-cli 0.10.4 → 0.12.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 +37 -1
- package/aiworker-bun.js +459 -453
- package/drizzle/worker/0008_peaceful_titanium_man.sql +14 -0
- package/drizzle/worker/meta/0008_snapshot.json +1593 -0
- package/drizzle/worker/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/web/fleet/assets/{index-bti7BCPc.js → index-BTknRPEg.js} +5 -5
- package/web/fleet/assets/index-lu-9OhC0.css +2 -0
- package/web/fleet/index.html +2 -2
- package/web/worker/assets/index-DuxsPbd7.js +1382 -0
- package/web/worker/assets/index-lu-9OhC0.css +2 -0
- package/web/worker/index.html +2 -2
- package/web/fleet/assets/index-Cs9_ieMw.css +0 -2
- package/web/worker/assets/index-Cs9_ieMw.css +0 -2
- package/web/worker/assets/index-DMK6sJoi.js +0 -1382
package/README.md
CHANGED
|
@@ -176,6 +176,42 @@ Full CLI reference: [`docs/cli.md`](docs/cli.md).
|
|
|
176
176
|
|
|
177
177
|
---
|
|
178
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
|
+
|
|
179
215
|
## Start a fleet (multiple workers + gateway)
|
|
180
216
|
|
|
181
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.
|
|
@@ -356,7 +392,7 @@ and [`docs/changelog.md`](docs/changelog.md).
|
|
|
356
392
|
> section in [`docs/governance-node-status.md`](docs/governance-node-status.md).
|
|
357
393
|
> Before 1.0.0, CLI / API / config shapes may still change.
|
|
358
394
|
|
|
359
|
-
CLI npm latest: **0.
|
|
395
|
+
CLI npm latest: **0.12.0**.
|
|
360
396
|
|
|
361
397
|
| Module | Status |
|
|
362
398
|
|---|---|
|