You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 874c633
Browse filesBrowse the repository at this point in the historyBrowse files
fix(skills): remove regex correction capture; self-learning is reviewer-only
Deletes the deterministic regex capture path that templated raw chat text into skill proposals (junk like a proposal whose whole procedure was one slugified user message). All autonomous learning now flows through the isolated experience reviewer: it sees a bounded workspace skill list, prefers revising pending proposals or updating the governing skill over creating new ones, and treats durable user corrections as first-class evidence. Update proposals are reviewer-only (explicit opt-in) and never auto-apply, since the reviewer drafts them without the live skill body. Removes the producerless pending-suggestion session machinery. Regression test proves the junk path is gone; real-Telegram E2E verdict in the PR body.
|`off`| Does not create experience-review captures. |
88
+
|`propose`| Creates or revises pending proposals. Nothing applies automatically. |
89
+
|`auto`| Creates or revises proposals, then applies new-skill proposals through the normal Workshop apply path. Update proposals stay pending for review. This is the default.|
97
90
98
91
Set the mode with the CLI:
99
92
@@ -167,17 +160,13 @@ Delayed experience review requires the runtime to report its resolved model and
167
160
actual `skill_workshop` availability. The embedded runner and Codex app-server
168
161
harness report those facts; Codex also reports its exact model-iteration count.
169
162
Other CLI-backed runtimes fail closed until they provide the same runtime facts.
170
-
171
-
Deterministic correction capture and `/learn` do not depend on delayed review and
172
-
continue to work on those runtimes. In `auto` mode, a runtime that does not report
173
-
actual Workshop availability leaves deterministic captures pending instead of
174
-
applying them.
163
+
`/learn` does not depend on delayed review and continues to work on those
164
+
runtimes.
175
165
176
166
## Cost and privacy
177
167
178
-
Deterministic correction capture does not make an extra model call. Experience
179
-
review adds one bounded model run on the configured provider only after a
180
-
substantial turn, not after every message. The review can make more
168
+
Experience review adds one bounded model run on the configured provider only
169
+
after a substantial turn, not after every message. The review can make more
181
170
than one provider request while it inspects or drafts its single proposal.
182
171
183
172
The reviewer receives only the current turn beginning with its most recent user
@@ -262,14 +251,13 @@ Check the following:
262
251
263
252
1.`skills.workshop.autonomous.mode` is `propose` or `auto` in the active Gateway
264
253
config.
265
-
2. The correction uses durable language, or the turn reached at least 10 model
266
-
iterations without ending in a provider or prompt error.
254
+
2. The turn reached at least 10 model iterations without ending in a provider or
255
+
prompt error.
267
256
3. The conversation is eligible foreground work.
268
257
4. The runtime reported the resolved model and actual `skill_workshop`
269
258
availability.
270
259
5. The run was not sandboxed and tool policy still permits `skill_workshop`.
271
-
6. For experience review, the Gateway stayed running and idle through the
272
-
30-second quiet period.
260
+
6. The Gateway stayed running and idle through the 30-second quiet period.
273
261
274
262
An eligible experience review can still abstain. No proposal is the expected
275
263
result when the evidence does not clear the reusable-procedure bar.
@@ -294,8 +282,8 @@ build a retry loop around automatic capture.
294
282
295
283
### Too many low-value captures appear
296
284
297
-
Switch to `propose` to review every capture, or `off` to keep only the suggestion
298
-
nudge:
285
+
Switch to `propose` to review every capture, or `off` to disable autonomous
286
+
capture:
299
287
300
288
```bash
301
289
openclaw config set skills.workshop.autonomous.mode propose
|`autonomous.mode`|`"auto"`|`"off"`keeps the suggestion nudge, `"propose"` creates pending captures, and `"auto"` applies captures through the normal Workshop scanner and apply path.|
335
+
|`autonomous.mode`|`"auto"`|`"off"`disables autonomous capture, `"propose"` creates pending captures, and `"auto"` applies captures through the normal Workshop scanner and apply path. |
335
336
|`allowSymlinkTargetWrites`|`false`| Lets apply write through workspace skill symlinks whose real target is listed in `skills.load.allowSymlinkTargets`. |
336
337
|`approvalPolicy`|`"auto"`|`"auto"` skips an additional prompt for agent-initiated `apply`, `reject`, or `quarantine` (the agent still has to call the action). `"pending"` requires approval. |
337
338
|`maxPending`|`50`| Caps pending and quarantined proposals per workspace (1-200). |
338
339
|`maxSkillBytes`|`40000`| Caps proposal body size in bytes (1024-200000). |
339
340
340
-
Autonomous capture in `propose` and `auto` modes recognizes prospective rules (for example, “from now on”) and reactive
341
-
corrections (for example, “that’s not what I asked”). It groups new instructions by topic into up
342
-
to three proposals per turn, routes vocabulary matches to existing writable workspace skills, and
343
-
revises its own pending proposal when another correction targets the same skill.
344
-
345
-
For successful substantial work without an explicit correction, an isolated run of the selected
346
-
model decides whether the completed trajectory clears the conservative proposal bar. The
347
-
foreground model is not prompted to learn before it replies. The background reviewer preserves the
348
-
foreground run as proposal provenance, cannot access general agent tools, and cannot make lifecycle
349
-
decisions. In `auto` mode, the capture pipeline applies the resulting pending proposal only after
350
-
the isolated run completes. The review starts only when the foreground runtime reports its resolved model
341
+
In `propose` and `auto` modes, an isolated run of the selected model decides whether the
342
+
completed trajectory clears the conservative proposal bar. The foreground model is not prompted
343
+
to learn before it replies. The background reviewer preserves the foreground run as proposal
344
+
provenance, cannot access general agent tools, and cannot make lifecycle decisions. In `auto`
345
+
mode, the capture pipeline applies a resulting new-skill proposal only after the isolated run
346
+
completes; update proposals targeting an existing skill always stay pending for operator review,
347
+
because the reviewer drafts them without reading the live skill body. The review starts only when
348
+
the foreground runtime reports its resolved model
351
349
and that `skill_workshop` was actually available. Restrictive or unknown tool policy therefore
0 commit comments