Repository navigation
feat: make self-learning automatic by default - #115576
Merged
Merged
Conversation
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 29, 2026
* feat: make self-learning automatic by default * fix: preserve capture authorization boundaries * test: split autonomous capture coverage
vincentkoc
added a commit
that referenced
this pull request
Jul 29, 2026
…ifecycle-hooks * origin/main: (60 commits) fix(qa): verify paired Ollama nodes over the gateway (#115644) fix(active-memory): share one recall per run across retries (#115627) refactor: reuse doctor migration durability helpers (#115625) docs: fix unsupported pnpm approve-builds -g in global install (#106180) feat(openai): support GA realtime over ChatGPT OAuth (#115623) feat(agents): add code mode model acceptance matrix (#115305) fix(signal): reject malformed base64 attachment data (#114883) fix(onboard): reject remote flags in local mode (#115636) refactor: table-drive retired model migrations (#115618) fix(ui): fall back when profile hero avatar fails (#115600) feat: make self-learning automatic by default (#115576) fix(agents): report embedded deadlines as timeouts (#115319) fix(cli): keep JSON stdout valid through finalization (#115315) fix(agents): clarify code mode contract for small models (#115275) fix(linux): package media codecs for deb and AppImage (#115616) fix(gateway): redact CLI-imported history before dedupe (#115597) fix(gateway): bound stalled plugin shutdown (#115619) refactor(gateway): deduplicate message operation routing (#115615) fix(nodes): cancel paired local inference when callers disconnect (#115624) fix(googlechat): surface failed replies without duplicate sends (#115638) ...
This was referenced Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Maintainer-decided self-learning UX still required approval for every background learning and kept autonomous capture off by default. That friction meant corrections and substantial successful work often stopped as pending proposals instead of becoming durable skills.
This deliberately changes one config surface:
skills.workshop.autonomous.enabledbecomes the three-positionskills.workshop.autonomous.mode, and the default flips to"auto". Doctor migrates the shipped boolean sotruebecomes"propose", explicitfalsebecomes"off", and an absent key inherits the new"auto"default.Review metric: 1 changed config key, 1 doctor-owned migration, 1 deliberate default flip. The compatibility risk is intentional and maintainer-approved; runtime reads only the canonical new key.
Why This Change Was Made
offkeeps the current offer-to-save nudge,proposepreserves the old autonomous proposal behavior, andautosends each background capture through the normal server-side Workshop apply path. The isolated experience reviewer remains proposal-only with its existing one-mutation budget; auto-apply happens after review completion and retains scanner quarantine, hash binding, workspace-only writes, rollback metadata, pending limits, and curator lifecycle enrollment.Autonomous proposals carry a persisted capture marker so a reviewer can never auto-apply a manual
/learnor history-scan proposal it happens to revise. The completion path also reloads current config immediately before apply, so changing mode during a review leaves the proposal pending.Deterministic capture also preserves the originating authorization boundary:
autoapplies only when the runtime reported thatskill_workshopwas actually available. A denied or unknown tool surface still captures the proposal but leaves it pending.The self-learning page is now the definitive guide to capture paths, mode policy, safety, runtime support, cost and privacy, review and recovery, configuration, and troubleshooting. No channel receipts or events are added here.
User Impact
New and unconfigured installations learn automatically by default. Operators can choose review-first behavior with
proposeor suggestion-only behavior withoff:Existing explicit boolean settings keep their intent through Doctor: prior opt-in users move to proposal review, and prior explicit opt-out users remain off.
AI-assisted: yes. Maintainer work order and frozen design supplied in the implementation session.
Evidence
enabled:trueto"propose";off,propose, andautoeach round-tripped throughconfig set/get; an invalid fourth mode was rejected; final config validation passed.node scripts/check-changed.mjs -- <changed files>passed on final head through Blacksmith Testboxtbx_01kyp4z2kd1n4ta4gnd2c7h3c7, Actions run30424702244. Production, core-test, and UI typechecks; full sharded lint; formatting; config metadata; i18n; dependency; boundary; dead-code; generated-surface; schema-version; and database-first guards all passed.node scripts/run-vitest.mjs src/skills/workshop src/commands: 12,161 passed, 9 skipped, 10 failed in unrelated pre-existing cross-suite state/timezone isolation cases. All Workshop and new Doctor migration tests passed; isolated reruns of the implicated Doctor files passed.git diff --checkpassed.