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 1909582
Browse filesBrowse the repository at this point in the historyBrowse files
fix(learn): person actions end automatic ownership for good
Manual `learn promote`, `rollback`, `pin` and `unpin` now clear the
auto-promote marks under the learn lock before their first write, and fail
without changing anything if that cannot be recorded. Marks therefore cannot
revive when the approved set later returns to the same bytes (for example a
rollback to the auto-published set). The approved-set hash still voids marks
for changes made outside learn.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copy file name to clipboardExpand all lines: docs/docs/configure/learn.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ It runs only after automatic reflection (end of `run`, threshold, idle, startup
139
139
| Validation | It fails the checks `learn promote` runs: lint, hidden characters, coexistence, and overlaps. |
140
140
| Feedback | No signal from a person or an external check is behind the reflection: it needs at least one correction (`user_correction`, including `learn signal add --kind user`), `review` or `ci` signal. Repeated tool failures (`tool_retry`) are captured automatically, so on their own they only stage a candidate. Also held when the feedback was flagged as an instruction to the model. |
141
141
| Verification flags | A lesson it adds or changes mentions skipping or disabling verification. Those always need a person. |
142
-
| Your approvals | It would edit or remove a lesson a person approved. A lesson counts as automatic only while the approved set is exactly what the last automatic promotion published and the lesson is not pinned. Any `learn promote`, `rollback`, `pin` or `unpin`, or a change to `approved.json` from a pull, makes every approved lesson person-approved. Lessons from another checkout count as person-approved. |
142
+
| Your approvals | It would edit or remove a lesson a person approved. A lesson counts as automatic only while the approved set is exactly what the last automatic promotion published and the lesson is not pinned. Any `learn promote`, `rollback`, `pin` or `unpin` makes every approved lesson person-approved for good, even if the set later returns to the same contents; if that cannot be recorded, the command fails and changes nothing. A change to `approved.json` from outside learn, such as a pull, also makes them person-approved. Lessons from another checkout count as person-approved. |
143
143
| Size | It adds, edits, or removes more than `learn.auto_promote_max_changes` lessons (default 3), or changes only counters. |
144
144
| Rate | The store already had `learn.auto_promote_daily` automatic promotions (default 5) in the last 24 hours. |
0 commit comments